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.
47 lines
1.0 KiB
47 lines
1.0 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 - 销售准备API - 查询单个销售范围关联商品组
|
||
|
*
|
||
|
* $pack suning.custom.saleareatemplateitemgroup.get
|
||
|
* @author 14050890
|
||
|
* @date 2014-06-03
|
||
|
*/
|
||
|
class SaleareatemplateitemgroupGetRequest extends SuningRequest{
|
||
|
/**
|
||
|
* 模板代码
|
||
|
*/
|
||
|
private $templateId;
|
||
|
|
||
|
public function getTemplateId() {
|
||
|
return $this->templateId;
|
||
|
}
|
||
|
|
||
|
public function setTemplateId($templateId) {
|
||
|
$this->templateId = $templateId;
|
||
|
$this->apiParams["templateId"] = $templateId;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 根据请求方式,生成相应请求报文
|
||
|
*
|
||
|
* @param $type 请求方式(json或xml,默认xml)
|
||
|
*/
|
||
|
public function getApiParams() {
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
|
||
|
public function getApiMethodName() {
|
||
|
return "suning.custom.saleareatemplateitemgroup.get";
|
||
|
}
|
||
|
|
||
|
public function check() {
|
||
|
RequestCheckUtil::checkNotNull ( $this->templateId, 'templateId' );
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "saleAreaTemplateItemGroup";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|