AlipayOpenAgentFacetofaceSignRequest.php 7.4 KB

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