AlipayOpenMiniVersionAuditApplyRequest.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.open.mini.version.audit.apply request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2018-06-04 19:40:00
  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. * 小程序应用英文名称,如果不填默认采用当前小程序应用英文名称
  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. * 小程序应用简介,一句话描述小程序功能,如果不填默认采用当前小程序应用简介
  32. **/
  33. private $appSlogan;
  34. /**
  35. * 小程序版本号
  36. **/
  37. private $appVersion;
  38. /**
  39. * 第五张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息
  40. **/
  41. private $fifthLicensePic;
  42. /**
  43. * 小程序第五张应用截图,不能超过4MB,图片格式只支持jpg,png
  44. **/
  45. private $fifthScreenShot;
  46. /**
  47. * 第一张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息
  48. **/
  49. private $firstLicensePic;
  50. /**
  51. * 实例化的小程序可以不用传第一张应用截图,小程序第一张应用截图,不能超过4MB,图片格式只支持jpg,png
  52. **/
  53. private $firstScreenShot;
  54. /**
  55. * 第四张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息
  56. **/
  57. private $fourthLicensePic;
  58. /**
  59. * 小程序第四张应用截图,不能超过4MB,图片格式只支持jpg,png
  60. **/
  61. private $fourthScreenShot;
  62. /**
  63. * 营业执照名称,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息
  64. **/
  65. private $licenseName;
  66. /**
  67. * 营业执照号,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息
  68. **/
  69. private $licenseNo;
  70. /**
  71. * 营业执照有效期,格式为yyyy-MM-dd,9999-12-31表示长期,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息
  72. **/
  73. private $licenseValidDate;
  74. /**
  75. * 小程序备注
  76. **/
  77. private $memo;
  78. /**
  79. * 门头照图片,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息
  80. **/
  81. private $outDoorPic;
  82. /**
  83. * 小程序服务区域类型,GLOBAL-全球,CHINA-中国,LOCATION-指定区域
  84. **/
  85. private $regionType;
  86. /**
  87. * 第二张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息
  88. **/
  89. private $secondLicensePic;
  90. /**
  91. * 实例化的小程序可以不用传第二张应用截图,小程序第二张应用截图,不能超过4MB,图片格式只支持jpg,png
  92. **/
  93. private $secondScreenShot;
  94. /**
  95. * 小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱
  96. **/
  97. private $serviceEmail;
  98. /**
  99. * 小程序客服电话,如果不填默认采用当前小程序的应用客服电话
  100. **/
  101. private $servicePhone;
  102. /**
  103. * 省市区信息,当区域类型为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
  104. **/
  105. private $serviceRegionInfo;
  106. /**
  107. * 第三张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息
  108. **/
  109. private $thirdLicensePic;
  110. /**
  111. * 小程序第三张应用截图,不能超过4MB,图片格式只支持jpg,png
  112. **/
  113. private $thirdScreenShot;
  114. /**
  115. * 小程序版本描述
  116. **/
  117. private $versionDesc;
  118. private $apiParas = array();
  119. private $terminalType;
  120. private $terminalInfo;
  121. private $prodCode;
  122. private $apiVersion="1.0";
  123. private $notifyUrl;
  124. private $returnUrl;
  125. private $needEncrypt=false;
  126. public function setAppCategoryIds($appCategoryIds)
  127. {
  128. $this->appCategoryIds = $appCategoryIds;
  129. $this->apiParas["app_category_ids"] = $appCategoryIds;
  130. }
  131. public function getAppCategoryIds()
  132. {
  133. return $this->appCategoryIds;
  134. }
  135. public function setAppDesc($appDesc)
  136. {
  137. $this->appDesc = $appDesc;
  138. $this->apiParas["app_desc"] = $appDesc;
  139. }
  140. public function getAppDesc()
  141. {
  142. return $this->appDesc;
  143. }
  144. public function setAppEnglishName($appEnglishName)
  145. {
  146. $this->appEnglishName = $appEnglishName;
  147. $this->apiParas["app_english_name"] = $appEnglishName;
  148. }
  149. public function getAppEnglishName()
  150. {
  151. return $this->appEnglishName;
  152. }
  153. public function setAppLogo($appLogo)
  154. {
  155. $this->appLogo = $appLogo;
  156. $this->apiParas["app_logo"] = $appLogo;
  157. }
  158. public function getAppLogo()
  159. {
  160. return $this->appLogo;
  161. }
  162. public function setAppName($appName)
  163. {
  164. $this->appName = $appName;
  165. $this->apiParas["app_name"] = $appName;
  166. }
  167. public function getAppName()
  168. {
  169. return $this->appName;
  170. }
  171. public function setAppSlogan($appSlogan)
  172. {
  173. $this->appSlogan = $appSlogan;
  174. $this->apiParas["app_slogan"] = $appSlogan;
  175. }
  176. public function getAppSlogan()
  177. {
  178. return $this->appSlogan;
  179. }
  180. public function setAppVersion($appVersion)
  181. {
  182. $this->appVersion = $appVersion;
  183. $this->apiParas["app_version"] = $appVersion;
  184. }
  185. public function getAppVersion()
  186. {
  187. return $this->appVersion;
  188. }
  189. public function setFifthLicensePic($fifthLicensePic)
  190. {
  191. $this->fifthLicensePic = $fifthLicensePic;
  192. $this->apiParas["fifth_license_pic"] = $fifthLicensePic;
  193. }
  194. public function getFifthLicensePic()
  195. {
  196. return $this->fifthLicensePic;
  197. }
  198. public function setFifthScreenShot($fifthScreenShot)
  199. {
  200. $this->fifthScreenShot = $fifthScreenShot;
  201. $this->apiParas["fifth_screen_shot"] = $fifthScreenShot;
  202. }
  203. public function getFifthScreenShot()
  204. {
  205. return $this->fifthScreenShot;
  206. }
  207. public function setFirstLicensePic($firstLicensePic)
  208. {
  209. $this->firstLicensePic = $firstLicensePic;
  210. $this->apiParas["first_license_pic"] = $firstLicensePic;
  211. }
  212. public function getFirstLicensePic()
  213. {
  214. return $this->firstLicensePic;
  215. }
  216. public function setFirstScreenShot($firstScreenShot)
  217. {
  218. $this->firstScreenShot = $firstScreenShot;
  219. $this->apiParas["first_screen_shot"] = $firstScreenShot;
  220. }
  221. public function getFirstScreenShot()
  222. {
  223. return $this->firstScreenShot;
  224. }
  225. public function setFourthLicensePic($fourthLicensePic)
  226. {
  227. $this->fourthLicensePic = $fourthLicensePic;
  228. $this->apiParas["fourth_license_pic"] = $fourthLicensePic;
  229. }
  230. public function getFourthLicensePic()
  231. {
  232. return $this->fourthLicensePic;
  233. }
  234. public function setFourthScreenShot($fourthScreenShot)
  235. {
  236. $this->fourthScreenShot = $fourthScreenShot;
  237. $this->apiParas["fourth_screen_shot"] = $fourthScreenShot;
  238. }
  239. public function getFourthScreenShot()
  240. {
  241. return $this->fourthScreenShot;
  242. }
  243. public function setLicenseName($licenseName)
  244. {
  245. $this->licenseName = $licenseName;
  246. $this->apiParas["license_name"] = $licenseName;
  247. }
  248. public function getLicenseName()
  249. {
  250. return $this->licenseName;
  251. }
  252. public function setLicenseNo($licenseNo)
  253. {
  254. $this->licenseNo = $licenseNo;
  255. $this->apiParas["license_no"] = $licenseNo;
  256. }
  257. public function getLicenseNo()
  258. {
  259. return $this->licenseNo;
  260. }
  261. public function setLicenseValidDate($licenseValidDate)
  262. {
  263. $this->licenseValidDate = $licenseValidDate;
  264. $this->apiParas["license_valid_date"] = $licenseValidDate;
  265. }
  266. public function getLicenseValidDate()
  267. {
  268. return $this->licenseValidDate;
  269. }
  270. public function setMemo($memo)
  271. {
  272. $this->memo = $memo;
  273. $this->apiParas["memo"] = $memo;
  274. }
  275. public function getMemo()
  276. {
  277. return $this->memo;
  278. }
  279. public function setOutDoorPic($outDoorPic)
  280. {
  281. $this->outDoorPic = $outDoorPic;
  282. $this->apiParas["out_door_pic"] = $outDoorPic;
  283. }
  284. public function getOutDoorPic()
  285. {
  286. return $this->outDoorPic;
  287. }
  288. public function setRegionType($regionType)
  289. {
  290. $this->regionType = $regionType;
  291. $this->apiParas["region_type"] = $regionType;
  292. }
  293. public function getRegionType()
  294. {
  295. return $this->regionType;
  296. }
  297. public function setSecondLicensePic($secondLicensePic)
  298. {
  299. $this->secondLicensePic = $secondLicensePic;
  300. $this->apiParas["second_license_pic"] = $secondLicensePic;
  301. }
  302. public function getSecondLicensePic()
  303. {
  304. return $this->secondLicensePic;
  305. }
  306. public function setSecondScreenShot($secondScreenShot)
  307. {
  308. $this->secondScreenShot = $secondScreenShot;
  309. $this->apiParas["second_screen_shot"] = $secondScreenShot;
  310. }
  311. public function getSecondScreenShot()
  312. {
  313. return $this->secondScreenShot;
  314. }
  315. public function setServiceEmail($serviceEmail)
  316. {
  317. $this->serviceEmail = $serviceEmail;
  318. $this->apiParas["service_email"] = $serviceEmail;
  319. }
  320. public function getServiceEmail()
  321. {
  322. return $this->serviceEmail;
  323. }
  324. public function setServicePhone($servicePhone)
  325. {
  326. $this->servicePhone = $servicePhone;
  327. $this->apiParas["service_phone"] = $servicePhone;
  328. }
  329. public function getServicePhone()
  330. {
  331. return $this->servicePhone;
  332. }
  333. public function setServiceRegionInfo($serviceRegionInfo)
  334. {
  335. $this->serviceRegionInfo = $serviceRegionInfo;
  336. $this->apiParas["service_region_info"] = $serviceRegionInfo;
  337. }
  338. public function getServiceRegionInfo()
  339. {
  340. return $this->serviceRegionInfo;
  341. }
  342. public function setThirdLicensePic($thirdLicensePic)
  343. {
  344. $this->thirdLicensePic = $thirdLicensePic;
  345. $this->apiParas["third_license_pic"] = $thirdLicensePic;
  346. }
  347. public function getThirdLicensePic()
  348. {
  349. return $this->thirdLicensePic;
  350. }
  351. public function setThirdScreenShot($thirdScreenShot)
  352. {
  353. $this->thirdScreenShot = $thirdScreenShot;
  354. $this->apiParas["third_screen_shot"] = $thirdScreenShot;
  355. }
  356. public function getThirdScreenShot()
  357. {
  358. return $this->thirdScreenShot;
  359. }
  360. public function setVersionDesc($versionDesc)
  361. {
  362. $this->versionDesc = $versionDesc;
  363. $this->apiParas["version_desc"] = $versionDesc;
  364. }
  365. public function getVersionDesc()
  366. {
  367. return $this->versionDesc;
  368. }
  369. public function getApiMethodName()
  370. {
  371. return "alipay.open.mini.version.audit.apply";
  372. }
  373. public function setNotifyUrl($notifyUrl)
  374. {
  375. $this->notifyUrl=$notifyUrl;
  376. }
  377. public function getNotifyUrl()
  378. {
  379. return $this->notifyUrl;
  380. }
  381. public function setReturnUrl($returnUrl)
  382. {
  383. $this->returnUrl=$returnUrl;
  384. }
  385. public function getReturnUrl()
  386. {
  387. return $this->returnUrl;
  388. }
  389. public function getApiParas()
  390. {
  391. return $this->apiParas;
  392. }
  393. public function getTerminalType()
  394. {
  395. return $this->terminalType;
  396. }
  397. public function setTerminalType($terminalType)
  398. {
  399. $this->terminalType = $terminalType;
  400. }
  401. public function getTerminalInfo()
  402. {
  403. return $this->terminalInfo;
  404. }
  405. public function setTerminalInfo($terminalInfo)
  406. {
  407. $this->terminalInfo = $terminalInfo;
  408. }
  409. public function getProdCode()
  410. {
  411. return $this->prodCode;
  412. }
  413. public function setProdCode($prodCode)
  414. {
  415. $this->prodCode = $prodCode;
  416. }
  417. public function setApiVersion($apiVersion)
  418. {
  419. $this->apiVersion=$apiVersion;
  420. }
  421. public function getApiVersion()
  422. {
  423. return $this->apiVersion;
  424. }
  425. public function setNeedEncrypt($needEncrypt)
  426. {
  427. $this->needEncrypt=$needEncrypt;
  428. }
  429. public function getNeedEncrypt()
  430. {
  431. return $this->needEncrypt;
  432. }
  433. }