date = $date; $this->apiParas["date"] = $date; } public function getDate() { return $this->date; } public function setTrainNumber($trainNumber) { $this->trainNumber = $trainNumber; $this->apiParas["trainNumber"] = $trainNumber; } public function getTrainNumber() { return $this->trainNumber; } public function getApiMethodName() { return "qianmi.elife.train.stopstations.list"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->date, "date"); RequestCheckUtil::checkNotNull($this->trainNumber, "trainNumber"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }