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