@Immutable @LevelUpApi(contract=PUBLIC) public final class LocationCredit extends Object implements Parcelable
Location on the server.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<LocationCredit> |
CREATOR
Implements the
Parcelable interface. |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
LocationCredit(MonetaryValue merchantFundedCreditValue,
MonetaryValue totalAmountValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object o) |
MonetaryValue |
getMerchantFundedCreditValue()
The amount of credit the merchant has credited.
|
MonetaryValue |
getTotalAmountValue()
The total amount of credit.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<LocationCredit> CREATOR
Parcelable interface.public LocationCredit(MonetaryValue merchantFundedCreditValue, MonetaryValue totalAmountValue)
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelablepublic MonetaryValue getMerchantFundedCreditValue()
public MonetaryValue getTotalAmountValue()