freightTemplateId; } public function setFreightTemplateId($freightTemplateId) { $this->freightTemplateId = $freightTemplateId; $this->apiParams["freightTemplateId"] = $freightTemplateId; } /** * 根据请求方式,生成相应请求报文 * * @param $type 请求方式(json或xml,默认xml) */ public function getApiParams() { return $this->apiParams; } public function getApiMethodName() { return "suning.custom.freighttemplate.get"; } public function check() { RequestCheckUtil::checkNotNull($this->freightTemplateId, 'freightTemplateId'); } public function getBizName(){ return "freightTemplate"; } } ?>