InvoiceItemDepositInput class
Pfandangabe an einer Position (deposit): die Position ist eine Pfandzeile
zu der Position depositFor derselben Anfrage. Die Pfandarten des Betriebs
liefert KasseneckApi.listDepositTypes. Ohne eingeschaltetes Pfand antwortet
der Server mit deposit_not_enabled; zu einer Position mit articleId
leitet er das Pfand selbst ab (deposit_set_by_server).
Constructors
- InvoiceItemDepositInput({required String depositTypeId, required int depositFor, String? gtin, bool? ownFilling})
-
const
-
InvoiceItemDepositInput.fromJson(Map<
String, dynamic> j) -
factory
Properties
- depositFor → int
-
Index der Position in
items, zu der dieses Pfand gehoert (0 bis 499).final - depositTypeId → String
-
Kennung der Pfandart (
DepositType.id).final - gtin → String?
-
GTIN der Verpackung, 8 bis 14 Ziffern (fuer die EWP-Meldung). Die Form
prueft der Server (
validationmit Feldpfad).final - hashCode → int
-
The hash code for this object.
no setterinherited
- ownFilling → bool?
-
Eigene Abfuellung (Mehrweg des Betriebs selbst).
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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited