Table of Contents

Class FacetOptionViewModelSettings

Namespace
Dynamicweb.Ecommerce
Assembly
Dynamicweb.Ecommerce.dll

Controls which properties are populated on a FacetOptionViewModel when it is built by the view model builder.

public class FacetOptionViewModelSettings : ViewSettingsBaseCurrencyBase<FacetOptionViewModel>
Inheritance
FacetOptionViewModelSettings
Inherited Members

Constructors

FacetOptionViewModelSettings()

Initializes a new instance of FacetOptionViewModelSettings with default settings. Used by the Web API infrastructure when deserializing settings from a request.

public FacetOptionViewModelSettings()

FacetOptionViewModelSettings(string, string, string, string, int)

Initializes a new instance of FacetOptionViewModelSettings with currency and shop context.

public FacetOptionViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId)

Parameters

languageId string

The ID of the language used to resolve localised values.

currencyCode string

The ISO 4217 currency code (e.g. "EUR").

countryCode string

The ISO 3166-1 alpha-2 country code (e.g. "DE").

shopId string

The ID of the shop providing the pricing context.

userId int

The ID of the current user.

Methods

EnsureFilledPropertiesExist()

If filled properties are empty, this method will add ALL valid property names.

public override void EnsureFilledPropertiesExist()

See Also

To top