Enum CoinbaseOrder.CoinbaseOrderStatus
- java.lang.Object
-
- java.lang.Enum<CoinbaseOrder.CoinbaseOrderStatus>
-
- org.knowm.xchange.coinbase.dto.merchant.CoinbaseOrder.CoinbaseOrderStatus
-
- All Implemented Interfaces:
Serializable,Comparable<CoinbaseOrder.CoinbaseOrderStatus>
- Enclosing class:
- CoinbaseOrder
public static enum CoinbaseOrder.CoinbaseOrderStatus extends Enum<CoinbaseOrder.CoinbaseOrderStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoinbaseOrder.CoinbaseOrderStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static CoinbaseOrder.CoinbaseOrderStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final CoinbaseOrder.CoinbaseOrderStatus NEW
-
COMPLETED
public static final CoinbaseOrder.CoinbaseOrderStatus COMPLETED
-
CANCELED
public static final CoinbaseOrder.CoinbaseOrderStatus CANCELED
-
-
Method Detail
-
values
public static CoinbaseOrder.CoinbaseOrderStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CoinbaseOrder.CoinbaseOrderStatus c : CoinbaseOrder.CoinbaseOrderStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoinbaseOrder.CoinbaseOrderStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-