Package io.moov.sdk.models.components
Enum CardUpdateReason
- java.lang.Object
-
- java.lang.Enum<CardUpdateReason>
-
- io.moov.sdk.models.components.CardUpdateReason
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CardUpdateReason>
public enum CardUpdateReason extends java.lang.Enum<CardUpdateReason>
CardUpdateReasonThe results of the card update request.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNT_CLOSEDCONTACT_CARDHOLDEREXPIRATION_UPDATENO_CHANGENO_MATCHNUMBER_UPDATEUNSPECIFIED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<CardUpdateReason>fromValue(java.lang.String value)java.lang.Stringvalue()static CardUpdateReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CardUpdateReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final CardUpdateReason UNSPECIFIED
-
ACCOUNT_CLOSED
public static final CardUpdateReason ACCOUNT_CLOSED
-
CONTACT_CARDHOLDER
public static final CardUpdateReason CONTACT_CARDHOLDER
-
EXPIRATION_UPDATE
public static final CardUpdateReason EXPIRATION_UPDATE
-
NO_CHANGE
public static final CardUpdateReason NO_CHANGE
-
NO_MATCH
public static final CardUpdateReason NO_MATCH
-
NUMBER_UPDATE
public static final CardUpdateReason NUMBER_UPDATE
-
-
Method Detail
-
values
public static CardUpdateReason[] 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 (CardUpdateReason c : CardUpdateReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardUpdateReason 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<CardUpdateReason> fromValue(java.lang.String value)
-
-