AlipayOpenAgentMobilepaySignRequest.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.open.agent.mobilepay.sign request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-11-18 14:27:11
  7. */
  8. class AlipayOpenAgentMobilepaySignRequest
  9. {
  10. /**
  11. * APP demo,格式为.apk;或者应用说明文档, 格式为.doc .docx .pdf格式
  12. **/
  13. private $appDemo;
  14. /**
  15. * 商户的APP应用名称
  16. **/
  17. private $appName;
  18. /**
  19. * 代商户操作事务编号,通过alipay.open.isv.agent.create接口进行创建。
  20. **/
  21. private $batchNo;
  22. /**
  23. * 营业执照授权函图片,个体工商户如果使用总公司或其他公司的营业执照认证需上传该授权函图片,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  24. **/
  25. private $businessLicenseAuthPic;
  26. /**
  27. * 营业执照号码。
  28. **/
  29. private $businessLicenseNo;
  30. /**
  31. * 营业执照图片,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  32. **/
  33. private $businessLicensePic;
  34. /**
  35. * 营业期限
  36. **/
  37. private $dateLimitation;
  38. /**
  39. * 营业期限是否长期有效
  40. **/
  41. private $longTerm;
  42. /**
  43. * 所属MCCCode,详情可参考
  44. <a href="https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.59bgD2&treeId=222&articleId=105364&docType=1#s1
  45. ">商家经营类目</a> 中的“经营类目编码”
  46. **/
  47. private $mccCode;
  48. /**
  49. * 企业特殊资质图片,可参考
  50. <a href="https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.59bgD2&treeId=222&articleId=105364&docType=1#s1
  51. ">商家经营类目</a> 中的“需要的特殊资质证书”,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  52. **/
  53. private $specialLicensePic;
  54. private $apiParas = array();
  55. private $terminalType;
  56. private $terminalInfo;
  57. private $prodCode;
  58. private $apiVersion="1.0";
  59. private $notifyUrl;
  60. private $returnUrl;
  61. private $needEncrypt=false;
  62. public function setAppDemo($appDemo)
  63. {
  64. $this->appDemo = $appDemo;
  65. $this->apiParas["app_demo"] = $appDemo;
  66. }
  67. public function getAppDemo()
  68. {
  69. return $this->appDemo;
  70. }
  71. public function setAppName($appName)
  72. {
  73. $this->appName = $appName;
  74. $this->apiParas["app_name"] = $appName;
  75. }
  76. public function getAppName()
  77. {
  78. return $this->appName;
  79. }
  80. public function setBatchNo($batchNo)
  81. {
  82. $this->batchNo = $batchNo;
  83. $this->apiParas["batch_no"] = $batchNo;
  84. }
  85. public function getBatchNo()
  86. {
  87. return $this->batchNo;
  88. }
  89. public function setBusinessLicenseAuthPic($businessLicenseAuthPic)
  90. {
  91. $this->businessLicenseAuthPic = $businessLicenseAuthPic;
  92. $this->apiParas["business_license_auth_pic"] = $businessLicenseAuthPic;
  93. }
  94. public function getBusinessLicenseAuthPic()
  95. {
  96. return $this->businessLicenseAuthPic;
  97. }
  98. public function setBusinessLicenseNo($businessLicenseNo)
  99. {
  100. $this->businessLicenseNo = $businessLicenseNo;
  101. $this->apiParas["business_license_no"] = $businessLicenseNo;
  102. }
  103. public function getBusinessLicenseNo()
  104. {
  105. return $this->businessLicenseNo;
  106. }
  107. public function setBusinessLicensePic($businessLicensePic)
  108. {
  109. $this->businessLicensePic = $businessLicensePic;
  110. $this->apiParas["business_license_pic"] = $businessLicensePic;
  111. }
  112. public function getBusinessLicensePic()
  113. {
  114. return $this->businessLicensePic;
  115. }
  116. public function setDateLimitation($dateLimitation)
  117. {
  118. $this->dateLimitation = $dateLimitation;
  119. $this->apiParas["date_limitation"] = $dateLimitation;
  120. }
  121. public function getDateLimitation()
  122. {
  123. return $this->dateLimitation;
  124. }
  125. public function setLongTerm($longTerm)
  126. {
  127. $this->longTerm = $longTerm;
  128. $this->apiParas["long_term"] = $longTerm;
  129. }
  130. public function getLongTerm()
  131. {
  132. return $this->longTerm;
  133. }
  134. public function setMccCode($mccCode)
  135. {
  136. $this->mccCode = $mccCode;
  137. $this->apiParas["mcc_code"] = $mccCode;
  138. }
  139. public function getMccCode()
  140. {
  141. return $this->mccCode;
  142. }
  143. public function setSpecialLicensePic($specialLicensePic)
  144. {
  145. $this->specialLicensePic = $specialLicensePic;
  146. $this->apiParas["special_license_pic"] = $specialLicensePic;
  147. }
  148. public function getSpecialLicensePic()
  149. {
  150. return $this->specialLicensePic;
  151. }
  152. public function getApiMethodName()
  153. {
  154. return "alipay.open.agent.mobilepay.sign";
  155. }
  156. public function setNotifyUrl($notifyUrl)
  157. {
  158. $this->notifyUrl=$notifyUrl;
  159. }
  160. public function getNotifyUrl()
  161. {
  162. return $this->notifyUrl;
  163. }
  164. public function setReturnUrl($returnUrl)
  165. {
  166. $this->returnUrl=$returnUrl;
  167. }
  168. public function getReturnUrl()
  169. {
  170. return $this->returnUrl;
  171. }
  172. public function getApiParas()
  173. {
  174. return $this->apiParas;
  175. }
  176. public function getTerminalType()
  177. {
  178. return $this->terminalType;
  179. }
  180. public function setTerminalType($terminalType)
  181. {
  182. $this->terminalType = $terminalType;
  183. }
  184. public function getTerminalInfo()
  185. {
  186. return $this->terminalInfo;
  187. }
  188. public function setTerminalInfo($terminalInfo)
  189. {
  190. $this->terminalInfo = $terminalInfo;
  191. }
  192. public function getProdCode()
  193. {
  194. return $this->prodCode;
  195. }
  196. public function setProdCode($prodCode)
  197. {
  198. $this->prodCode = $prodCode;
  199. }
  200. public function setApiVersion($apiVersion)
  201. {
  202. $this->apiVersion=$apiVersion;
  203. }
  204. public function getApiVersion()
  205. {
  206. return $this->apiVersion;
  207. }
  208. public function setNeedEncrypt($needEncrypt)
  209. {
  210. $this->needEncrypt=$needEncrypt;
  211. }
  212. public function getNeedEncrypt()
  213. {
  214. return $this->needEncrypt;
  215. }
  216. }