TypeOutputCardData

data class TypeOutputCardData(var baTrack1: ByteArray = byteArrayOf(), var baTrack2: ByteArray = byteArrayOf(), var baTrack3: ByteArray = byteArrayOf(), var sReceivedTLV: String = "", var iNexusRet: NexusRet? = null) : Parcelable

Data class representing the output containing card data.

This class holds the card track data and TLV information retrieved from the card during the transaction process.

NOTE: the result of the operation is represented by the NexusRet object set at iNexusRet parameter. Verify iNexusRet to check if the operation was successful or not before proceeding with any other operation.

Constructors

Link copied to clipboard
constructor(baTrack1: ByteArray = byteArrayOf(), baTrack2: ByteArray = byteArrayOf(), baTrack3: ByteArray = byteArrayOf(), sReceivedTLV: String = "", iNexusRet: NexusRet? = null)

Properties

Link copied to clipboard

The Track 1 data from the magnetic stripe card as a byte array.

Link copied to clipboard

The Track 2 data from the magnetic stripe card as a byte array.

Link copied to clipboard

The Track 3 data from the magnetic stripe card as a byte array.

Link copied to clipboard

The result of the operation.

Link copied to clipboard

The TLV (Tag-Length-Value) data received from the card in string format.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)