orderId; } public function setOrderId($orderId) { $this->orderId = $orderId; $this->apiParams["orderId"] = $orderId; } public function getRemark() { return $this->remark; } public function setRemark($remark) { $this->remark = $remark; $this->apiParams["remark"] = $remark; } public function getSubPaymentModes() { return $this->subPaymentModes; } public function setSubPaymentModes($subPaymentModes) { $this->subPaymentModes = $subPaymentModes; $arr = array(); foreach ($subPaymentModes as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["subPaymentModes"] = $arr; } public function getApiMethodName(){ return 'suning.govbus.mixconfirmorder.add'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->orderId, 'orderId'); } public function getBizName(){ return "addMixconfirmorder"; } } class SubPaymentModes { private $apiParams = array(); private $payAmount; private $payCode; public function getPayAmount() { return $this->payAmount; } public function setPayAmount($payAmount) { $this->payAmount = $payAmount; $this->apiParams["payAmount"] = $payAmount; } public function getPayCode() { return $this->payCode; } public function setPayCode($payCode) { $this->payCode = $payCode; $this->apiParams["payCode"] = $payCode; } public function getApiParams(){ return $this->apiParams; } } ?>