public static enum SubAccountToSubAccount.SubAccountToTypeEnum extends Enum<SubAccountToSubAccount.SubAccountToTypeEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
SubAccountToSubAccount.SubAccountToTypeEnum.Adapter |
| Enum Constant and Description |
|---|
CROSS_MARGIN |
FUTURES |
SPOT |
| Modifier and Type | Method and Description |
|---|---|
static SubAccountToSubAccount.SubAccountToTypeEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static SubAccountToSubAccount.SubAccountToTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubAccountToSubAccount.SubAccountToTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubAccountToSubAccount.SubAccountToTypeEnum SPOT
public static final SubAccountToSubAccount.SubAccountToTypeEnum FUTURES
public static final SubAccountToSubAccount.SubAccountToTypeEnum CROSS_MARGIN
public static SubAccountToSubAccount.SubAccountToTypeEnum[] values()
for (SubAccountToSubAccount.SubAccountToTypeEnum c : SubAccountToSubAccount.SubAccountToTypeEnum.values()) System.out.println(c);
public static SubAccountToSubAccount.SubAccountToTypeEnum 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<SubAccountToSubAccount.SubAccountToTypeEnum>public static SubAccountToSubAccount.SubAccountToTypeEnum fromValue(String value)
Copyright © 2023. All rights reserved.