outOrderId; } public function setOutOrderId($outOrderId) { $this->outOrderId = $outOrderId; $this->apiParams["outOrderId"] = $outOrderId; } public function getOrderSource() { return $this->orderSource; } public function setOrderSource($orderSource) { $this->orderSource = $orderSource; $this->apiParams["orderSource"] = $orderSource; } public function getScheduleType() { return $this->scheduleType; } public function setScheduleType($scheduleType) { $this->scheduleType = $scheduleType; $this->apiParams["scheduleType"] = $scheduleType; } public function getDeliveryType() { return $this->deliveryType; } public function setDeliveryType($deliveryType) { $this->deliveryType = $deliveryType; $this->apiParams["deliveryType"] = $deliveryType; } public function getScheduleDay() { return $this->scheduleDay; } public function setScheduleDay($scheduleDay) { $this->scheduleDay = $scheduleDay; $this->apiParams["scheduleDay"] = $scheduleDay; } public function getScheduleStart() { return $this->scheduleStart; } public function setScheduleStart($scheduleStart) { $this->scheduleStart = $scheduleStart; $this->apiParams["scheduleStart"] = $scheduleStart; } public function getScheduleEnd() { return $this->scheduleEnd; } public function setScheduleEnd($scheduleEnd) { $this->scheduleEnd = $scheduleEnd; $this->apiParams["scheduleEnd"] = $scheduleEnd; } public function getReceiverZipCode() { return $this->receiverZipCode; } public function setReceiverZipCode($receiverZipCode) { $this->receiverZipCode = $receiverZipCode; $this->apiParams["receiverZipCode"] = $receiverZipCode; } public function getReceiverProvince() { return $this->receiverProvince; } public function setReceiverProvince($receiverProvince) { $this->receiverProvince = $receiverProvince; $this->apiParams["receiverProvince"] = $receiverProvince; } public function getReceiverCity() { return $this->receiverCity; } public function setReceiverCity($receiverCity) { $this->receiverCity = $receiverCity; $this->apiParams["receiverCity"] = $receiverCity; } public function getReceiverArea() { return $this->receiverArea; } public function setReceiverArea($receiverArea) { $this->receiverArea = $receiverArea; $this->apiParams["receiverArea"] = $receiverArea; } public function getReceiverTown() { return $this->receiverTown; } public function setReceiverTown($receiverTown) { $this->receiverTown = $receiverTown; $this->apiParams["receiverTown"] = $receiverTown; } public function getReceiverAddress() { return $this->receiverAddress; } public function setReceiverAddress($receiverAddress) { $this->receiverAddress = $receiverAddress; $this->apiParams["receiverAddress"] = $receiverAddress; } public function getReceiverName() { return $this->receiverName; } public function setReceiverName($receiverName) { $this->receiverName = $receiverName; $this->apiParams["receiverName"] = $receiverName; } public function getReceiverMobile() { return $this->receiverMobile; } public function setReceiverMobile($receiverMobile) { $this->receiverMobile = $receiverMobile; $this->apiParams["receiverMobile"] = $receiverMobile; } public function getReceiverPhone() { return $this->receiverPhone; } public function setReceiverPhone($receiverPhone) { $this->receiverPhone = $receiverPhone; $this->apiParams["receiverPhone"] = $receiverPhone; } public function getCarCode() { return $this->carCode; } public function setCarCode($carCode) { $this->carCode = $carCode; $this->apiParams["carCode"] = $carCode; } public function getOrderFlag() { return $this->orderFlag; } public function setOrderFlag($orderFlag) { $this->orderFlag = $orderFlag; $this->apiParams["orderFlag"] = $orderFlag; } public function getCustSelectNumber() { return $this->custSelectNumber; } public function setCustSelectNumber($custSelectNumber) { $this->custSelectNumber = $custSelectNumber; $this->apiParams["custSelectNumber"] = $custSelectNumber; } public function getOrderProductList() { return $this->orderProductList; } public function setOrderProductList($orderProductList) { $this->orderProductList = $orderProductList; $arr = array(); foreach ($orderProductList as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["orderProductList"] = $arr; } public function getApiMethodName(){ return 'suning.fourps.orderdelivery.add'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->outOrderId, 'outOrderId'); RequestCheckUtil::checkNotNull($this->orderSource, 'orderSource'); RequestCheckUtil::checkNotNull($this->receiverProvince, 'receiverProvince'); RequestCheckUtil::checkNotNull($this->receiverCity, 'receiverCity'); RequestCheckUtil::checkNotNull($this->receiverArea, 'receiverArea'); RequestCheckUtil::checkNotNull($this->receiverTown, 'receiverTown'); RequestCheckUtil::checkNotNull($this->receiverAddress, 'receiverAddress'); RequestCheckUtil::checkNotNull($this->receiverName, 'receiverName'); RequestCheckUtil::checkNotNull($this->orderProductList, 'orderProductList'); } public function getBizName(){ return "addOrderDelivery"; } } class OrderProductList { private $apiParams = array(); private $warehouseCode; private $orderItemId; private $itemCode; private $outerItemId; private $itemName; private $inventoryType; private $itemQuantity; private $deliverNo; private $actualPrice; private $colourNumber; private $produceCode; public function getWarehouseCode() { return $this->warehouseCode; } public function setWarehouseCode($warehouseCode) { $this->warehouseCode = $warehouseCode; $this->apiParams["warehouseCode"] = $warehouseCode; } public function getOrderItemId() { return $this->orderItemId; } public function setOrderItemId($orderItemId) { $this->orderItemId = $orderItemId; $this->apiParams["orderItemId"] = $orderItemId; } public function getItemCode() { return $this->itemCode; } public function setItemCode($itemCode) { $this->itemCode = $itemCode; $this->apiParams["itemCode"] = $itemCode; } public function getOuterItemId() { return $this->outerItemId; } public function setOuterItemId($outerItemId) { $this->outerItemId = $outerItemId; $this->apiParams["outerItemId"] = $outerItemId; } public function getItemName() { return $this->itemName; } public function setItemName($itemName) { $this->itemName = $itemName; $this->apiParams["itemName"] = $itemName; } public function getInventoryType() { return $this->inventoryType; } public function setInventoryType($inventoryType) { $this->inventoryType = $inventoryType; $this->apiParams["inventoryType"] = $inventoryType; } public function getItemQuantity() { return $this->itemQuantity; } public function setItemQuantity($itemQuantity) { $this->itemQuantity = $itemQuantity; $this->apiParams["itemQuantity"] = $itemQuantity; } public function getDeliverNo() { return $this->deliverNo; } public function setDeliverNo($deliverNo) { $this->deliverNo = $deliverNo; $this->apiParams["deliverNo"] = $deliverNo; } public function getActualPrice() { return $this->actualPrice; } public function setActualPrice($actualPrice) { $this->actualPrice = $actualPrice; $this->apiParams["actualPrice"] = $actualPrice; } public function getColourNumber() { return $this->colourNumber; } public function setColourNumber($colourNumber) { $this->colourNumber = $colourNumber; $this->apiParams["colourNumber"] = $colourNumber; } public function getProduceCode() { return $this->produceCode; } public function setProduceCode($produceCode) { $this->produceCode = $produceCode; $this->apiParams["produceCode"] = $produceCode; } public function getApiParams(){ return $this->apiParams; } } ?>