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/custom/IntegralQueryRequest.php

104 lines
1.8 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2020-7-20
*/
class IntegralQueryRequest 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.integral.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->pageSize, 'pageSize');
RequestCheckUtil::checkNotNull($this->shopCode, 'shopCode');
}
public function getBizName(){
return "queryIntegral";
}
}
?>