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.
73 lines
1.3 KiB
73 lines
1.3 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 -
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2020-9-27
|
||
|
*/
|
||
|
class LevelModifyRequest extends SuningRequest{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $custNo;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $growthValue;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $level;
|
||
|
|
||
|
public function getCustNo() {
|
||
|
return $this->custNo;
|
||
|
}
|
||
|
|
||
|
public function setCustNo($custNo) {
|
||
|
$this->custNo = $custNo;
|
||
|
$this->apiParams["custNo"] = $custNo;
|
||
|
}
|
||
|
|
||
|
public function getGrowthValue() {
|
||
|
return $this->growthValue;
|
||
|
}
|
||
|
|
||
|
public function setGrowthValue($growthValue) {
|
||
|
$this->growthValue = $growthValue;
|
||
|
$this->apiParams["growthValue"] = $growthValue;
|
||
|
}
|
||
|
|
||
|
public function getLevel() {
|
||
|
return $this->level;
|
||
|
}
|
||
|
|
||
|
public function setLevel($level) {
|
||
|
$this->level = $level;
|
||
|
$this->apiParams["level"] = $level;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.netalliance.level.modify';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
RequestCheckUtil::checkNotNull($this->custNo, 'custNo');
|
||
|
RequestCheckUtil::checkNotNull($this->growthValue, 'growthValue');
|
||
|
RequestCheckUtil::checkNotNull($this->level, 'level');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "modifyLevel";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|