CreateVariantGroupRequest class
Legt eine Variantengruppe an (createVariantGroup): mit
createMatrix: true samt allen Kombinationen (hoechstens 100) oder mit den
genannten variants (hoechstens 100), nie beides. Ohne beides entsteht die
Gruppe ohne Variante. Die Antwort traegt die Gruppe mit variants
(Kennungen und Merkmale), nicht die Artikel.
Constructors
-
CreateVariantGroupRequest({required String idempotencyKey, required String name, required List<
VariantAttribute> attributes, VariantGroupDefaultsInput? defaults, bool? createMatrix, List<VariantInput> ? variants}) -
const
Properties
-
attributes
→ List<
VariantAttribute> -
1–3 Merkmale; ihre Reihenfolge bestimmt Standardnamen und Matrix (das
erste laeuft aussen).
final
- createMatrix → bool?
-
true: alle Kombinationen der Werte als Varianten. Schliesst variants aus.final - defaults → VariantGroupDefaultsInput?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idempotencyKey → String
-
final
- name → String
-
1–100 Zeichen.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
variants
→ List<
VariantInput> ? -
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