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