public class GiftCardOptions extends AbstractResponse<GiftCardOptions>
optimisticData, responseData| Constructor and Description |
|---|
GiftCardOptions() |
GiftCardOptions(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
The amount and currency of the gift card
|
Money |
getCustomGiftcardAmount()
The custom amount and currency of the gift card
|
String |
getGraphQlTypeName() |
String |
getMessage()
A message to the recipient
|
String |
getRecipientEmail()
The email of the person receiving the gift card
|
String |
getRecipientName()
The name of the person receiving the gift card
|
String |
getSenderEmail()
The email of the sender
|
String |
getSenderName()
The name of the sender
|
GiftCardOptions |
setAmount(Money arg) |
GiftCardOptions |
setCustomGiftcardAmount(Money arg) |
GiftCardOptions |
setMessage(String arg) |
GiftCardOptions |
setRecipientEmail(String arg) |
GiftCardOptions |
setRecipientName(String arg) |
GiftCardOptions |
setSenderEmail(String arg) |
GiftCardOptions |
setSenderName(String arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic GiftCardOptions()
public GiftCardOptions(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public Money getAmount()
public GiftCardOptions setAmount(Money arg)
public Money getCustomGiftcardAmount()
public GiftCardOptions setCustomGiftcardAmount(Money arg)
public String getMessage()
public GiftCardOptions setMessage(String arg)
public String getRecipientEmail()
public GiftCardOptions setRecipientEmail(String arg)
public String getRecipientName()
public GiftCardOptions setRecipientName(String arg)
public String getSenderEmail()
public GiftCardOptions setSenderEmail(String arg)
public String getSenderName()
public GiftCardOptions setSenderName(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<GiftCardOptions>Copyright © 2022 Adobe. All rights reserved.