AlipayOpenAgentMobilepaySignRequest.php 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. /**
  8. * ALIPAY API: alipay.open.agent.mobilepay.sign request
  9. *
  10. * @author auto create
  11. * @since 1.0, 2021-10-15 12:12:45
  12. */
  13. namespace app\utils\Alipay\alipaySdk\aop\request;
  14. class AlipayOpenAgentMobilepaySignRequest
  15. {
  16. /**
  17. * APP授权函图片,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  18. **/
  19. private $appAuthPic;
  20. /**
  21. * APP demo,格式为.apk;或者应用说明文档, 格式为.doc .docx .pdf格式
  22. **/
  23. private $appDemo;
  24. /**
  25. * 应用在哪些市场上架,枚举值为:苹果,应用宝,豌豆荚,其他
  26. **/
  27. private $appMarket;
  28. /**
  29. * 商户的APP应用名称
  30. **/
  31. private $appName;
  32. /**
  33. * 应用上架状态,枚举值为 已上架,未上架
  34. **/
  35. private $appStatus;
  36. /**
  37. * 可以登录该应用的测试账户
  38. **/
  39. private $appTestAccount;
  40. /**
  41. * 可以登录此应用的账户的密码。对应app_test_account的登录密码
  42. **/
  43. private $appTestAccountPassword;
  44. /**
  45. * 应用类型,枚举值为:IOS,安卓
  46. **/
  47. private $appType;
  48. /**
  49. * 代商户操作事务编号,通过alipay.open.isv.agent.create接口进行创建。
  50. **/
  51. private $batchNo;
  52. /**
  53. * 营业执照授权函图片,个体工商户如果使用总公司或其他公司的营业执照认证需上传该授权函图片,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  54. **/
  55. private $businessLicenseAuthPic;
  56. /**
  57. * 营业执照法人手机号码
  58. **/
  59. private $businessLicenseMobile;
  60. /**
  61. * 营业执照号码。
  62. **/
  63. private $businessLicenseNo;
  64. /**
  65. * 营业执照图片,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  66. **/
  67. private $businessLicensePic;
  68. /**
  69. * 营业期限
  70. **/
  71. private $dateLimitation;
  72. /**
  73. * 应用下载链接
  74. **/
  75. private $downloadLink;
  76. /**
  77. * 应用首页截图,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  78. **/
  79. private $homeScreenshot;
  80. /**
  81. * 应用内截图,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  82. **/
  83. private $inAppScreenshot;
  84. /**
  85. * 营业期限是否长期有效
  86. **/
  87. private $longTerm;
  88. /**
  89. * 所属MCCCode,详情可参考
  90. <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> 中的“经营类目编码”
  91. **/
  92. private $mccCode;
  93. /**
  94. * 应用内支付页截图,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  95. **/
  96. private $payScreenshot;
  97. /**
  98. * 企业特殊资质图片,可参考
  99. <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,图片格式必须为:png、bmp、gif、jpg、jpeg
  100. **/
  101. private $specialLicensePic;
  102. private $apiParas = array();
  103. private $terminalType;
  104. private $terminalInfo;
  105. private $prodCode;
  106. private $apiVersion="1.0";
  107. private $notifyUrl;
  108. private $returnUrl;
  109. private $needEncrypt=false;
  110. public function setAppAuthPic($appAuthPic)
  111. {
  112. $this->appAuthPic = $appAuthPic;
  113. $this->apiParas["app_auth_pic"] = $appAuthPic;
  114. }
  115. public function getAppAuthPic()
  116. {
  117. return $this->appAuthPic;
  118. }
  119. public function setAppDemo($appDemo)
  120. {
  121. $this->appDemo = $appDemo;
  122. $this->apiParas["app_demo"] = $appDemo;
  123. }
  124. public function getAppDemo()
  125. {
  126. return $this->appDemo;
  127. }
  128. public function setAppMarket($appMarket)
  129. {
  130. $this->appMarket = $appMarket;
  131. $this->apiParas["app_market"] = $appMarket;
  132. }
  133. public function getAppMarket()
  134. {
  135. return $this->appMarket;
  136. }
  137. public function setAppName($appName)
  138. {
  139. $this->appName = $appName;
  140. $this->apiParas["app_name"] = $appName;
  141. }
  142. public function getAppName()
  143. {
  144. return $this->appName;
  145. }
  146. public function setAppStatus($appStatus)
  147. {
  148. $this->appStatus = $appStatus;
  149. $this->apiParas["app_status"] = $appStatus;
  150. }
  151. public function getAppStatus()
  152. {
  153. return $this->appStatus;
  154. }
  155. public function setAppTestAccount($appTestAccount)
  156. {
  157. $this->appTestAccount = $appTestAccount;
  158. $this->apiParas["app_test_account"] = $appTestAccount;
  159. }
  160. public function getAppTestAccount()
  161. {
  162. return $this->appTestAccount;
  163. }
  164. public function setAppTestAccountPassword($appTestAccountPassword)
  165. {
  166. $this->appTestAccountPassword = $appTestAccountPassword;
  167. $this->apiParas["app_test_account_password"] = $appTestAccountPassword;
  168. }
  169. public function getAppTestAccountPassword()
  170. {
  171. return $this->appTestAccountPassword;
  172. }
  173. public function setAppType($appType)
  174. {
  175. $this->appType = $appType;
  176. $this->apiParas["app_type"] = $appType;
  177. }
  178. public function getAppType()
  179. {
  180. return $this->appType;
  181. }
  182. public function setBatchNo($batchNo)
  183. {
  184. $this->batchNo = $batchNo;
  185. $this->apiParas["batch_no"] = $batchNo;
  186. }
  187. public function getBatchNo()
  188. {
  189. return $this->batchNo;
  190. }
  191. public function setBusinessLicenseAuthPic($businessLicenseAuthPic)
  192. {
  193. $this->businessLicenseAuthPic = $businessLicenseAuthPic;
  194. $this->apiParas["business_license_auth_pic"] = $businessLicenseAuthPic;
  195. }
  196. public function getBusinessLicenseAuthPic()
  197. {
  198. return $this->businessLicenseAuthPic;
  199. }
  200. public function setBusinessLicenseMobile($businessLicenseMobile)
  201. {
  202. $this->businessLicenseMobile = $businessLicenseMobile;
  203. $this->apiParas["business_license_mobile"] = $businessLicenseMobile;
  204. }
  205. public function getBusinessLicenseMobile()
  206. {
  207. return $this->businessLicenseMobile;
  208. }
  209. public function setBusinessLicenseNo($businessLicenseNo)
  210. {
  211. $this->businessLicenseNo = $businessLicenseNo;
  212. $this->apiParas["business_license_no"] = $businessLicenseNo;
  213. }
  214. public function getBusinessLicenseNo()
  215. {
  216. return $this->businessLicenseNo;
  217. }
  218. public function setBusinessLicensePic($businessLicensePic)
  219. {
  220. $this->businessLicensePic = $businessLicensePic;
  221. $this->apiParas["business_license_pic"] = $businessLicensePic;
  222. }
  223. public function getBusinessLicensePic()
  224. {
  225. return $this->businessLicensePic;
  226. }
  227. public function setDateLimitation($dateLimitation)
  228. {
  229. $this->dateLimitation = $dateLimitation;
  230. $this->apiParas["date_limitation"] = $dateLimitation;
  231. }
  232. public function getDateLimitation()
  233. {
  234. return $this->dateLimitation;
  235. }
  236. public function setDownloadLink($downloadLink)
  237. {
  238. $this->downloadLink = $downloadLink;
  239. $this->apiParas["download_link"] = $downloadLink;
  240. }
  241. public function getDownloadLink()
  242. {
  243. return $this->downloadLink;
  244. }
  245. public function setHomeScreenshot($homeScreenshot)
  246. {
  247. $this->homeScreenshot = $homeScreenshot;
  248. $this->apiParas["home_screenshot"] = $homeScreenshot;
  249. }
  250. public function getHomeScreenshot()
  251. {
  252. return $this->homeScreenshot;
  253. }
  254. public function setInAppScreenshot($inAppScreenshot)
  255. {
  256. $this->inAppScreenshot = $inAppScreenshot;
  257. $this->apiParas["in_app_screenshot"] = $inAppScreenshot;
  258. }
  259. public function getInAppScreenshot()
  260. {
  261. return $this->inAppScreenshot;
  262. }
  263. public function setLongTerm($longTerm)
  264. {
  265. $this->longTerm = $longTerm;
  266. $this->apiParas["long_term"] = $longTerm;
  267. }
  268. public function getLongTerm()
  269. {
  270. return $this->longTerm;
  271. }
  272. public function setMccCode($mccCode)
  273. {
  274. $this->mccCode = $mccCode;
  275. $this->apiParas["mcc_code"] = $mccCode;
  276. }
  277. public function getMccCode()
  278. {
  279. return $this->mccCode;
  280. }
  281. public function setPayScreenshot($payScreenshot)
  282. {
  283. $this->payScreenshot = $payScreenshot;
  284. $this->apiParas["pay_screenshot"] = $payScreenshot;
  285. }
  286. public function getPayScreenshot()
  287. {
  288. return $this->payScreenshot;
  289. }
  290. public function setSpecialLicensePic($specialLicensePic)
  291. {
  292. $this->specialLicensePic = $specialLicensePic;
  293. $this->apiParas["special_license_pic"] = $specialLicensePic;
  294. }
  295. public function getSpecialLicensePic()
  296. {
  297. return $this->specialLicensePic;
  298. }
  299. public function getApiMethodName()
  300. {
  301. return "alipay.open.agent.mobilepay.sign";
  302. }
  303. public function setNotifyUrl($notifyUrl)
  304. {
  305. $this->notifyUrl=$notifyUrl;
  306. }
  307. public function getNotifyUrl()
  308. {
  309. return $this->notifyUrl;
  310. }
  311. public function setReturnUrl($returnUrl)
  312. {
  313. $this->returnUrl=$returnUrl;
  314. }
  315. public function getReturnUrl()
  316. {
  317. return $this->returnUrl;
  318. }
  319. public function getApiParas()
  320. {
  321. return $this->apiParas;
  322. }
  323. public function getTerminalType()
  324. {
  325. return $this->terminalType;
  326. }
  327. public function setTerminalType($terminalType)
  328. {
  329. $this->terminalType = $terminalType;
  330. }
  331. public function getTerminalInfo()
  332. {
  333. return $this->terminalInfo;
  334. }
  335. public function setTerminalInfo($terminalInfo)
  336. {
  337. $this->terminalInfo = $terminalInfo;
  338. }
  339. public function getProdCode()
  340. {
  341. return $this->prodCode;
  342. }
  343. public function setProdCode($prodCode)
  344. {
  345. $this->prodCode = $prodCode;
  346. }
  347. public function setApiVersion($apiVersion)
  348. {
  349. $this->apiVersion=$apiVersion;
  350. }
  351. public function getApiVersion()
  352. {
  353. return $this->apiVersion;
  354. }
  355. public function setNeedEncrypt($needEncrypt)
  356. {
  357. $this->needEncrypt=$needEncrypt;
  358. }
  359. public function getNeedEncrypt()
  360. {
  361. return $this->needEncrypt;
  362. }
  363. }