QrPaymentData

data class QrPaymentData(val orderId: String, val qrImageBase64: String, val providerLabel: String? = null, val providerId: String? = null, val amount: Long, val currency: String) : Parcelable

Data class representing a created QR order awaiting payment.

Constructors

Link copied to clipboard
constructor(orderId: String, qrImageBase64: String, providerLabel: String? = null, providerId: String? = null, amount: Long, currency: String)

Properties

Link copied to clipboard
val amount: Long

The order amount in minor units.

Link copied to clipboard
val currency: String

The currency ISO 4217 code.

Link copied to clipboard
val orderId: String

The QR order identifier at the provider; used to complete the payment or query the order status.

Link copied to clipboard
val providerId: String?

The QR payment provider identifier, or null if unavailable.

Link copied to clipboard
val providerLabel: String?

The QR payment provider display name, or null if unavailable.

Link copied to clipboard
val qrImageBase64: String

Base64-encoded PNG image of the QR code to display to the customer.