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/ActlistQueryRequest.php

72 lines
1.3 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2020-9-15
*/
class ActlistQueryRequest extends SuningRequest{
/**
*
*/
private $activityId;
/**
*
*/
private $memberId;
/**
*
*/
private $subActivityId;
public function getActivityId() {
return $this->activityId;
}
public function setActivityId($activityId) {
$this->activityId = $activityId;
$this->apiParams["activityId"] = $activityId;
}
public function getMemberId() {
return $this->memberId;
}
public function setMemberId($memberId) {
$this->memberId = $memberId;
$this->apiParams["memberId"] = $memberId;
}
public function getSubActivityId() {
return $this->subActivityId;
}
public function setSubActivityId($subActivityId) {
$this->subActivityId = $subActivityId;
$this->apiParams["subActivityId"] = $subActivityId;
}
public function getApiMethodName(){
return 'suning.custom.actlist.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->activityId, 'activityId');
RequestCheckUtil::checkNotNull($this->memberId, 'memberId');
}
public function getBizName(){
return "queryActlist";
}
}
?>