public class TrainInfo extends TransitBaseInfo
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
TrainInfo() |
protected |
TrainInfo(Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getBooking()
获取订票电话
|
double |
getPrice()
获取总票价
|
void |
setBooking(java.lang.String booking) |
void |
setPrice(double price) |
void |
writeToParcel(Parcel dest,
int flags) |
getArriveStation, getArriveTime, getDepartureStation, getDepartureTime, getName, setArriveStation, setArriveTime, setDepartureStation, setDepartureTime, setName
public double getPrice()
public void setPrice(double price)
public java.lang.String getBooking()
public void setBooking(java.lang.String booking)
public int describeContents()
describeContents
in class TransitBaseInfo
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class TransitBaseInfo