REAPI/extend/sdk/taobao/top/request/TmallItemSizemappingTemplateGetRequest.php

49 lines
835 B
PHP
Raw Permalink Normal View History

2024-09-29 15:43:18 +08:00
<?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;
}
}