SsdataDataserviceRiskBusinesslicenseCertifyRequest.php 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <?php
  2. /**
  3. * ALIPAY API: ssdata.dataservice.risk.businesslicense.certify request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-01-07 20:51:15
  7. */
  8. class SsdataDataserviceRiskBusinesslicenseCertifyRequest
  9. {
  10. /**
  11. * 营业执照的公司地址 【非图片认证时此参数必填】
  12. **/
  13. private $address;
  14. /**
  15. * 业务唯一识别码,总体流程为图片认证,如果有疑义可以再次触发接口,进行手动修改配置验证用户信息(即:当上传的图片为空时),此时biz_id需要设置为图片认证时返回的bis_token值,不然将重复计费 【非图片认证时此参数必填】
  16. **/
  17. private $bizId;
  18. /**
  19. * 营业执照上的统一信用码【非图片认证时此参数必填】
  20. **/
  21. private $creditCode;
  22. /**
  23. * 营业执照法人名称 【非图片认证时此参数必填】
  24. **/
  25. private $entLegalName;
  26. /**
  27. * 营业执照上的企业名称 【非图片认证时此参数必填】
  28. **/
  29. private $entName;
  30. /**
  31. * 二进制文件流 ,图片大小小于10M(图片越大上传耗时比较大),格式jpg,png、bmp等常用图片格式都可以,如果设置图片,即为图片认证,图片认证时其他字段可全部为空 【图片认证时此参数必填】
  32. **/
  33. private $entProsPic;
  34. /**
  35. * 营业执照营业期限,两个时间段的数据,永久有效填写9999123199991231 ,只有注册时间请填写注册时间,如果有效时间为区间请以yyyyMMddyyyyMMdd的格式填写两个时间【非图片认证时此参数必填】
  36. **/
  37. private $expires;
  38. /**
  39. * 有效期终止时间,永久有效或者只有注册时间请填写99991231 【图片认证与非图片认证均可选】与expires是补充作用
  40. **/
  41. private $expiresEnd;
  42. /**
  43. * 有效期起始时间 ,长期请填写99991231,只有注册时间请填写注册时间【图片认证与非图片认证均可选】与expires是补充作用
  44. **/
  45. private $expiresStart;
  46. private $apiParas = array();
  47. private $terminalType;
  48. private $terminalInfo;
  49. private $prodCode;
  50. private $apiVersion="1.0";
  51. private $notifyUrl;
  52. private $returnUrl;
  53. private $needEncrypt=false;
  54. public function setAddress($address)
  55. {
  56. $this->address = $address;
  57. $this->apiParas["address"] = $address;
  58. }
  59. public function getAddress()
  60. {
  61. return $this->address;
  62. }
  63. public function setBizId($bizId)
  64. {
  65. $this->bizId = $bizId;
  66. $this->apiParas["biz_id"] = $bizId;
  67. }
  68. public function getBizId()
  69. {
  70. return $this->bizId;
  71. }
  72. public function setCreditCode($creditCode)
  73. {
  74. $this->creditCode = $creditCode;
  75. $this->apiParas["credit_code"] = $creditCode;
  76. }
  77. public function getCreditCode()
  78. {
  79. return $this->creditCode;
  80. }
  81. public function setEntLegalName($entLegalName)
  82. {
  83. $this->entLegalName = $entLegalName;
  84. $this->apiParas["ent_legal_name"] = $entLegalName;
  85. }
  86. public function getEntLegalName()
  87. {
  88. return $this->entLegalName;
  89. }
  90. public function setEntName($entName)
  91. {
  92. $this->entName = $entName;
  93. $this->apiParas["ent_name"] = $entName;
  94. }
  95. public function getEntName()
  96. {
  97. return $this->entName;
  98. }
  99. public function setEntProsPic($entProsPic)
  100. {
  101. $this->entProsPic = $entProsPic;
  102. $this->apiParas["ent_pros_pic"] = $entProsPic;
  103. }
  104. public function getEntProsPic()
  105. {
  106. return $this->entProsPic;
  107. }
  108. public function setExpires($expires)
  109. {
  110. $this->expires = $expires;
  111. $this->apiParas["expires"] = $expires;
  112. }
  113. public function getExpires()
  114. {
  115. return $this->expires;
  116. }
  117. public function setExpiresEnd($expiresEnd)
  118. {
  119. $this->expiresEnd = $expiresEnd;
  120. $this->apiParas["expires_end"] = $expiresEnd;
  121. }
  122. public function getExpiresEnd()
  123. {
  124. return $this->expiresEnd;
  125. }
  126. public function setExpiresStart($expiresStart)
  127. {
  128. $this->expiresStart = $expiresStart;
  129. $this->apiParas["expires_start"] = $expiresStart;
  130. }
  131. public function getExpiresStart()
  132. {
  133. return $this->expiresStart;
  134. }
  135. public function getApiMethodName()
  136. {
  137. return "ssdata.dataservice.risk.businesslicense.certify";
  138. }
  139. public function setNotifyUrl($notifyUrl)
  140. {
  141. $this->notifyUrl=$notifyUrl;
  142. }
  143. public function getNotifyUrl()
  144. {
  145. return $this->notifyUrl;
  146. }
  147. public function setReturnUrl($returnUrl)
  148. {
  149. $this->returnUrl=$returnUrl;
  150. }
  151. public function getReturnUrl()
  152. {
  153. return $this->returnUrl;
  154. }
  155. public function getApiParas()
  156. {
  157. return $this->apiParas;
  158. }
  159. public function getTerminalType()
  160. {
  161. return $this->terminalType;
  162. }
  163. public function setTerminalType($terminalType)
  164. {
  165. $this->terminalType = $terminalType;
  166. }
  167. public function getTerminalInfo()
  168. {
  169. return $this->terminalInfo;
  170. }
  171. public function setTerminalInfo($terminalInfo)
  172. {
  173. $this->terminalInfo = $terminalInfo;
  174. }
  175. public function getProdCode()
  176. {
  177. return $this->prodCode;
  178. }
  179. public function setProdCode($prodCode)
  180. {
  181. $this->prodCode = $prodCode;
  182. }
  183. public function setApiVersion($apiVersion)
  184. {
  185. $this->apiVersion=$apiVersion;
  186. }
  187. public function getApiVersion()
  188. {
  189. return $this->apiVersion;
  190. }
  191. public function setNeedEncrypt($needEncrypt)
  192. {
  193. $this->needEncrypt=$needEncrypt;
  194. }
  195. public function getNeedEncrypt()
  196. {
  197. return $this->needEncrypt;
  198. }
  199. }