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.
61 lines
1.0 KiB
61 lines
1.0 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 - 获取库存报表
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2015-12-14
|
||
|
*/
|
||
|
class StockFormQueryRequest extends SelectSuningRequest{
|
||
|
|
||
|
/**
|
||
|
* 地点代码
|
||
|
*/
|
||
|
private $placeCode;
|
||
|
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 苏宁品牌编码,9位数字
|
||
|
*/
|
||
|
private $brandCode;
|
||
|
|
||
|
public function getPlaceCode() {
|
||
|
return $this->placeCode;
|
||
|
}
|
||
|
|
||
|
public function setPlaceCode($placeCode) {
|
||
|
$this->placeCode = $placeCode;
|
||
|
$this->apiParams["placeCode"] = $placeCode;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
public function getBrandCode() {
|
||
|
return $this->brandCode;
|
||
|
}
|
||
|
|
||
|
public function setBrandCode($brandCode) {
|
||
|
$this->brandCode = $brandCode;
|
||
|
$this->apiParams["brandCode"] = $brandCode;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.selfmarket.stockform.query';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
RequestCheckUtil::checkNotNull($this->brandCode, 'brandCode');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "queryStockForm";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|