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