chargeType = $chargeType; $this->apiParas["chargeType"] = $chargeType; } public function getChargeType() { return $this->chargeType; } public function setGameId($gameId) { $this->gameId = $gameId; $this->apiParas["gameId"] = $gameId; } public function getGameId() { return $this->gameId; } public function getApiMethodName() { return "qianmi.elife.game.classes.list"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->gameId, "gameId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }