REAPI/extend/sdk/banma/client/request/TrainStopstationsListRequest.php
2024-09-29 15:43:18 +08:00

61 lines
1.0 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* API: qianmi.elife.train.stopstations.list request
*
* @author auto create
* @since 1.0
*/
class TrainStopstationsListRequest
{
private $apiParas = array();
/**
* 查询日期
*/
private $date;
/**
* 车次号如G11
*/
private $trainNumber;
public function setDate($date)
{
$this->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;
}
}