AlipayOpenPublicLifeAgentCreateRequest.php 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.open.public.life.agent.create request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-01-07 20:51:15
  7. */
  8. class AlipayOpenPublicLifeAgentCreateRequest
  9. {
  10. /**
  11. * isv代开通生活号的商户支付宝账号或者商户支付宝账号pid(2088开头16位长度的字符串),账号需通过实名认证
  12. **/
  13. private $account;
  14. /**
  15. * 生活号背景图片
  16. **/
  17. private $backgroundPic;
  18. /**
  19. * 营业执照授权函图片,个体工商户如果使用总公司或其他公司的营业执照认证需上传该授权函图片
  20. **/
  21. private $businessLicenseAuthPic;
  22. /**
  23. * 营业执照号码。被代创建商户运营主体为个人账户必填,企业账户无需填写
  24. **/
  25. private $businessLicenseNo;
  26. /**
  27. * 营业执照图片。被代创建商户运营主体为个人账户必填,企业账户无需填写
  28. **/
  29. private $businessLicensePic;
  30. /**
  31. * 联系人邮箱
  32. **/
  33. private $contactEmail;
  34. /**
  35. * 联系人手机号
  36. **/
  37. private $contactMobile;
  38. /**
  39. * 联系人名称
  40. **/
  41. private $contactName;
  42. /**
  43. * 生活号头像
  44. **/
  45. private $logoPic;
  46. /**
  47. * 所属MCCCode,详情可参考
  48. <a href="https://doc.open.alipay.com/docs/doc.htm?spm=a219a.7629140.0.0.INIZWb&articleId=105364&docType=1">商家经营类目</a> 中的“经营类目编码”
  49. **/
  50. private $mccCode;
  51. /**
  52. * 外部入驻申请单据号,由开发者生成,并需保证在开发者端不重复。另,如果代创建被驳回,需更换新的申请号,原申请号不能再次使用
  53. **/
  54. private $outBizNo;
  55. /**
  56. * 自有知识产权证书图片
  57. **/
  58. private $ownIntellectualPic;
  59. /**
  60. * 生活号简介
  61. **/
  62. private $publicDesc;
  63. /**
  64. * 生活号名称
  65. **/
  66. private $publicName;
  67. /**
  68. * 店铺内景图片,被代创建商户运营主体为个人账户必填,企业账户选填
  69. **/
  70. private $shopScenePic;
  71. /**
  72. * 店铺门头照图片,被代创建商户运营主体为个人账户必填,企业账户选填
  73. **/
  74. private $shopSignBoardPic;
  75. /**
  76. * 企业特殊资质图片,可参考 <a href="https://doc.open.alipay.com/docs/doc.htm?spm=a219a.7629140.0.0.INIZWb&articleId=105364&docType=1">商家经营类目</a> 中的 “需要的特殊资质证书”
  77. **/
  78. private $specialLicensePic;
  79. private $apiParas = array();
  80. private $terminalType;
  81. private $terminalInfo;
  82. private $prodCode;
  83. private $apiVersion="1.0";
  84. private $notifyUrl;
  85. private $returnUrl;
  86. private $needEncrypt=false;
  87. public function setAccount($account)
  88. {
  89. $this->account = $account;
  90. $this->apiParas["account"] = $account;
  91. }
  92. public function getAccount()
  93. {
  94. return $this->account;
  95. }
  96. public function setBackgroundPic($backgroundPic)
  97. {
  98. $this->backgroundPic = $backgroundPic;
  99. $this->apiParas["background_pic"] = $backgroundPic;
  100. }
  101. public function getBackgroundPic()
  102. {
  103. return $this->backgroundPic;
  104. }
  105. public function setBusinessLicenseAuthPic($businessLicenseAuthPic)
  106. {
  107. $this->businessLicenseAuthPic = $businessLicenseAuthPic;
  108. $this->apiParas["business_license_auth_pic"] = $businessLicenseAuthPic;
  109. }
  110. public function getBusinessLicenseAuthPic()
  111. {
  112. return $this->businessLicenseAuthPic;
  113. }
  114. public function setBusinessLicenseNo($businessLicenseNo)
  115. {
  116. $this->businessLicenseNo = $businessLicenseNo;
  117. $this->apiParas["business_license_no"] = $businessLicenseNo;
  118. }
  119. public function getBusinessLicenseNo()
  120. {
  121. return $this->businessLicenseNo;
  122. }
  123. public function setBusinessLicensePic($businessLicensePic)
  124. {
  125. $this->businessLicensePic = $businessLicensePic;
  126. $this->apiParas["business_license_pic"] = $businessLicensePic;
  127. }
  128. public function getBusinessLicensePic()
  129. {
  130. return $this->businessLicensePic;
  131. }
  132. public function setContactEmail($contactEmail)
  133. {
  134. $this->contactEmail = $contactEmail;
  135. $this->apiParas["contact_email"] = $contactEmail;
  136. }
  137. public function getContactEmail()
  138. {
  139. return $this->contactEmail;
  140. }
  141. public function setContactMobile($contactMobile)
  142. {
  143. $this->contactMobile = $contactMobile;
  144. $this->apiParas["contact_mobile"] = $contactMobile;
  145. }
  146. public function getContactMobile()
  147. {
  148. return $this->contactMobile;
  149. }
  150. public function setContactName($contactName)
  151. {
  152. $this->contactName = $contactName;
  153. $this->apiParas["contact_name"] = $contactName;
  154. }
  155. public function getContactName()
  156. {
  157. return $this->contactName;
  158. }
  159. public function setLogoPic($logoPic)
  160. {
  161. $this->logoPic = $logoPic;
  162. $this->apiParas["logo_pic"] = $logoPic;
  163. }
  164. public function getLogoPic()
  165. {
  166. return $this->logoPic;
  167. }
  168. public function setMccCode($mccCode)
  169. {
  170. $this->mccCode = $mccCode;
  171. $this->apiParas["mcc_code"] = $mccCode;
  172. }
  173. public function getMccCode()
  174. {
  175. return $this->mccCode;
  176. }
  177. public function setOutBizNo($outBizNo)
  178. {
  179. $this->outBizNo = $outBizNo;
  180. $this->apiParas["out_biz_no"] = $outBizNo;
  181. }
  182. public function getOutBizNo()
  183. {
  184. return $this->outBizNo;
  185. }
  186. public function setOwnIntellectualPic($ownIntellectualPic)
  187. {
  188. $this->ownIntellectualPic = $ownIntellectualPic;
  189. $this->apiParas["own_intellectual_pic"] = $ownIntellectualPic;
  190. }
  191. public function getOwnIntellectualPic()
  192. {
  193. return $this->ownIntellectualPic;
  194. }
  195. public function setPublicDesc($publicDesc)
  196. {
  197. $this->publicDesc = $publicDesc;
  198. $this->apiParas["public_desc"] = $publicDesc;
  199. }
  200. public function getPublicDesc()
  201. {
  202. return $this->publicDesc;
  203. }
  204. public function setPublicName($publicName)
  205. {
  206. $this->publicName = $publicName;
  207. $this->apiParas["public_name"] = $publicName;
  208. }
  209. public function getPublicName()
  210. {
  211. return $this->publicName;
  212. }
  213. public function setShopScenePic($shopScenePic)
  214. {
  215. $this->shopScenePic = $shopScenePic;
  216. $this->apiParas["shop_scene_pic"] = $shopScenePic;
  217. }
  218. public function getShopScenePic()
  219. {
  220. return $this->shopScenePic;
  221. }
  222. public function setShopSignBoardPic($shopSignBoardPic)
  223. {
  224. $this->shopSignBoardPic = $shopSignBoardPic;
  225. $this->apiParas["shop_sign_board_pic"] = $shopSignBoardPic;
  226. }
  227. public function getShopSignBoardPic()
  228. {
  229. return $this->shopSignBoardPic;
  230. }
  231. public function setSpecialLicensePic($specialLicensePic)
  232. {
  233. $this->specialLicensePic = $specialLicensePic;
  234. $this->apiParas["special_license_pic"] = $specialLicensePic;
  235. }
  236. public function getSpecialLicensePic()
  237. {
  238. return $this->specialLicensePic;
  239. }
  240. public function getApiMethodName()
  241. {
  242. return "alipay.open.public.life.agent.create";
  243. }
  244. public function setNotifyUrl($notifyUrl)
  245. {
  246. $this->notifyUrl=$notifyUrl;
  247. }
  248. public function getNotifyUrl()
  249. {
  250. return $this->notifyUrl;
  251. }
  252. public function setReturnUrl($returnUrl)
  253. {
  254. $this->returnUrl=$returnUrl;
  255. }
  256. public function getReturnUrl()
  257. {
  258. return $this->returnUrl;
  259. }
  260. public function getApiParas()
  261. {
  262. return $this->apiParas;
  263. }
  264. public function getTerminalType()
  265. {
  266. return $this->terminalType;
  267. }
  268. public function setTerminalType($terminalType)
  269. {
  270. $this->terminalType = $terminalType;
  271. }
  272. public function getTerminalInfo()
  273. {
  274. return $this->terminalInfo;
  275. }
  276. public function setTerminalInfo($terminalInfo)
  277. {
  278. $this->terminalInfo = $terminalInfo;
  279. }
  280. public function getProdCode()
  281. {
  282. return $this->prodCode;
  283. }
  284. public function setProdCode($prodCode)
  285. {
  286. $this->prodCode = $prodCode;
  287. }
  288. public function setApiVersion($apiVersion)
  289. {
  290. $this->apiVersion=$apiVersion;
  291. }
  292. public function getApiVersion()
  293. {
  294. return $this->apiVersion;
  295. }
  296. public function setNeedEncrypt($needEncrypt)
  297. {
  298. $this->needEncrypt=$needEncrypt;
  299. }
  300. public function getNeedEncrypt()
  301. {
  302. return $this->needEncrypt;
  303. }
  304. }