public class TrainInfo extends TransitBaseInfo
限定符和类型 | 字段和说明 |
---|---|
static <any> |
CREATOR |
限定符和类型 | 方法和说明 |
---|---|
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
在类中 TransitBaseInfo
public void writeToParcel(Parcel dest, int flags)
writeToParcel
在类中 TransitBaseInfo