REAPI/extend/sdk/taobao/top/request/TmallItemCalculateHscodeGetRequest.php
2024-09-29 15:43:18 +08:00

48 lines
712 B
PHP

<?php
/**
* TOP API: tmall.item.calculate.hscode.get request
*
* @author auto create
* @since 1.0, 2021.11.23
*/
class TmallItemCalculateHscodeGetRequest
{
/**
* 商品id
**/
private $itemId;
private $apiParas = array();
public function setItemId($itemId)
{
$this->itemId = $itemId;
$this->apiParas["item_id"] = $itemId;
}
public function getItemId()
{
return $this->itemId;
}
public function getApiMethodName()
{
return "tmall.item.calculate.hscode.get";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}