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 setImages($images) { $this->images = $images; $this->apiParas["images"] = $images; } public function getImages() { return $this->images; } public function setItemType($itemType) { $this->itemType = $itemType; $this->apiParas["item_type"] = $itemType; } public function getItemType() { return $this->itemType; } public function setMarket($market) { $this->market = $market; $this->apiParas["market"] = $market; } public function getMarket() { return $this->market; } 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.schema.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->catId,"catId"); RequestCheckUtil::checkMaxListSize($this->images,5,"images"); RequestCheckUtil::checkNotNull($this->market,"market"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }