Package com.stripe.param.issuing
Enum CardUpdateParams.Status
- java.lang.Object
-
- java.lang.Enum<CardUpdateParams.Status>
-
- com.stripe.param.issuing.CardUpdateParams.Status
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<CardUpdateParams.Status>
- Enclosing class:
- CardUpdateParams
public static enum CardUpdateParams.Status extends java.lang.Enum<CardUpdateParams.Status> implements ApiRequestParams.EnumParam
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
static CardUpdateParams.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CardUpdateParams.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
@SerializedName("active") public static final CardUpdateParams.Status ACTIVE
-
CANCELED
@SerializedName("canceled") public static final CardUpdateParams.Status CANCELED
-
INACTIVE
@SerializedName("inactive") public static final CardUpdateParams.Status INACTIVE
-
-
Method Detail
-
values
public static CardUpdateParams.Status[] 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 (CardUpdateParams.Status c : CardUpdateParams.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardUpdateParams.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-
-