public class Currency extends APINode
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
Currency() |
| Modifier and Type | Method and Description |
|---|---|
Currency |
copyFrom(Currency instance) |
APIContext |
getContext() |
Long |
getFieldCurrencyOffset() |
Double |
getFieldUsdExchange() |
Double |
getFieldUsdExchangeInverse() |
String |
getFieldUserCurrency() |
String |
getId() |
static APIRequest.ResponseParser<Currency> |
getParser() |
static Currency |
loadJSON(String json,
APIContext context,
String header) |
static APINodeList<Currency> |
parseResponse(String json,
APIContext context,
APIRequest request,
String header) |
void |
setContext(APIContext context) |
Currency |
setFieldCurrencyOffset(Long value) |
Currency |
setFieldUsdExchange(Double value) |
Currency |
setFieldUsdExchangeInverse(Double value) |
Currency |
setFieldUserCurrency(String value) |
String |
toString() |
getException, getHeader, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic static Currency loadJSON(String json, APIContext context, String header)
public static APINodeList<Currency> parseResponse(String json, APIContext context, APIRequest request, String header) throws APIException.MalformedResponseException
public APIContext getContext()
getContext in class APINodepublic void setContext(APIContext context)
setContext in class APINodepublic Long getFieldCurrencyOffset()
public Double getFieldUsdExchange()
public Double getFieldUsdExchangeInverse()
public String getFieldUserCurrency()
public static APIRequest.ResponseParser<Currency> getParser()
Copyright © 2020. All rights reserved.