Package com.adyen.model.checkout
Enum ThreeDS2RequestFields.TransTypeEnum
- java.lang.Object
-
- java.lang.Enum<ThreeDS2RequestFields.TransTypeEnum>
-
- com.adyen.model.checkout.ThreeDS2RequestFields.TransTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ThreeDS2RequestFields.TransTypeEnum>
- Enclosing class:
- ThreeDS2RequestFields
public static enum ThreeDS2RequestFields.TransTypeEnum extends Enum<ThreeDS2RequestFields.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 ThreeDS2RequestFields.TransTypeEnumfromValue(String value)StringgetValue()StringtoString()static ThreeDS2RequestFields.TransTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ThreeDS2RequestFields.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 ThreeDS2RequestFields.TransTypeEnum _01
-
_03
public static final ThreeDS2RequestFields.TransTypeEnum _03
-
_10
public static final ThreeDS2RequestFields.TransTypeEnum _10
-
_11
public static final ThreeDS2RequestFields.TransTypeEnum _11
-
_28
public static final ThreeDS2RequestFields.TransTypeEnum _28
-
-
Method Detail
-
values
public static ThreeDS2RequestFields.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 (ThreeDS2RequestFields.TransTypeEnum c : ThreeDS2RequestFields.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 ThreeDS2RequestFields.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<ThreeDS2RequestFields.TransTypeEnum>
-
fromValue
public static ThreeDS2RequestFields.TransTypeEnum fromValue(String value)
-
-