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; } }