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 INSTALLMENTEstablish credentials on file for installment paymentRECURRINGEstablish credentials on file for recurring paymentRECURRING_FIXEDEstablish credentials on file for recurring payment, with fixed amountRECURRING_FIXED_SUBSEQUENTEstablish credentials on file for recurring subsequent payment, with fixed amountRECURRING_SUBSEQUENTEstablish credentials on file for recurring subsequent payment, with variable amountUNSCHEDULEDEstablish credentials on file for unscheduled payment
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransactionReasonvalueOf(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.
-
RECURRING_FIXED
public static final TransactionReason RECURRING_FIXED
Establish credentials on file for recurring payment, with fixed amount
Specification: retail.
-
RECURRING_SUBSEQUENT
public static final TransactionReason RECURRING_SUBSEQUENT
Establish credentials on file for recurring subsequent payment, with variable amount
Specification: retail.
-
RECURRING_FIXED_SUBSEQUENT
public static final TransactionReason RECURRING_FIXED_SUBSEQUENT
Establish credentials on file for recurring subsequent payment, with fixed amount
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
-
-