public class ReturnCurrenciesWithPairs extends Object implements Req, Parser<CurrencyPairs>
| Modifier and Type | Field and Description |
|---|---|
static ReturnCurrenciesWithPairs |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static ReturnCurrenciesWithPairs |
create() |
static CurrencyPairs |
fromJson(com.fasterxml.jackson.databind.ObjectMapper mapper,
String body) |
String |
getEndpoint() |
String |
getPayload() |
CurrencyPairs |
parse(com.fasterxml.jackson.databind.ObjectMapper mapper,
String json) |
static Map<String,Currency> |
parseCurrencies(com.fasterxml.jackson.databind.JsonNode tokensNode) |
public static final ReturnCurrenciesWithPairs INSTANCE
public String getEndpoint()
getEndpoint in interface Reqpublic String getPayload()
getPayload in interface Reqpublic static ReturnCurrenciesWithPairs create()
public CurrencyPairs parse(com.fasterxml.jackson.databind.ObjectMapper mapper, String json)
parse in interface Parser<CurrencyPairs>public static CurrencyPairs fromJson(com.fasterxml.jackson.databind.ObjectMapper mapper, String body)
Copyright © 2019. All rights reserved.