copyWith method
WebApiModulesIntegrationsStorefrontQuoteRequestItem
copyWith({
- String? inventoryId,
- String? webCatalogId,
- double? qty,
- List<
WebApiModulesIntegrationsStorefrontQuoteRequestPackageItem> ? packageItems,
Implementation
WebApiModulesIntegrationsStorefrontQuoteRequestItem copyWith({
String? inventoryId,
String? webCatalogId,
double? qty,
List<WebApiModulesIntegrationsStorefrontQuoteRequestPackageItem>?
packageItems,
}) {
return WebApiModulesIntegrationsStorefrontQuoteRequestItem(
inventoryId: inventoryId ?? this.inventoryId,
webCatalogId: webCatalogId ?? this.webCatalogId,
qty: qty ?? this.qty,
packageItems: packageItems ?? this.packageItems,
);
}