Class DiscountViewModelSettings
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog
- Assembly
- Dynamicweb.Ecommerce.dll
public class DiscountViewModelSettings : ViewSettingsBaseCurrencyBase<DiscountViewModel>
- Inheritance
-
DiscountViewModelSettings
- Inherited Members
Constructors
DiscountViewModelSettings()
Empty constructor for webapi
public DiscountViewModelSettings()
DiscountViewModelSettings(string, string, string, string, int)
Creates a configuration for constructing price viewmodels.
public DiscountViewModelSettings(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
DiscountViewModelSettings(string, string, string, string, int, bool, DateTime?)
Creates a configuration for constructing price viewmodels.
public DiscountViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId, bool pricesWithVat, DateTime? time)
Parameters
languageId
stringcurrencyCode
stringcountryCode
stringshopId
stringuserId
intpricesWithVat
booltime
DateTime?
Properties
MediaSettings
Configures how multimedia content is handled.
public MediaViewModelSettings MediaSettings { get; set; }
Property Value
- MediaViewModelSettings
mediaSettings
Methods
EnsureFilledPropertiesExist()
If filled properties are empty, this method will add ALL valid property names.
public override void EnsureFilledPropertiesExist()