body = $body; $this->apiParas["body"] = $body; } public function getBody() { return $this->body; } 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 setExtendParams($extendParams) { $this->extendParams = $extendParams; $this->apiParas["extend_params"] = $extendParams; } public function getExtendParams() { return $this->extendParams; } 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 setOperatorCode($operatorCode) { $this->operatorCode = $operatorCode; $this->apiParas["operator_code"] = $operatorCode; } public function getOperatorCode() { return $this->operatorCode; } public function setOperatorId($operatorId) { $this->operatorId = $operatorId; $this->apiParas["operator_id"] = $operatorId; } public function getOperatorId() { return $this->operatorId; } 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 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.precreate"; } 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; } }