PosBusinessSettings class

Was für den ganzen Betrieb gilt (im Panel eingestellt).

Constructors

PosBusinessSettings({String logoText = 'K', bool logoEnabled = true, PosLogoSize logoSize = PosLogoSize.m, PosWatermark watermark = PosWatermark.login, String color = '#136B6B', PosTheme theme = PosTheme.clear, PosFontSize fontSize = PosFontSize.m, PosSettingsFontSize settingsFontSize = PosSettingsFontSize.s, PosTileStyle tileStyle = PosTileStyle.stripe, bool clock = true, bool lockScreen = true, bool staffPhotos = true, int autoLogoutMinutes = 0, bool logoutAfterSale = false, bool fastLogin = true, bool showPrices = true, bool showVat = false, bool emoji = true, bool categoryColors = true, bool customAmountAllowed = true, Map<String, bool> vatRates = _saetzeStandard, PosQuantity quantity = PosQuantity.x, bool note = false, bool search = false, PosDiscount discount = PosDiscount.off, bool payCash = true, bool payCard = false, bool paySplit = false, PosCardProvider cardProvider = PosCardProvider.none, bool tip = false, PosTipMode tipMode = PosTipMode.both, Map<String, bool> tipSteps = _tgStufenStandard, bool tipSplit = true, bool change = true, List<double> tipChips = const [5, 10], bool exactCash = false, PosCheckoutMode checkoutMode = PosCheckoutMode.panel, PosReceiptOutput receiptOutput = PosReceiptOutput.ask, int doneScreenSeconds = 0, String logoImage = '', PosWatermarkSide watermarkSide = PosWatermarkSide.center, int watermarkX = 50, int watermarkY = 50, int watermarkStrength = 6, PosLogoScale logoScale = PosLogoScale.m, PosWatermarkScale watermarkScale = PosWatermarkScale.m, bool glass = true, bool hints = true, List<double> discountChips = const [5, 10, 15, 20], Map<String, Object> unknownValues = const {}})
const
PosBusinessSettings.fromJson(Map<String, dynamic> raw)
Aus der Drahtform (schon mit den Standardwerten gemischt oder nicht).
factory

Properties

activeVatRates → List<double>
Die eingeschalteten Steuersätze in der Reihenfolge des Bildschirms.
no setter
autoLogoutMinutes → int
Nach so vielen Minuten ohne Bedienung abmelden; 0 = nie (posAutoLogoutMinutes).
final
cardPaymentEnabled → bool
Kartenzahlung ist möglich: eingeschaltet und ein Anbieter eingerichtet.
no setter
cardProvider → PosCardProvider
final
categoryColors → bool
final
change → bool
Rückgeld-Rechner.
final
checkoutMode → PosCheckoutMode
final
clock → bool
final
color → String
final
customAmountAllowed → bool
final
discount → PosDiscount
final
discountChips → List<double>
Rabatt-Chips in Prozent, dieselben Regeln wie tipChips.
final
doneScreenSeconds → int
Wie lange der Fertig-Bildschirm stehen bleibt; 0 = bis zum Tippen (posDoneScreenSeconds).
final
emoji → bool
final
exactCash → bool
„Bar passend": schließt den Betrag ohne Eintippen bar ab.
final
fastLogin → bool
Schnelles Entsperren mit gemerkter PIN; aus = jeder Login wartet auf den Server.
final
fontSize → PosFontSize
final
glass → bool
Glas-Optik: Kacheln und Korb leicht durchscheinend.
final
hashCode → int
The hash code for this object.
no setterinherited
hints → bool
Hilfetexte in den Chef-Einstellungen.
final
lockScreen → bool
final
logoEnabled → bool
final
logoImage → String
Bild-Logo (Adresse aus setMyKasseLogo); '' = Kürzel verwenden.
final
logoScale → PosLogoScale
Größe des Bild-Logos am Beleg.
final
logoSize → PosLogoSize
final
logoText → String
final
logoutAfterSale → bool
final
note → bool
final
payCard → bool
final
payCash → bool
final
paySplit → bool
Getrennt zahlen: dritter Knopf neben Bar und Karte, ein Beleg mit mehreren Zahlungen.
final
quantity → PosQuantity
final
receiptOutput → PosReceiptOutput
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
final
settingsFontSize → PosSettingsFontSize
Schriftgröße im Einstellungsbereich (dort darf es kleiner sein).
final
showPrices → bool
final
showVat → bool
final
staffPhotos → bool
Fotos der Mitarbeiter am Anmeldebildschirm.
final
theme → PosTheme
final
tileStyle → PosTileStyle
final
tip → bool
final
tipChips → List<double>
Trinkgeld-Chips in Prozent (eine Nachkommastelle, höchstens 5).
final
tipMode → PosTipMode
final
tipSplit → bool
final
tipSteps → Map<String, bool>
final
unknownValues → Map<String, Object>
Werte des Servers, die dieses Paket nicht kennt, wörtlich (Feld -> Wert). Die Kasse arbeitet für diese Felder mit dem Standard; toJson gibt den Wert unverändert aus.
final
vatRates → Map<String, bool>
Eingeschaltete Steuersätze (Schlüssel = Satz als Text). Beim Schreiben immer die ganze Karte senden (Nachtrag §11.7.2).
final
watermark → PosWatermark
final
watermarkScale → PosWatermarkScale
final
watermarkSide → PosWatermarkSide
final
watermarkStrength → int
Deckkraft in Prozent (posWatermarkStrengths).
final
watermarkX → int
Lage der Wasserzeichen-Mitte in Prozent (-25 bis 125).
final
watermarkY → int
final

Methods

merge(Map<String, dynamic> patch) → PosBusinessSettings
Diesen Stand mit einer Änderung (englische Schlüssel) mischen. Karten (vatRates, tipSteps) werden je Eintrag gemischt.
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