copyWith method
WebApiModulesIntegrationsStorefrontStorefrontSettings
copyWith({
- bool? isStorefrontEnabled,
- bool? isAnonymousAccessEnabled,
- bool? registerEnabled,
- bool? separateQuoteRequestsByCatalog,
- bool? makeQuoteRequestIntoOrderOnSubmission,
- bool? filterCatalogsByLocation,
- bool? phoneNoRequiredOnRegistrationForm,
- bool? isUniversity,
- bool? studentIdRequiredOnRegistrationForm,
- double? autoplaySpeed,
- bool? autoplayImagesOnLandingPage,
- bool? autoplayImagesOnProductBrowser,
- bool? autoplayImagesOnProductDetails,
- String? imagesTransitionEffect,
- String? imagesTransitionSpeed,
- bool? homepageShowHeroSection,
- WebApiModulesIntegrationsStorefrontStorefrontTranslatedText? homepageHeroSectionHeading1,
- WebApiModulesIntegrationsStorefrontStorefrontTranslatedText? homepageHeroSectionHeading2,
- WebApiModulesIntegrationsStorefrontStorefrontTranslatedText? homepageHeroSectionHeading3,
- String? homepageCatalogItemWidth,
- String? homepageCatalogItemHeight,
- bool? landingPageShowCategoryBrowser,
- String? landingPageCategoryBrowserItemWidth,
Implementation
WebApiModulesIntegrationsStorefrontStorefrontSettings copyWith({
bool? isStorefrontEnabled,
bool? isAnonymousAccessEnabled,
bool? registerEnabled,
bool? separateQuoteRequestsByCatalog,
bool? makeQuoteRequestIntoOrderOnSubmission,
bool? filterCatalogsByLocation,
bool? phoneNoRequiredOnRegistrationForm,
bool? isUniversity,
bool? studentIdRequiredOnRegistrationForm,
double? autoplaySpeed,
bool? autoplayImagesOnLandingPage,
bool? autoplayImagesOnProductBrowser,
bool? autoplayImagesOnProductDetails,
String? imagesTransitionEffect,
String? imagesTransitionSpeed,
bool? homepageShowHeroSection,
WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?
homepageHeroSectionHeading1,
WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?
homepageHeroSectionHeading2,
WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?
homepageHeroSectionHeading3,
String? homepageCatalogItemWidth,
String? homepageCatalogItemHeight,
bool? homepageShowFooter,
WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?
homepageFooterText,
bool? landingPageShowCategoryBrowser,
String? landingPageCategoryBrowserItemWidth,
}) {
return WebApiModulesIntegrationsStorefrontStorefrontSettings(
isStorefrontEnabled: isStorefrontEnabled ?? this.isStorefrontEnabled,
isAnonymousAccessEnabled:
isAnonymousAccessEnabled ?? this.isAnonymousAccessEnabled,
registerEnabled: registerEnabled ?? this.registerEnabled,
separateQuoteRequestsByCatalog:
separateQuoteRequestsByCatalog ?? this.separateQuoteRequestsByCatalog,
makeQuoteRequestIntoOrderOnSubmission:
makeQuoteRequestIntoOrderOnSubmission ??
this.makeQuoteRequestIntoOrderOnSubmission,
filterCatalogsByLocation:
filterCatalogsByLocation ?? this.filterCatalogsByLocation,
phoneNoRequiredOnRegistrationForm:
phoneNoRequiredOnRegistrationForm ??
this.phoneNoRequiredOnRegistrationForm,
isUniversity: isUniversity ?? this.isUniversity,
studentIdRequiredOnRegistrationForm:
studentIdRequiredOnRegistrationForm ??
this.studentIdRequiredOnRegistrationForm,
autoplaySpeed: autoplaySpeed ?? this.autoplaySpeed,
autoplayImagesOnLandingPage:
autoplayImagesOnLandingPage ?? this.autoplayImagesOnLandingPage,
autoplayImagesOnProductBrowser:
autoplayImagesOnProductBrowser ?? this.autoplayImagesOnProductBrowser,
autoplayImagesOnProductDetails:
autoplayImagesOnProductDetails ?? this.autoplayImagesOnProductDetails,
imagesTransitionEffect:
imagesTransitionEffect ?? this.imagesTransitionEffect,
imagesTransitionSpeed:
imagesTransitionSpeed ?? this.imagesTransitionSpeed,
homepageShowHeroSection:
homepageShowHeroSection ?? this.homepageShowHeroSection,
homepageHeroSectionHeading1:
homepageHeroSectionHeading1 ?? this.homepageHeroSectionHeading1,
homepageHeroSectionHeading2:
homepageHeroSectionHeading2 ?? this.homepageHeroSectionHeading2,
homepageHeroSectionHeading3:
homepageHeroSectionHeading3 ?? this.homepageHeroSectionHeading3,
homepageCatalogItemWidth:
homepageCatalogItemWidth ?? this.homepageCatalogItemWidth,
homepageCatalogItemHeight:
homepageCatalogItemHeight ?? this.homepageCatalogItemHeight,
homepageShowFooter: homepageShowFooter ?? this.homepageShowFooter,
homepageFooterText: homepageFooterText ?? this.homepageFooterText,
landingPageShowCategoryBrowser:
landingPageShowCategoryBrowser ?? this.landingPageShowCategoryBrowser,
landingPageCategoryBrowserItemWidth:
landingPageCategoryBrowserItemWidth ??
this.landingPageCategoryBrowserItemWidth,
);
}