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