Kassierrechnung class

Alle Beträge des Kassiervorgangs auf einen Blick.

Constructors

Kassierrechnung({required int summeCents, required int rabattCents, required int zuZahlenCents, required int trinkgeldCents, required int gesamtCents, required bool bar, required int? gegebenCents, required int fehltCents, required int rueckgeldCents, required bool bereit, String? grund})
const

Properties

bar bool
Wird bar mit Rückgeld gerechnet?
final
bereit bool
final
fehltCents int
Was noch fehlt; 0, solange nichts getippt wurde.
final
gegebenCents int?
Nur bei bar: was gegeben wurde.
final
gesamtCents int
Was der Gast tatsächlich gibt: zuZahlenCents + trinkgeldCents.
final
grund String?
final
hashCode int
The hash code for this object.
no setterinherited
rabattCents int
final
rueckgeldCents int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
summeCents int
Warenkorb ohne Rabatt.
final
trinkgeldCents int
Trinkgeld; steht nicht im Belegbetrag, aber im Gegebenen.
final
zuZahlenCents int
Belegbetrag nach Rabatt — ohne Trinkgeld.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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