public class FlashSwapOrder extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_BUY_AMOUNT |
static String |
SERIALIZED_NAME_BUY_CURRENCY |
static String |
SERIALIZED_NAME_CREATE_TIME |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_PRICE |
static String |
SERIALIZED_NAME_SELL_AMOUNT |
static String |
SERIALIZED_NAME_SELL_CURRENCY |
static String |
SERIALIZED_NAME_STATUS |
static String |
SERIALIZED_NAME_USER_ID |
| Constructor and Description |
|---|
FlashSwapOrder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getBuyAmount()
Amount to buy
|
String |
getBuyCurrency()
Currency to buy
|
Long |
getCreateTime()
Creation time of order (in milliseconds)
|
Long |
getId()
Flash swap order ID
|
String |
getPrice()
Price
|
String |
getSellAmount()
Amount to sell
|
String |
getSellCurrency()
Currency to sell
|
Integer |
getStatus()
Flash swap order status `1` - success `2` - failure
|
Long |
getUserId()
User ID
|
int |
hashCode() |
String |
toString() |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_CREATE_TIME
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_SELL_CURRENCY
public static final String SERIALIZED_NAME_SELL_AMOUNT
public static final String SERIALIZED_NAME_BUY_CURRENCY
public static final String SERIALIZED_NAME_BUY_AMOUNT
public static final String SERIALIZED_NAME_PRICE
public static final String SERIALIZED_NAME_STATUS
Copyright © 2023. All rights reserved.