CatalogItemVariation class
- Annotations
-
- @JsonSerializable()
Constructors
-
CatalogItemVariation({String? itemId, String? name, String? sku, String? upc, int? ordinal, CatalogPricingType? pricingType, Money? priceMoney, List<
ItemVariationLocationOverrides> ? locationOverrides, bool? trackInventory, InventoryAlertType? inventoryAlertType, int? inventoryAlertThreshold, String? userData, int? serviceDuration, String? measurementUnitId, bool? availableForBooking, List<CatalogItemOptionValueForItemVariation> ? itemOptionValues, bool? stockable, CatalogStockConversion? stockableConversion, List<String> ? teamMemberIds, List<String> ? imageIds}) -
const
-
CatalogItemVariation.fromJson(Map<
String, dynamic> json) -
Converts a Map to an CatalogItemVariation
factory
Properties
- availableForBooking → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
imageIds
→ List<
String> ? -
final
- inventoryAlertThreshold → int?
-
final
- inventoryAlertType → InventoryAlertType?
-
final
- itemId → String?
-
final
-
itemOptionValues
→ List<
CatalogItemOptionValueForItemVariation> ? -
final
-
locationOverrides
→ List<
ItemVariationLocationOverrides> ? -
final
- measurementUnitId → String?
-
final
- name → String?
-
final
- ordinal → int?
-
final
- priceMoney → Money?
-
final
- pricingType → CatalogPricingType?
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceDuration → int?
-
final
- sku → String?
-
final
- stockable → bool?
-
final
- stockableConversion → CatalogStockConversion?
-
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited -
teamMemberIds
→ List<
String> ? -
final
- trackInventory → bool?
-
final
- upc → String?
-
final
- userData → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a CatalogItemVariation to a Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited