copyWith method
WebApiModulesIntegrationsStorefrontStorefrontSettings
copyWith({
- bool? isStorefrontEnabled,
- bool? isUniversity,
- bool? isAnonymousAccessEnabled,
- bool? separateQuoteRequestsByCatalog,
- bool? makeQuoteRequestIntoOrderOnSubmission,
- bool? filterCatalogsByLocation,
- double? autoplaySpeed,
- bool? autoplayImagesOnLandingPage,
- bool? autoplayImagesOnProductBrowser,
- bool? autoplayImagesOnProductDetails,
Implementation
WebApiModulesIntegrationsStorefrontStorefrontSettings copyWith({
bool? isStorefrontEnabled,
bool? isUniversity,
bool? isAnonymousAccessEnabled,
bool? separateQuoteRequestsByCatalog,
bool? makeQuoteRequestIntoOrderOnSubmission,
bool? filterCatalogsByLocation,
double? autoplaySpeed,
bool? autoplayImagesOnLandingPage,
bool? autoplayImagesOnProductBrowser,
bool? autoplayImagesOnProductDetails,
}) {
return WebApiModulesIntegrationsStorefrontStorefrontSettings(
isStorefrontEnabled: isStorefrontEnabled ?? this.isStorefrontEnabled,
isUniversity: isUniversity ?? this.isUniversity,
isAnonymousAccessEnabled:
isAnonymousAccessEnabled ?? this.isAnonymousAccessEnabled,
separateQuoteRequestsByCatalog:
separateQuoteRequestsByCatalog ?? this.separateQuoteRequestsByCatalog,
makeQuoteRequestIntoOrderOnSubmission:
makeQuoteRequestIntoOrderOnSubmission ??
this.makeQuoteRequestIntoOrderOnSubmission,
filterCatalogsByLocation:
filterCatalogsByLocation ?? this.filterCatalogsByLocation,
autoplaySpeed: autoplaySpeed ?? this.autoplaySpeed,
autoplayImagesOnLandingPage:
autoplayImagesOnLandingPage ?? this.autoplayImagesOnLandingPage,
autoplayImagesOnProductBrowser:
autoplayImagesOnProductBrowser ?? this.autoplayImagesOnProductBrowser,
autoplayImagesOnProductDetails:
autoplayImagesOnProductDetails ?? this.autoplayImagesOnProductDetails,
);
}