@Immutable @LevelUpApi(contract=PUBLIC) public final class GiftCardValueOrder extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<GiftCardValueOrder> |
CREATOR
Parcelable creator.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
GiftCardValueOrder(long merchantId,
String recipientEmail,
String recipientMessage,
String recipientName,
MonetaryValue valueAmount) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
long |
getMerchantId()
The ID of the gift card merchant.
|
String |
getRecipientEmail()
The email address of the gift card recipient.
|
String |
getRecipientMessage()
The message for the gift card recipient.
|
String |
getRecipientName()
The name of the gift card recipient.
|
MonetaryValue |
getValueAmount()
The gift card amount.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<GiftCardValueOrder> CREATOR
public GiftCardValueOrder(long merchantId, String recipientEmail, String recipientMessage, String recipientName, MonetaryValue valueAmount)
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public long getMerchantId()
public String getRecipientEmail()
public String getRecipientMessage()
public String getRecipientName()
public MonetaryValue getValueAmount()