AlipayOpenAgentMobilepaySignRequest.php 8.7 KB

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