Package com.adyen.model.checkout
Enum CheckoutPaymentsAction.CheckoutActionType
- java.lang.Object
-
- java.lang.Enum<CheckoutPaymentsAction.CheckoutActionType>
-
- com.adyen.model.checkout.CheckoutPaymentsAction.CheckoutActionType
-
- All Implemented Interfaces:
Serializable,Comparable<CheckoutPaymentsAction.CheckoutActionType>
- Enclosing class:
- CheckoutPaymentsAction
public static enum CheckoutPaymentsAction.CheckoutActionType extends Enum<CheckoutPaymentsAction.CheckoutActionType>
Enum that specifies the action that needs to be taken by the client.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckoutPaymentsAction.CheckoutActionType.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description AWAITBANKTRANSFERDONATEQRCODEREDIRECTSDKTHREEDS2VOUCHERWECHATPAYSDK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CheckoutPaymentsAction.CheckoutActionTypefromValue(String text)StringgetValue()StringtoString()static CheckoutPaymentsAction.CheckoutActionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CheckoutPaymentsAction.CheckoutActionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AWAIT
public static final CheckoutPaymentsAction.CheckoutActionType AWAIT
-
QRCODE
public static final CheckoutPaymentsAction.CheckoutActionType QRCODE
-
REDIRECT
public static final CheckoutPaymentsAction.CheckoutActionType REDIRECT
-
THREEDS2
public static final CheckoutPaymentsAction.CheckoutActionType THREEDS2
-
VOUCHER
public static final CheckoutPaymentsAction.CheckoutActionType VOUCHER
-
SDK
public static final CheckoutPaymentsAction.CheckoutActionType SDK
-
WECHATPAYSDK
public static final CheckoutPaymentsAction.CheckoutActionType WECHATPAYSDK
-
BANKTRANSFER
public static final CheckoutPaymentsAction.CheckoutActionType BANKTRANSFER
-
DONATE
public static final CheckoutPaymentsAction.CheckoutActionType DONATE
-
-
Method Detail
-
values
public static CheckoutPaymentsAction.CheckoutActionType[] 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 (CheckoutPaymentsAction.CheckoutActionType c : CheckoutPaymentsAction.CheckoutActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckoutPaymentsAction.CheckoutActionType 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<CheckoutPaymentsAction.CheckoutActionType>
-
fromValue
public static CheckoutPaymentsAction.CheckoutActionType fromValue(String text)
-
-