QrCodeDisplayData

data class QrCodeDisplayData(val paymentMethodType: PaymentMethodType, val qrCodeImageUrlPng: String, val qrCodeImageUrlSvg: String?, val expiresAtMs: Long)

Data containing QR code information for display to users during payment collection.

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Constructors

Link copied to clipboard
constructor(paymentMethodType: PaymentMethodType, qrCodeImageUrlPng: String, qrCodeImageUrlSvg: String?, expiresAtMs: Long)

Properties

Link copied to clipboard
val expiresAtMs: Long

When this QR code expires (timestamp in milliseconds since Unix epoch)

Link copied to clipboard

The payment method type for this QR code

Link copied to clipboard
val qrCodeImageUrlPng: String

URL to the PNG image of the QR code

Link copied to clipboard
val qrCodeImageUrlSvg: String?

URL to the SVG image of the QR code, or null if one is not provided