AlipayOpenMiniVersionAuditApplyRequest.php 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.open.mini.version.audit.apply request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2018-01-25 00:27: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. * 小程序应用英文名称
  20. **/
  21. private $appEnglishName;
  22. /**
  23. * 小程序logo图标,图片格式必须为:png、jpeg、jpg,建议上传像素为180*180
  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
  40. **/
  41. private $fifthScreenShot;
  42. /**
  43. * 实例化的小程序可以不用传第一张应用截图,小程序第一张应用截图,不能超过4MB,图片格式只支持jpg,png
  44. **/
  45. private $firstScreenShot;
  46. /**
  47. * 小程序第四张应用截图,不能超过4MB,图片格式只支持jpg,png
  48. **/
  49. private $fourthScreenShot;
  50. /**
  51. * 小程序备注
  52. **/
  53. private $memo;
  54. /**
  55. * 小程序服务区域类型,GLOBLE-全球,CHINA-中国,LOCATION-指定区域
  56. **/
  57. private $regionType;
  58. /**
  59. * 实例化的小程序可以不用传第二张应用截图,小程序第二张应用截图,不能超过4MB,图片格式只支持jpg,png
  60. **/
  61. private $secondScreenShot;
  62. /**
  63. * 小程序客服邮箱
  64. **/
  65. private $serviceEmail;
  66. /**
  67. * 小程序客服电话
  68. **/
  69. private $servicePhone;
  70. /**
  71. * 省市区信息,当区域类型为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
  72. **/
  73. private $serviceRegionInfo;
  74. /**
  75. * 小程序第三张应用截图,不能超过4MB,图片格式只支持jpg,png
  76. **/
  77. private $thirdScreenShot;
  78. /**
  79. * 小程序版本描述
  80. **/
  81. private $versionDesc;
  82. private $apiParas = array();
  83. private $terminalType;
  84. private $terminalInfo;
  85. private $prodCode;
  86. private $apiVersion="1.0";
  87. private $notifyUrl;
  88. private $returnUrl;
  89. private $needEncrypt=false;
  90. public function setAppCategoryIds($appCategoryIds)
  91. {
  92. $this->appCategoryIds = $appCategoryIds;
  93. $this->apiParas["app_category_ids"] = $appCategoryIds;
  94. }
  95. public function getAppCategoryIds()
  96. {
  97. return $this->appCategoryIds;
  98. }
  99. public function setAppDesc($appDesc)
  100. {
  101. $this->appDesc = $appDesc;
  102. $this->apiParas["app_desc"] = $appDesc;
  103. }
  104. public function getAppDesc()
  105. {
  106. return $this->appDesc;
  107. }
  108. public function setAppEnglishName($appEnglishName)
  109. {
  110. $this->appEnglishName = $appEnglishName;
  111. $this->apiParas["app_english_name"] = $appEnglishName;
  112. }
  113. public function getAppEnglishName()
  114. {
  115. return $this->appEnglishName;
  116. }
  117. public function setAppLogo($appLogo)
  118. {
  119. $this->appLogo = $appLogo;
  120. $this->apiParas["app_logo"] = $appLogo;
  121. }
  122. public function getAppLogo()
  123. {
  124. return $this->appLogo;
  125. }
  126. public function setAppName($appName)
  127. {
  128. $this->appName = $appName;
  129. $this->apiParas["app_name"] = $appName;
  130. }
  131. public function getAppName()
  132. {
  133. return $this->appName;
  134. }
  135. public function setAppSlogan($appSlogan)
  136. {
  137. $this->appSlogan = $appSlogan;
  138. $this->apiParas["app_slogan"] = $appSlogan;
  139. }
  140. public function getAppSlogan()
  141. {
  142. return $this->appSlogan;
  143. }
  144. public function setAppVersion($appVersion)
  145. {
  146. $this->appVersion = $appVersion;
  147. $this->apiParas["app_version"] = $appVersion;
  148. }
  149. public function getAppVersion()
  150. {
  151. return $this->appVersion;
  152. }
  153. public function setFifthScreenShot($fifthScreenShot)
  154. {
  155. $this->fifthScreenShot = $fifthScreenShot;
  156. $this->apiParas["fifth_screen_shot"] = $fifthScreenShot;
  157. }
  158. public function getFifthScreenShot()
  159. {
  160. return $this->fifthScreenShot;
  161. }
  162. public function setFirstScreenShot($firstScreenShot)
  163. {
  164. $this->firstScreenShot = $firstScreenShot;
  165. $this->apiParas["first_screen_shot"] = $firstScreenShot;
  166. }
  167. public function getFirstScreenShot()
  168. {
  169. return $this->firstScreenShot;
  170. }
  171. public function setFourthScreenShot($fourthScreenShot)
  172. {
  173. $this->fourthScreenShot = $fourthScreenShot;
  174. $this->apiParas["fourth_screen_shot"] = $fourthScreenShot;
  175. }
  176. public function getFourthScreenShot()
  177. {
  178. return $this->fourthScreenShot;
  179. }
  180. public function setMemo($memo)
  181. {
  182. $this->memo = $memo;
  183. $this->apiParas["memo"] = $memo;
  184. }
  185. public function getMemo()
  186. {
  187. return $this->memo;
  188. }
  189. public function setRegionType($regionType)
  190. {
  191. $this->regionType = $regionType;
  192. $this->apiParas["region_type"] = $regionType;
  193. }
  194. public function getRegionType()
  195. {
  196. return $this->regionType;
  197. }
  198. public function setSecondScreenShot($secondScreenShot)
  199. {
  200. $this->secondScreenShot = $secondScreenShot;
  201. $this->apiParas["second_screen_shot"] = $secondScreenShot;
  202. }
  203. public function getSecondScreenShot()
  204. {
  205. return $this->secondScreenShot;
  206. }
  207. public function setServiceEmail($serviceEmail)
  208. {
  209. $this->serviceEmail = $serviceEmail;
  210. $this->apiParas["service_email"] = $serviceEmail;
  211. }
  212. public function getServiceEmail()
  213. {
  214. return $this->serviceEmail;
  215. }
  216. public function setServicePhone($servicePhone)
  217. {
  218. $this->servicePhone = $servicePhone;
  219. $this->apiParas["service_phone"] = $servicePhone;
  220. }
  221. public function getServicePhone()
  222. {
  223. return $this->servicePhone;
  224. }
  225. public function setServiceRegionInfo($serviceRegionInfo)
  226. {
  227. $this->serviceRegionInfo = $serviceRegionInfo;
  228. $this->apiParas["service_region_info"] = $serviceRegionInfo;
  229. }
  230. public function getServiceRegionInfo()
  231. {
  232. return $this->serviceRegionInfo;
  233. }
  234. public function setThirdScreenShot($thirdScreenShot)
  235. {
  236. $this->thirdScreenShot = $thirdScreenShot;
  237. $this->apiParas["third_screen_shot"] = $thirdScreenShot;
  238. }
  239. public function getThirdScreenShot()
  240. {
  241. return $this->thirdScreenShot;
  242. }
  243. public function setVersionDesc($versionDesc)
  244. {
  245. $this->versionDesc = $versionDesc;
  246. $this->apiParas["version_desc"] = $versionDesc;
  247. }
  248. public function getVersionDesc()
  249. {
  250. return $this->versionDesc;
  251. }
  252. public function getApiMethodName()
  253. {
  254. return "alipay.open.mini.version.audit.apply";
  255. }
  256. public function setNotifyUrl($notifyUrl)
  257. {
  258. $this->notifyUrl=$notifyUrl;
  259. }
  260. public function getNotifyUrl()
  261. {
  262. return $this->notifyUrl;
  263. }
  264. public function setReturnUrl($returnUrl)
  265. {
  266. $this->returnUrl=$returnUrl;
  267. }
  268. public function getReturnUrl()
  269. {
  270. return $this->returnUrl;
  271. }
  272. public function getApiParas()
  273. {
  274. return $this->apiParas;
  275. }
  276. public function getTerminalType()
  277. {
  278. return $this->terminalType;
  279. }
  280. public function setTerminalType($terminalType)
  281. {
  282. $this->terminalType = $terminalType;
  283. }
  284. public function getTerminalInfo()
  285. {
  286. return $this->terminalInfo;
  287. }
  288. public function setTerminalInfo($terminalInfo)
  289. {
  290. $this->terminalInfo = $terminalInfo;
  291. }
  292. public function getProdCode()
  293. {
  294. return $this->prodCode;
  295. }
  296. public function setProdCode($prodCode)
  297. {
  298. $this->prodCode = $prodCode;
  299. }
  300. public function setApiVersion($apiVersion)
  301. {
  302. $this->apiVersion=$apiVersion;
  303. }
  304. public function getApiVersion()
  305. {
  306. return $this->apiVersion;
  307. }
  308. public function setNeedEncrypt($needEncrypt)
  309. {
  310. $this->needEncrypt=$needEncrypt;
  311. }
  312. public function getNeedEncrypt()
  313. {
  314. return $this->needEncrypt;
  315. }
  316. }