![Magtek DYNAMAG Скачать руководство пользователя страница 39](http://html.mh-extra.com/html/magtek/dynamag/dynamag_instruction-manual_694747039.webp)
3 - MTSCRA Functions
Dynamag, DynaMAX, eDynamo, mDynamo, tDynamo, DynaWave, and iDynamo 6| Secure Card Reader Authenticators | Programmer’s
Reference (Java and Java Applet)
Page 39
currencyCode
Transaction Currency Code (EMV Tag 5F2A, format n4, 2 bytes)
Sample Valid values:
0x0840 – US Dollar
0x0978 – Euro
0x0826 – UK Pound
mode
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, card insertions, waiting on user)
0x02 = All Status changes
(documents the entire transaction flow)
Return Value: This function will always return an empty string. To get the result cold of this command,
use getResultCode() function.
3.56
setUserSelectionResult (EMV 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.
byte[] setUserSelectionResult(byte status, byte selection);
Parameter
Description
status
Indicates the status of User Selection:
0x00 – User Selection Request completed, see Selection Result
0x01 – User Selection Request aborted, cancelled by user
0x02 – User Selection Request aborted, timeout
selection
Indicates the menu item selected by the user. This is a single byte zero
based binary value.
Return Value: This function will always returns an empty string. To get the result code of this command,
use getResultCode() function.
3.57
setAcquirerResponse (EMV Only)
This function informs EMV device to process transaction decision from acquirer.
byte[] setAcquirerResponse(byte[] response);
Parameter
Description
response
. Hex string for the response data. First two bytes indicate message
length, following TLV response message.
Return Value: This function will always returns an empty string. To get the result code of this command,
use getResultCode() function.