82 lines
1.3 KiB
PHP
82 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* TOP API: taobao.qimen.combineitem.query request
|
|
*
|
|
* @author auto create
|
|
* @since 1.0, 2021.03.08
|
|
*/
|
|
class CombineitemQueryRequest
|
|
{
|
|
/**
|
|
* 扩展属性
|
|
**/
|
|
private $extendProps;
|
|
|
|
/**
|
|
* 奇门仓储字段
|
|
**/
|
|
private $itemId;
|
|
|
|
/**
|
|
* 奇门仓储字段
|
|
**/
|
|
private $ownerCode;
|
|
|
|
private $apiParas = array();
|
|
|
|
public function setExtendProps($extendProps)
|
|
{
|
|
$this->extendProps = $extendProps;
|
|
$this->apiParas["extendProps"] = $extendProps;
|
|
}
|
|
|
|
public function getExtendProps()
|
|
{
|
|
return $this->extendProps;
|
|
}
|
|
|
|
public function setItemId($itemId)
|
|
{
|
|
$this->itemId = $itemId;
|
|
$this->apiParas["itemId"] = $itemId;
|
|
}
|
|
|
|
public function getItemId()
|
|
{
|
|
return $this->itemId;
|
|
}
|
|
|
|
public function setOwnerCode($ownerCode)
|
|
{
|
|
$this->ownerCode = $ownerCode;
|
|
$this->apiParas["ownerCode"] = $ownerCode;
|
|
}
|
|
|
|
public function getOwnerCode()
|
|
{
|
|
return $this->ownerCode;
|
|
}
|
|
|
|
public function getApiMethodName()
|
|
{
|
|
return "taobao.qimen.combineitem.query";
|
|
}
|
|
|
|
public function getApiParas()
|
|
{
|
|
return $this->apiParas;
|
|
}
|
|
|
|
public function check()
|
|
{
|
|
|
|
RequestCheckUtil::checkMaxLength($this->itemId,50,"itemId");
|
|
RequestCheckUtil::checkMaxLength($this->ownerCode,50,"ownerCode");
|
|
}
|
|
|
|
public function putOtherTextParam($key, $value) {
|
|
$this->apiParas[$key] = $value;
|
|
$this->$key = $value;
|
|
}
|
|
}
|