public class Transaction
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static interface |
Transaction.Currency
Defines constants for Currency code - ISO 4217 Alpha Currency Code.
|
static interface |
Transaction.MessageType
Defines constants for Message types.
|
static interface |
Transaction.TransactionOriginIdentifier
Defines constants for Transaction Origin Identifier.
|
static interface |
Transaction.TransactionOriginIndicator
Defines constants for Transaction Origin Indicator.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
amount
Transaction Amount.
|
java.lang.String |
authorNum
For Gratuity (msg type 0009): authorization number of the original transaction.
|
java.lang.String |
cardNum
Depends on the transaction scenario:
Standard Pin Pad transaction: should be empty. Manual PAN input: card number + "_" + exp. |
java.lang.String |
currency
ISO 4217 Alpha Currency Code (e.g.
|
java.lang.String |
cvc2
Card Verification Code.
|
java.lang.String |
dateTime
Transaction date and time (Format = yyyymmddhhmmss).
|
java.lang.String |
desCurrency
ISO 4217 Alpha Currency Code (e.g.
|
java.lang.String |
ecrdata
ECR Data field is used to transfer user information for private labeled cards like Fleet Card Company (e.g.
|
java.lang.String |
ID
Transaction unique numeric identifier.
|
java.lang.String |
langCode
ISO 639-1 language code used by Pin Pads user interface during the transaction (e.g.
|
java.lang.String |
msgType
Message type, one of following:
0001 = Purchase, Balance or Preauthorization (See field 21), 0005 = Purchase with authorization number, 0009 = Gratuity, 0011 = Credit note, 0013 = Cancellation/Capture, 0015 = Pre-paid (Mobile Recharge), 0017 = Abort ongoing transaction 0018 = External reader device restart command 0027 = Voucher/Coupon generation, 0029 = Card to Card transfer, 4544 = Kill application 9043 = Get terminal status, 9999 = Initiate CTLS tap event simulator, 2667 = Get connection status. Length : 4 Type : Numeric |
java.lang.String |
originInd
0 = request for card data on PIN PAD.
|
java.lang.String |
password
Password - currently not used (filled with spaces).
|
java.lang.String |
paymentReason
Payment reason (e.g.
|
java.lang.String |
personalID
Identification of current user of the ECR or Terminal.
|
java.lang.String |
receiptLayout
Receipt layout identifier.
|
java.lang.String |
receiptNum
Receipt number.
|
java.lang.String |
sourceID
Identification number of the authorization source.
|
java.lang.String |
terminalNum
Terminal number.
|
java.lang.String |
transPlace
First 5 characters should contain formatted zip code.
|
java.lang.String |
txOrigin
1 = Face to Face : if Customer is present
2 = MOTO : Customer not Present
4 = Capture/Completion
5 = Pre Authorization
7 = Balance
Length : 1 Type : Numeric |
Constructor and Description |
---|
Transaction() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTag() |
void |
setTag(java.lang.String tag) |
java.lang.String |
toString() |
public java.lang.String ID
public java.lang.String terminalNum
public java.lang.String msgType
public java.lang.String sourceID
public java.lang.String cardNum
public java.lang.String cvc2
public java.lang.String amount
public java.lang.String currency
public java.lang.String receiptNum
public java.lang.String paymentReason
public java.lang.String transPlace
public java.lang.String authorNum
public java.lang.String originInd
public java.lang.String password
public java.lang.String ecrdata
public java.lang.String langCode
public java.lang.String receiptLayout
public java.lang.String desCurrency
public java.lang.String txOrigin
public java.lang.String personalID
public java.lang.String dateTime