DepositType class

Eine Pfandart des Betriebs.

Constructors

DepositType({required String id, required String kind, required String name, String? type, List<DepositAmount> amounts = const [], num? returnRate, bool used = false, bool active = true})
const

Properties

active → bool
final
amounts → List<DepositAmount>
Betraege nach Gueltigkeit, wie vom Server geliefert (aufsteigend nach from).
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
kind → String
Ein Wert aus depositKinds.
final
name → String
final
returnRate → num?
Steuersatz in Prozent, mit dem Mehrweg-Leergut zurueckgenommen wird (Rueckgabesatz), oder null (noch nie ausgegeben; dann scheitert Mehrweg-Leergut mit invalid_deposit).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String?
Ein Wert aus depositContainerTypes oder null.
final
used → bool
Die Pfandart steht an mindestens einem Artikel oder Beleg.
final

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

Static Methods

fromJson(Object? value) → DepositType?
null, wenn die Pfandart nicht lesbar ist (keine Kennung, unbekannte Art).

Constants

fields → const Set<String>
Die Felder der Antwort /v3, die dieses Modell liest.