123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550 |
- <?php
- class AlipayAcquireCreateandpayRequest
- {
-
- private $alipayCaRequest;
-
-
- private $body;
-
-
- private $buyerEmail;
-
-
- private $buyerId;
-
-
- private $channelParameters;
-
-
- private $currency;
-
-
- private $dynamicId;
-
-
- private $dynamicIdType;
-
-
- private $extendParams;
-
-
- private $formatType;
-
-
- private $goodsDetail;
-
-
- private $itBPay;
-
-
- private $mcardParameters;
-
-
- private $operatorId;
-
-
- private $operatorType;
-
-
- private $outTradeNo;
-
-
- private $price;
-
-
- private $quantity;
-
-
- private $refIds;
-
-
- private $royaltyParameters;
-
-
- private $royaltyType;
-
-
- private $sellerEmail;
-
-
- private $sellerId;
-
-
- private $showUrl;
-
-
- private $subject;
-
-
- private $totalFee;
- private $apiParas = array();
- private $terminalType;
- private $terminalInfo;
- private $prodCode;
- private $apiVersion="1.0";
- private $notifyUrl;
- private $returnUrl;
- private $needEncrypt=false;
-
- public function setAlipayCaRequest($alipayCaRequest)
- {
- $this->alipayCaRequest = $alipayCaRequest;
- $this->apiParas["alipay_ca_request"] = $alipayCaRequest;
- }
- public function getAlipayCaRequest()
- {
- return $this->alipayCaRequest;
- }
- public function setBody($body)
- {
- $this->body = $body;
- $this->apiParas["body"] = $body;
- }
- public function getBody()
- {
- return $this->body;
- }
- public function setBuyerEmail($buyerEmail)
- {
- $this->buyerEmail = $buyerEmail;
- $this->apiParas["buyer_email"] = $buyerEmail;
- }
- public function getBuyerEmail()
- {
- return $this->buyerEmail;
- }
- public function setBuyerId($buyerId)
- {
- $this->buyerId = $buyerId;
- $this->apiParas["buyer_id"] = $buyerId;
- }
- public function getBuyerId()
- {
- return $this->buyerId;
- }
- public function setChannelParameters($channelParameters)
- {
- $this->channelParameters = $channelParameters;
- $this->apiParas["channel_parameters"] = $channelParameters;
- }
- public function getChannelParameters()
- {
- return $this->channelParameters;
- }
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- $this->apiParas["currency"] = $currency;
- }
- public function getCurrency()
- {
- return $this->currency;
- }
- public function setDynamicId($dynamicId)
- {
- $this->dynamicId = $dynamicId;
- $this->apiParas["dynamic_id"] = $dynamicId;
- }
- public function getDynamicId()
- {
- return $this->dynamicId;
- }
- public function setDynamicIdType($dynamicIdType)
- {
- $this->dynamicIdType = $dynamicIdType;
- $this->apiParas["dynamic_id_type"] = $dynamicIdType;
- }
- public function getDynamicIdType()
- {
- return $this->dynamicIdType;
- }
- public function setExtendParams($extendParams)
- {
- $this->extendParams = $extendParams;
- $this->apiParas["extend_params"] = $extendParams;
- }
- public function getExtendParams()
- {
- return $this->extendParams;
- }
- public function setFormatType($formatType)
- {
- $this->formatType = $formatType;
- $this->apiParas["format_type"] = $formatType;
- }
- public function getFormatType()
- {
- return $this->formatType;
- }
- public function setGoodsDetail($goodsDetail)
- {
- $this->goodsDetail = $goodsDetail;
- $this->apiParas["goods_detail"] = $goodsDetail;
- }
- public function getGoodsDetail()
- {
- return $this->goodsDetail;
- }
- public function setItBPay($itBPay)
- {
- $this->itBPay = $itBPay;
- $this->apiParas["it_b_pay"] = $itBPay;
- }
- public function getItBPay()
- {
- return $this->itBPay;
- }
- public function setMcardParameters($mcardParameters)
- {
- $this->mcardParameters = $mcardParameters;
- $this->apiParas["mcard_parameters"] = $mcardParameters;
- }
- public function getMcardParameters()
- {
- return $this->mcardParameters;
- }
- public function setOperatorId($operatorId)
- {
- $this->operatorId = $operatorId;
- $this->apiParas["operator_id"] = $operatorId;
- }
- public function getOperatorId()
- {
- return $this->operatorId;
- }
- public function setOperatorType($operatorType)
- {
- $this->operatorType = $operatorType;
- $this->apiParas["operator_type"] = $operatorType;
- }
- public function getOperatorType()
- {
- return $this->operatorType;
- }
- public function setOutTradeNo($outTradeNo)
- {
- $this->outTradeNo = $outTradeNo;
- $this->apiParas["out_trade_no"] = $outTradeNo;
- }
- public function getOutTradeNo()
- {
- return $this->outTradeNo;
- }
- public function setPrice($price)
- {
- $this->price = $price;
- $this->apiParas["price"] = $price;
- }
- public function getPrice()
- {
- return $this->price;
- }
- public function setQuantity($quantity)
- {
- $this->quantity = $quantity;
- $this->apiParas["quantity"] = $quantity;
- }
- public function getQuantity()
- {
- return $this->quantity;
- }
- public function setRefIds($refIds)
- {
- $this->refIds = $refIds;
- $this->apiParas["ref_ids"] = $refIds;
- }
- public function getRefIds()
- {
- return $this->refIds;
- }
- public function setRoyaltyParameters($royaltyParameters)
- {
- $this->royaltyParameters = $royaltyParameters;
- $this->apiParas["royalty_parameters"] = $royaltyParameters;
- }
- public function getRoyaltyParameters()
- {
- return $this->royaltyParameters;
- }
- public function setRoyaltyType($royaltyType)
- {
- $this->royaltyType = $royaltyType;
- $this->apiParas["royalty_type"] = $royaltyType;
- }
- public function getRoyaltyType()
- {
- return $this->royaltyType;
- }
- public function setSellerEmail($sellerEmail)
- {
- $this->sellerEmail = $sellerEmail;
- $this->apiParas["seller_email"] = $sellerEmail;
- }
- public function getSellerEmail()
- {
- return $this->sellerEmail;
- }
- public function setSellerId($sellerId)
- {
- $this->sellerId = $sellerId;
- $this->apiParas["seller_id"] = $sellerId;
- }
- public function getSellerId()
- {
- return $this->sellerId;
- }
- public function setShowUrl($showUrl)
- {
- $this->showUrl = $showUrl;
- $this->apiParas["show_url"] = $showUrl;
- }
- public function getShowUrl()
- {
- return $this->showUrl;
- }
- public function setSubject($subject)
- {
- $this->subject = $subject;
- $this->apiParas["subject"] = $subject;
- }
- public function getSubject()
- {
- return $this->subject;
- }
- public function setTotalFee($totalFee)
- {
- $this->totalFee = $totalFee;
- $this->apiParas["total_fee"] = $totalFee;
- }
- public function getTotalFee()
- {
- return $this->totalFee;
- }
- public function getApiMethodName()
- {
- return "alipay.acquire.createandpay";
- }
- 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;
- }
- }
|