AlipayOpenAgentFacetofaceSignRequest.php 6.2 KB

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