Package com.adyen.model.balanceplatform
Enum PaymentInstrumentUpdateRequest.StatusReasonEnum
- java.lang.Object
-
- java.lang.Enum<PaymentInstrumentUpdateRequest.StatusReasonEnum>
-
- com.adyen.model.balanceplatform.PaymentInstrumentUpdateRequest.StatusReasonEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentInstrumentUpdateRequest.StatusReasonEnum>
- Enclosing class:
- PaymentInstrumentUpdateRequest
public static enum PaymentInstrumentUpdateRequest.StatusReasonEnum extends Enum<PaymentInstrumentUpdateRequest.StatusReasonEnum>
The reason for updating the status of the payment instrument. Possible values: **lost**, **stolen**, **damaged**, **suspectedFraud**, **expired**, **endOfLife**, **accountClosure**, **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 PaymentInstrumentUpdateRequest.StatusReasonEnumfromValue(String value)StringgetValue()StringtoString()static PaymentInstrumentUpdateRequest.StatusReasonEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentInstrumentUpdateRequest.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 PaymentInstrumentUpdateRequest.StatusReasonEnum ACCOUNTCLOSURE
-
DAMAGED
public static final PaymentInstrumentUpdateRequest.StatusReasonEnum DAMAGED
-
ENDOFLIFE
public static final PaymentInstrumentUpdateRequest.StatusReasonEnum ENDOFLIFE
-
EXPIRED
public static final PaymentInstrumentUpdateRequest.StatusReasonEnum EXPIRED
-
LOST
public static final PaymentInstrumentUpdateRequest.StatusReasonEnum LOST
-
OTHER
public static final PaymentInstrumentUpdateRequest.StatusReasonEnum OTHER
-
STOLEN
public static final PaymentInstrumentUpdateRequest.StatusReasonEnum STOLEN
-
SUSPECTEDFRAUD
public static final PaymentInstrumentUpdateRequest.StatusReasonEnum SUSPECTEDFRAUD
-
TRANSACTIONRULE
public static final PaymentInstrumentUpdateRequest.StatusReasonEnum TRANSACTIONRULE
-
-
Method Detail
-
values
public static PaymentInstrumentUpdateRequest.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 (PaymentInstrumentUpdateRequest.StatusReasonEnum c : PaymentInstrumentUpdateRequest.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 PaymentInstrumentUpdateRequest.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<PaymentInstrumentUpdateRequest.StatusReasonEnum>
-
fromValue
public static PaymentInstrumentUpdateRequest.StatusReasonEnum fromValue(String value)
-
-