AlipayOpenMiniBaseinfoModifyRequest.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.open.mini.baseinfo.modify request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-11-13 17:36:06
  7. */
  8. class AlipayOpenMiniBaseinfoModifyRequest
  9. {
  10. /**
  11. * 11_12;12_13。小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以参考https://docs.alipay.com/isv/10325
  12. **/
  13. private $appCategoryIds;
  14. /**
  15. * 小程序应用描述,20-200个字
  16. **/
  17. private $appDesc;
  18. /**
  19. * 小程序应用英文名称
  20. **/
  21. private $appEnglishName;
  22. /**
  23. * 小程序应用logo图标,图片格式必须为:png、jpeg、jpg,建议上传像素为180*180
  24. **/
  25. private $appLogo;
  26. /**
  27. * 小程序应用名称
  28. **/
  29. private $appName;
  30. /**
  31. * 小程序应用简介,一句话描述小程序功能
  32. **/
  33. private $appSlogan;
  34. /**
  35. * 小程序客服邮箱
  36. **/
  37. private $serviceEmail;
  38. /**
  39. * 小程序客服电话
  40. **/
  41. private $servicePhone;
  42. private $apiParas = array();
  43. private $terminalType;
  44. private $terminalInfo;
  45. private $prodCode;
  46. private $apiVersion="1.0";
  47. private $notifyUrl;
  48. private $returnUrl;
  49. private $needEncrypt=false;
  50. public function setAppCategoryIds($appCategoryIds)
  51. {
  52. $this->appCategoryIds = $appCategoryIds;
  53. $this->apiParas["app_category_ids"] = $appCategoryIds;
  54. }
  55. public function getAppCategoryIds()
  56. {
  57. return $this->appCategoryIds;
  58. }
  59. public function setAppDesc($appDesc)
  60. {
  61. $this->appDesc = $appDesc;
  62. $this->apiParas["app_desc"] = $appDesc;
  63. }
  64. public function getAppDesc()
  65. {
  66. return $this->appDesc;
  67. }
  68. public function setAppEnglishName($appEnglishName)
  69. {
  70. $this->appEnglishName = $appEnglishName;
  71. $this->apiParas["app_english_name"] = $appEnglishName;
  72. }
  73. public function getAppEnglishName()
  74. {
  75. return $this->appEnglishName;
  76. }
  77. public function setAppLogo($appLogo)
  78. {
  79. $this->appLogo = $appLogo;
  80. $this->apiParas["app_logo"] = $appLogo;
  81. }
  82. public function getAppLogo()
  83. {
  84. return $this->appLogo;
  85. }
  86. public function setAppName($appName)
  87. {
  88. $this->appName = $appName;
  89. $this->apiParas["app_name"] = $appName;
  90. }
  91. public function getAppName()
  92. {
  93. return $this->appName;
  94. }
  95. public function setAppSlogan($appSlogan)
  96. {
  97. $this->appSlogan = $appSlogan;
  98. $this->apiParas["app_slogan"] = $appSlogan;
  99. }
  100. public function getAppSlogan()
  101. {
  102. return $this->appSlogan;
  103. }
  104. public function setServiceEmail($serviceEmail)
  105. {
  106. $this->serviceEmail = $serviceEmail;
  107. $this->apiParas["service_email"] = $serviceEmail;
  108. }
  109. public function getServiceEmail()
  110. {
  111. return $this->serviceEmail;
  112. }
  113. public function setServicePhone($servicePhone)
  114. {
  115. $this->servicePhone = $servicePhone;
  116. $this->apiParas["service_phone"] = $servicePhone;
  117. }
  118. public function getServicePhone()
  119. {
  120. return $this->servicePhone;
  121. }
  122. public function getApiMethodName()
  123. {
  124. return "alipay.open.mini.baseinfo.modify";
  125. }
  126. public function setNotifyUrl($notifyUrl)
  127. {
  128. $this->notifyUrl=$notifyUrl;
  129. }
  130. public function getNotifyUrl()
  131. {
  132. return $this->notifyUrl;
  133. }
  134. public function setReturnUrl($returnUrl)
  135. {
  136. $this->returnUrl=$returnUrl;
  137. }
  138. public function getReturnUrl()
  139. {
  140. return $this->returnUrl;
  141. }
  142. public function getApiParas()
  143. {
  144. return $this->apiParas;
  145. }
  146. public function getTerminalType()
  147. {
  148. return $this->terminalType;
  149. }
  150. public function setTerminalType($terminalType)
  151. {
  152. $this->terminalType = $terminalType;
  153. }
  154. public function getTerminalInfo()
  155. {
  156. return $this->terminalInfo;
  157. }
  158. public function setTerminalInfo($terminalInfo)
  159. {
  160. $this->terminalInfo = $terminalInfo;
  161. }
  162. public function getProdCode()
  163. {
  164. return $this->prodCode;
  165. }
  166. public function setProdCode($prodCode)
  167. {
  168. $this->prodCode = $prodCode;
  169. }
  170. public function setApiVersion($apiVersion)
  171. {
  172. $this->apiVersion=$apiVersion;
  173. }
  174. public function getApiVersion()
  175. {
  176. return $this->apiVersion;
  177. }
  178. public function setNeedEncrypt($needEncrypt)
  179. {
  180. $this->needEncrypt=$needEncrypt;
  181. }
  182. public function getNeedEncrypt()
  183. {
  184. return $this->needEncrypt;
  185. }
  186. }