ProductVariantPatch class

Constructors

ProductVariantPatch()

Properties

hashCode → int
The hash code for this object.
no setterinherited
patchMap → Map<ProductVariant$, dynamic>
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyTo(ProductVariant entity) → ProductVariant
Applies this patch to the given entity
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
inherited
toPatch() → Map<ProductVariant$, dynamic>
inherited
toString() → String
A string representation of this object.
inherited
updateAssetsAt(int index, AssetPatch patch(AssetPatch)) → ProductVariantPatch
updateFacetValuesAt(int index, FacetValuePatch patch(FacetValuePatch)) → ProductVariantPatch
updateOptionsAt(int index, ProductOptionPatch patch(ProductOptionPatch)) → ProductVariantPatch
updateTranslationsAt(int index, ProductVariantTranslationPatch patch(ProductVariantTranslationPatch)) → ProductVariantPatch
withAssets(List<Asset>? value) → ProductVariantPatch
withCreatedAt(DateTime? value) → ProductVariantPatch
withCurrencyCode(CurrencyCode? value) → ProductVariantPatch
withCustomFields(Map<String, dynamic>? value) → ProductVariantPatch
withFacetValues(List<FacetValue>? value) → ProductVariantPatch
withFeaturedAsset(Asset? value) → ProductVariantPatch
withFeaturedAssetPatch(AssetPatch patch) → ProductVariantPatch
withFeaturedAssetPatchFunc(AssetPatch patch(AssetPatch)) → ProductVariantPatch
withId(String? value) → ProductVariantPatch
withLanguageCode(LanguageCode? value) → ProductVariantPatch
withName(String? value) → ProductVariantPatch
withOptions(List<ProductOption>? value) → ProductVariantPatch
withPrice(double? value) → ProductVariantPatch
withPriceWithTax(double? value) → ProductVariantPatch
withProductId(String? value) → ProductVariantPatch
withSku(String? value) → ProductVariantPatch
withStockLevel(String? value) → ProductVariantPatch
withTaxCategory(TaxCategory? value) → ProductVariantPatch
withTaxCategoryPatch(TaxCategoryPatch patch) → ProductVariantPatch
withTaxCategoryPatchFunc(TaxCategoryPatch patch(TaxCategoryPatch)) → ProductVariantPatch
withTranslations(List<ProductVariantTranslation>? value) → ProductVariantPatch
withUpdatedAt(DateTime? value) → ProductVariantPatch

Operators

operator ==(Object other) → bool
The equality operator.
inherited