AlipayOpenMiniVersionAuditApplyRequest.php 18 KB

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