Package com.adyen.model.balanceplatform
Enum UpdatePaymentInstrument.StatusReasonEnum
- java.lang.Object
-
- java.lang.Enum<UpdatePaymentInstrument.StatusReasonEnum>
-
- com.adyen.model.balanceplatform.UpdatePaymentInstrument.StatusReasonEnum
-
- All Implemented Interfaces:
Serializable,Comparable<UpdatePaymentInstrument.StatusReasonEnum>
- Enclosing class:
- UpdatePaymentInstrument
public static enum UpdatePaymentInstrument.StatusReasonEnum extends Enum<UpdatePaymentInstrument.StatusReasonEnum>
The reason for the status of the payment instrument. Possible values: **accountClosure**, **damaged**, **endOfLife**, **expired**, **lost**, **stolen**, **suspectedFraud**, **transactionRule**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNTCLOSUREDAMAGEDENDOFLIFEEXPIREDLOSTOTHERSTOLENSUSPECTEDFRAUDTRANSACTIONRULE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdatePaymentInstrument.StatusReasonEnumfromValue(String value)StringgetValue()StringtoString()static UpdatePaymentInstrument.StatusReasonEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static UpdatePaymentInstrument.StatusReasonEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCOUNTCLOSURE
public static final UpdatePaymentInstrument.StatusReasonEnum ACCOUNTCLOSURE
-
DAMAGED
public static final UpdatePaymentInstrument.StatusReasonEnum DAMAGED
-
ENDOFLIFE
public static final UpdatePaymentInstrument.StatusReasonEnum ENDOFLIFE
-
EXPIRED
public static final UpdatePaymentInstrument.StatusReasonEnum EXPIRED
-
LOST
public static final UpdatePaymentInstrument.StatusReasonEnum LOST
-
OTHER
public static final UpdatePaymentInstrument.StatusReasonEnum OTHER
-
STOLEN
public static final UpdatePaymentInstrument.StatusReasonEnum STOLEN
-
SUSPECTEDFRAUD
public static final UpdatePaymentInstrument.StatusReasonEnum SUSPECTEDFRAUD
-
TRANSACTIONRULE
public static final UpdatePaymentInstrument.StatusReasonEnum TRANSACTIONRULE
-
-
Method Detail
-
values
public static UpdatePaymentInstrument.StatusReasonEnum[] 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 (UpdatePaymentInstrument.StatusReasonEnum c : UpdatePaymentInstrument.StatusReasonEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdatePaymentInstrument.StatusReasonEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<UpdatePaymentInstrument.StatusReasonEnum>
-
fromValue
public static UpdatePaymentInstrument.StatusReasonEnum fromValue(String value)
-
-