ReceiptData

data class ReceiptData(val bankAndMerchantName: String, val merchantPhone: String, val dateTime: String, val terminalId: String, val checkInvoice: String, val verifyCode: String, val card: String, val applicationIdentifier: String, val accessPointName: String, val transactionVerificationResult: String, val transactionInformation: String, val operationType: String, val totalAmount: String, val commission: String, val status: String, val statusCode: Int, val referenceRetrievalNumber: String, val isOffline: Boolean, val expDate: String, val maskedPan: String, val merchId: String, val number: String, val invoice: String, val customMetaData: Map<String, String>? = null) : Parcelable

Data class representing the receipt data.

Constructors

Link copied to clipboard
constructor(bankAndMerchantName: String, merchantPhone: String, dateTime: String, terminalId: String, checkInvoice: String, verifyCode: String, card: String, applicationIdentifier: String, accessPointName: String, transactionVerificationResult: String, transactionInformation: String, operationType: String, totalAmount: String, commission: String, status: String, statusCode: Int, referenceRetrievalNumber: String, isOffline: Boolean, expDate: String, maskedPan: String, merchId: String, number: String, invoice: String, customMetaData: Map<String, String>? = null)
constructor(parcel: Parcel)

Types

Link copied to clipboard
object CREATOR : Parcelable.Creator<ReceiptData>

Properties

Link copied to clipboard
val accessPointName: String

The Access Point Name.

Link copied to clipboard

The Application Identifier.

Link copied to clipboard

The name of the bank and merchant.

Link copied to clipboard
val card: String

The card information.

Link copied to clipboard
val checkInvoice: String

The invoice identifier for the check.

Link copied to clipboard
val commission: String

The commission for the transaction.

Link copied to clipboard
val customMetaData: Map<String, String>?

A map of key-value pairs containing additional info for the transaction.

Link copied to clipboard
val dateTime: String

The date and time of the transaction.

Link copied to clipboard
val expDate: String

The expiration date of the card.

Link copied to clipboard
val invoice: String
Link copied to clipboard
val isOffline: Boolean

Whether the transaction was offline.

Link copied to clipboard
val maskedPan: String

The masked Primary Account Number (PAN).

Link copied to clipboard
val merchantPhone: String

The merchant's phone number.

Link copied to clipboard
val merchId: String

The merchant identifier.

Link copied to clipboard
val number: String

The number associated with the transaction.

Link copied to clipboard
val operationType: String

The type of operation.

Link copied to clipboard

The Retrieval Reference Number (RRN).

Link copied to clipboard
val status: String

The status of the transaction.

Link copied to clipboard
val statusCode: Int

The status code of the transaction.

Link copied to clipboard
val terminalId: String

The terminal identifier.

Link copied to clipboard
val totalAmount: String

The total amount of the transaction.

Link copied to clipboard

The Transaction Information.

Link copied to clipboard

The Transaction Verification Results.

Link copied to clipboard
val verifyCode: String

The verification code.

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, flags: Int)