Table

@ObjCName(name = "TeyaReceiptRowTable", exact = true)
data class Table(val headerCells: List<TableHeaderCell>, val rows: List<TableRow>) : ReceiptRow

Represents a table layout used in a receipt. The table consists of header cells and rows of data.

Constructors

Link copied to clipboard
constructor(headerCells: List<TableHeaderCell>, rows: List<TableRow>)

Properties

Link copied to clipboard

A list of TableHeaderCell objects defining the header of the table. Each TableHeaderCell contains textual content and a weight determining its proportional width.

Link copied to clipboard

A list of TableRow objects representing the rows within the table. Each TableRow contains a list of text elements displayed as its cells.