CheckoutTotals class

Alle Beträge des Kassiervorgangs auf einen Blick.

Constructors

CheckoutTotals({required int subtotalCents, required int discountCents, required int dueCents, required int tipCents, required int totalCents, required bool cash, required int? tenderedCents, required int missingCents, required int changeCents, required bool ready, String? reason})
const

Properties

cash → bool
Wird bar mit Rückgeld gerechnet?
final
changeCents → int
final
discountCents → int
final
dueCents → int
Belegbetrag nach Rabatt — ohne Trinkgeld.
final
hashCode → int
The hash code for this object.
no setterinherited
missingCents → int
Was noch fehlt; 0, solange nichts getippt wurde.
final
ready → bool
final
reason → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtotalCents → int
Warenkorb ohne Rabatt.
final
tenderedCents → int?
Nur bei cash: was gegeben wurde.
final
tipCents → int
Trinkgeld; steht nicht im Belegbetrag, aber im Gegebenen.
final
totalCents → int
Was der Gast tatsächlich gibt: dueCents + tipCents.
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