carrier; } public function setCarrier($carrier) { $this->carrier = $carrier; $this->apiParams["carrier"] = $carrier; } public function getCarrierNumber() { return $this->carrierNumber; } public function setCarrierNumber($carrierNumber) { $this->carrierNumber = $carrierNumber; $this->apiParams["carrierNumber"] = $carrierNumber; } public function getDeliveryDate() { return $this->deliveryDate; } public function setDeliveryDate($deliveryDate) { $this->deliveryDate = $deliveryDate; $this->apiParams["deliveryDate"] = $deliveryDate; } public function getDeliveryOrder() { return $this->deliveryOrder; } public function setDeliveryOrder($deliveryOrder) { $this->deliveryOrder = $deliveryOrder; $this->apiParams["deliveryOrder"] = $deliveryOrder; } public function getDeliveryTime() { return $this->deliveryTime; } public function setDeliveryTime($deliveryTime) { $this->deliveryTime = $deliveryTime; $this->apiParams["deliveryTime"] = $deliveryTime; } public function getPurOrder() { return $this->purOrder; } public function setPurOrder($purOrder) { $this->purOrder = $purOrder; $this->apiParams["purOrder"] = $purOrder; } public function getSupplierCode() { return $this->supplierCode; } public function setSupplierCode($supplierCode) { $this->supplierCode = $supplierCode; $this->apiParams["supplierCode"] = $supplierCode; } public function getApiMethodName(){ return 'suning.selfmarket.deliverypurorder.add'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->deliveryDate, 'deliveryDate'); RequestCheckUtil::checkNotNull($this->deliveryOrder, 'deliveryOrder'); RequestCheckUtil::checkNotNull($this->deliveryTime, 'deliveryTime'); RequestCheckUtil::checkNotNull($this->purOrder, 'purOrder'); RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode'); } public function getBizName(){ return "addDeliverypurorder"; } } ?>