provideId; } public function setProvideId($provideId) { $this->provideId = $provideId; $this->apiParams["provideId"] = $provideId; } public function getAsomOrderId() { return $this->asomOrderId; } public function setAsomOrderId($asomOrderId) { $this->asomOrderId = $asomOrderId; $this->apiParams["asomOrderId"] = $asomOrderId; } public function getOrderList() { return $this->orderList; } public function setOrderList($orderList) { $this->orderList = $orderList; $arr = array(); foreach ($orderList as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["orderList"] = $arr; } public function getApiMethodName(){ return 'suning.offline.newness.confirm'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->provideId, 'provideId'); RequestCheckUtil::checkNotNull($this->asomOrderId, 'asomOrderId'); } public function getBizName(){ return "confirmNewness"; } } class OrderList { private $apiParams = array(); private $newOrderId; private $newOrderItemId; private $cityId; public function getNewOrderId() { return $this->newOrderId; } public function setNewOrderId($newOrderId) { $this->newOrderId = $newOrderId; $this->apiParams["newOrderId"] = $newOrderId; } public function getNewOrderItemId() { return $this->newOrderItemId; } public function setNewOrderItemId($newOrderItemId) { $this->newOrderItemId = $newOrderItemId; $this->apiParams["newOrderItemId"] = $newOrderItemId; } public function getCityId() { return $this->cityId; } public function setCityId($cityId) { $this->cityId = $cityId; $this->apiParams["cityId"] = $cityId; } public function getApiParams(){ return $this->apiParams; } } ?>