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.
105 lines
1.9 KiB
105 lines
1.9 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2020-1-8
|
|
*/
|
|
class GuacouponQueryRequest extends SelectSuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $activityName;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $activityStatus;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $endTime;
|
|
|
|
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $shopCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $startTime;
|
|
|
|
public function getActivityName() {
|
|
return $this->activityName;
|
|
}
|
|
|
|
public function setActivityName($activityName) {
|
|
$this->activityName = $activityName;
|
|
$this->apiParams["activityName"] = $activityName;
|
|
}
|
|
|
|
public function getActivityStatus() {
|
|
return $this->activityStatus;
|
|
}
|
|
|
|
public function setActivityStatus($activityStatus) {
|
|
$this->activityStatus = $activityStatus;
|
|
$this->apiParams["activityStatus"] = $activityStatus;
|
|
}
|
|
|
|
public function getEndTime() {
|
|
return $this->endTime;
|
|
}
|
|
|
|
public function setEndTime($endTime) {
|
|
$this->endTime = $endTime;
|
|
$this->apiParams["endTime"] = $endTime;
|
|
}
|
|
|
|
|
|
|
|
public function getShopCode() {
|
|
return $this->shopCode;
|
|
}
|
|
|
|
public function setShopCode($shopCode) {
|
|
$this->shopCode = $shopCode;
|
|
$this->apiParams["shopCode"] = $shopCode;
|
|
}
|
|
|
|
public function getStartTime() {
|
|
return $this->startTime;
|
|
}
|
|
|
|
public function setStartTime($startTime) {
|
|
$this->startTime = $startTime;
|
|
$this->apiParams["startTime"] = $startTime;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.custom.guacoupon.query';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
RequestCheckUtil::checkNotNull($this->pageNo, 'pageNo');
|
|
RequestCheckUtil::checkNotNull($this->pageSize, 'pageSize');
|
|
RequestCheckUtil::checkNotNull($this->shopCode, 'shopCode');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "queryGuacoupon";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|