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/oto/FactoryinventoryQueryReques...

75 lines
1.4 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2018-1-5
*/
class FactoryinventoryQueryRequest extends SelectSuningRequest{
/**
*
*/
private $warehouseCode;
/**
*
*/
private $commodityCodes;
/**
*
*/
private $supplierCommoditys;
public function getWarehouseCode() {
return $this->warehouseCode;
}
public function setWarehouseCode($warehouseCode) {
$this->warehouseCode = $warehouseCode;
$this->apiParams["warehouseCode"] = $warehouseCode;
}
public function getCommodityCodes() {
return $this->commodityCodes;
}
public function setCommodityCodes($commodityCodes) {
$this->commodityCodes = $commodityCodes;
$this->apiParams["commodityCodes"] = $commodityCodes;
}
public function getSupplierCommoditys() {
return $this->supplierCommoditys;
}
public function setSupplierCommoditys($supplierCommoditys) {
$this->supplierCommoditys = $supplierCommoditys;
$this->apiParams["supplierCommoditys"] = $supplierCommoditys;
}
public function getApiMethodName(){
return 'suning.oto.factoryinventory.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->warehouseCode, 'warehouseCode');
}
public function getBizName(){
return "queryFactoryinventory";
}
}
?>