endDate; } public function setEndDate($endDate) { $this->endDate = $endDate; $this->apiParams["endDate"] = $endDate; } public function getOrderCode() { return $this->orderCode; } public function setOrderCode($orderCode) { $this->orderCode = $orderCode; $this->apiParams["orderCode"] = $orderCode; } public function getStartDate() { return $this->startDate; } public function setStartDate($startDate) { $this->startDate = $startDate; $this->apiParams["startDate"] = $startDate; } public function getSupplierCode() { return $this->supplierCode; } public function setSupplierCode($supplierCode) { $this->supplierCode = $supplierCode; $this->apiParams["supplierCode"] = $supplierCode; } public function getApiMethodName(){ return 'suning.selfmarket.capacity.query'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->endDate, 'endDate'); RequestCheckUtil::checkNotNull($this->orderCode, 'orderCode'); RequestCheckUtil::checkNotNull($this->startDate, 'startDate'); RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode'); } public function getBizName(){ return "queryCapacity"; } } ?>