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
string- Id of language
currencyCode
string- CurrencyCode
countryCode
string- Country code2
shopId
string- Shop ID.
userId
int- User 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()