custnum; } public function setCustnum($custnum) { $this->custnum = $custnum; $this->apiParams["custnum"] = $custnum; } public function getEndDate() { return $this->endDate; } public function setEndDate($endDate) { $this->endDate = $endDate; $this->apiParams["endDate"] = $endDate; } public function getPromotionId() { return $this->promotionId; } public function setPromotionId($promotionId) { $this->promotionId = $promotionId; $this->apiParams["promotionId"] = $promotionId; } public function getStartDate() { return $this->startDate; } public function setStartDate($startDate) { $this->startDate = $startDate; $this->apiParams["startDate"] = $startDate; } public function getApiMethodName(){ return 'suning.advertise.promotiondate.update'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->custnum, 'custnum'); RequestCheckUtil::checkNotNull($this->endDate, 'endDate'); RequestCheckUtil::checkNotNull($this->promotionId, 'promotionId'); RequestCheckUtil::checkNotNull($this->startDate, 'startDate'); } public function getBizName(){ return "updateUpdatepromotiondate"; } } ?>