CartDeposits class

Die abgeleiteten Pfandzeilen des Korbs: je Position (Kennung) ihre Zeilen, oder der Fehlercode der Vorschau (depositPreviewErrorCodes).

Constructors

CartDeposits(Map<String, List<Position>> byPosition, [String? code])
const

Properties

all → Iterable<Position>
Alle Pfandzeilen.
no setter
byPosition → Map<String, List<Position>>
Position (Kennung) -> ihre Pfandzeilen in Belegreihenfolge.
final
code → String?
Ein Wert aus depositPreviewErrorCodes, wenn der Server den Verkauf so abweisen wuerde; dann ist byPosition leer.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalCents → int
Summe aller Pfandzeilen in Cent.
no setter

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