Enum CoinbaseScope
- java.lang.Object
-
- java.lang.Enum<CoinbaseScope>
-
- org.knowm.xchange.coinbase.dto.auth.CoinbaseScope
-
- All Implemented Interfaces:
Serializable,Comparable<CoinbaseScope>
public enum CoinbaseScope extends Enum<CoinbaseScope>
- Author:
- jamespedwards42
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoinbaseScopevalueOf(String name)Returns the enum constant of this type with the specified name.static CoinbaseScope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final CoinbaseScope ALL
-
MERCHANT
public static final CoinbaseScope MERCHANT
-
BALANCE
public static final CoinbaseScope BALANCE
-
USER
public static final CoinbaseScope USER
-
ADDRESSES
public static final CoinbaseScope ADDRESSES
-
BUTTONS
public static final CoinbaseScope BUTTONS
-
BUY
public static final CoinbaseScope BUY
-
SELL
public static final CoinbaseScope SELL
-
CONTACTS
public static final CoinbaseScope CONTACTS
-
ORDERS
public static final CoinbaseScope ORDERS
-
TRANSACTIONS
public static final CoinbaseScope TRANSACTIONS
-
SEND
public static final CoinbaseScope SEND
-
REQUEST
public static final CoinbaseScope REQUEST
-
TRANSFERS
public static final CoinbaseScope TRANSFERS
-
RECURRING_PAYMENTS
public static final CoinbaseScope RECURRING_PAYMENTS
-
-
Method Detail
-
values
public static CoinbaseScope[] 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 (CoinbaseScope c : CoinbaseScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoinbaseScope 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
-
-