12 - MTUSDK Enumerations
MagTek Universal SDK| For MMS Devices | Programmer’s Manual ( Java )
Page 41
Enum
Description
MSR
For magnetic stripe cards.
Contact
For EMV chip cards.
Contactless
For NFC contactless cards.
ManualEntry
For user to manually enter transaction data without any card
access.
12.6
StatusCode
This enum refers to returned status code of a function call.
Enum
Description
SUCCESS
Operation completed successfully.
TIMEOUT
Operation timed out before completion.
ERROR
Error in the operation.
UNAVAILABLE
Status currently unavailable.
12.7
TransactionStatus
This enum refers to the status of the transaction.
Enum
Description
NoStatus
Set before the start of a transaction and before a card is
presented to the device.
NoTransaction
No transaction is progress.
CardSwiped
A card was swiped into the device.
CardInserted
A card was inserted into the device.
CardRemoved
A card was removed from the device.
CardDetected
A card was detected by the device.
CardCollision
A card collision was detected by the device.
TimedOut
The transaction was not completed before a timeout period.
HostCanceled
The host software sent a cancel.
TransactionCanceled
The transaction was canceled.
TransactionInProgress
The transactions is in progress.
TransactionError
There is an error during the transaction.
TransactionApproved
The transactions is approved.
TransactionDeclined
The transactions is declined.
TransactionCompleted
The transaction is completed.