| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354 | <?php/** * ALIPAY API: alipay.member.consume.notify request * * @author auto create * @since 1.0, 2014-12-09 14:01:31 */class AlipayMemberConsumeNotifyRequest{	/** 	 * 实付金额	 **/	private $actPayAmount;		/** 	 * 会员卡卡号	 **/	private $bizCardNo;		/** 	 * point:整数balance:金额格式level:String	 **/	private $cardInfo;		/** 	 * 商户给会员开设的卡号,最大长度不超过32	 **/	private $externalCardNo;		/** 	 * 获取权益列表,是指由于发生当前交易,而使用户最终获取到的特权列表信息,实际消耗的权益,这是个json字段	卡面额权益说明(元为单位)benefitType:PRE_FUND(卡面额)amount:80.00	券权益说明(张数为单位)benefitType:COUPONcount:5description:2元抵用券amount:10.00	 **/	private $gainBenefitList;		/** 	 * 备注信息,现有直接填写门店信息	 **/	private $memo;		/** 	 * 门店编号	 **/	private $shopCode;		/** 	 * ALIPAY:支付宝电子卡ENTITY:实体卡OTHER:其他	 **/	private $swipeCertType;		/** 	 * 交易金额:本次交易的实际总金额(可认为标价金额)	 **/	private $tradeAmount;		/** 	 * 交易名称	 **/	private $tradeName;		/** 	 * 商户端对当前消费交易的单据号	 **/	private $tradeNo;		/** 	 * 交易事件	 **/	private $tradeTime;		/** 	 * 交易类型消费:TRADE充值:DEPOSIT	 **/	private $tradeType;		/** 	 * 实际消耗的权益,这是个json字段	卡面额权益说明(元为单位)benefitType:PRE_FUND(卡面额)amount:80.00	折扣权益说明(元为单位)benefitType:DISCOUNTamount:10.00description:折扣10元	券权益说明(张数为单位)benefitType:COUPONcount:5description:2元抵用券	 **/	private $useBenefitList;	private $apiParas = array();	private $terminalType;	private $terminalInfo;	private $prodCode;	private $apiVersion="1.0";	private $notifyUrl;	private $returnUrl;    private $needEncrypt=false;		public function setActPayAmount($actPayAmount)	{		$this->actPayAmount = $actPayAmount;		$this->apiParas["act_pay_amount"] = $actPayAmount;	}	public function getActPayAmount()	{		return $this->actPayAmount;	}	public function setBizCardNo($bizCardNo)	{		$this->bizCardNo = $bizCardNo;		$this->apiParas["biz_card_no"] = $bizCardNo;	}	public function getBizCardNo()	{		return $this->bizCardNo;	}	public function setCardInfo($cardInfo)	{		$this->cardInfo = $cardInfo;		$this->apiParas["card_info"] = $cardInfo;	}	public function getCardInfo()	{		return $this->cardInfo;	}	public function setExternalCardNo($externalCardNo)	{		$this->externalCardNo = $externalCardNo;		$this->apiParas["external_card_no"] = $externalCardNo;	}	public function getExternalCardNo()	{		return $this->externalCardNo;	}	public function setGainBenefitList($gainBenefitList)	{		$this->gainBenefitList = $gainBenefitList;		$this->apiParas["gain_benefit_list"] = $gainBenefitList;	}	public function getGainBenefitList()	{		return $this->gainBenefitList;	}	public function setMemo($memo)	{		$this->memo = $memo;		$this->apiParas["memo"] = $memo;	}	public function getMemo()	{		return $this->memo;	}	public function setShopCode($shopCode)	{		$this->shopCode = $shopCode;		$this->apiParas["shop_code"] = $shopCode;	}	public function getShopCode()	{		return $this->shopCode;	}	public function setSwipeCertType($swipeCertType)	{		$this->swipeCertType = $swipeCertType;		$this->apiParas["swipe_cert_type"] = $swipeCertType;	}	public function getSwipeCertType()	{		return $this->swipeCertType;	}	public function setTradeAmount($tradeAmount)	{		$this->tradeAmount = $tradeAmount;		$this->apiParas["trade_amount"] = $tradeAmount;	}	public function getTradeAmount()	{		return $this->tradeAmount;	}	public function setTradeName($tradeName)	{		$this->tradeName = $tradeName;		$this->apiParas["trade_name"] = $tradeName;	}	public function getTradeName()	{		return $this->tradeName;	}	public function setTradeNo($tradeNo)	{		$this->tradeNo = $tradeNo;		$this->apiParas["trade_no"] = $tradeNo;	}	public function getTradeNo()	{		return $this->tradeNo;	}	public function setTradeTime($tradeTime)	{		$this->tradeTime = $tradeTime;		$this->apiParas["trade_time"] = $tradeTime;	}	public function getTradeTime()	{		return $this->tradeTime;	}	public function setTradeType($tradeType)	{		$this->tradeType = $tradeType;		$this->apiParas["trade_type"] = $tradeType;	}	public function getTradeType()	{		return $this->tradeType;	}	public function setUseBenefitList($useBenefitList)	{		$this->useBenefitList = $useBenefitList;		$this->apiParas["use_benefit_list"] = $useBenefitList;	}	public function getUseBenefitList()	{		return $this->useBenefitList;	}	public function getApiMethodName()	{		return "alipay.member.consume.notify";	}	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;  }}
 |