VariantInput class
Eine neue Variante: ihre Merkmalswerte und die Felder eines Artikels wie
bei CreateArticleRequest. Was fehlt, fuellen die Vorgaben der Gruppe; ohne
name heisst sie „<Gruppe> <Wert1> <Wert2>“ in Merkmalsreihenfolge. Mit
ean wird sie ein Fremdartikel, sonst vergibt der Server den naechsten
eigenen Code.
- Implementers
Constructors
-
VariantInput({required Map<
String, String> variantAttributes, String? name, String? description, int? unitPriceCents, num? vatRate, String? unit, String? number, String? ean, String? groupId, String? revenueGroupId, bool? stockTracked, List<String> ? stockLocationIds, int? minStock, Map<String, int> ? minStockByLocation, String? stockKind, int? purchasePriceMicros, Map<String, String> ? externalIds, Map<String, String> ? metadata}) -
const
Properties
- description → String?
-
final
- ean → String?
-
GTIN/EAN mit gueltiger Pruefziffer, frei im Konto (
code_taken).final -
externalIds
→ Map<
String, String> ? -
final
- groupId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, String> ? -
final
- minStock → int?
-
final
-
minStockByLocation
→ Map<
String, int> ? -
final
- name → String?
-
1–200 Zeichen; ohne Angabe der Standardname.
final
- number → String?
-
final
- purchasePriceMicros → int?
-
final
- revenueGroupId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stockKind → String?
-
final
-
stockLocationIds
→ List<
String> ? -
final
- stockTracked → bool?
-
final
- unit → String?
-
final
- unitPriceCents → int?
-
final
-
variantAttributes
→ Map<
String, String> -
Jedes Merkmal der Gruppe genau einmal, Wert exakt aus der Werteliste
(Gross/Klein und Leerraum werden nicht angeglichen), sonst
invalid_variant_attributesmitfield.final - vatRate → num?
-
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