Enum Class ContextConstants
- All Implemented Interfaces:
Serializable, Comparable<ContextConstants>, Constable
Well-known keys for entries placed into a transaction
Context.
Each constant's toString() is the canonical context key used
across jPOS participants and adaptors. Refer to the source for a concise
description of each individual constant.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSettlement/transaction amount.Capture date for clearing/settlement.Cardholder/card data captured by the transaction.Database connection or session reserved for this transaction.Routing destination chosen for the transaction.International response code resolved during processing.Cardholder-billing amount in the cardholder's local currency.Aggregated log event for the transaction.Merchant identifier.Data elements echoed from the original message.MTI of the original message, when echoing or reversing.STAN of the original message, when echoing or reversing.Transmission timestamp of the original message.Panic flag indicating the transaction must abort immediately.Processing code.POS data code describing the entry environment.Per-transaction profiler instance.Inbound request message.Outbound response message.FinalResultof the transaction.Source channel/peer from which the request originated.Terminal identifier.Wall-clock timestamp captured when the transaction started.Transaction timestamp from the inbound message.Transmission timestamp from the inbound message.Database transaction handle, when applicable.Logical transaction name. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static ContextConstantsReturns the enum constant of this class with the specified name.static ContextConstants[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROFILER
Per-transaction profiler instance. -
TIMESTAMP
Wall-clock timestamp captured when the transaction started. -
SOURCE
Source channel/peer from which the request originated. -
REQUEST
Inbound request message. -
RESPONSE
Outbound response message. -
LOGEVT
Aggregated log event for the transaction. -
DB
Database connection or session reserved for this transaction. -
TX
Database transaction handle, when applicable. -
IRC
International response code resolved during processing. -
TXNNAME
Logical transaction name. -
RESULT
FinalResultof the transaction. -
MID
Merchant identifier. -
TID
Terminal identifier. -
PCODE
Processing code. -
CARD
Cardholder/card data captured by the transaction. -
TRANSMISSION_TIMESTAMP
Transmission timestamp from the inbound message. -
TRANSACTION_TIMESTAMP
Transaction timestamp from the inbound message. -
CAPTURE_DATE
Capture date for clearing/settlement. -
POS_DATA_CODE
POS data code describing the entry environment. -
AMOUNT
Settlement/transaction amount. -
LOCAL_AMOUNT
Cardholder-billing amount in the cardholder's local currency. -
ORIGINAL_MTI
MTI of the original message, when echoing or reversing. -
ORIGINAL_STAN
STAN of the original message, when echoing or reversing. -
ORIGINAL_TIMESTAMP
Transmission timestamp of the original message. -
ORIGINAL_DATA_ELEMENTS
Data elements echoed from the original message. -
DESTINATION
Routing destination chosen for the transaction. -
PANIC
Panic flag indicating the transaction must abort immediately.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<ContextConstants>
-