ShiftRunningTotals class

Laufstand der Schicht (nur mit cashView).

Constructors

ShiftRunningTotals({required int cashSalesCents, required int cashCancellationsCents, required List<NonCashAmount> nonCashByMethod, int voucherRedeemedCents = 0, required int receiptCount, required int cancellationCount, required int cashInCents, required int cashOutCents, required List<ShiftTipTotals> tips, required int openingsWithoutSale, List<ShiftOwnerTip>? ownerTips, int? unassignedTipCents, List<ShiftDiscount>? discounts, int? invoicePaymentCents})
const

Properties

cancellationCount → int
final
cashCancellationsCents → int
final
cashInCents → int
final
cashOutCents → int
final
cashSalesCents → int
final
discounts → List<ShiftDiscount>?
Gewaehrte Rabatte je Name (nur Anzeige, nie im Soll, npm 1.31.0): cents gewaehrt (positiv), count Belege mit diesem Namen, ein Storno nimmt beides zurueck. Der Server sendet es erst ab dem ersten Rabatt (null = keiner); auf dem Z-Bon steht es als Block (discountBlockLines).
final
hashCode → int
The hash code for this object.
no setterinherited
invoicePaymentCents → int?
Zahlungen auf Rechnungen in Cent (npm 1.38.0): Summe der Positionen „Zahlung auf Rechnung“ der Schicht, bar und unbar, ein Storno negativ. Nur Information, nie zusaetzlich im Soll: das Geld steckt schon im Barumsatz bzw. in nonCashByMethod. Der Server sendet es nur, wenn es etwas gibt; null = keine.
final
nonCashByMethod → List<NonCashAmount>
Nach Zahlart sortiert.
final
openingsWithoutSale → int
final
ownerTips → List<ShiftOwnerTip>?
Trinkgeld an Kassen-Benutzer mit „Trinkgeld steuerpflichtig“ (Inhaber): zählt als Umsatz des Betriebs, nie als Anspruch, nie in „offen“ (nur Anzeige, npm 1.28.0). Der Server sendet es nur, wenn es etwas gibt; null = keines.
final
receiptCount → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tips → List<ShiftTipTotals>
Nach Name sortiert.
final
unassignedTipCents → int?
Trinkgeld ohne angemeldeten Empfänger in Cent (nur Anzeige); null = 0.
final
voucherRedeemedCents → int
Eingelöste Gutscheine in Cent (kein Bargeld, nicht in der Lade); fehlt bei älteren Servern, dann 0.
final

Methods

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

Operators

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