amount = $amount; $this->apiParas["amount"] = $amount; } public function getAmount() { return $this->amount; } public function setExpireTime($expireTime) { $this->expireTime = $expireTime; $this->apiParas["expire_time"] = $expireTime; } public function getExpireTime() { return $this->expireTime; } public function setMemo($memo) { $this->memo = $memo; $this->apiParas["memo"] = $memo; } public function getMemo() { return $this->memo; } public function setMerchantOrderNo($merchantOrderNo) { $this->merchantOrderNo = $merchantOrderNo; $this->apiParas["merchant_order_no"] = $merchantOrderNo; } public function getMerchantOrderNo() { return $this->merchantOrderNo; } public function setPayConfirm($payConfirm) { $this->payConfirm = $payConfirm; $this->apiParas["pay_confirm"] = $payConfirm; } public function getPayConfirm() { return $this->payConfirm; } public function getApiMethodName() { return "alipay.micropay.order.freeze"; } 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; } }