public class GiftCard extends RecurlyObject
| Modifier and Type | Class and Description |
|---|---|
static class |
GiftCard.Redemption
Represents gift card redemption data
|
NIL_STR, NIL_VAL| Constructor and Description |
|---|
GiftCard() |
bigDecimalOrNull, booleanOrNull, dateTimeOrNull, enumOrNull, enumOrNull, getHref, integerOrNull, isNull, longOrNull, newXmlMapper, setHref, setRecurlyClient, stringOrNullpublic GiftCard()
public String getProductCode()
public void setProductCode(Object productCode)
public String getRedemptionCode()
public void setRedemptionCode(Object redemptionCode)
public String getGifterAccountCode()
public void setGifterAccountCode(Object gifterAccountCode)
public String getRecipientAccountCode()
public void setRecipientAccountCode(Object recipientAccountCode)
public String getCurrency()
public void setCurrency(Object currency)
public Delivery getDelivery()
public void setDelivery(Delivery delivery)
public Account getGifterAccount()
public void setGifterAccount(Account gifterAccount)
public Integer getUnitAmountInCents()
public void setUnitAmountInCents(Object unitAmountInCents)
public Integer getBalanceInCents()
public void setBalanceInCents(Object balanceInCents)
public Integer getInvoiceNumber()
public void setInvoiceNumber(Object invoiceNumber)
public org.joda.time.DateTime getCreatedAt()
public void setCreatedAt(Object createdAt)
public org.joda.time.DateTime getUpdatedAt()
public void setUpdatedAt(Object updatedAt)
public org.joda.time.DateTime getRedeemedAt()
public void setRedeemedAt(Object redeemedAt)
public org.joda.time.DateTime getDeliveredAt()
public void setDeliveredAt(Object deliveredAt)
public org.joda.time.DateTime getCanceledAt()
public void setCanceledAt(Object canceledAt)
public static GiftCard.Redemption createRedemption(String accountCode)
accountCode - Account code to redeempublic boolean equals(Object o)
equals in class RecurlyObjectCopyright © 2012-2020. All Rights Reserved.