Template

@ObjCName(name = "TeyaTemplate", exact = true)
data class Template(val rows: List<ReceiptRow>)

Model for a receipt template. It defines a structure of ReceiptRow that is rendered from top to bottom.

Each ReceiptRow can be of type ReceiptRow.Item, ReceiptRow.Items, ReceiptRow.Spacer, ReceiptRow.Table or ReceiptRow.Divider.

Constructors

Link copied to clipboard
constructor(rows: List<ReceiptRow>)

Properties

Link copied to clipboard