CheckoutState class

Was der Kassier am Kassieren-Bildschirm eingestellt hat.

Constructors

CheckoutState({required KeckPaymentMethod paymentMethod, int discountCents = 0, int? tenderedCents, int tipCents = 0})
const
CheckoutState.start(PosBusinessSettings business)
Startstand: die erste Zahlungsart, die der Betrieb anbietet. Ein Betrieb ohne Bargeld darf nicht mit „Bar" vorbelegt beginnen.
factory

Properties

discountCents → int
final
hashCode → int
The hash code for this object.
no setterinherited
paymentMethod → KeckPaymentMethod
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tenderedCents → int?
Bar gegeben; null, solange nichts getippt wurde — das ist etwas anderes als „null Euro gegeben".
final
tipCents → int
final

Methods

copyWith({KeckPaymentMethod? paymentMethod, int? discountCents, int? tenderedCents, bool clearTendered = false, int? tipCents}) → CheckoutState
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