cid = $cid; $this->apiParas["cid"] = $cid; } public function getCid() { return $this->cid; } public function setFields($fields) { $this->fields = $fields; $this->apiParas["fields"] = $fields; } public function getFields() { return $this->fields; } public function setProductId($productId) { $this->productId = $productId; $this->apiParas["product_id"] = $productId; } public function getProductId() { return $this->productId; } public function setProps($props) { $this->props = $props; $this->apiParas["props"] = $props; } public function getProps() { return $this->props; } public function getApiMethodName() { return "taobao.product.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->fields,"fields"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }