AlipayOpenAgentFacetofaceSignRequest.php 7.9 KB

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