VariantGroupDefaults class

Vorgaben einer Gruppe: sie fuellen bei der Anlage einer Variante die Felder, die die Variante nicht selbst nennt. Ein spaeteres Aendern der Vorgaben aendert keine bestehende Variante (dafuer updateArticle). Ein Feld ohne Vorgabe ist null und fehlt in toJson.

Constructors

VariantGroupDefaults({int? unitPriceCents, num? vatRate, String? unit, String? groupId, bool? stockTracked})
const

Properties

groupId → String?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stockTracked → bool?
Ohne Vorgabe gilt wie bei createArticle false (dann nicht reservierbar).
final
unit → String?
final
unitPriceCents → int?
final
vatRate → num?
USt-Satz in Prozent.
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