| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 | 
							- <?php
 
- /**
 
-  * ALIPAY API: ssdata.dataservice.risk.businesslicense.certify request
 
-  *
 
-  * @author auto create
 
-  * @since 1.0, 2019-01-07 20:51:15
 
-  */
 
- class SsdataDataserviceRiskBusinesslicenseCertifyRequest
 
- {
 
- 	/** 
 
- 	 * 营业执照的公司地址 【非图片认证时此参数必填】
 
- 	 **/
 
- 	private $address;
 
- 	
 
- 	/** 
 
- 	 * 业务唯一识别码,总体流程为图片认证,如果有疑义可以再次触发接口,进行手动修改配置验证用户信息(即:当上传的图片为空时),此时biz_id需要设置为图片认证时返回的bis_token值,不然将重复计费  【非图片认证时此参数必填】
 
- 	 **/
 
- 	private $bizId;
 
- 	
 
- 	/** 
 
- 	 * 营业执照上的统一信用码【非图片认证时此参数必填】
 
- 	 **/
 
- 	private $creditCode;
 
- 	
 
- 	/** 
 
- 	 * 营业执照法人名称 【非图片认证时此参数必填】
 
- 	 **/
 
- 	private $entLegalName;
 
- 	
 
- 	/** 
 
- 	 * 营业执照上的企业名称 【非图片认证时此参数必填】
 
- 	 **/
 
- 	private $entName;
 
- 	
 
- 	/** 
 
- 	 * 二进制文件流 ,图片大小小于10M(图片越大上传耗时比较大),格式jpg,png、bmp等常用图片格式都可以,如果设置图片,即为图片认证,图片认证时其他字段可全部为空  【图片认证时此参数必填】
 
- 	 **/
 
- 	private $entProsPic;
 
- 	
 
- 	/** 
 
- 	 * 营业执照营业期限,两个时间段的数据,永久有效填写9999123199991231 ,只有注册时间请填写注册时间,如果有效时间为区间请以yyyyMMddyyyyMMdd的格式填写两个时间【非图片认证时此参数必填】
 
- 	 **/
 
- 	private $expires;
 
- 	
 
- 	/** 
 
- 	 * 有效期终止时间,永久有效或者只有注册时间请填写99991231 【图片认证与非图片认证均可选】与expires是补充作用
 
- 	 **/
 
- 	private $expiresEnd;
 
- 	
 
- 	/** 
 
- 	 * 有效期起始时间 ,长期请填写99991231,只有注册时间请填写注册时间【图片认证与非图片认证均可选】与expires是补充作用
 
- 	 **/
 
- 	private $expiresStart;
 
- 	private $apiParas = array();
 
- 	private $terminalType;
 
- 	private $terminalInfo;
 
- 	private $prodCode;
 
- 	private $apiVersion="1.0";
 
- 	private $notifyUrl;
 
- 	private $returnUrl;
 
-     private $needEncrypt=false;
 
- 	
 
- 	public function setAddress($address)
 
- 	{
 
- 		$this->address = $address;
 
- 		$this->apiParas["address"] = $address;
 
- 	}
 
- 	public function getAddress()
 
- 	{
 
- 		return $this->address;
 
- 	}
 
- 	public function setBizId($bizId)
 
- 	{
 
- 		$this->bizId = $bizId;
 
- 		$this->apiParas["biz_id"] = $bizId;
 
- 	}
 
- 	public function getBizId()
 
- 	{
 
- 		return $this->bizId;
 
- 	}
 
- 	public function setCreditCode($creditCode)
 
- 	{
 
- 		$this->creditCode = $creditCode;
 
- 		$this->apiParas["credit_code"] = $creditCode;
 
- 	}
 
- 	public function getCreditCode()
 
- 	{
 
- 		return $this->creditCode;
 
- 	}
 
- 	public function setEntLegalName($entLegalName)
 
- 	{
 
- 		$this->entLegalName = $entLegalName;
 
- 		$this->apiParas["ent_legal_name"] = $entLegalName;
 
- 	}
 
- 	public function getEntLegalName()
 
- 	{
 
- 		return $this->entLegalName;
 
- 	}
 
- 	public function setEntName($entName)
 
- 	{
 
- 		$this->entName = $entName;
 
- 		$this->apiParas["ent_name"] = $entName;
 
- 	}
 
- 	public function getEntName()
 
- 	{
 
- 		return $this->entName;
 
- 	}
 
- 	public function setEntProsPic($entProsPic)
 
- 	{
 
- 		$this->entProsPic = $entProsPic;
 
- 		$this->apiParas["ent_pros_pic"] = $entProsPic;
 
- 	}
 
- 	public function getEntProsPic()
 
- 	{
 
- 		return $this->entProsPic;
 
- 	}
 
- 	public function setExpires($expires)
 
- 	{
 
- 		$this->expires = $expires;
 
- 		$this->apiParas["expires"] = $expires;
 
- 	}
 
- 	public function getExpires()
 
- 	{
 
- 		return $this->expires;
 
- 	}
 
- 	public function setExpiresEnd($expiresEnd)
 
- 	{
 
- 		$this->expiresEnd = $expiresEnd;
 
- 		$this->apiParas["expires_end"] = $expiresEnd;
 
- 	}
 
- 	public function getExpiresEnd()
 
- 	{
 
- 		return $this->expiresEnd;
 
- 	}
 
- 	public function setExpiresStart($expiresStart)
 
- 	{
 
- 		$this->expiresStart = $expiresStart;
 
- 		$this->apiParas["expires_start"] = $expiresStart;
 
- 	}
 
- 	public function getExpiresStart()
 
- 	{
 
- 		return $this->expiresStart;
 
- 	}
 
- 	public function getApiMethodName()
 
- 	{
 
- 		return "ssdata.dataservice.risk.businesslicense.certify";
 
- 	}
 
- 	public function setNotifyUrl($notifyUrl)
 
- 	{
 
- 		$this->notifyUrl=$notifyUrl;
 
- 	}
 
- 	public function getNotifyUrl()
 
- 	{
 
- 		return $this->notifyUrl;
 
- 	}
 
- 	public function setReturnUrl($returnUrl)
 
- 	{
 
- 		$this->returnUrl=$returnUrl;
 
- 	}
 
- 	public function getReturnUrl()
 
- 	{
 
- 		return $this->returnUrl;
 
- 	}
 
- 	public function getApiParas()
 
- 	{
 
- 		return $this->apiParas;
 
- 	}
 
- 	public function getTerminalType()
 
- 	{
 
- 		return $this->terminalType;
 
- 	}
 
- 	public function setTerminalType($terminalType)
 
- 	{
 
- 		$this->terminalType = $terminalType;
 
- 	}
 
- 	public function getTerminalInfo()
 
- 	{
 
- 		return $this->terminalInfo;
 
- 	}
 
- 	public function setTerminalInfo($terminalInfo)
 
- 	{
 
- 		$this->terminalInfo = $terminalInfo;
 
- 	}
 
- 	public function getProdCode()
 
- 	{
 
- 		return $this->prodCode;
 
- 	}
 
- 	public function setProdCode($prodCode)
 
- 	{
 
- 		$this->prodCode = $prodCode;
 
- 	}
 
- 	public function setApiVersion($apiVersion)
 
- 	{
 
- 		$this->apiVersion=$apiVersion;
 
- 	}
 
- 	public function getApiVersion()
 
- 	{
 
- 		return $this->apiVersion;
 
- 	}
 
-   public function setNeedEncrypt($needEncrypt)
 
-   {
 
-      $this->needEncrypt=$needEncrypt;
 
-   }
 
-   public function getNeedEncrypt()
 
-   {
 
-     return $this->needEncrypt;
 
-   }
 
- }
 
 
  |