Class FacetGroupViewModelSettings
- Namespace
- Dynamicweb.Ecommerce
- Assembly
- Dynamicweb.Ecommerce.dll
public class FacetGroupViewModelSettings : ViewSettingsBaseCurrencyBase<FacetGroupViewModel>
- Inheritance
-
FacetGroupViewModelSettings
- Inherited Members
Constructors
FacetGroupViewModelSettings()
Empty constructor for webapi
public FacetGroupViewModelSettings()
FacetGroupViewModelSettings(string, string, string, string, int)
Creates a configuration for constructing facetviewmodels.
public FacetGroupViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId)
Parameters
languageId
stringId of language
currencyCode
stringCurrencyCode
countryCode
stringCountry code2
shopId
stringShop ID.
userId
intUser id
Properties
FacetGroupNames
public IList<string> FacetGroupNames { get; set; }
Property Value
FacetSettings
Configures how the facet view should be loaded.
public FacetViewModelSettings FacetSettings { get; set; }
Property Value
- FacetViewModelSettings
configurationOfFacets
Methods
EnsureFilledPropertiesExist()
If filled properties are empty, this method will add ALL valid property names.
public override void EnsureFilledPropertiesExist()