public enum JacksonJSON extends java.lang.Enum<JacksonJSON> implements JSON
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ApiKey |
apiKey(java.lang.String json) |
Balance |
balance(java.lang.String json) |
java.util.List<Balance> |
balances(java.lang.String json) |
java.lang.String |
cancelOrder(long __) |
java.util.List<Deposit> |
deposits(java.lang.String json) |
JSurbtcException |
exception(int statusCode,
java.lang.String json) |
java.util.List<Market> |
markets(java.lang.String json) |
java.lang.String |
newAPIKey(java.lang.String name,
java.time.Instant expiration) |
static com.fasterxml.jackson.databind.ObjectMapper |
newObjectMapper() |
java.lang.String |
newOrder(java.lang.String marketId,
java.lang.String orderType,
java.lang.String orderPriceType,
java.math.BigDecimal qty,
java.math.BigDecimal price) |
Order |
order(java.lang.String json) |
OrderBook |
orderBook(java.lang.String json) |
java.util.List<Order> |
orders(java.lang.String json) |
Page |
page(java.lang.String json) |
Ticker |
ticker(java.lang.String json) |
Trades |
trades(java.lang.String json) |
static JacksonJSON |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JacksonJSON[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
java.util.List<Withdrawal> |
withdrawls(java.lang.String json) |
public static final JacksonJSON INSTANCE
public static JacksonJSON[] values()
for (JacksonJSON c : JacksonJSON.values()) System.out.println(c);
public static JacksonJSON valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static com.fasterxml.jackson.databind.ObjectMapper newObjectMapper()
public java.lang.String newAPIKey(java.lang.String name,
java.time.Instant expiration)
throws java.io.IOException
public java.lang.String newOrder(java.lang.String marketId,
java.lang.String orderType,
java.lang.String orderPriceType,
java.math.BigDecimal qty,
java.math.BigDecimal price)
throws java.io.IOException
public java.lang.String cancelOrder(long __)
throws java.io.IOException
cancelOrder in interface JSONjava.io.IOExceptionpublic ApiKey apiKey(java.lang.String json) throws java.io.IOException
public java.util.List<Market> markets(java.lang.String json) throws java.io.IOException
public Order order(java.lang.String json) throws java.io.IOException
public Ticker ticker(java.lang.String json) throws java.io.IOException
public OrderBook orderBook(java.lang.String json) throws java.io.IOException
public Balance balance(java.lang.String json) throws java.io.IOException
public Trades trades(java.lang.String json) throws java.io.IOException
public java.util.List<Balance> balances(java.lang.String json) throws java.io.IOException
public java.util.List<Order> orders(java.lang.String json) throws java.io.IOException
public java.util.List<Deposit> deposits(java.lang.String json) throws java.io.IOException
public java.util.List<Withdrawal> withdrawls(java.lang.String json) throws java.io.IOException
withdrawls in interface JSONjava.io.IOExceptionpublic Page page(java.lang.String json) throws java.io.IOException
public JSurbtcException exception(int statusCode, java.lang.String json) throws java.lang.Exception