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.
86 lines
1.5 KiB
86 lines
1.5 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2020-5-29
|
|
*/
|
|
class ThirdpartypromotionGetRequest extends SuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $channel;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $outerId;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $promotionId;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $subUser;
|
|
|
|
public function getChannel() {
|
|
return $this->channel;
|
|
}
|
|
|
|
public function setChannel($channel) {
|
|
$this->channel = $channel;
|
|
$this->apiParams["channel"] = $channel;
|
|
}
|
|
|
|
public function getOuterId() {
|
|
return $this->outerId;
|
|
}
|
|
|
|
public function setOuterId($outerId) {
|
|
$this->outerId = $outerId;
|
|
$this->apiParams["outerId"] = $outerId;
|
|
}
|
|
|
|
public function getPromotionId() {
|
|
return $this->promotionId;
|
|
}
|
|
|
|
public function setPromotionId($promotionId) {
|
|
$this->promotionId = $promotionId;
|
|
$this->apiParams["promotionId"] = $promotionId;
|
|
}
|
|
|
|
public function getSubUser() {
|
|
return $this->subUser;
|
|
}
|
|
|
|
public function setSubUser($subUser) {
|
|
$this->subUser = $subUser;
|
|
$this->apiParams["subUser"] = $subUser;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.netalliance.thirdpartygetpromotion.get';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
RequestCheckUtil::checkNotNull($this->channel, 'channel');
|
|
RequestCheckUtil::checkNotNull($this->outerId, 'outerId');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "getThirdpartygetpromotion";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|