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.
85 lines
1.4 KiB
85 lines
1.4 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 -
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2021-4-21
|
||
|
*/
|
||
|
class CustompromotionurlQueryRequest extends SuningRequest{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $adBookId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $pid;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $subUser;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $visitUrl;
|
||
|
|
||
|
public function getAdBookId() {
|
||
|
return $this->adBookId;
|
||
|
}
|
||
|
|
||
|
public function setAdBookId($adBookId) {
|
||
|
$this->adBookId = $adBookId;
|
||
|
$this->apiParams["adBookId"] = $adBookId;
|
||
|
}
|
||
|
|
||
|
public function getPid() {
|
||
|
return $this->pid;
|
||
|
}
|
||
|
|
||
|
public function setPid($pid) {
|
||
|
$this->pid = $pid;
|
||
|
$this->apiParams["pid"] = $pid;
|
||
|
}
|
||
|
|
||
|
public function getSubUser() {
|
||
|
return $this->subUser;
|
||
|
}
|
||
|
|
||
|
public function setSubUser($subUser) {
|
||
|
$this->subUser = $subUser;
|
||
|
$this->apiParams["subUser"] = $subUser;
|
||
|
}
|
||
|
|
||
|
public function getVisitUrl() {
|
||
|
return $this->visitUrl;
|
||
|
}
|
||
|
|
||
|
public function setVisitUrl($visitUrl) {
|
||
|
$this->visitUrl = $visitUrl;
|
||
|
$this->apiParams["visitUrl"] = $visitUrl;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.netalliance.custompromotionurl.query';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
RequestCheckUtil::checkNotNull($this->visitUrl, 'visitUrl');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "queryCustompromotionurl";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|