Package com.adyen.model.checkout
Enum ThreeDS2RequestData.TransTypeEnum
- java.lang.Object
-
- java.lang.Enum<ThreeDS2RequestData.TransTypeEnum>
-
- com.adyen.model.checkout.ThreeDS2RequestData.TransTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ThreeDS2RequestData.TransTypeEnum>
- Enclosing class:
- ThreeDS2RequestData
public static enum ThreeDS2RequestData.TransTypeEnum extends Enum<ThreeDS2RequestData.TransTypeEnum>
Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThreeDS2RequestData.TransTypeEnumfromValue(String value)StringgetValue()StringtoString()static ThreeDS2RequestData.TransTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ThreeDS2RequestData.TransTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_01
public static final ThreeDS2RequestData.TransTypeEnum _01
-
_03
public static final ThreeDS2RequestData.TransTypeEnum _03
-
_10
public static final ThreeDS2RequestData.TransTypeEnum _10
-
_11
public static final ThreeDS2RequestData.TransTypeEnum _11
-
_28
public static final ThreeDS2RequestData.TransTypeEnum _28
-
-
Method Detail
-
values
public static ThreeDS2RequestData.TransTypeEnum[] 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 (ThreeDS2RequestData.TransTypeEnum c : ThreeDS2RequestData.TransTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThreeDS2RequestData.TransTypeEnum 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<ThreeDS2RequestData.TransTypeEnum>
-
fromValue
public static ThreeDS2RequestData.TransTypeEnum fromValue(String value)
-
-