public static enum CrossMarginAccountBook.TypeEnum extends Enum<CrossMarginAccountBook.TypeEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
CrossMarginAccountBook.TypeEnum.Adapter |
| Enum Constant and Description |
|---|
BORROW |
IN |
NEW_ORDER |
ORDER_FEE |
ORDER_FILL |
OUT |
REFERRAL_FEE |
REPAY |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static CrossMarginAccountBook.TypeEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static CrossMarginAccountBook.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrossMarginAccountBook.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrossMarginAccountBook.TypeEnum IN
public static final CrossMarginAccountBook.TypeEnum OUT
public static final CrossMarginAccountBook.TypeEnum REPAY
public static final CrossMarginAccountBook.TypeEnum BORROW
public static final CrossMarginAccountBook.TypeEnum NEW_ORDER
public static final CrossMarginAccountBook.TypeEnum ORDER_FILL
public static final CrossMarginAccountBook.TypeEnum REFERRAL_FEE
public static final CrossMarginAccountBook.TypeEnum ORDER_FEE
public static final CrossMarginAccountBook.TypeEnum UNKNOWN
public static CrossMarginAccountBook.TypeEnum[] values()
for (CrossMarginAccountBook.TypeEnum c : CrossMarginAccountBook.TypeEnum.values()) System.out.println(c);
public static CrossMarginAccountBook.TypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<CrossMarginAccountBook.TypeEnum>public static CrossMarginAccountBook.TypeEnum fromValue(String value)
Copyright © 2021. All rights reserved.