rejectedHead; } public function getRejectedDetail() { return $this -> rejectedDetail; } public function setRejectedHead($rejectedHead) { $this -> rejectedHead = $rejectedHead; $this->apiParams["rejectedHead"] = $rejectedHead->getApiParams(); } public function setRejectedDetail($rejectedDetail) { $this -> rejectedDetail = $rejectedDetail; $arr = array(); foreach ($rejectedDetail as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["rejectedDetail"] = $arr; } public function getApiMethodName() { return 'suning.custom.disagreerejected.modify'; } public function getApiParams() { return $this->apiParams; } public function check() { } public function getBizName(){ return "disAgreeRejected"; } } class RejectedHead { private $apiParams = array(); private $orderCode; public function getOrderCode() { return $this -> orderCode; } public function setOrderCode($orderCode) { $this -> orderCode = $orderCode; $this->apiParams["orderCode"] = $orderCode; } public function getApiParams() { return $this->apiParams; } } /** * 退货信息 */ class RejectedDetail { private $apiParams = array(); /** * 苏宁商品编码 */ private $productCode; /** * 订单行项目号 */ private $orderLineNumber; /** * 状态。不同意退货,固定值C051 */ private $state; /** * 备注 */ private $reason; public function getProductCode() { return $this -> productCode; } public function getOrderLineNumber() { return $this -> orderLineNumber; } public function getState() { return $this -> state; } public function getReason() { return $this -> reason; } public function setProductCode($productCode) { $this -> productCode = $productCode; $this->apiParams["productCode"] = $productCode; } public function setOrderLineNumber($orderLineNumber) { $this -> orderLineNumber = $orderLineNumber; $this->apiParams["orderLineNumber"] = $orderLineNumber; } public function setState($state) { $this -> state = $state; $this->apiParams["state"] = $state; } public function setReason($reason) { $this -> reason = $reason; $this->apiParams["reason"] = $reason; } public function getApiParams() { return $this->apiParams; } } ?>