public class AppliedStoreCredit extends AbstractResponse<AppliedStoreCredit>
optimisticData, responseData| Constructor and Description |
|---|
AppliedStoreCredit() |
AppliedStoreCredit(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Money |
getAppliedBalance()
Applied store credit balance to the current cart
|
Money |
getCurrentBalance()
Current balance remaining on store credit
|
Boolean |
getEnabled()
Indicates whether store credits are enabled.
|
String |
getGraphQlTypeName() |
AppliedStoreCredit |
setAppliedBalance(Money arg) |
AppliedStoreCredit |
setCurrentBalance(Money arg) |
AppliedStoreCredit |
setEnabled(Boolean arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic AppliedStoreCredit()
public AppliedStoreCredit(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public Money getAppliedBalance()
public AppliedStoreCredit setAppliedBalance(Money arg)
public Money getCurrentBalance()
public AppliedStoreCredit setCurrentBalance(Money arg)
public Boolean getEnabled()
public AppliedStoreCredit setEnabled(Boolean arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<AppliedStoreCredit>Copyright © 2022 Adobe. All rights reserved.