Package com.baidu.mapapi.search.core
Class PriceInfo
java.lang.Object
com.baidu.mapapi.search.core.PriceInfo
- All Implemented Interfaces:
android.os.Parcelable
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdouble获取票价格(元)int获取票类型voidsetTicketPrice(double price) voidsetTicketType(int type) voidwriteToParcel(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Constructor Details
-
PriceInfo
public PriceInfo() -
PriceInfo
protected PriceInfo(android.os.Parcel in)
-
-
Method Details
-
getTicketType
public int getTicketType()获取票类型- Returns:
-
setTicketType
public void setTicketType(int type) -
getTicketPrice
public double getTicketPrice()获取票价格(元)- Returns:
-
setTicketPrice
public void setTicketPrice(double price) -
describeContents
public int describeContents()- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-