AlipayOpenAgentZhimarentSignRequest.php 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.open.agent.zhimarent.sign request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-01-07 20:51:15
  7. */
  8. class AlipayOpenAgentZhimarentSignRequest
  9. {
  10. /**
  11. * APP demo,格式为.apk;或者应用说明文档, 格式为.doc .docx .pdf格式
  12. **/
  13. private $appDemo;
  14. /**
  15. * 商户的APP应用名称
  16. **/
  17. private $appName;
  18. /**
  19. * 代商户操作事务编号,通过alipay.open.isv.agent.create接口进行创建。
  20. **/
  21. private $batchNo;
  22. /**
  23. * 自定义使用场景描述,usage_scene选项中无符合描述,填写自定义使用场景描述(usage_scene不填写,则custom_usage_scene必填)
  24. **/
  25. private $customUsageScene;
  26. /**
  27. * 数据反馈接口人
  28. **/
  29. private $drContact;
  30. /**
  31. * 例如:浙江飞猪网络技术有限公司,企业别称请填写【飞猪】。
  32. **/
  33. private $enterpriseAlias;
  34. /**
  35. * 企业LOGO-图片,最小1KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  36. **/
  37. private $enterpriseLogo;
  38. /**
  39. * 所属MCCCode,详情可参考
  40. <a href="https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.59bgD2&treeId=222&articleId=105364&docType=1#s1
  41. ">商家经营类目</a> 中的“经营类目编码”
  42. **/
  43. private $mccCode;
  44. /**
  45. * 异议处理接口人
  46. **/
  47. private $ohContact;
  48. /**
  49. * 用户服务联动机制接口人
  50. **/
  51. private $prContact;
  52. /**
  53. * 企业特殊资质图片,可参考
  54. <a href="https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.59bgD2&treeId=222&articleId=105364&docType=1#s1
  55. ">商家经营类目</a> 中的“需要的特殊资质证书”,最小5KB,图片格式必须为:png、bmp、gif、jpg、jpeg
  56. **/
  57. private $specialLicensePic;
  58. /**
  59. * 使用场景描述,签约芝麻信用产品的用途,可选值:"信用回收","信用组物", "信用长租", "永不停服"
  60. **/
  61. private $usageScene;
  62. private $apiParas = array();
  63. private $terminalType;
  64. private $terminalInfo;
  65. private $prodCode;
  66. private $apiVersion="1.0";
  67. private $notifyUrl;
  68. private $returnUrl;
  69. private $needEncrypt=false;
  70. public function setAppDemo($appDemo)
  71. {
  72. $this->appDemo = $appDemo;
  73. $this->apiParas["app_demo"] = $appDemo;
  74. }
  75. public function getAppDemo()
  76. {
  77. return $this->appDemo;
  78. }
  79. public function setAppName($appName)
  80. {
  81. $this->appName = $appName;
  82. $this->apiParas["app_name"] = $appName;
  83. }
  84. public function getAppName()
  85. {
  86. return $this->appName;
  87. }
  88. public function setBatchNo($batchNo)
  89. {
  90. $this->batchNo = $batchNo;
  91. $this->apiParas["batch_no"] = $batchNo;
  92. }
  93. public function getBatchNo()
  94. {
  95. return $this->batchNo;
  96. }
  97. public function setCustomUsageScene($customUsageScene)
  98. {
  99. $this->customUsageScene = $customUsageScene;
  100. $this->apiParas["custom_usage_scene"] = $customUsageScene;
  101. }
  102. public function getCustomUsageScene()
  103. {
  104. return $this->customUsageScene;
  105. }
  106. public function setDrContact($drContact)
  107. {
  108. $this->drContact = $drContact;
  109. $this->apiParas["dr_contact"] = $drContact;
  110. }
  111. public function getDrContact()
  112. {
  113. return $this->drContact;
  114. }
  115. public function setEnterpriseAlias($enterpriseAlias)
  116. {
  117. $this->enterpriseAlias = $enterpriseAlias;
  118. $this->apiParas["enterprise_alias"] = $enterpriseAlias;
  119. }
  120. public function getEnterpriseAlias()
  121. {
  122. return $this->enterpriseAlias;
  123. }
  124. public function setEnterpriseLogo($enterpriseLogo)
  125. {
  126. $this->enterpriseLogo = $enterpriseLogo;
  127. $this->apiParas["enterprise_logo"] = $enterpriseLogo;
  128. }
  129. public function getEnterpriseLogo()
  130. {
  131. return $this->enterpriseLogo;
  132. }
  133. public function setMccCode($mccCode)
  134. {
  135. $this->mccCode = $mccCode;
  136. $this->apiParas["mcc_code"] = $mccCode;
  137. }
  138. public function getMccCode()
  139. {
  140. return $this->mccCode;
  141. }
  142. public function setOhContact($ohContact)
  143. {
  144. $this->ohContact = $ohContact;
  145. $this->apiParas["oh_contact"] = $ohContact;
  146. }
  147. public function getOhContact()
  148. {
  149. return $this->ohContact;
  150. }
  151. public function setPrContact($prContact)
  152. {
  153. $this->prContact = $prContact;
  154. $this->apiParas["pr_contact"] = $prContact;
  155. }
  156. public function getPrContact()
  157. {
  158. return $this->prContact;
  159. }
  160. public function setSpecialLicensePic($specialLicensePic)
  161. {
  162. $this->specialLicensePic = $specialLicensePic;
  163. $this->apiParas["special_license_pic"] = $specialLicensePic;
  164. }
  165. public function getSpecialLicensePic()
  166. {
  167. return $this->specialLicensePic;
  168. }
  169. public function setUsageScene($usageScene)
  170. {
  171. $this->usageScene = $usageScene;
  172. $this->apiParas["usage_scene"] = $usageScene;
  173. }
  174. public function getUsageScene()
  175. {
  176. return $this->usageScene;
  177. }
  178. public function getApiMethodName()
  179. {
  180. return "alipay.open.agent.zhimarent.sign";
  181. }
  182. public function setNotifyUrl($notifyUrl)
  183. {
  184. $this->notifyUrl=$notifyUrl;
  185. }
  186. public function getNotifyUrl()
  187. {
  188. return $this->notifyUrl;
  189. }
  190. public function setReturnUrl($returnUrl)
  191. {
  192. $this->returnUrl=$returnUrl;
  193. }
  194. public function getReturnUrl()
  195. {
  196. return $this->returnUrl;
  197. }
  198. public function getApiParas()
  199. {
  200. return $this->apiParas;
  201. }
  202. public function getTerminalType()
  203. {
  204. return $this->terminalType;
  205. }
  206. public function setTerminalType($terminalType)
  207. {
  208. $this->terminalType = $terminalType;
  209. }
  210. public function getTerminalInfo()
  211. {
  212. return $this->terminalInfo;
  213. }
  214. public function setTerminalInfo($terminalInfo)
  215. {
  216. $this->terminalInfo = $terminalInfo;
  217. }
  218. public function getProdCode()
  219. {
  220. return $this->prodCode;
  221. }
  222. public function setProdCode($prodCode)
  223. {
  224. $this->prodCode = $prodCode;
  225. }
  226. public function setApiVersion($apiVersion)
  227. {
  228. $this->apiVersion=$apiVersion;
  229. }
  230. public function getApiVersion()
  231. {
  232. return $this->apiVersion;
  233. }
  234. public function setNeedEncrypt($needEncrypt)
  235. {
  236. $this->needEncrypt=$needEncrypt;
  237. }
  238. public function getNeedEncrypt()
  239. {
  240. return $this->needEncrypt;
  241. }
  242. }