barcode = $barcode; $this->apiParas["barcode"] = $barcode; } public function getBarcode() { return $this->barcode; } public function setBizType($bizType) { $this->bizType = $bizType; $this->apiParas["biz_type"] = $bizType; } public function getBizType() { return $this->bizType; } public function setCatId($catId) { $this->catId = $catId; $this->apiParas["cat_id"] = $catId; } public function getCatId() { return $this->catId; } public function setMarket($market) { $this->market = $market; $this->apiParas["market"] = $market; } public function getMarket() { return $this->market; } public function setSchema($schema) { $this->schema = $schema; $this->apiParas["schema"] = $schema; } public function getSchema() { return $this->schema; } public function setSpuId($spuId) { $this->spuId = $spuId; $this->apiParas["spu_id"] = $spuId; } public function getSpuId() { return $this->spuId; } public function getApiMethodName() { return "alibaba.item.publish.submit"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->catId,"catId"); RequestCheckUtil::checkNotNull($this->market,"market"); RequestCheckUtil::checkNotNull($this->schema,"schema"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }