You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/extend/suning-sdk-php/request/advertise/PromKeywordReportsQueryRequ...

62 lines
1.3 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2016-11-23
*/
class PromKeywordReportsQueryRequest extends SelectSuningRequest{
/**
*
*/
private $promotionStartDate;
/**
*
*/
private $promotionEndDate;
public function getPromotionStartDate() {
return $this->promotionStartDate;
}
public function setPromotionStartDate($promotionStartDate) {
$this->promotionStartDate = $promotionStartDate;
$this->apiParams["promotionStartDate"] = $promotionStartDate;
}
public function getPromotionEndDate() {
return $this->promotionEndDate;
}
public function setPromotionEndDate($promotionEndDate) {
$this->promotionEndDate = $promotionEndDate;
$this->apiParams["promotionEndDate"] = $promotionEndDate;
}
public function getApiMethodName(){
return 'suning.advertise.promkeywordreports.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->promotionStartDate, 'promotionStartDate');
RequestCheckUtil::checkNotNull($this->promotionEndDate, 'promotionEndDate');
}
public function getBizName(){
return "queryPromKeywordReports";
}
}
?>