Enum CoinbaseBuySellLevel
- java.lang.Object
-
- java.lang.Enum<CoinbaseBuySellLevel>
-
- org.knowm.xchange.coinbase.dto.account.CoinbaseBuySellLevel
-
- All Implemented Interfaces:
Serializable,Comparable<CoinbaseBuySellLevel>
public enum CoinbaseBuySellLevel extends Enum<CoinbaseBuySellLevel>
- Author:
- jamespedwards42
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoinbaseBuySellLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static CoinbaseBuySellLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONE
public static final CoinbaseBuySellLevel ONE
-
TWO
public static final CoinbaseBuySellLevel TWO
-
THREE
public static final CoinbaseBuySellLevel THREE
-
-
Method Detail
-
values
public static CoinbaseBuySellLevel[] 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 (CoinbaseBuySellLevel c : CoinbaseBuySellLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoinbaseBuySellLevel 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
-
-