QrCode

@ObjCName(name = "TeyaRowElementQrCode", exact = true)
data class QrCode(val url: String, val align: Align = Align.Left) : RowElement

Represents a QR code element that can be displayed within a receipt row.

This class is part of the RowElement hierarchy and is used specifically to define a QR code as an element within a receipt. It contains a URL that the QR code represents and an alignment property to determine its horizontal positioning.

Constructors

Link copied to clipboard
constructor(url: String, align: Align = Align.Left)

Properties

Link copied to clipboard

Specifies the horizontal alignment of the QR code within the receipt row. Default is Align.Left.

Link copied to clipboard
val url: String

The URL to be encoded into the QR code.