startTime = $startTime; $this->apiParams["startTime"] = $startTime; } public function getStartTime() { return $this->startTime; } public function setEndTime($endTime) { $this->endTime = $endTime; $this->apiParams["endTime"] = $endTime; } public function getEndTime() { return $this->endTime; } public function setOrderLineStatus($orderLineStatus) { $this->orderLineStatus = $orderLineStatus; $this->apiParams["orderLineStatus"] = $orderLineStatus; } public function getOrderLineStatus() { return $this->orderLineStatus; } public function getApiMethodName() { return 'suning.custom.rejectedord.query'; } public function getApiParams() { return $this->apiParams; } public function check($pageNoMin = 1, $pageNoMax = 99999, $pageSizeMin = 10, $pageSizeMax = 50) { RequestCheckUtil::checkNotNull($this->startTime, 'startTime'); RequestCheckUtil::checkDateValue($this->startTime, 'startTime', 2); RequestCheckUtil::checkNotNull($this->endTime, 'endTime'); RequestCheckUtil::checkDateValue($this->endTime, 'endTime', 2); RequestCheckUtil::checkNotNull($this->orderLineStatus, 'endTime'); RequestCheckUtil::checkValueInItemList($this->orderLineStatus, array('C030','C040','C041','C050','C051','C055','C060','C070','C075','C080','C110','C130','C131'), 'endTime'); $pageNo = !empty($this -> pageNo) ? $this->pageNo : $pageNoMin; $pageSize = !empty($this -> pageSize) ? $this->pageSize : $pageSizeMin; RequestCheckUtil::checkNotNull($pageNo,'pageNo'); RequestCheckUtil::checkNotNull($pageSize,'pageSize'); parent::check(); } public function getBizName(){ return "batchQueryRejected"; } } ?>