CashregisterAutoLogout class

Automatisches Abmelden an der Kasse (autoLogout in listMyCashregisters). Beide Werte sind einzeln optional: der Server sendet nur, was die Kasse selbst gesetzt hat.

Constructors

CashregisterAutoLogout({int? autoLogoutMinutes, bool? logoutAfterSale})
const

Properties

autoLogoutMinutes → int?
Abmeldung nach Leerlauf in Minuten (0, 1, 5, 15 oder 30); null, wenn die Kasse keinen eigenen Wert hat.
final
hashCode → int
The hash code for this object.
no setterinherited
logoutAfterSale → bool?
Nach jedem Verkauf abmelden; null, wenn die Kasse keinen eigenen Wert hat.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

fromJson(Object? json) → CashregisterAutoLogout?
null, wenn die Antwort nichts Lesbares enthaelt. Eine Minutenzahl ausser allowedMinutes wird verworfen statt durchgereicht.

Constants

allowedMinutes → const List<int>
Erlaubte Minutenwerte; 0 = aus.
fields → const Set<String>
Die Felder der Antwort /v3, die dieses Modell liest (Feldmengen-Waechter in test/kasse_v3_test.dart gegen v3/antworten/kasse.json).