PriceRange

public abstract class PriceRange implements Parcelable


Price range associated with a place. When price range information is available for a place, the start price will always be set but the end price may not always be set. This indicates a range without an upper bound (eg: "More than $100").

Summary

Nested types

public abstract class PriceRange.Builder

A builder to create instances of PriceRange.

Public constructors

Public methods

static PriceRange.Builder

Returns a new instance of Builder.

abstract @Nullable Money

Returns the end value of the price range.

abstract @Nullable Money

Returns the start value of the price range.

Inherited Constants

From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int
abstract void
writeToParcel(Parcel p, int p1)

Public constructors

PriceRange

public PriceRange()

Public methods

builder

public static PriceRange.Builder builder()

Returns a new instance of Builder.

getEndPrice

public abstract @Nullable Money getEndPrice()

Returns the end value of the price range.

getStartPrice

public abstract @Nullable Money getStartPrice()

Returns the start value of the price range.