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