For the complete documentation index, see llms.txt. This page is also available as Markdown.

Data Classes

BarCodeData

(instancetype) NewBarCodeData: (NSData*) data
                Ksn: (NSData*) ksn 
                encrypted: (BOOL) encrypted
                encryption: (Byte) encryption;

BarCodeData

Member

Type/ Format

Description

Data

NSData*

Data payload

Encrypted

Bool

0x00 = data is not encrypted 0x01 = data is encrypted

EncryptionType

Byte

Encryption type

KSN

NSData*

Key Serial Number

NewBarCodeData()

Initializes a BarCodeData.

CertificateInfo

CertificateInfo is used for the connection to a devices requiring client credentials. See the following for details on installing a certificate chain: DYNAFLEX TLS CERTIFICATE INSTALLATION MANUAL

CertificateInfo

Member

Type/ Format

Description

format

NSString*

Certificate data format. “PKCS12” – for .p12 file. “PFX” – for .pfx file.

data

NSData*

Certificate data.

password

NSString*

Password to access the certificate data.

inithWithFormat()

Initializes CertificateInfo.

IData

IData is used for the payload of events and passing data to functions. When assigning the member StringValue, the member ByteArray is automatically assigned. Same is true vice versa. In this way either a string or an array can be accessed without need of data conversion.

IData

Member

Type/ Format

Description

StringValue

NSString*

String value

ByteArray

NSData*

Byte array

dataWithString()

NSString*

Initializes an IData from an NSString.

dataWithData()

NSData*

Initializes an IData from an NSData.

dataWithHex()

NSString*

Initializes an IData from an NSString formatted as hexadecimal.

Example of using IData.

IResult

Contains status and data of operations of return type IResult.

ITransaction

This is the interface used as the parameter for startTransaction(). For an example, see the sample code in IDevice Walk Through.

ITransaction

Member

Type/ Format

Description

Timeout

Byte

Transaction timeout in seconds. Default is 60 seconds.

Usage:

0 to 255 - Depending on the device, 0 means no timeout.

PaymentMethods

PaymentMethod

List of the PaymentMethod enumeration.

Usage:

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. When set to ManualEntry, the other payment methods do not apply.

BarCode - Reserved for future use. AppleVAS - Reserved for future use. BarCodeEncryped - Reserved for future use. NFC - For NFC MiFare.

GoogleVAS - Reserved for future use.

QuickChip

BOOL

In QuickChip mode, the device does not prompt for an amount. Device sends an ARQC request to the host. Device automatically populates the ARPC response data with EMV Tag 8A set to “Z3”. Card holder is prompted to remove the card. Transaction result is later determined by the processor and not by the card.

Usage:

false - Do not enable QuickChip mode.

true - Enable QuickChip mode. Default.

EMVOnly

BOOL

Flag that determines whether or not to start a transaction in EMV mode. This takes effect for devices which support both MSR and EMV mode (not limited to eDynamo, tDynamo, and DynaPro Family). This has no effect on non EMV devices.

Usage:

false - Do not start transaction in EMV mode.

true - Only start transaction in EMV mode. Default.

PreventMSRSignatureF orCardWithICC

BOOL

Flag that forces the device to skip signature capture during an MSR-only transaction if the card’s service code indicates it is a chip card.

Usage:

false - Allow the prompt for a signature if requested.

true - Do not prompt for signature.

ITransaction

SuppressThankYouMes sage

BOOL

By default, devices with a display signal the end of a transaction by briefly showing “THANK YOU,” then “WELCOME.”

Usage:

false - Do not suppress the thank you message.

true - Suppress the thank you message.

DisplayAmountForQuic kChip

BOOL

Display Amount for Quick Chip Transaction Flow.

Usage:

false - Do not display Amount when QuickChip mode is true. Default.

true - Display Amount when QuickChip mode is true.

OverrideFinalTransacti onMessage

Byte

By default, devices with a display signal the end of a transaction by returning to the idle page and showing “WELCOME.” This parameter directs the device to show a message based on the Message ID from the command displayMessage(). This option completely overrides the device’s idle page behavior until the next transaction, power cycle, or other similar state change.

Example:

0x00 - reserved, do not use. 0x01 - “AMOUNT”

0x02 - “AMOUNT OK?”

0x03 - “APPROVED”

0x04 - “CALL YOUR BANK”

0x05 - “CANCEL OR ENTER”

0x06 - “CARD ERROR”

0x07 - “DECLINED”

0x08 - “ENTER AMOUNT”

EMVResponseFormat

Byte

The format of the EMV response.

Usage:

0x00 – Legacy. Default. 0x01 – RFU

TransactionType

Byte 1

EMV Tag 9C - The type of financial transaction, represented by the first two digits of the ISO 8583:1987 Processing Code.

Usage:

0x00 – purchase. Default.

0x01 – cash advance

0x09 – purchase with cashback

0x20 – refund

Supported transaction types can found in the commands programmers manual specific to the device.

ITransaction

Amount

NSString* Max 13

EMV Tag 9F02 - Authorized amount of the transaction.

Example:

“1.23” – $1.23

“10” – $10.00

CashBack

NSString* Max 13

EMV Tag 9F03 - Secondary amount associated with the transaction.

Example:

“1.23” – $1.23

“10” – $10.00

CurrenyCode

NSData* 2

EMV Tag 5F2A - Currency code of the transaction according to ISO 4217. The byte array is null by default.

Example:

0x0840 = US Dollar 0x0978 = Euro 0x0826 = UK Pound

CurrencyExponent

NSData* 1

EMV Tag 5F36 - The decimal point position from the right of the transaction amount. The byte array is null by default.

Example:

0x02 – decimal point at 2 position from the right.

TransactionCategory

NSData* 1

EMV Tag 9F53 - The type of contactless transaction being performed. The byte array is null by default.

MerchantCategory

NSData* 2

EMV Tag 9F15 - The type of business being done by the merchant, represented according to ISO 18245. The byte array is null by default.

MerchantID

NSData* 15

EMV Tag 9F16 - Used to uniquely identify a given merchant. The byte array is null by default.

MerchantCustomData

NSData* 20

EMV Tag 9F7C – Proprietary merchant data that may be requested. The byte array is null by default.

ManualEntryType

Byte

User interface sequence.

Usage:

0x00 - Card Number, Expiration Date, Security Code 0x01 - Name on Card, Card Number, Expiration Date, Security Code (Reserved for Future Use)

0x02 – Qwick Code, Last 4 digits of Card Number, Security Code (Reserved for future use)

ITransaction

ManualEntryFormat

Byte

Card number valid format.

Usage:

0x00 - PAN min 8, max 21 digits

ManualEntrySound

Byte

Beeper feedback.

Usage:

0x00 - On keypress sound disabled

0x01 - On keypress sound enabled

AppleVASMode

VASMode

An enumeration for the Apple VAS Mode.

AppleVASProtocol

VASProtocol

An enumeration for the Apple VAS Protocol.

FunctionalButtonRight Option

uint16_t

String ID to use for the Right functional button.

When user presses this button, device sends a notification to the host to indicate the present card functional button Right is pressed. Device then waits for the next command from the host. While waiting, the screen shows “PLEASE WAIT”.

null = Disable.

0x0000 to 0x00FF = String ID

ECP2FrameData

NSData* 3-18

Apple ECP2.0 frame from Byte 2 to Byte N. See Apple ECP2.0 specification.

· For example, if ECP2.0 VASUP-A frame is 6A02C3020003FFFF

then Byte 2-N is 0xC3020003FFFF.

By default, ECP2.0 frame (Byte 2 -N) is 0xC3020003FFFF

CustomNFCTransactio nMode

MTU_NFCTransacti onMode

NFC transaction modes.

CustomNFCDataMode

MTU_NFCDataMod e

Custom NFC data mode.

TipMode

Byte

Tip mode.

0x00 = Disable Tip Mode

0x01 = Show Tip GUI immediately using %

0x02 = Show Tip GUI immediately using $

0x11 = Enable Read Channel(s), with +Tip Button using %

0x12 = Enable Read Channel(s), with +Tip Button, using $

Tip1DisplayMode

Byte

Display mode for Tip button 1.

0x00 = % or $

0x01 = Display Custom 0x02 = Display NO TIP 0x03 = Disabled

ITransaction

Tip2DisplayMode

Byte

Display mode for Tip button 2.

0x00 = % or $

0x01 = Display Custom 0x02 = Display NO TIP 0x03 = Disabled

Tip3DisplayMode

Byte

Display mode for Tip button 3.

0x00 = % or $

0x01 = Display Custom 0x02 = Display NO TIP 0x03 = Disabled

Tip4DisplayMode

Byte

Display mode for Tip button 4.

0x00 = % or $

0x01 = Display Custom 0x02 = Display NO TIP 0x03 = Disabled

Tip5DisplayMode

Byte

Display mode for Tip button 5.

0x00 = % or $

0x01 = Display Custom 0x02 = Display NO TIP 0x03 = Disabled

Tip6DisplayMode

Byte

Display mode for Tip button 6.

0x00 = % or $

0x01 = Display Custom 0x02 = Display NO TIP 0x03 = Disabled

Tip1Value

NSString*

Display value for Tip button 1.

“1.00” = $1.00 (Display Mode is $)

“10.0001” = 10.0001% (Display Mode is %)

Tip2Value

NSString*

Display value for Tip button 2.

“1.00” = $1.00 (Display Mode is $)

“10.0001” = 10.0001% (Display Mode is %)

Tip3Value

NSString*

Display value for Tip button 3.

“1.00” = $1.00 (Display Mode is $)

“10.0001” = 10.0001% (Display Mode is %)

ITransaction

Tip4Value

NSString*

Display value for Tip button 4.

“1.00” = $1.00 (Display Mode is $)

“10.0001” = 10.0001% (Display Mode is %)

Tip5Value

NSString*

Display value for Tip button 5.

“1.00” = $1.00 (Display Mode is $)

“10.0001” = 10.0001% (Display Mode is %)

Tip6Value

NSString*

Display value for Tip button 6.

“1.00” = $1.00 (Display Mode is $)

“10.0001” = 10.0001% (Display Mode is %)

TaxAmount

NSString*

Tax amount.

“1.00” = $1.00

NFCData

These constructors initialize an NFCData object. Use NewNFCData with the data byte array from the NFCData event to return an NFCData.

BarCodeData

Member

Type/ Format

Description

Data

NSData*

Data payload

Encrypted

Bool

0x00 = data is not encrypted 0x01 = data is encrypted

EncryptionType

Byte

Encryption type

KSN

NSData*

Key Serial Number

NFCDataBuilder

These constructors initialize an NFCData and NFCRAPDUData object.

BarCodeData

Member

Type/ Format

Description

DeviceType

MTU_Dev iceType

Enumerated device type.

Data

NSData*

Data payload

NFCEventBuilder

This class assist in parsing NFCEvent data.

Static

Member

Return

Description

GetEventValue()

MTU_

NFCEvent

Returns the NFCEvent enumeration.

GetEventString()

NSString

Returns a string representation of NFCEvent enumeration.

NFCRAPDUData

These constructors initialize an NFCRAPDUData object. Use NFCDataBuilder.getNFC with data byte array from the NFCRAPDUResponse event to return an NFCRAPDUData.

Parameter

Description

response

Response data.

data

The data payload.

encrypted

Encryption status.

false = data is not encrypted true = data is encrypted

encryptionType

The encryption type.

ksn

The Key Serial Number.

deviceType

Device type.

Return Value:

Returns an instance of NFCRAPDUData.

PersonalInfoEntry

These constructors initialize a PersonalInfoEntry object.

  • Call startPersonalInfoEntry().

  • At OnEvent():TouchscreenPersonalInfo, build the object.

BarCodeData

Member

Type/ Format

Description

Data

NSData*

Data payload

DataType

MTU_CaptureType

Returns the capture type.

Encrypted

Bool

Returns the encryption status. false = data is not encrypted true = data is encrypted

EncryptionType

Byte

Returns the encryption type.

KSN

NSData*

Returns the Key Serial Number.

Last updated