public static enum Order.Status extends Enum<Order.Status>
Enum Constant and Description |
---|
ACCEPTED |
CANCELED |
FILLED |
NOT_FOUND |
PARTIALLY_FILLED |
Modifier and Type | Method and Description |
---|---|
static Order.Status |
fromString(String json) |
boolean |
isActive() |
static Order.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Order.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Order.Status ACCEPTED
public static final Order.Status FILLED
public static final Order.Status PARTIALLY_FILLED
public static final Order.Status CANCELED
public static final Order.Status NOT_FOUND
public static Order.Status[] values()
for (Order.Status c : Order.Status.values()) System.out.println(c);
public static Order.Status 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 static Order.Status fromString(String json)
public boolean isActive()
Copyright © 2019. All rights reserved.