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.
79 lines
1.4 KiB
79 lines
1.4 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 - 库存API - 查询平行仓仓库库存(单个)
|
|
*
|
|
* $pack suning.custom.parallelinventory.get
|
|
* @author jerry(14033184@cnsuning.com)
|
|
* @date 2014-05-30
|
|
*/
|
|
|
|
class ParallelinventoryGetRequest extends SuningRequest
|
|
{
|
|
/**
|
|
* 商家平行仓仓库编码
|
|
*/
|
|
private $invCode;
|
|
|
|
/**
|
|
* 苏宁商品编码
|
|
*/
|
|
private $productCode;
|
|
|
|
/**
|
|
* 商家商品编码
|
|
*/
|
|
private $itemCode;
|
|
|
|
public function setInvCode($invCode)
|
|
{
|
|
$this->invCode = $invCode;
|
|
$this->apiParams["invCode"] = $invCode;
|
|
}
|
|
|
|
public function getInvCode()
|
|
{
|
|
return $this->invCode;
|
|
}
|
|
|
|
public function setProductCode($productCode)
|
|
{
|
|
$this->productCode = $productCode;
|
|
$this->apiParams["productCode"] = $productCode;
|
|
}
|
|
|
|
public function getProductCode()
|
|
{
|
|
return $this->productCode;
|
|
}
|
|
|
|
public function setItemCode($itemCode)
|
|
{
|
|
$this->itemCode = $itemCode;
|
|
$this->apiParams["itemCode"] = $itemCode;
|
|
}
|
|
|
|
public function getItemCode()
|
|
{
|
|
return $this->itemCode;
|
|
}
|
|
|
|
public function getApiMethodName()
|
|
{
|
|
return 'suning.custom.parallelinventory.get';
|
|
}
|
|
|
|
public function getApiParams()
|
|
{
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check()
|
|
{
|
|
RequestCheckUtil::checkNotNull($this->invCode, 'invCode');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "parallelInventory";
|
|
}
|
|
}
|
|
?>
|