<?php
/**
 * 苏宁开放平台接口 - 
 *
 * @author suning
 * @date   2021-7-14
 */
class DeliverypurorderAddRequest  extends SuningRequest{
	
	/**
	 * 
	 */
	private $carrier;
	
	/**
	 * 
	 */
	private $carrierNumber;
	
	/**
	 * 
	 */
	private $deliveryDate;
	
	/**
	 * 
	 */
	private $deliveryOrder;
	
	/**
	 * 
	 */
	private $deliveryTime;
	
	/**
	 * 
	 */
	private $purOrder;
	
	/**
	 * 
	 */
	private $supplierCode;
	
	public function getCarrier() {
		return $this->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";
	}
	
}

?>