public static class Storefront.AppliedGiftCard extends AbstractResponse<Storefront.AppliedGiftCard> implements Storefront.Node
optimisticData, responseData| Constructor and Description |
|---|
AppliedGiftCard() |
AppliedGiftCard(JsonObject fields) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic AppliedGiftCard()
public AppliedGiftCard(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.NodegetGraphQlTypeName in interface Nodepublic Storefront.MoneyV2 getAmountUsed()
public Storefront.AppliedGiftCard setAmountUsed(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getAmountUsedV2()
public Storefront.AppliedGiftCard setAmountUsedV2(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getBalance()
public Storefront.AppliedGiftCard setBalance(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getBalanceV2()
public Storefront.AppliedGiftCard setBalanceV2(Storefront.MoneyV2 arg)
public ID getId()
getId in interface Storefront.NodegetId in interface Nodepublic java.lang.String getLastCharacters()
public Storefront.AppliedGiftCard setLastCharacters(java.lang.String arg)
public Storefront.MoneyV2 getPresentmentAmountUsed()
public Storefront.AppliedGiftCard setPresentmentAmountUsed(Storefront.MoneyV2 arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.AppliedGiftCard>