AlipayOpenAgentZhimabriefSignRequest.php 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.open.agent.zhimabrief.sign request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-11-18 14:27:49
  7. */
  8. class AlipayOpenAgentZhimabriefSignRequest
  9. {
  10. /**
  11. * 支付宝生活号(原服务窗)名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)
  12. **/
  13. private $alipayLifeName;
  14. /**
  15. * APP demo,格式为.apk;或者应用说明文档, 格式为.doc .docx .pdf格式(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)
  16. **/
  17. private $appDemo;
  18. /**
  19. * 商户的APP应用名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)
  20. **/
  21. private $appName;
  22. /**
  23. * 代商户操作事务编号,通过alipay.open.isv.agent.create接口进行创建。
  24. **/
  25. private $batchNo;
  26. /**
  27. * 营业执照授权函图片,个体工商户如果使用总公司或其他公司的营业执照认证需上传该授权函图片,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  28. **/
  29. private $businessLicenseAuthPic;
  30. /**
  31. * 营业执照号码。
  32. **/
  33. private $businessLicenseNo;
  34. /**
  35. * 营业执照图片,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  36. **/
  37. private $businessLicensePic;
  38. /**
  39. * 自定义使用场景描述,usage_scene选项中无符合描述,填写自定义使用场景描述(usage_scene不填写,则custom_usage_scene必填)
  40. **/
  41. private $customUsageScene;
  42. /**
  43. * 营业期限
  44. **/
  45. private $dateLimitation;
  46. /**
  47. * 数据反馈接口人
  48. **/
  49. private $drContact;
  50. /**
  51. * 例如:浙江飞猪网络技术有限公司,企业别称请填写【飞猪】。
  52. **/
  53. private $enterpriseAlias;
  54. /**
  55. * 企业LOGO-图片,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  56. **/
  57. private $enterpriseLogo;
  58. /**
  59. * 营业期限是否长期有效
  60. **/
  61. private $longTerm;
  62. /**
  63. * 所属MCCCode,详情可参考
  64. <a href="https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.59bgD2&treeId=222&articleId=105364&docType=1#s1
  65. ">商家经营类目</a> 中的“经营类目编码”
  66. **/
  67. private $mccCode;
  68. /**
  69. * 异议处理接口人
  70. **/
  71. private $ohContact;
  72. /**
  73. * 用户服务联动机制接口人
  74. **/
  75. private $prContact;
  76. /**
  77. * 企业特殊资质图片,可参考
  78. <a href="https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.59bgD2&treeId=222&articleId=105364&docType=1#s1
  79. ">商家经营类目</a> 中的“需要的特殊资质证书”,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  80. **/
  81. private $specialLicensePic;
  82. /**
  83. * 使用场景描述,签约芝麻信用产品的用途,可选值:"现金放贷","其他", "消费分期(例如买房、装修等)", "融资租赁", "发放信用卡", "极速返利", "押金减免", "先用后付", "社交场景信用互查", "会员分层信用参考"
  84. **/
  85. private $usageScene;
  86. /**
  87. * 接入网址信息(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)
  88. **/
  89. private $webSites;
  90. /**
  91. * 微信公众号名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)
  92. **/
  93. private $wechatOfficialAccountName;
  94. private $apiParas = array();
  95. private $terminalType;
  96. private $terminalInfo;
  97. private $prodCode;
  98. private $apiVersion="1.0";
  99. private $notifyUrl;
  100. private $returnUrl;
  101. private $needEncrypt=false;
  102. public function setAlipayLifeName($alipayLifeName)
  103. {
  104. $this->alipayLifeName = $alipayLifeName;
  105. $this->apiParas["alipay_life_name"] = $alipayLifeName;
  106. }
  107. public function getAlipayLifeName()
  108. {
  109. return $this->alipayLifeName;
  110. }
  111. public function setAppDemo($appDemo)
  112. {
  113. $this->appDemo = $appDemo;
  114. $this->apiParas["app_demo"] = $appDemo;
  115. }
  116. public function getAppDemo()
  117. {
  118. return $this->appDemo;
  119. }
  120. public function setAppName($appName)
  121. {
  122. $this->appName = $appName;
  123. $this->apiParas["app_name"] = $appName;
  124. }
  125. public function getAppName()
  126. {
  127. return $this->appName;
  128. }
  129. public function setBatchNo($batchNo)
  130. {
  131. $this->batchNo = $batchNo;
  132. $this->apiParas["batch_no"] = $batchNo;
  133. }
  134. public function getBatchNo()
  135. {
  136. return $this->batchNo;
  137. }
  138. public function setBusinessLicenseAuthPic($businessLicenseAuthPic)
  139. {
  140. $this->businessLicenseAuthPic = $businessLicenseAuthPic;
  141. $this->apiParas["business_license_auth_pic"] = $businessLicenseAuthPic;
  142. }
  143. public function getBusinessLicenseAuthPic()
  144. {
  145. return $this->businessLicenseAuthPic;
  146. }
  147. public function setBusinessLicenseNo($businessLicenseNo)
  148. {
  149. $this->businessLicenseNo = $businessLicenseNo;
  150. $this->apiParas["business_license_no"] = $businessLicenseNo;
  151. }
  152. public function getBusinessLicenseNo()
  153. {
  154. return $this->businessLicenseNo;
  155. }
  156. public function setBusinessLicensePic($businessLicensePic)
  157. {
  158. $this->businessLicensePic = $businessLicensePic;
  159. $this->apiParas["business_license_pic"] = $businessLicensePic;
  160. }
  161. public function getBusinessLicensePic()
  162. {
  163. return $this->businessLicensePic;
  164. }
  165. public function setCustomUsageScene($customUsageScene)
  166. {
  167. $this->customUsageScene = $customUsageScene;
  168. $this->apiParas["custom_usage_scene"] = $customUsageScene;
  169. }
  170. public function getCustomUsageScene()
  171. {
  172. return $this->customUsageScene;
  173. }
  174. public function setDateLimitation($dateLimitation)
  175. {
  176. $this->dateLimitation = $dateLimitation;
  177. $this->apiParas["date_limitation"] = $dateLimitation;
  178. }
  179. public function getDateLimitation()
  180. {
  181. return $this->dateLimitation;
  182. }
  183. public function setDrContact($drContact)
  184. {
  185. $this->drContact = $drContact;
  186. $this->apiParas["dr_contact"] = $drContact;
  187. }
  188. public function getDrContact()
  189. {
  190. return $this->drContact;
  191. }
  192. public function setEnterpriseAlias($enterpriseAlias)
  193. {
  194. $this->enterpriseAlias = $enterpriseAlias;
  195. $this->apiParas["enterprise_alias"] = $enterpriseAlias;
  196. }
  197. public function getEnterpriseAlias()
  198. {
  199. return $this->enterpriseAlias;
  200. }
  201. public function setEnterpriseLogo($enterpriseLogo)
  202. {
  203. $this->enterpriseLogo = $enterpriseLogo;
  204. $this->apiParas["enterprise_logo"] = $enterpriseLogo;
  205. }
  206. public function getEnterpriseLogo()
  207. {
  208. return $this->enterpriseLogo;
  209. }
  210. public function setLongTerm($longTerm)
  211. {
  212. $this->longTerm = $longTerm;
  213. $this->apiParas["long_term"] = $longTerm;
  214. }
  215. public function getLongTerm()
  216. {
  217. return $this->longTerm;
  218. }
  219. public function setMccCode($mccCode)
  220. {
  221. $this->mccCode = $mccCode;
  222. $this->apiParas["mcc_code"] = $mccCode;
  223. }
  224. public function getMccCode()
  225. {
  226. return $this->mccCode;
  227. }
  228. public function setOhContact($ohContact)
  229. {
  230. $this->ohContact = $ohContact;
  231. $this->apiParas["oh_contact"] = $ohContact;
  232. }
  233. public function getOhContact()
  234. {
  235. return $this->ohContact;
  236. }
  237. public function setPrContact($prContact)
  238. {
  239. $this->prContact = $prContact;
  240. $this->apiParas["pr_contact"] = $prContact;
  241. }
  242. public function getPrContact()
  243. {
  244. return $this->prContact;
  245. }
  246. public function setSpecialLicensePic($specialLicensePic)
  247. {
  248. $this->specialLicensePic = $specialLicensePic;
  249. $this->apiParas["special_license_pic"] = $specialLicensePic;
  250. }
  251. public function getSpecialLicensePic()
  252. {
  253. return $this->specialLicensePic;
  254. }
  255. public function setUsageScene($usageScene)
  256. {
  257. $this->usageScene = $usageScene;
  258. $this->apiParas["usage_scene"] = $usageScene;
  259. }
  260. public function getUsageScene()
  261. {
  262. return $this->usageScene;
  263. }
  264. public function setWebSites($webSites)
  265. {
  266. $this->webSites = $webSites;
  267. $this->apiParas["web_sites"] = $webSites;
  268. }
  269. public function getWebSites()
  270. {
  271. return $this->webSites;
  272. }
  273. public function setWechatOfficialAccountName($wechatOfficialAccountName)
  274. {
  275. $this->wechatOfficialAccountName = $wechatOfficialAccountName;
  276. $this->apiParas["wechat_official_account_name"] = $wechatOfficialAccountName;
  277. }
  278. public function getWechatOfficialAccountName()
  279. {
  280. return $this->wechatOfficialAccountName;
  281. }
  282. public function getApiMethodName()
  283. {
  284. return "alipay.open.agent.zhimabrief.sign";
  285. }
  286. public function setNotifyUrl($notifyUrl)
  287. {
  288. $this->notifyUrl=$notifyUrl;
  289. }
  290. public function getNotifyUrl()
  291. {
  292. return $this->notifyUrl;
  293. }
  294. public function setReturnUrl($returnUrl)
  295. {
  296. $this->returnUrl=$returnUrl;
  297. }
  298. public function getReturnUrl()
  299. {
  300. return $this->returnUrl;
  301. }
  302. public function getApiParas()
  303. {
  304. return $this->apiParas;
  305. }
  306. public function getTerminalType()
  307. {
  308. return $this->terminalType;
  309. }
  310. public function setTerminalType($terminalType)
  311. {
  312. $this->terminalType = $terminalType;
  313. }
  314. public function getTerminalInfo()
  315. {
  316. return $this->terminalInfo;
  317. }
  318. public function setTerminalInfo($terminalInfo)
  319. {
  320. $this->terminalInfo = $terminalInfo;
  321. }
  322. public function getProdCode()
  323. {
  324. return $this->prodCode;
  325. }
  326. public function setProdCode($prodCode)
  327. {
  328. $this->prodCode = $prodCode;
  329. }
  330. public function setApiVersion($apiVersion)
  331. {
  332. $this->apiVersion=$apiVersion;
  333. }
  334. public function getApiVersion()
  335. {
  336. return $this->apiVersion;
  337. }
  338. public function setNeedEncrypt($needEncrypt)
  339. {
  340. $this->needEncrypt=$needEncrypt;
  341. }
  342. public function getNeedEncrypt()
  343. {
  344. return $this->needEncrypt;
  345. }
  346. }