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