available = $available; $this->apiParas["available"] = $available; } public function getAvailable() { return $this->available; } public function setBrandId($brandId) { $this->brandId = $brandId; $this->apiParas["brand_id"] = $brandId; } public function getBrandId() { return $this->brandId; } public function setIdentCodeList($identCodeList) { $this->identCodeList = $identCodeList; $this->apiParas["ident_code_list"] = $identCodeList; } public function getIdentCodeList() { return $this->identCodeList; } public function setIdentType($identType) { $this->identType = $identType; $this->apiParas["ident_type"] = $identType; } public function getIdentType() { return $this->identType; } public function setRootCatId($rootCatId) { $this->rootCatId = $rootCatId; $this->apiParas["root_cat_id"] = $rootCatId; } public function getRootCatId() { return $this->rootCatId; } public function getApiMethodName() { return "alibaba.ascp.logistics.identcode.query"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->brandId,"brandId"); RequestCheckUtil::checkNotNull($this->identCodeList,"identCodeList"); RequestCheckUtil::checkNotNull($this->identType,"identType"); RequestCheckUtil::checkNotNull($this->rootCatId,"rootCatId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }