Class OrderViewModelSettings
- Namespace
- Dynamicweb.Ecommerce.Frontend
- Assembly
- Dynamicweb.Ecommerce.dll
public class OrderViewModelSettings : ViewSettingsBaseCurrencyBase<OrderViewModel>
- Inheritance
-
OrderViewModelSettings
- Inherited Members
Constructors
OrderViewModelSettings()
Empty constructor for webapi
public OrderViewModelSettings()
OrderViewModelSettings(string, string, string, string, int, bool)
Creates a configuration for constructing price viewmodels.
public OrderViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId, bool showPricesWithVat)
Parameters
languageId
stringcurrencyCode
stringcountryCode
stringshopId
stringuserId
intshowPricesWithVat
bool
Properties
OrderFieldSettings
The order field settings
public FieldValueViewModelSetting OrderFieldSettings { get; set; }
Property Value
OrderLineSettings
Configures how the order line view should be configured, if order lines are filled.
public OrderLineViewModelSettings OrderLineSettings { get; set; }
Property Value
- OrderLineViewModelSettings
- configuration Of OrderLineViewModel
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()