49 lines
844 B
PHP
49 lines
844 B
PHP
<?php
|
|
/**
|
|
* TOP API: tmall.item.sizemapping.template.delete request
|
|
*
|
|
* @author auto create
|
|
* @since 1.0, 2021.11.25
|
|
*/
|
|
class TmallItemSizemappingTemplateDeleteRequest
|
|
{
|
|
/**
|
|
* 尺码表模板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.delete";
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|