DepositPreviewContext class
Alles, was die Pfand-Vorschau des Korbs braucht: was der Server aus Konto, Kasse und Beleg wuesste. Ohne dieses Objekt zeigt der Korb kein Pfand und rechnet wie bisher (Cart.lines, checkoutTotals).
Constructors
-
DepositPreviewContext({required Map<
String, PosArticle> articles, required Map<String, ArticleGroup> groups, required Map<String, DepositType> depositTypes, required String day, bool onPremises = false, bool smallBusiness = false, CashRegisterDeposit? cashRegister}) -
const
Properties
-
articles
→ Map<
String, PosArticle> -
Artikel nach Kennung.
final
- cashRegister → CashRegisterDeposit?
-
Pfand-Angaben der Kasse; ohne Angabe nimmt sie kein Leergut zurueck.
final
- day → String
-
Wiener Tag des Verkaufs,
YYYY-MM-DD(viennaDay).final -
depositTypes
→ Map<
String, DepositType> -
Pfandarten nach Kennung (
deposit.depositTypes).final -
groups
→ Map<
String, ArticleGroup> -
Artikelgruppen nach Kennung.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onPremises → bool
-
Vor Ort getrunken: Einweg entfaellt.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smallBusiness → bool
-
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