QrReceiptData

data class QrReceiptData(val invoice: String, val orderId: String, val providerId: String?, val amount: Long, val currency: String, val paymentId: Long?, val operationType: String, val status: String, val statusCode: Int, val dateTime: String?) : Parcelable

Data class representing the QR payment receipt.

Constructors

Link copied to clipboard
constructor(invoice: String, orderId: String, providerId: String?, amount: Long, currency: String, paymentId: Long?, operationType: String, status: String, statusCode: Int, dateTime: String?)

Properties

Link copied to clipboard
val amount: Long

The paid amount in minor units.

Link copied to clipboard
val currency: String

The currency ISO 4217 code.

Link copied to clipboard
val dateTime: String?

The date and time of the operation in dd.MM.yyyy HH:mm:ss format, or null if unavailable.

Link copied to clipboard
val invoice: String

The invoice identifier of the payment operation; the key used by su.ips.pos_payment_app.ActionInterface.getReceiptData to fetch the receipt later.

Link copied to clipboard
val operationType: String

The operation type in human-readable form.

Link copied to clipboard
val orderId: String

The QR order identifier at the provider; also used to locate the operation for cancellation.

Link copied to clipboard
val paymentId: Long?

The payment identifier at the provider, or null if not yet assigned.

Link copied to clipboard
val providerId: String?

The QR payment provider identifier, or null if unavailable.

Link copied to clipboard
val status: String

The QR operation status in human-readable form.

Link copied to clipboard
val statusCode: Int

The numeric code of the QR operation status (stable ordinal).