Class OrderLineViewModelSettings
- Namespace
- Dynamicweb.Ecommerce.Frontend
- Assembly
- Dynamicweb.Ecommerce.dll
public class OrderLineViewModelSettings : ViewSettingsBaseCurrencyBase<OrderLineViewModel>
- Inheritance
-
OrderLineViewModelSettings
- Inherited Members
Constructors
OrderLineViewModelSettings()
Empty constructor for webapi
public OrderLineViewModelSettings()
OrderLineViewModelSettings(string, string, string, string, int)
Creates a configuration for constructing price viewmodels.
public OrderLineViewModelSettings(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
OrderLineViewModelSettings(string, string, string, string, int, bool)
Creates a configuration for constructing price viewmodels.
public OrderLineViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId, bool showPricesWithVat)
Parameters
languageId
stringId of language
currencyCode
stringCurrencyCode
countryCode
stringCountry code2
shopId
stringShop id
userId
intUser id
showPricesWithVat
boolshould prices be shown with or without VAT
OrderLineViewModelSettings(string, string, string, string, int, bool, DateTime?, long)
Creates a configuration for constructing price viewmodels.
public OrderLineViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId, bool showPricesWithVat, DateTime? time, long stockLocationId)
Parameters
languageId
stringcurrencyCode
stringcountryCode
stringshopId
stringuserId
intshowPricesWithVat
booltime
DateTime?stockLocationId
long
Properties
GroupInfoSettings
The group info settings
public GroupInfoViewModelSettings GroupInfoSettings { get; set; }
Property Value
OrderLineFieldSettings
The order line field settings
public FieldValueViewModelSetting OrderLineFieldSettings { get; set; }
Property Value
PriceSettings
Configures how the price view should be configured, if price is filled.
public PriceViewModelSettings PriceSettings { get; set; }
Property Value
- PriceViewModelSettings
configurationOfPriceViewModel
Methods
EnsureFilledPropertiesExist()
If filled properties are empty, this method will add ALL valid property names.
public override void EnsureFilledPropertiesExist()