count = $count; $this->apiParas["count"] = $count; } public function getCount() { return $this->count; } public function setFields($fields) { $this->fields = $fields; $this->apiParas["fields"] = $fields; } public function getFields() { return $this->fields; } public function setPlatform($platform) { $this->platform = $platform; $this->apiParas["platform"] = $platform; } public function getPlatform() { return $this->platform; } public function setUserId($userId) { $this->userId = $userId; $this->apiParas["user_id"] = $userId; } public function getUserId() { return $this->userId; } public function getApiMethodName() { return "taobao.tbk.shop.recommend.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->fields,"fields"); RequestCheckUtil::checkNotNull($this->userId,"userId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }