Package com.six.timapi.constants
Enum TransactionReason
- java.lang.Object
-
- java.lang.Enum<TransactionReason>
-
- com.six.timapi.constants.TransactionReason
-
- All Implemented Interfaces:
Serializable
,Comparable<TransactionReason>
public enum TransactionReason extends Enum<TransactionReason>
Contains information on the purpose of the transaction and the credential on file establishment.
Specification: retail.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTALLMENT
Establish credentials on file for installment paymentRECURRING
Establish credentials on file for recurring paymentUNSCHEDULED
Establish credentials on file for unscheduled payment
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransactionReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static TransactionReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTALLMENT
public static final TransactionReason INSTALLMENT
Establish credentials on file for installment payment
Specification: retail.
-
RECURRING
public static final TransactionReason RECURRING
Establish credentials on file for recurring payment
Specification: retail.
-
UNSCHEDULED
public static final TransactionReason UNSCHEDULED
Establish credentials on file for unscheduled payment
Specification: retail.
-
-
Method Detail
-
values
public static TransactionReason[] 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 (TransactionReason c : TransactionReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionReason 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
-
-