public abstract class PriceRange extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
PriceRange() |
Modifier and Type | Method and Description |
---|---|
static PriceRange |
create(BigDecimal lowerBound,
BigDecimal upperBound,
String currencyCode)
Create a new Price Range.
|
abstract String |
getCurrencyCode()
Currency code.
|
abstract BigDecimal |
getLowerBound()
Minimum amount.
|
abstract BigDecimal |
getUpperBound()
Maximum amount.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeContents, writeToParcel
public abstract BigDecimal getLowerBound()
public abstract BigDecimal getUpperBound()
public abstract String getCurrencyCode()
public static PriceRange create(BigDecimal lowerBound, BigDecimal upperBound, String currencyCode)
lowerBound
- the minimum amount to payupperBound
- the maximum amount to paycurrencyCode
- the ISO 4217 currency code