Package com.wallee.android.till.sdk.data
Enum TransactionProcessingBehavior
- java.lang.Object
-
- java.lang.Enum<TransactionProcessingBehavior>
-
- com.wallee.android.till.sdk.data.TransactionProcessingBehavior
-
- All Implemented Interfaces:
Serializable
,Comparable<TransactionProcessingBehavior>
public enum TransactionProcessingBehavior extends Enum<TransactionProcessingBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJUST_RESERVATION
Adjust reservation.COMPLETE_DEFERRED
Complete deferred.COMPLETE_IMMEDIATELY
Complete the transaction immediately.RESERVE
Reserve the transaction.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransactionProcessingBehavior
valueOf(String name)
Returns the enum constant of this type with the specified name.static TransactionProcessingBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPLETE_IMMEDIATELY
public static final TransactionProcessingBehavior COMPLETE_IMMEDIATELY
Complete the transaction immediately.
-
RESERVE
public static final TransactionProcessingBehavior RESERVE
Reserve the transaction.
-
COMPLETE_DEFERRED
public static final TransactionProcessingBehavior COMPLETE_DEFERRED
Complete deferred.
-
ADJUST_RESERVATION
public static final TransactionProcessingBehavior ADJUST_RESERVATION
Adjust reservation.
-
-
Method Detail
-
values
public static TransactionProcessingBehavior[] 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 (TransactionProcessingBehavior c : TransactionProcessingBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionProcessingBehavior 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
-
-