AlipayOpenAgentFacetofaceSignRequest.php 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. class AlipayOpenAgentFacetofaceSignRequest
  8. {
  9. /**
  10. * 代商户操作事务编号,通过https://opendocs.alipay.com/apis/api_50/alipay.open.agent.create (开启代商户签约、创建应用事务)接口进行事务创建后获取。
  11. **/
  12. private $batchNo;
  13. /**
  14. * 营业执照授权函图片,个体工商户如果使用总公司或其他公司的营业执照认证需上传该授权函图片,最小5KB,最大5M(暂不限制图片宽高),图片格式必须为:png、bmp、gif、jpg、jpeg
  15. **/
  16. private $businessLicenseAuthPic;
  17. /**
  18. * 被邀请授权的营业执照法人手机号码,上传非同人营业执照时必填
  19. **/
  20. private $businessLicenseMobile;
  21. /**
  22. * 营业执照号码
  23. **/
  24. private $businessLicenseNo;
  25. /**
  26. * 营业执照图片。被代创建商户运营主体为个人账户必填,企业账户无需填写,最小5KB,最大5M(暂不限制图片宽高),图片格式必须为:png、bmp、gif、jpg、jpeg
  27. **/
  28. private $businessLicensePic;
  29. /**
  30. * 营业期限
  31. **/
  32. private $dateLimitation;
  33. /**
  34. * 营业期限是否长期有效
  35. **/
  36. private $longTerm;
  37. /**
  38. * 商家经营类目编码。参见 <a href="https://opendocs.alipay.com/open/01n22g#%E5%95%86%E5%AE%B6%E7%BB%8F%E8%90%A5%E7%B1%BB%E7%9B%AE">商家经营类目2.0</a> 中的“一级类目code_二级类目code”。
  39. **/
  40. private $mccCode;
  41. /**
  42. * 服务费率(%),0.38~0.6 之间(小数点后两位,可取0.38%及0.6%)。
  43. 当签约且授权标识 sign_and_auth=true 时,该费率信息必填。
  44. **/
  45. private $rate;
  46. /**
  47. * 店铺地址
  48. **/
  49. private $shopAddress;
  50. /**
  51. * 店铺名称
  52. **/
  53. private $shopName;
  54. /**
  55. * 店铺内景图片,最小5KB,最大5M(暂不限制图片宽高),图片格式必须为:png、bmp、gif、jpg、jpeg
  56. **/
  57. private $shopScenePic;
  58. /**
  59. * 店铺门头照图片,最小5KB,最大5M(暂不限制图片宽高),图片格式必须为:png、bmp、gif、jpg、jpeg
  60. **/
  61. private $shopSignBoardPic;
  62. /**
  63. * 签约且授权标识,默认为false,只进行签约操作; 如果设置为true,则表示签约成功后,会自动进行应用授权操作。
  64. **/
  65. private $signAndAuth;
  66. /**
  67. * 企业特殊资质图片,当mcc_code为需要特殊资质类目时必填。可参考
  68. <a href="https://opendocs.alipay.com/open/01n22g#%E5%95%86%E5%AE%B6%E7%BB%8F%E8%90%A5%E7%B1%BB%E7%9B%AE">商家经营类目</a> 中的“所需资质”,最小5KB ,最大5M(暂不限制图片宽高),图片格式必须为:png、bmp、gif、jpg、jpeg
  69. **/
  70. private $specialLicensePic;
  71. private $apiParas = array();
  72. private $terminalType;
  73. private $terminalInfo;
  74. private $prodCode;
  75. private $apiVersion="1.0";
  76. private $notifyUrl;
  77. private $returnUrl;
  78. private $needEncrypt=false;
  79. public function setBatchNo($batchNo)
  80. {
  81. $this->batchNo = $batchNo;
  82. $this->apiParas["batch_no"] = $batchNo;
  83. }
  84. public function getBatchNo()
  85. {
  86. return $this->batchNo;
  87. }
  88. public function setBusinessLicenseAuthPic($businessLicenseAuthPic)
  89. {
  90. $this->businessLicenseAuthPic = $businessLicenseAuthPic;
  91. $this->apiParas["business_license_auth_pic"] = $businessLicenseAuthPic;
  92. }
  93. public function getBusinessLicenseAuthPic()
  94. {
  95. return $this->businessLicenseAuthPic;
  96. }
  97. public function setBusinessLicenseMobile($businessLicenseMobile)
  98. {
  99. $this->businessLicenseMobile = $businessLicenseMobile;
  100. $this->apiParas["business_license_mobile"] = $businessLicenseMobile;
  101. }
  102. public function getBusinessLicenseMobile()
  103. {
  104. return $this->businessLicenseMobile;
  105. }
  106. public function setBusinessLicenseNo($businessLicenseNo)
  107. {
  108. $this->businessLicenseNo = $businessLicenseNo;
  109. $this->apiParas["business_license_no"] = $businessLicenseNo;
  110. }
  111. public function getBusinessLicenseNo()
  112. {
  113. return $this->businessLicenseNo;
  114. }
  115. public function setBusinessLicensePic($businessLicensePic)
  116. {
  117. $this->businessLicensePic = $businessLicensePic;
  118. $this->apiParas["business_license_pic"] = $businessLicensePic;
  119. }
  120. public function getBusinessLicensePic()
  121. {
  122. return $this->businessLicensePic;
  123. }
  124. public function setDateLimitation($dateLimitation)
  125. {
  126. $this->dateLimitation = $dateLimitation;
  127. $this->apiParas["date_limitation"] = $dateLimitation;
  128. }
  129. public function getDateLimitation()
  130. {
  131. return $this->dateLimitation;
  132. }
  133. public function setLongTerm($longTerm)
  134. {
  135. $this->longTerm = $longTerm;
  136. $this->apiParas["long_term"] = $longTerm;
  137. }
  138. public function getLongTerm()
  139. {
  140. return $this->longTerm;
  141. }
  142. public function setMccCode($mccCode)
  143. {
  144. $this->mccCode = $mccCode;
  145. $this->apiParas["mcc_code"] = $mccCode;
  146. }
  147. public function getMccCode()
  148. {
  149. return $this->mccCode;
  150. }
  151. public function setRate($rate)
  152. {
  153. $this->rate = $rate;
  154. $this->apiParas["rate"] = $rate;
  155. }
  156. public function getRate()
  157. {
  158. return $this->rate;
  159. }
  160. public function setShopAddress($shopAddress)
  161. {
  162. $this->shopAddress = $shopAddress;
  163. $this->apiParas["shop_address"] = $shopAddress;
  164. }
  165. public function getShopAddress()
  166. {
  167. return $this->shopAddress;
  168. }
  169. public function setShopName($shopName)
  170. {
  171. $this->shopName = $shopName;
  172. $this->apiParas["shop_name"] = $shopName;
  173. }
  174. public function getShopName()
  175. {
  176. return $this->shopName;
  177. }
  178. public function setShopScenePic($shopScenePic)
  179. {
  180. $this->shopScenePic = $shopScenePic;
  181. $this->apiParas["shop_scene_pic"] = $shopScenePic;
  182. }
  183. public function getShopScenePic()
  184. {
  185. return $this->shopScenePic;
  186. }
  187. public function setShopSignBoardPic($shopSignBoardPic)
  188. {
  189. $this->shopSignBoardPic = $shopSignBoardPic;
  190. $this->apiParas["shop_sign_board_pic"] = $shopSignBoardPic;
  191. }
  192. public function getShopSignBoardPic()
  193. {
  194. return $this->shopSignBoardPic;
  195. }
  196. public function setSignAndAuth($signAndAuth)
  197. {
  198. $this->signAndAuth = $signAndAuth;
  199. $this->apiParas["sign_and_auth"] = $signAndAuth;
  200. }
  201. public function getSignAndAuth()
  202. {
  203. return $this->signAndAuth;
  204. }
  205. public function setSpecialLicensePic($specialLicensePic)
  206. {
  207. $this->specialLicensePic = $specialLicensePic;
  208. $this->apiParas["special_license_pic"] = $specialLicensePic;
  209. }
  210. public function getSpecialLicensePic()
  211. {
  212. return $this->specialLicensePic;
  213. }
  214. public function getApiMethodName()
  215. {
  216. return "alipay.open.agent.facetoface.sign";
  217. }
  218. public function setNotifyUrl($notifyUrl)
  219. {
  220. $this->notifyUrl=$notifyUrl;
  221. }
  222. public function getNotifyUrl()
  223. {
  224. return $this->notifyUrl;
  225. }
  226. public function setReturnUrl($returnUrl)
  227. {
  228. $this->returnUrl=$returnUrl;
  229. }
  230. public function getReturnUrl()
  231. {
  232. return $this->returnUrl;
  233. }
  234. public function getApiParas()
  235. {
  236. return $this->apiParas;
  237. }
  238. public function getTerminalType()
  239. {
  240. return $this->terminalType;
  241. }
  242. public function setTerminalType($terminalType)
  243. {
  244. $this->terminalType = $terminalType;
  245. }
  246. public function getTerminalInfo()
  247. {
  248. return $this->terminalInfo;
  249. }
  250. public function setTerminalInfo($terminalInfo)
  251. {
  252. $this->terminalInfo = $terminalInfo;
  253. }
  254. public function getProdCode()
  255. {
  256. return $this->prodCode;
  257. }
  258. public function setProdCode($prodCode)
  259. {
  260. $this->prodCode = $prodCode;
  261. }
  262. public function setApiVersion($apiVersion)
  263. {
  264. $this->apiVersion=$apiVersion;
  265. }
  266. public function getApiVersion()
  267. {
  268. return $this->apiVersion;
  269. }
  270. public function setNeedEncrypt($needEncrypt)
  271. {
  272. $this->needEncrypt=$needEncrypt;
  273. }
  274. public function getNeedEncrypt()
  275. {
  276. return $this->needEncrypt;
  277. }
  278. }