barcode = $barcode; $this->apiParas["barcode"] = $barcode; } public function getBarcode() { return $this->barcode; } 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 setPropId($propId) { $this->propId = $propId; $this->apiParas["prop_id"] = $propId; } public function getPropId() { return $this->propId; } public function setSchema($schema) { $this->schema = $schema; $this->apiParas["schema"] = $schema; } public function getSchema() { return $this->schema; } public function getApiMethodName() { return "alibaba.item.publish.props.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->catId,"catId"); RequestCheckUtil::checkNotNull($this->market,"market"); RequestCheckUtil::checkNotNull($this->propId,"propId"); RequestCheckUtil::checkNotNull($this->schema,"schema"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }