public enum TransactionType extends Enum<TransactionType>
Defines the type of transaction.
Used as attribute to classify the transaction in the
The following values are valid:
Specifications: retail, petrol, advancedRetail, banking, hospitality, valueAddedServices.
Enum Constant and Description |
---|
ADJUST_RESERVATION
Adjust reservation function.
|
AUTHORIZE_CREDIT
Authorize credit
|
AUTHORIZE_DEPOSIT
Authorize deposit
|
CANCEL_RESERVATION
Cancel reservation function.
|
CASH_ADVANCE
Cash advance function.
|
COLLECT_POINTS
Collect Points
|
COMBINED
Combined
|
CREDIT
Credit transaction.
|
FINALIZE_PURCHASE
Finalize purchase / Online advice function.
|
GIRO
Giro
|
LOAD_VOUCHER
Load Voucher.
|
PRE_AUTHORIZATION
PreAuthorization function.
|
PURCHASE
Sale transaction.
|
PURCHASE_FORCED_ACCEPTANCE
Purchase function with forced acceptance function.
|
PURCHASE_MAIL_ORDERED
Purchase function mail ordered.
|
PURCHASE_PHONE_AUTHORIZED
Purchase function phone authorized.
|
PURCHASE_PHONE_ORDERED
Purchase function phone ordered.
|
PURCHASE_RESERVATION
Purchase reservation function.
|
PURCHASE_RESERVATION_PHONE_AUTHORIZED
Purchase reservation phone authorized function.
|
PURCHASE_WITH_CASHBACK
Purchase function with cashback amount.
|
RESERVATION
Reservation function.
|
REVERSAL
Reversal of a transaction.
|
Modifier and Type | Method and Description |
---|---|
static TransactionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionType PURCHASE
Sale transaction.
Specification: retail.
public static final TransactionType CREDIT
Credit transaction. (Refund)
Specification: retail.
public static final TransactionType REVERSAL
Reversal of a transaction.
Specification: retail.
public static final TransactionType PRE_AUTHORIZATION
PreAuthorization function.
Specification: petrol.
public static final TransactionType FINALIZE_PURCHASE
Finalize purchase / Online advice function.
Specification: petrol.
public static final TransactionType CASH_ADVANCE
Cash advance function.
Specification: advancedRetail.
public static final TransactionType PURCHASE_FORCED_ACCEPTANCE
Purchase function with forced acceptance function.
Specification: advancedRetail.
public static final TransactionType PURCHASE_WITH_CASHBACK
Purchase function with cashback amount.
Specification: advancedRetail.
public static final TransactionType PURCHASE_PHONE_AUTHORIZED
Purchase function phone authorized.
Specification: advancedRetail.
public static final TransactionType PURCHASE_PHONE_ORDERED
Purchase function phone ordered.
Specification: advancedRetail.
public static final TransactionType PURCHASE_MAIL_ORDERED
Purchase function mail ordered.
Specification: advancedRetail.
public static final TransactionType GIRO
Giro
Specification: banking.
public static final TransactionType COMBINED
Combined
Specification: banking.
public static final TransactionType AUTHORIZE_CREDIT
Authorize credit
Specification: banking.
public static final TransactionType AUTHORIZE_DEPOSIT
Authorize deposit
Specification: banking.
public static final TransactionType RESERVATION
Reservation function.
Specification: hospitality.
public static final TransactionType ADJUST_RESERVATION
Adjust reservation function.
Specification: hospitality.
public static final TransactionType CANCEL_RESERVATION
Cancel reservation function.
Specification: hospitality.
public static final TransactionType PURCHASE_RESERVATION
Purchase reservation function.
Specification: hospitality.
public static final TransactionType PURCHASE_RESERVATION_PHONE_AUTHORIZED
Purchase reservation phone authorized function.
Specification: hospitality.
public static final TransactionType LOAD_VOUCHER
Load Voucher.
Specification: valueAddedServices.
public static final TransactionType COLLECT_POINTS
Collect Points
Specification: valueAddedServices.
public static TransactionType[] values()
for (TransactionType c : TransactionType.values()) System.out.println(c);
public static TransactionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null