AlipayOpenMiniVersionAuditApplyRequest.php 17 KB

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