public static class GasStation.Product extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<GasStation.Product> |
CREATOR
Parcelable creator for this type.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
String |
getCurrencyCode()
Gets the currency code used for the price.
|
float |
getPrice()
Gets the price of the product.
|
String |
getType()
Gets the product type, such as Diesel, Regular, MidGrade, or Premium.
|
Date |
getUpdateDate()
Gets the date when the information was last updated.
|
String |
getUpdateDateString()
Get the update date as a String.
|
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<GasStation.Product> CREATOR
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public String getType()
public float getPrice()
public String getCurrencyCode()
public Date getUpdateDate()
public String getUpdateDateString()
Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.