public class CrossMarginAccountBook extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CrossMarginAccountBook.TypeEnum
Account change type, including: - in: transferals into cross margin account - out: transferals out from cross margin account - repay: loan repayment - borrow: borrowed loan - new_order: new order locked - order_fill: order fills - referral_fee: fee refund from referrals - order_fee: order fee generated from fills - unknown: unknown type
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_BALANCE |
static String |
SERIALIZED_NAME_CHANGE |
static String |
SERIALIZED_NAME_CURRENCY |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_TIME |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
CrossMarginAccountBook() |
| Modifier and Type | Method and Description |
|---|---|
CrossMarginAccountBook |
balance(String balance) |
CrossMarginAccountBook |
change(String change) |
CrossMarginAccountBook |
currency(String currency) |
boolean |
equals(Object o) |
String |
getBalance()
Balance after change
|
String |
getChange()
Amount changed.
|
String |
getCurrency()
Currency changed
|
String |
getId()
Balance change record ID
|
Long |
getTime()
Account changed timestamp in milliseconds
|
CrossMarginAccountBook.TypeEnum |
getType()
Account change type, including: - in: transferals into cross margin account - out: transferals out from cross margin account - repay: loan repayment - borrow: borrowed loan - new_order: new order locked - order_fill: order fills - referral_fee: fee refund from referrals - order_fee: order fee generated from fills - unknown: unknown type
|
int |
hashCode() |
CrossMarginAccountBook |
id(String id) |
void |
setBalance(String balance) |
void |
setChange(String change) |
void |
setCurrency(String currency) |
void |
setId(String id) |
void |
setTime(Long time) |
void |
setType(CrossMarginAccountBook.TypeEnum type) |
CrossMarginAccountBook |
time(Long time) |
String |
toString() |
CrossMarginAccountBook |
type(CrossMarginAccountBook.TypeEnum type) |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_TIME
public static final String SERIALIZED_NAME_CURRENCY
public static final String SERIALIZED_NAME_CHANGE
public static final String SERIALIZED_NAME_BALANCE
public static final String SERIALIZED_NAME_TYPE
public CrossMarginAccountBook id(String id)
public void setId(String id)
public CrossMarginAccountBook time(Long time)
public void setTime(Long time)
public CrossMarginAccountBook currency(String currency)
public void setCurrency(String currency)
public CrossMarginAccountBook change(String change)
@Nullable public String getChange()
public void setChange(String change)
public CrossMarginAccountBook balance(String balance)
public void setBalance(String balance)
public CrossMarginAccountBook type(CrossMarginAccountBook.TypeEnum type)
@Nullable public CrossMarginAccountBook.TypeEnum getType()
public void setType(CrossMarginAccountBook.TypeEnum type)
Copyright © 2021. All rights reserved.