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/netalliance/StorepromotionurlQueryReque...

100 lines
1.7 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2019-9-19
*/
class StorepromotionurlQueryRequest extends SuningRequest{
/**
*
*/
private $adBookId;
/**
*
*/
private $commCode;
/**
*
*/
private $mertCode;
/**
*
*/
private $subUser;
/**
*
*/
private $urlType;
public function getAdBookId() {
return $this->adBookId;
}
public function setAdBookId($adBookId) {
$this->adBookId = $adBookId;
$this->apiParams["adBookId"] = $adBookId;
}
public function getCommCode() {
return $this->commCode;
}
public function setCommCode($commCode) {
$this->commCode = $commCode;
$this->apiParams["commCode"] = $commCode;
}
public function getMertCode() {
return $this->mertCode;
}
public function setMertCode($mertCode) {
$this->mertCode = $mertCode;
$this->apiParams["mertCode"] = $mertCode;
}
public function getSubUser() {
return $this->subUser;
}
public function setSubUser($subUser) {
$this->subUser = $subUser;
$this->apiParams["subUser"] = $subUser;
}
public function getUrlType() {
return $this->urlType;
}
public function setUrlType($urlType) {
$this->urlType = $urlType;
$this->apiParams["urlType"] = $urlType;
}
public function getApiMethodName(){
return 'suning.netalliance.storepromotionurl.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->adBookId, 'adBookId');
RequestCheckUtil::checkNotNull($this->mertCode, 'mertCode');
}
public function getBizName(){
return "queryStorepromotionurl";
}
}
?>