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/ActivityallreleaseCancelReq...

73 lines
1.4 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2019-12-13
*/
class ActivityallreleaseCancelRequest extends SuningRequest{
/**
*
*/
private $activityCode;
/**
*
*/
private $allRelease;
/**
*
*/
private $remarks;
public function getActivityCode() {
return $this->activityCode;
}
public function setActivityCode($activityCode) {
$this->activityCode = $activityCode;
$this->apiParams["activityCode"] = $activityCode;
}
public function getAllRelease() {
return $this->allRelease;
}
public function setAllRelease($allRelease) {
$this->allRelease = $allRelease;
$this->apiParams["allRelease"] = $allRelease;
}
public function getRemarks() {
return $this->remarks;
}
public function setRemarks($remarks) {
$this->remarks = $remarks;
$this->apiParams["remarks"] = $remarks;
}
public function getApiMethodName(){
return 'suning.custom.activityallrelease.cancel';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->activityCode, 'activityCode');
RequestCheckUtil::checkNotNull($this->allRelease, 'allRelease');
RequestCheckUtil::checkNotNull($this->remarks, 'remarks');
}
public function getBizName(){
return "cancelActivityallrelease";
}
}
?>