Package io.moov.sdk.models.components
Enum IssuedCardState
- java.lang.Object
-
- java.lang.Enum<IssuedCardState>
-
- io.moov.sdk.models.components.IssuedCardState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IssuedCardState>
public enum IssuedCardState extends java.lang.Enum<IssuedCardState>
IssuedCardStateThe `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.
- `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation. - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process. - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires. - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVECLOSEDINACTIVEPENDING_VERIFICATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<IssuedCardState>fromValue(java.lang.String value)java.lang.Stringvalue()static IssuedCardStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IssuedCardState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final IssuedCardState ACTIVE
-
INACTIVE
public static final IssuedCardState INACTIVE
-
PENDING_VERIFICATION
public static final IssuedCardState PENDING_VERIFICATION
-
CLOSED
public static final IssuedCardState CLOSED
-
-
Method Detail
-
values
public static IssuedCardState[] 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 (IssuedCardState c : IssuedCardState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IssuedCardState 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
-
value
public java.lang.String value()
-
fromValue
public static java.util.Optional<IssuedCardState> fromValue(java.lang.String value)
-
-