| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372 | 
							- <?php
 
- /**
 
-  * ALIPAY API: alipay.ebpp.pdeduct.sign.add request
 
-  *
 
-  * @author auto create
 
-  * @since 1.0, 2016-10-13 21:05:09
 
-  */
 
- class AlipayEbppPdeductSignAddRequest
 
- {
 
- 	/** 
 
- 	 * 机构签约代扣来源渠道
 
- PUBLICPLATFORM:服务窗
 
- 	 **/
 
- 	private $agentChannel;
 
- 	
 
- 	/** 
 
- 	 * 从服务窗发起则为publicId的值
 
- 	 **/
 
- 	private $agentCode;
 
- 	
 
- 	/** 
 
- 	 * 户号,机构针对于每户的水、电都会有唯一的标识户号
 
- 	 **/
 
- 	private $billKey;
 
- 	
 
- 	/** 
 
- 	 * 业务类型。
 
- JF:缴水、电、燃气、固话宽带、有线电视、交通罚款费用
 
- WUYE:缴物业费
 
- HK:信用卡还款
 
- TX:手机充值
 
- 	 **/
 
- 	private $bizType;
 
- 	
 
- 	/** 
 
- 	 * 支付宝缴费系统中的出账机构ID
 
- 	 **/
 
- 	private $chargeInst;
 
- 	
 
- 	/** 
 
- 	 * 签约类型可为空
 
- 	 **/
 
- 	private $deductType;
 
- 	
 
- 	/** 
 
- 	 * 扩展字段
 
- 	 **/
 
- 	private $extendField;
 
- 	
 
- 	/** 
 
- 	 * 通知方式设置,可为空
 
- 	 **/
 
- 	private $notifyConfig;
 
- 	
 
- 	/** 
 
- 	 * 外部产生的协议ID
 
- 	 **/
 
- 	private $outAgreementId;
 
- 	
 
- 	/** 
 
- 	 * 户名,户主真实姓名
 
- 	 **/
 
- 	private $ownerName;
 
- 	
 
- 	/** 
 
- 	 * 支付工具设置,目前可为空
 
- 	 **/
 
- 	private $payConfig;
 
- 	
 
- 	/** 
 
- 	 * 用户签约时,跳转到支付宝独立密码校验页面,校验成功后会将token和对应的用户ID缓存下来,然后跳回到机构页面生成token带回给机构,机构签约时必须传入token
 
- 	 **/
 
- 	private $payPasswordToken;
 
- 	
 
- 	/** 
 
- 	 * 商户ID
 
- 	 **/
 
- 	private $pid;
 
- 	
 
- 	/** 
 
- 	 * 签约到期时间。空表示无限期,一期固定传空。
 
- 	 **/
 
- 	private $signExpireDate;
 
- 	
 
- 	/** 
 
- 	 * 业务子类型。
 
- WATER:缴水费
 
- ELECTRIC:缴电费
 
- GAS:缴燃气费
 
- COMMUN:缴固话宽带
 
- CATV:缴有线电视费
 
- TRAFFIC:缴交通罚款
 
- WUYE:缴物业费
 
- HK:信用卡还款
 
- CZ:手机充值
 
- 	 **/
 
- 	private $subBizType;
 
- 	
 
- 	/** 
 
- 	 * 用户ID
 
- 	 **/
 
- 	private $userId;
 
- 	private $apiParas = array();
 
- 	private $terminalType;
 
- 	private $terminalInfo;
 
- 	private $prodCode;
 
- 	private $apiVersion="1.0";
 
- 	private $notifyUrl;
 
- 	private $returnUrl;
 
-     private $needEncrypt=false;
 
- 	
 
- 	public function setAgentChannel($agentChannel)
 
- 	{
 
- 		$this->agentChannel = $agentChannel;
 
- 		$this->apiParas["agent_channel"] = $agentChannel;
 
- 	}
 
- 	public function getAgentChannel()
 
- 	{
 
- 		return $this->agentChannel;
 
- 	}
 
- 	public function setAgentCode($agentCode)
 
- 	{
 
- 		$this->agentCode = $agentCode;
 
- 		$this->apiParas["agent_code"] = $agentCode;
 
- 	}
 
- 	public function getAgentCode()
 
- 	{
 
- 		return $this->agentCode;
 
- 	}
 
- 	public function setBillKey($billKey)
 
- 	{
 
- 		$this->billKey = $billKey;
 
- 		$this->apiParas["bill_key"] = $billKey;
 
- 	}
 
- 	public function getBillKey()
 
- 	{
 
- 		return $this->billKey;
 
- 	}
 
- 	public function setBizType($bizType)
 
- 	{
 
- 		$this->bizType = $bizType;
 
- 		$this->apiParas["biz_type"] = $bizType;
 
- 	}
 
- 	public function getBizType()
 
- 	{
 
- 		return $this->bizType;
 
- 	}
 
- 	public function setChargeInst($chargeInst)
 
- 	{
 
- 		$this->chargeInst = $chargeInst;
 
- 		$this->apiParas["charge_inst"] = $chargeInst;
 
- 	}
 
- 	public function getChargeInst()
 
- 	{
 
- 		return $this->chargeInst;
 
- 	}
 
- 	public function setDeductType($deductType)
 
- 	{
 
- 		$this->deductType = $deductType;
 
- 		$this->apiParas["deduct_type"] = $deductType;
 
- 	}
 
- 	public function getDeductType()
 
- 	{
 
- 		return $this->deductType;
 
- 	}
 
- 	public function setExtendField($extendField)
 
- 	{
 
- 		$this->extendField = $extendField;
 
- 		$this->apiParas["extend_field"] = $extendField;
 
- 	}
 
- 	public function getExtendField()
 
- 	{
 
- 		return $this->extendField;
 
- 	}
 
- 	public function setNotifyConfig($notifyConfig)
 
- 	{
 
- 		$this->notifyConfig = $notifyConfig;
 
- 		$this->apiParas["notify_config"] = $notifyConfig;
 
- 	}
 
- 	public function getNotifyConfig()
 
- 	{
 
- 		return $this->notifyConfig;
 
- 	}
 
- 	public function setOutAgreementId($outAgreementId)
 
- 	{
 
- 		$this->outAgreementId = $outAgreementId;
 
- 		$this->apiParas["out_agreement_id"] = $outAgreementId;
 
- 	}
 
- 	public function getOutAgreementId()
 
- 	{
 
- 		return $this->outAgreementId;
 
- 	}
 
- 	public function setOwnerName($ownerName)
 
- 	{
 
- 		$this->ownerName = $ownerName;
 
- 		$this->apiParas["owner_name"] = $ownerName;
 
- 	}
 
- 	public function getOwnerName()
 
- 	{
 
- 		return $this->ownerName;
 
- 	}
 
- 	public function setPayConfig($payConfig)
 
- 	{
 
- 		$this->payConfig = $payConfig;
 
- 		$this->apiParas["pay_config"] = $payConfig;
 
- 	}
 
- 	public function getPayConfig()
 
- 	{
 
- 		return $this->payConfig;
 
- 	}
 
- 	public function setPayPasswordToken($payPasswordToken)
 
- 	{
 
- 		$this->payPasswordToken = $payPasswordToken;
 
- 		$this->apiParas["pay_password_token"] = $payPasswordToken;
 
- 	}
 
- 	public function getPayPasswordToken()
 
- 	{
 
- 		return $this->payPasswordToken;
 
- 	}
 
- 	public function setPid($pid)
 
- 	{
 
- 		$this->pid = $pid;
 
- 		$this->apiParas["pid"] = $pid;
 
- 	}
 
- 	public function getPid()
 
- 	{
 
- 		return $this->pid;
 
- 	}
 
- 	public function setSignExpireDate($signExpireDate)
 
- 	{
 
- 		$this->signExpireDate = $signExpireDate;
 
- 		$this->apiParas["sign_expire_date"] = $signExpireDate;
 
- 	}
 
- 	public function getSignExpireDate()
 
- 	{
 
- 		return $this->signExpireDate;
 
- 	}
 
- 	public function setSubBizType($subBizType)
 
- 	{
 
- 		$this->subBizType = $subBizType;
 
- 		$this->apiParas["sub_biz_type"] = $subBizType;
 
- 	}
 
- 	public function getSubBizType()
 
- 	{
 
- 		return $this->subBizType;
 
- 	}
 
- 	public function setUserId($userId)
 
- 	{
 
- 		$this->userId = $userId;
 
- 		$this->apiParas["user_id"] = $userId;
 
- 	}
 
- 	public function getUserId()
 
- 	{
 
- 		return $this->userId;
 
- 	}
 
- 	public function getApiMethodName()
 
- 	{
 
- 		return "alipay.ebpp.pdeduct.sign.add";
 
- 	}
 
- 	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;
 
-   }
 
- }
 
 
  |