ShiftCloseResult class
Ergebnis von closeMyShift: recount = bitte noch einmal zaehlen (kein
Fehler), ready = nur geprueft (checkOnly), Schliessen mit diesem Betrag
ginge, sonst geschlossen mit Z-Bon in receipt.
Constructors
- ShiftCloseResult.closed({required Shift shift, required ShiftSummaryReceipt receipt, CashMovementReceipt? afterCountReceipt, required bool lastShiftOfRegister})
-
const
- ShiftCloseResult.ready()
-
Nur geprueft (
checkOnly): Schliessen mit diesem Betrag ginge, gebucht ist nichts.const - ShiftCloseResult.recount()
-
const
Properties
- afterCountReceipt → CashMovementReceipt?
-
Bon „Kassenbewegung“ der Entnahme bzw. Einlage („Bon fürs Kuvert“); nur
wenn beim Abschluss Geld bewegt wurde, sonst
null.final - hashCode → int
-
The hash code for this object.
no setterinherited
- lastShiftOfRegister → bool
-
Es war die letzte offene Schicht der Kasse.
final
- ready → bool
-
Nur geprueft (
checkOnly): Schliessen mit diesem Betrag ginge. Die Zaehlung zaehlt als Versuch; schliesst danach derselbe Betrag, gilt er als dieselbe Zaehlung.final - receipt → ShiftSummaryReceipt?
-
Z-Bon;
nullbei recount und ready.final - recount → bool
-
Bitte noch einmal zaehlen und mit demselben Betrag oder neu erneut senden.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shift → Shift?
-
Die geschlossene Schicht;
nullbei recount und ready.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