ReceiptLayout class

Constructors

ReceiptLayout({required List<LayoutLine> lines, required String paperSize, required int ruleset})
const

Properties

bannerTexts → List<String>
Alle Banner-Texte (Belegart/Warnungen) — für Tests und Anzeigen.
no setter
hashCode → int
The hash code for this object.
no setterinherited
lines → List<LayoutLine>
final
paperSize → String
mm58 oder mm80 — wonach die Spaltenbreiten der USt-Tabelle gewählt wurden.
final
qrPayload → String?
Nutzlast des RKSV-QR (erste QR-Zeile) oder null.
no setter
ruleset → int
Version des Layout-Regelwerks (Drahtwert ruleset, heute 2). Fehlt er (Backend vor dem Regelwerk), gilt 1.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object>
Das Layout in der Form des Vertrags (paperSize, ruleset, lines).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(dynamic json) → ReceiptLayout?