Package com.adyen.model.nexo
Enum TransactionActionType
- java.lang.Object
-
- java.lang.Enum<TransactionActionType>
-
- com.adyen.model.nexo.TransactionActionType
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionActionType>
public enum TransactionActionType extends Enum<TransactionActionType>
Java class for TransactionActionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TransactionActionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="StartTransaction"/> <enumeration value="AbortTransaction"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORT_TRANSACTIONAbort a transaction started either by a CardAcquisition or EnableService with TransactionAction to "StartTransaction", not followed by a service request fromSTART_TRANSACTIONStart a transaction by a swipe ahead mechanism, with the services which are enabled.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionActionTypefromValue(String v)From value transaction action type.Stringvalue()Value string.static TransactionActionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionActionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_TRANSACTION
public static final TransactionActionType START_TRANSACTION
Start a transaction by a swipe ahead mechanism, with the services which are enabled.
-
ABORT_TRANSACTION
public static final TransactionActionType ABORT_TRANSACTION
Abort a transaction started either by a CardAcquisition or EnableService with TransactionAction to "StartTransaction", not followed by a service request from
-
-
Method Detail
-
values
public static TransactionActionType[] 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 (TransactionActionType c : TransactionActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionActionType 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
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static TransactionActionType fromValue(String v)
From value transaction action type.- Parameters:
v- the v- Returns:
- the transaction action type
-
-