orderId; } public function setOrderId($orderId) { $this->orderId = $orderId; $this->apiParams["orderId"] = $orderId; } public function getOrderInfo() { return $this->orderInfo; } public function setOrderInfo($orderInfo) { $this->orderInfo = $orderInfo; $this->apiParams["orderInfo"] = $orderInfo; } public function getSkus() { return $this->skus; } public function setSkus($skus) { $this->skus = $skus; $arr = array(); foreach ($skus as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["skus"] = $arr; } public function getApiMethodName(){ return 'suning.govbus.deliveryinfo.create'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->orderId, 'orderId'); RequestCheckUtil::checkNotNull($this->orderInfo, 'orderInfo'); } public function getBizName(){ return "createDeliveryinfo"; } } class Skus { private $apiParams = array(); private $skuId; private $skuInfo; public function getSkuId() { return $this->skuId; } public function setSkuId($skuId) { $this->skuId = $skuId; $this->apiParams["skuId"] = $skuId; } public function getSkuInfo() { return $this->skuInfo; } public function setSkuInfo($skuInfo) { $this->skuInfo = $skuInfo; $this->apiParams["skuInfo"] = $skuInfo; } public function getApiParams(){ return $this->apiParams; } } ?>