AlipayOpenAgentCommonSignRequest.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  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.common.sign request
  10. *
  11. * @author auto create
  12. * @since 1.0, 2021-12-08 23:32:52
  13. */
  14. class AlipayOpenAgentCommonSignRequest
  15. {
  16. /**
  17. * 支付宝生活号(原服务窗)名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)
  18. **/
  19. private $alipayLifeName;
  20. /**
  21. * APP demo,格式为.apk;或者应用说明文档, 格式为.doc .docx .pdf格式(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)
  22. **/
  23. private $appDemo;
  24. /**
  25. * 商户的APP应用名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)
  26. **/
  27. private $appName;
  28. /**
  29. * 代商户操作事务编号,通过alipay.open.agent.create接口进行创建。
  30. **/
  31. private $batchNo;
  32. /**
  33. * 营业执照授权函图片,个体工商户如果使用总公司或其他公司的营业执照认证需上传该授权函图片,最小5KB,最大5M,图片格式必须为:png、bmp、gif、jpg、jpeg
  34. **/
  35. private $businessLicenseAuthPic;
  36. /**
  37. * 营业执照号码
  38. **/
  39. private $businessLicenseNo;
  40. /**
  41. * 营业执照图片。被代创建商户运营主体为个人账户必填,企业账户无需填写。图片最小5KB,最大5M,图片格式必须为:png、bmp、gif、jpg、jpeg。
  42. **/
  43. private $businessLicensePic;
  44. /**
  45. * 营业期限
  46. **/
  47. private $dateLimitation;
  48. /**
  49. * 营业期限是否长期有效
  50. **/
  51. private $longTerm;
  52. /**
  53. * <a href="https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.59bgD2&treeId=222&articleId=105364&docType=1#s1">商家经营类目</a> 中的“经营类目编码”
  54. **/
  55. private $mccCode;
  56. /**
  57. * isv要代商户签约产品码,产品码是支付宝内部对产品的唯一标识
  58. **/
  59. private $productCode;
  60. /**
  61. * 店铺内景图片,最小5KB,最大5M,图片格式必须为:png、bmp、gif、jpg、jpeg。
  62. **/
  63. private $shopScenePic;
  64. /**
  65. * 店铺门头照图片,最小5KB,最大5M,图片格式必须为:png、bmp、gif、jpg、jpeg。
  66. **/
  67. private $shopSignBoardPic;
  68. /**
  69. * 企业特殊资质图片,可参考
  70. <a href="https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.59bgD2&treeId=222&articleId=105364&docType=1#s1">商家经营类目</a> 中的“需要的特殊资质证书”。文件最小为 5KB,最大为5M,图片格式必须为:png、bmp、gif、jpg、jpeg。
  71. **/
  72. private $specialLicensePic;
  73. /**
  74. * 网站首页截图,最小5KB,最大5M,图片格式必须为:png、bmp、gif、jpg、jpeg
  75. **/
  76. private $webHomeScreenshot;
  77. /**
  78. * 网站商品页截图,最小5KB,最大5M,图片格式必须为:png、bmp、gif、jpg、jpeg
  79. **/
  80. private $webItemScreenshot;
  81. /**
  82. * 网站支付页截图,最小5KB,最大5M,图片格式必须为:png、bmp、gif、jpg、jpeg
  83. **/
  84. private $webPayScreenshot;
  85. /**
  86. * 接入网址信息(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)
  87. **/
  88. private $webSites;
  89. /**
  90. * 接入网址的授权涵,格式为.doc .docx .pdf格式
  91. **/
  92. private $webSitesLoa;
  93. /**
  94. * 网站状态,枚举值为:已上线,未上线
  95. **/
  96. private $webStatus;
  97. /**
  98. * 可以登录此网站的测试账户
  99. **/
  100. private $webTestAccount;
  101. /**
  102. * 可以登录此网站的账户的密码。对应web_test_account的登录密码
  103. **/
  104. private $webTestAccountPassword;
  105. /**
  106. * 微信公众号名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)
  107. **/
  108. private $wechatOfficialAccountName;
  109. private $apiParas = array();
  110. private $terminalType;
  111. private $terminalInfo;
  112. private $prodCode;
  113. private $apiVersion="1.0";
  114. private $notifyUrl;
  115. private $returnUrl;
  116. private $needEncrypt=false;
  117. public function setAlipayLifeName($alipayLifeName)
  118. {
  119. $this->alipayLifeName = $alipayLifeName;
  120. $this->apiParas["alipay_life_name"] = $alipayLifeName;
  121. }
  122. public function getAlipayLifeName()
  123. {
  124. return $this->alipayLifeName;
  125. }
  126. public function setAppDemo($appDemo)
  127. {
  128. $this->appDemo = $appDemo;
  129. $this->apiParas["app_demo"] = $appDemo;
  130. }
  131. public function getAppDemo()
  132. {
  133. return $this->appDemo;
  134. }
  135. public function setAppName($appName)
  136. {
  137. $this->appName = $appName;
  138. $this->apiParas["app_name"] = $appName;
  139. }
  140. public function getAppName()
  141. {
  142. return $this->appName;
  143. }
  144. public function setBatchNo($batchNo)
  145. {
  146. $this->batchNo = $batchNo;
  147. $this->apiParas["batch_no"] = $batchNo;
  148. }
  149. public function getBatchNo()
  150. {
  151. return $this->batchNo;
  152. }
  153. public function setBusinessLicenseAuthPic($businessLicenseAuthPic)
  154. {
  155. $this->businessLicenseAuthPic = $businessLicenseAuthPic;
  156. $this->apiParas["business_license_auth_pic"] = $businessLicenseAuthPic;
  157. }
  158. public function getBusinessLicenseAuthPic()
  159. {
  160. return $this->businessLicenseAuthPic;
  161. }
  162. public function setBusinessLicenseNo($businessLicenseNo)
  163. {
  164. $this->businessLicenseNo = $businessLicenseNo;
  165. $this->apiParas["business_license_no"] = $businessLicenseNo;
  166. }
  167. public function getBusinessLicenseNo()
  168. {
  169. return $this->businessLicenseNo;
  170. }
  171. public function setBusinessLicensePic($businessLicensePic)
  172. {
  173. $this->businessLicensePic = $businessLicensePic;
  174. $this->apiParas["business_license_pic"] = $businessLicensePic;
  175. }
  176. public function getBusinessLicensePic()
  177. {
  178. return $this->businessLicensePic;
  179. }
  180. public function setDateLimitation($dateLimitation)
  181. {
  182. $this->dateLimitation = $dateLimitation;
  183. $this->apiParas["date_limitation"] = $dateLimitation;
  184. }
  185. public function getDateLimitation()
  186. {
  187. return $this->dateLimitation;
  188. }
  189. public function setLongTerm($longTerm)
  190. {
  191. $this->longTerm = $longTerm;
  192. $this->apiParas["long_term"] = $longTerm;
  193. }
  194. public function getLongTerm()
  195. {
  196. return $this->longTerm;
  197. }
  198. public function setMccCode($mccCode)
  199. {
  200. $this->mccCode = $mccCode;
  201. $this->apiParas["mcc_code"] = $mccCode;
  202. }
  203. public function getMccCode()
  204. {
  205. return $this->mccCode;
  206. }
  207. public function setProductCode($productCode)
  208. {
  209. $this->productCode = $productCode;
  210. $this->apiParas["product_code"] = $productCode;
  211. }
  212. public function getProductCode()
  213. {
  214. return $this->productCode;
  215. }
  216. public function setShopScenePic($shopScenePic)
  217. {
  218. $this->shopScenePic = $shopScenePic;
  219. $this->apiParas["shop_scene_pic"] = $shopScenePic;
  220. }
  221. public function getShopScenePic()
  222. {
  223. return $this->shopScenePic;
  224. }
  225. public function setShopSignBoardPic($shopSignBoardPic)
  226. {
  227. $this->shopSignBoardPic = $shopSignBoardPic;
  228. $this->apiParas["shop_sign_board_pic"] = $shopSignBoardPic;
  229. }
  230. public function getShopSignBoardPic()
  231. {
  232. return $this->shopSignBoardPic;
  233. }
  234. public function setSpecialLicensePic($specialLicensePic)
  235. {
  236. $this->specialLicensePic = $specialLicensePic;
  237. $this->apiParas["special_license_pic"] = $specialLicensePic;
  238. }
  239. public function getSpecialLicensePic()
  240. {
  241. return $this->specialLicensePic;
  242. }
  243. public function setWebHomeScreenshot($webHomeScreenshot)
  244. {
  245. $this->webHomeScreenshot = $webHomeScreenshot;
  246. $this->apiParas["web_home_screenshot"] = $webHomeScreenshot;
  247. }
  248. public function getWebHomeScreenshot()
  249. {
  250. return $this->webHomeScreenshot;
  251. }
  252. public function setWebItemScreenshot($webItemScreenshot)
  253. {
  254. $this->webItemScreenshot = $webItemScreenshot;
  255. $this->apiParas["web_item_screenshot"] = $webItemScreenshot;
  256. }
  257. public function getWebItemScreenshot()
  258. {
  259. return $this->webItemScreenshot;
  260. }
  261. public function setWebPayScreenshot($webPayScreenshot)
  262. {
  263. $this->webPayScreenshot = $webPayScreenshot;
  264. $this->apiParas["web_pay_screenshot"] = $webPayScreenshot;
  265. }
  266. public function getWebPayScreenshot()
  267. {
  268. return $this->webPayScreenshot;
  269. }
  270. public function setWebSites($webSites)
  271. {
  272. $this->webSites = $webSites;
  273. $this->apiParas["web_sites"] = $webSites;
  274. }
  275. public function getWebSites()
  276. {
  277. return $this->webSites;
  278. }
  279. public function setWebSitesLoa($webSitesLoa)
  280. {
  281. $this->webSitesLoa = $webSitesLoa;
  282. $this->apiParas["web_sites_loa"] = $webSitesLoa;
  283. }
  284. public function getWebSitesLoa()
  285. {
  286. return $this->webSitesLoa;
  287. }
  288. public function setWebStatus($webStatus)
  289. {
  290. $this->webStatus = $webStatus;
  291. $this->apiParas["web_status"] = $webStatus;
  292. }
  293. public function getWebStatus()
  294. {
  295. return $this->webStatus;
  296. }
  297. public function setWebTestAccount($webTestAccount)
  298. {
  299. $this->webTestAccount = $webTestAccount;
  300. $this->apiParas["web_test_account"] = $webTestAccount;
  301. }
  302. public function getWebTestAccount()
  303. {
  304. return $this->webTestAccount;
  305. }
  306. public function setWebTestAccountPassword($webTestAccountPassword)
  307. {
  308. $this->webTestAccountPassword = $webTestAccountPassword;
  309. $this->apiParas["web_test_account_password"] = $webTestAccountPassword;
  310. }
  311. public function getWebTestAccountPassword()
  312. {
  313. return $this->webTestAccountPassword;
  314. }
  315. public function setWechatOfficialAccountName($wechatOfficialAccountName)
  316. {
  317. $this->wechatOfficialAccountName = $wechatOfficialAccountName;
  318. $this->apiParas["wechat_official_account_name"] = $wechatOfficialAccountName;
  319. }
  320. public function getWechatOfficialAccountName()
  321. {
  322. return $this->wechatOfficialAccountName;
  323. }
  324. public function getApiMethodName()
  325. {
  326. return "alipay.open.agent.common.sign";
  327. }
  328. public function setNotifyUrl($notifyUrl)
  329. {
  330. $this->notifyUrl=$notifyUrl;
  331. }
  332. public function getNotifyUrl()
  333. {
  334. return $this->notifyUrl;
  335. }
  336. public function setReturnUrl($returnUrl)
  337. {
  338. $this->returnUrl=$returnUrl;
  339. }
  340. public function getReturnUrl()
  341. {
  342. return $this->returnUrl;
  343. }
  344. public function getApiParas()
  345. {
  346. return $this->apiParas;
  347. }
  348. public function getTerminalType()
  349. {
  350. return $this->terminalType;
  351. }
  352. public function setTerminalType($terminalType)
  353. {
  354. $this->terminalType = $terminalType;
  355. }
  356. public function getTerminalInfo()
  357. {
  358. return $this->terminalInfo;
  359. }
  360. public function setTerminalInfo($terminalInfo)
  361. {
  362. $this->terminalInfo = $terminalInfo;
  363. }
  364. public function getProdCode()
  365. {
  366. return $this->prodCode;
  367. }
  368. public function setProdCode($prodCode)
  369. {
  370. $this->prodCode = $prodCode;
  371. }
  372. public function setApiVersion($apiVersion)
  373. {
  374. $this->apiVersion=$apiVersion;
  375. }
  376. public function getApiVersion()
  377. {
  378. return $this->apiVersion;
  379. }
  380. public function setNeedEncrypt($needEncrypt)
  381. {
  382. $this->needEncrypt=$needEncrypt;
  383. }
  384. public function getNeedEncrypt()
  385. {
  386. return $this->needEncrypt;
  387. }
  388. }