AlipayOpenMiniVersionAuditApplyRequest.php 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.open.mini.version.audit.apply request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-12-17 12:20:43
  7. */
  8. class AlipayOpenMiniVersionAuditApplyRequest
  9. {
  10. /**
  11. * 小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以参考https://docs.alipay.com/isv/10325,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。
  12. **/
  13. private $appCategoryIds;
  14. /**
  15. * 小程序应用描述,20-200个字,如果不填默认采用当前小程序的应用描述
  16. **/
  17. private $appDesc;
  18. /**
  19. * 小程序应用英文名称,如果不填默认采用当前小程序应用英文名称,3~30个字符
  20. **/
  21. private $appEnglishName;
  22. /**
  23. * 小程序logo图标,图片格式必须为:png、jpeg、jpg,建议上传像素为180*180,如果不填默认采用当前小程序应用logo图标
  24. **/
  25. private $appLogo;
  26. /**
  27. * 小程序应用名称,如果不填默认采用当前小程序应用名称
  28. **/
  29. private $appName;
  30. /**
  31. * 小程序应用简介,一句话描述小程序功能,如果不填默认采用当前小程序应用简介,10~32个字符
  32. **/
  33. private $appSlogan;
  34. /**
  35. * 小程序版本号
  36. **/
  37. private $appVersion;
  38. /**
  39. * 小程序投放的端参数,例如投放到支付宝钱包是支付宝端。该参数可选,默认支付宝端 com.alipay.alipaywallet:支付宝端
  40. **/
  41. private $bundleId;
  42. /**
  43. * 第五张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序第五张营业执照照片
  44. **/
  45. private $fifthLicensePic;
  46. /**
  47. * 小程序第五张应用截图,不能超过4MB,图片格式只支持jpg,png
  48. **/
  49. private $fifthScreenShot;
  50. /**
  51. * 第一张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序第一张营业执照照片
  52. **/
  53. private $firstLicensePic;
  54. /**
  55. * 实例化的小程序可以不用传第一张应用截图,小程序第一张应用截图,不能超过4MB,图片格式只支持jpg,png
  56. **/
  57. private $firstScreenShot;
  58. /**
  59. * 第一张特殊资质图片,不能超过4MB,图片格式只支持jpg、png、jepg,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325 中是否需要特殊资质,如果不填默认采用当前小程序第一张特殊资质
  60. **/
  61. private $firstSpecialLicensePic;
  62. /**
  63. * 第四张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序第四张营业执照照片
  64. **/
  65. private $fourthLicensePic;
  66. /**
  67. * 小程序第四张应用截图,不能超过4MB,图片格式只支持jpg,png
  68. **/
  69. private $fourthScreenShot;
  70. /**
  71. * 营业执照名称,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填类目采用当前小程序应用营业执照名称。
  72. **/
  73. private $licenseName;
  74. /**
  75. * 营业执照号,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序应用营业执照号。
  76. **/
  77. private $licenseNo;
  78. /**
  79. * 营业执照有效期,格式为yyyy-MM-dd,9999-12-31表示长期,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序营业执照有效期
  80. **/
  81. private $licenseValidDate;
  82. /**
  83. * 小程序备注
  84. **/
  85. private $memo;
  86. /**
  87. * 门头照图片,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序门头照图片
  88. **/
  89. private $outDoorPic;
  90. /**
  91. * 小程序服务区域类型,GLOBAL-全球,CHINA-中国,LOCATION-指定区域
  92. **/
  93. private $regionType;
  94. /**
  95. * 第二张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序第二张营业执照照片
  96. **/
  97. private $secondLicensePic;
  98. /**
  99. * 实例化的小程序可以不用传第二张应用截图,小程序第二张应用截图,不能超过4MB,图片格式只支持jpg,png
  100. **/
  101. private $secondScreenShot;
  102. /**
  103. * 第二张特殊资质图片文件,不能超过4MB,图片格式只支持jpg、png、jepg,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325 中是否需要特殊资质,如果不填默认采用当前小程序第二张特殊资质图片
  104. **/
  105. private $secondSpecialLicensePic;
  106. /**
  107. * 小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱
  108. **/
  109. private $serviceEmail;
  110. /**
  111. * 小程序客服电话,如果不填默认采用当前小程序的应用客服电话
  112. **/
  113. private $servicePhone;
  114. /**
  115. * 省市区信息,当区域类型为LOCATION时,不能为空,province_code不能为空,当填写city_code时,province_code不能为空,当填写area_code时,province_code和city_code不能为空。只填province_code时,该省全部选择;province_code和city_code都填时,该市全部选择。province_code,city_code和area_code都填时,该县全部选择。具体code可以参考https://docs.alipay.com/isv/10327
  116. **/
  117. private $serviceRegionInfo;
  118. /**
  119. * 测试账号
  120. **/
  121. private $testAccout;
  122. /**
  123. * 测试附件,请上传10M以内附件,支持格式zip,rar
  124. **/
  125. private $testFileName;
  126. /**
  127. * 测试账号密码
  128. **/
  129. private $testPassword;
  130. /**
  131. * 第三张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序第三张营业执照照片
  132. **/
  133. private $thirdLicensePic;
  134. /**
  135. * 小程序第三张应用截图,不能超过4MB,图片格式只支持jpg,png
  136. **/
  137. private $thirdScreenShot;
  138. /**
  139. * 第三张特殊资质图片文件,不能超过4MB,图片格式只支持jpg、png、jepg,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要特殊资质,如果不填默认采用当前小程序第三张特殊资质
  140. **/
  141. private $thirdSpecialLicensePic;
  142. /**
  143. * 小程序版本描述,30-500个字符
  144. **/
  145. private $versionDesc;
  146. private $apiParas = array();
  147. private $terminalType;
  148. private $terminalInfo;
  149. private $prodCode;
  150. private $apiVersion="1.0";
  151. private $notifyUrl;
  152. private $returnUrl;
  153. private $needEncrypt=false;
  154. public function setAppCategoryIds($appCategoryIds)
  155. {
  156. $this->appCategoryIds = $appCategoryIds;
  157. $this->apiParas["app_category_ids"] = $appCategoryIds;
  158. }
  159. public function getAppCategoryIds()
  160. {
  161. return $this->appCategoryIds;
  162. }
  163. public function setAppDesc($appDesc)
  164. {
  165. $this->appDesc = $appDesc;
  166. $this->apiParas["app_desc"] = $appDesc;
  167. }
  168. public function getAppDesc()
  169. {
  170. return $this->appDesc;
  171. }
  172. public function setAppEnglishName($appEnglishName)
  173. {
  174. $this->appEnglishName = $appEnglishName;
  175. $this->apiParas["app_english_name"] = $appEnglishName;
  176. }
  177. public function getAppEnglishName()
  178. {
  179. return $this->appEnglishName;
  180. }
  181. public function setAppLogo($appLogo)
  182. {
  183. $this->appLogo = $appLogo;
  184. $this->apiParas["app_logo"] = $appLogo;
  185. }
  186. public function getAppLogo()
  187. {
  188. return $this->appLogo;
  189. }
  190. public function setAppName($appName)
  191. {
  192. $this->appName = $appName;
  193. $this->apiParas["app_name"] = $appName;
  194. }
  195. public function getAppName()
  196. {
  197. return $this->appName;
  198. }
  199. public function setAppSlogan($appSlogan)
  200. {
  201. $this->appSlogan = $appSlogan;
  202. $this->apiParas["app_slogan"] = $appSlogan;
  203. }
  204. public function getAppSlogan()
  205. {
  206. return $this->appSlogan;
  207. }
  208. public function setAppVersion($appVersion)
  209. {
  210. $this->appVersion = $appVersion;
  211. $this->apiParas["app_version"] = $appVersion;
  212. }
  213. public function getAppVersion()
  214. {
  215. return $this->appVersion;
  216. }
  217. public function setBundleId($bundleId)
  218. {
  219. $this->bundleId = $bundleId;
  220. $this->apiParas["bundle_id"] = $bundleId;
  221. }
  222. public function getBundleId()
  223. {
  224. return $this->bundleId;
  225. }
  226. public function setFifthLicensePic($fifthLicensePic)
  227. {
  228. $this->fifthLicensePic = $fifthLicensePic;
  229. $this->apiParas["fifth_license_pic"] = $fifthLicensePic;
  230. }
  231. public function getFifthLicensePic()
  232. {
  233. return $this->fifthLicensePic;
  234. }
  235. public function setFifthScreenShot($fifthScreenShot)
  236. {
  237. $this->fifthScreenShot = $fifthScreenShot;
  238. $this->apiParas["fifth_screen_shot"] = $fifthScreenShot;
  239. }
  240. public function getFifthScreenShot()
  241. {
  242. return $this->fifthScreenShot;
  243. }
  244. public function setFirstLicensePic($firstLicensePic)
  245. {
  246. $this->firstLicensePic = $firstLicensePic;
  247. $this->apiParas["first_license_pic"] = $firstLicensePic;
  248. }
  249. public function getFirstLicensePic()
  250. {
  251. return $this->firstLicensePic;
  252. }
  253. public function setFirstScreenShot($firstScreenShot)
  254. {
  255. $this->firstScreenShot = $firstScreenShot;
  256. $this->apiParas["first_screen_shot"] = $firstScreenShot;
  257. }
  258. public function getFirstScreenShot()
  259. {
  260. return $this->firstScreenShot;
  261. }
  262. public function setFirstSpecialLicensePic($firstSpecialLicensePic)
  263. {
  264. $this->firstSpecialLicensePic = $firstSpecialLicensePic;
  265. $this->apiParas["first_special_license_pic"] = $firstSpecialLicensePic;
  266. }
  267. public function getFirstSpecialLicensePic()
  268. {
  269. return $this->firstSpecialLicensePic;
  270. }
  271. public function setFourthLicensePic($fourthLicensePic)
  272. {
  273. $this->fourthLicensePic = $fourthLicensePic;
  274. $this->apiParas["fourth_license_pic"] = $fourthLicensePic;
  275. }
  276. public function getFourthLicensePic()
  277. {
  278. return $this->fourthLicensePic;
  279. }
  280. public function setFourthScreenShot($fourthScreenShot)
  281. {
  282. $this->fourthScreenShot = $fourthScreenShot;
  283. $this->apiParas["fourth_screen_shot"] = $fourthScreenShot;
  284. }
  285. public function getFourthScreenShot()
  286. {
  287. return $this->fourthScreenShot;
  288. }
  289. public function setLicenseName($licenseName)
  290. {
  291. $this->licenseName = $licenseName;
  292. $this->apiParas["license_name"] = $licenseName;
  293. }
  294. public function getLicenseName()
  295. {
  296. return $this->licenseName;
  297. }
  298. public function setLicenseNo($licenseNo)
  299. {
  300. $this->licenseNo = $licenseNo;
  301. $this->apiParas["license_no"] = $licenseNo;
  302. }
  303. public function getLicenseNo()
  304. {
  305. return $this->licenseNo;
  306. }
  307. public function setLicenseValidDate($licenseValidDate)
  308. {
  309. $this->licenseValidDate = $licenseValidDate;
  310. $this->apiParas["license_valid_date"] = $licenseValidDate;
  311. }
  312. public function getLicenseValidDate()
  313. {
  314. return $this->licenseValidDate;
  315. }
  316. public function setMemo($memo)
  317. {
  318. $this->memo = $memo;
  319. $this->apiParas["memo"] = $memo;
  320. }
  321. public function getMemo()
  322. {
  323. return $this->memo;
  324. }
  325. public function setOutDoorPic($outDoorPic)
  326. {
  327. $this->outDoorPic = $outDoorPic;
  328. $this->apiParas["out_door_pic"] = $outDoorPic;
  329. }
  330. public function getOutDoorPic()
  331. {
  332. return $this->outDoorPic;
  333. }
  334. public function setRegionType($regionType)
  335. {
  336. $this->regionType = $regionType;
  337. $this->apiParas["region_type"] = $regionType;
  338. }
  339. public function getRegionType()
  340. {
  341. return $this->regionType;
  342. }
  343. public function setSecondLicensePic($secondLicensePic)
  344. {
  345. $this->secondLicensePic = $secondLicensePic;
  346. $this->apiParas["second_license_pic"] = $secondLicensePic;
  347. }
  348. public function getSecondLicensePic()
  349. {
  350. return $this->secondLicensePic;
  351. }
  352. public function setSecondScreenShot($secondScreenShot)
  353. {
  354. $this->secondScreenShot = $secondScreenShot;
  355. $this->apiParas["second_screen_shot"] = $secondScreenShot;
  356. }
  357. public function getSecondScreenShot()
  358. {
  359. return $this->secondScreenShot;
  360. }
  361. public function setSecondSpecialLicensePic($secondSpecialLicensePic)
  362. {
  363. $this->secondSpecialLicensePic = $secondSpecialLicensePic;
  364. $this->apiParas["second_special_license_pic"] = $secondSpecialLicensePic;
  365. }
  366. public function getSecondSpecialLicensePic()
  367. {
  368. return $this->secondSpecialLicensePic;
  369. }
  370. public function setServiceEmail($serviceEmail)
  371. {
  372. $this->serviceEmail = $serviceEmail;
  373. $this->apiParas["service_email"] = $serviceEmail;
  374. }
  375. public function getServiceEmail()
  376. {
  377. return $this->serviceEmail;
  378. }
  379. public function setServicePhone($servicePhone)
  380. {
  381. $this->servicePhone = $servicePhone;
  382. $this->apiParas["service_phone"] = $servicePhone;
  383. }
  384. public function getServicePhone()
  385. {
  386. return $this->servicePhone;
  387. }
  388. public function setServiceRegionInfo($serviceRegionInfo)
  389. {
  390. $this->serviceRegionInfo = $serviceRegionInfo;
  391. $this->apiParas["service_region_info"] = $serviceRegionInfo;
  392. }
  393. public function getServiceRegionInfo()
  394. {
  395. return $this->serviceRegionInfo;
  396. }
  397. public function setTestAccout($testAccout)
  398. {
  399. $this->testAccout = $testAccout;
  400. $this->apiParas["test_accout"] = $testAccout;
  401. }
  402. public function getTestAccout()
  403. {
  404. return $this->testAccout;
  405. }
  406. public function setTestFileName($testFileName)
  407. {
  408. $this->testFileName = $testFileName;
  409. $this->apiParas["test_file_name"] = $testFileName;
  410. }
  411. public function getTestFileName()
  412. {
  413. return $this->testFileName;
  414. }
  415. public function setTestPassword($testPassword)
  416. {
  417. $this->testPassword = $testPassword;
  418. $this->apiParas["test_password"] = $testPassword;
  419. }
  420. public function getTestPassword()
  421. {
  422. return $this->testPassword;
  423. }
  424. public function setThirdLicensePic($thirdLicensePic)
  425. {
  426. $this->thirdLicensePic = $thirdLicensePic;
  427. $this->apiParas["third_license_pic"] = $thirdLicensePic;
  428. }
  429. public function getThirdLicensePic()
  430. {
  431. return $this->thirdLicensePic;
  432. }
  433. public function setThirdScreenShot($thirdScreenShot)
  434. {
  435. $this->thirdScreenShot = $thirdScreenShot;
  436. $this->apiParas["third_screen_shot"] = $thirdScreenShot;
  437. }
  438. public function getThirdScreenShot()
  439. {
  440. return $this->thirdScreenShot;
  441. }
  442. public function setThirdSpecialLicensePic($thirdSpecialLicensePic)
  443. {
  444. $this->thirdSpecialLicensePic = $thirdSpecialLicensePic;
  445. $this->apiParas["third_special_license_pic"] = $thirdSpecialLicensePic;
  446. }
  447. public function getThirdSpecialLicensePic()
  448. {
  449. return $this->thirdSpecialLicensePic;
  450. }
  451. public function setVersionDesc($versionDesc)
  452. {
  453. $this->versionDesc = $versionDesc;
  454. $this->apiParas["version_desc"] = $versionDesc;
  455. }
  456. public function getVersionDesc()
  457. {
  458. return $this->versionDesc;
  459. }
  460. public function getApiMethodName()
  461. {
  462. return "alipay.open.mini.version.audit.apply";
  463. }
  464. public function setNotifyUrl($notifyUrl)
  465. {
  466. $this->notifyUrl=$notifyUrl;
  467. }
  468. public function getNotifyUrl()
  469. {
  470. return $this->notifyUrl;
  471. }
  472. public function setReturnUrl($returnUrl)
  473. {
  474. $this->returnUrl=$returnUrl;
  475. }
  476. public function getReturnUrl()
  477. {
  478. return $this->returnUrl;
  479. }
  480. public function getApiParas()
  481. {
  482. return $this->apiParas;
  483. }
  484. public function getTerminalType()
  485. {
  486. return $this->terminalType;
  487. }
  488. public function setTerminalType($terminalType)
  489. {
  490. $this->terminalType = $terminalType;
  491. }
  492. public function getTerminalInfo()
  493. {
  494. return $this->terminalInfo;
  495. }
  496. public function setTerminalInfo($terminalInfo)
  497. {
  498. $this->terminalInfo = $terminalInfo;
  499. }
  500. public function getProdCode()
  501. {
  502. return $this->prodCode;
  503. }
  504. public function setProdCode($prodCode)
  505. {
  506. $this->prodCode = $prodCode;
  507. }
  508. public function setApiVersion($apiVersion)
  509. {
  510. $this->apiVersion=$apiVersion;
  511. }
  512. public function getApiVersion()
  513. {
  514. return $this->apiVersion;
  515. }
  516. public function setNeedEncrypt($needEncrypt)
  517. {
  518. $this->needEncrypt=$needEncrypt;
  519. }
  520. public function getNeedEncrypt()
  521. {
  522. return $this->needEncrypt;
  523. }
  524. }