public class Money extends AbstractResponse<Money>
optimisticData, responseData| Constructor and Description |
|---|
Money() |
Money(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
CurrencyEnum |
getCurrency()
A three-letter currency code, such as USD or EUR
|
String |
getGraphQlTypeName() |
Double |
getValue()
A number expressing a monetary value
|
Money |
setCurrency(CurrencyEnum arg) |
Money |
setValue(Double arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic Money()
public Money(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public CurrencyEnum getCurrency()
public Money setCurrency(CurrencyEnum arg)
public Double getValue()
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<Money>Copyright © 2022 Adobe. All rights reserved.