49 lines
835 B
PHP
49 lines
835 B
PHP
<?php
|
|
/**
|
|
* TOP API: tmall.item.sizemapping.template.get request
|
|
*
|
|
* @author auto create
|
|
* @since 1.0, 2021.11.23
|
|
*/
|
|
class TmallItemSizemappingTemplateGetRequest
|
|
{
|
|
/**
|
|
* 尺码表模板ID
|
|
**/
|
|
private $templateId;
|
|
|
|
private $apiParas = array();
|
|
|
|
public function setTemplateId($templateId)
|
|
{
|
|
$this->templateId = $templateId;
|
|
$this->apiParas["template_id"] = $templateId;
|
|
}
|
|
|
|
public function getTemplateId()
|
|
{
|
|
return $this->templateId;
|
|
}
|
|
|
|
public function getApiMethodName()
|
|
{
|
|
return "tmall.item.sizemapping.template.get";
|
|
}
|
|
|
|
public function getApiParas()
|
|
{
|
|
return $this->apiParas;
|
|
}
|
|
|
|
public function check()
|
|
{
|
|
|
|
RequestCheckUtil::checkNotNull($this->templateId,"templateId");
|
|
}
|
|
|
|
public function putOtherTextParam($key, $value) {
|
|
$this->apiParas[$key] = $value;
|
|
$this->$key = $value;
|
|
}
|
|
}
|