![Magtek ADYNAMO Programmer'S Reference Manual Download Page 26](http://html1.mh-extra.com/html/magtek/adynamo/adynamo_programmers-reference-manual_3704666026.webp)
3 –MTSCRA Class Methods
aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT| Secure Card Reader Authenticator | Programmer’s Reference (Android)
Page 26 of 42 (
D99875728-31
)
Parameter
Description
amount
Amount Authorized (EMV Tag 9F02, format n12, 6 bytes) in hex string
For example: “000000000999”, means 9.99 dollars.
transactionType
Valid values:
0x00 = Purchase (listed as “Payment” on ICS)
0x01 = Cash Advance (not supported for this reader)
0x02 or 0x09 = Cash back (0x09 not supported, contactless)
0x04 = Goods (Purchase)
0x08 = Services (Purchase)
0x10 = International Goods (Purchase)
0x20 = Refund
0x40 = International Cash Advance or Cash Back
0x80 = Domestic Cash Advance or Cash Back
cashBack
Cash back Amount (if non-zero, EMV Tag 9F03, format n12, 6 bytes) in
hex string.
For example: “000000001000”, means 10.00 dollars.
currencyCode
Transaction Currency Code (EMV Tag 5F2A, format n4, 2 bytes)
Sample Valid values:
0x0840 – US Dollar
0x0978 – Euro
0x0826 – UK Pound
reportingOption
This single byte field indicates the level of Transaction Status notifications
the host desires to receive during the course of this transaction.
0x00 = Termination Status only (normal termination, card error, timeout,
host cancel)
0x01 = Major Status changes (terminations plus card insertions and waiting
on user)
0x02 = All Status changes (documents the entire transaction flow)
Return Value:
0 = Success
9 = Error
15 = Busy
3.55
setUserSelectionResult (EMV Device Only)
This function sets the user selection result. It should be called after receiving the OnUserSelectRequest
event which is triggered after the user makes a selection.
public int setUserSelectionResult(byte status, byte selection)
Parameters: