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/selfmarket/BadStockReportQueryRequest.php

74 lines
1.6 KiB

<?php
/**
* 苏宁开放平台接口 - 获取坏机库存报表
*
* @author suning
* @date 2016-3-9
*/
class BadStockReportQueryRequest extends SelectSuningRequest{
/**
* 供应商代码。
*/
private $supplierCode;
/**
* 商品编码。苏宁商品编码。若苏宁商品编码与供应商商品编码都输入,只取苏宁商品编码。
*/
private $productCode;
/**
* 供应商商品编码。若输入供应商商品编码,供应商代码必填。若苏宁商品编码与供应商商品编码都输入,只取苏宁商品编码。
*/
private $supplierProductCode;
public function getSupplierCode() {
return $this->supplierCode;
}
public function setSupplierCode($supplierCode) {
$this->supplierCode = $supplierCode;
$this->apiParams["supplierCode"] = $supplierCode;
}
public function getProductCode() {
return $this->productCode;
}
public function setProductCode($productCode) {
$this->productCode = $productCode;
$this->apiParams["productCode"] = $productCode;
}
public function getSupplierProductCode() {
return $this->supplierProductCode;
}
public function setSupplierProductCode($supplierProductCode) {
$this->supplierProductCode = $supplierProductCode;
$this->apiParams["supplierProductCode"] = $supplierProductCode;
}
public function getApiMethodName(){
return 'suning.badstockreport.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
}
public function getBizName(){
return "queryBadStockReport";
}
}
?>