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
languageIdstringId of language
currencyCodestringCurrencyCode
countryCodestringCountry code2
shopIdstringShop id
userIdintUser 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
languageIdstringId of language
currencyCodestringCurrencyCode
countryCodestringCountry code2
shopIdstringShop id
userIdintUser id
showPricesWithVatboolshould 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
languageIdstringcurrencyCodestringcountryCodestringshopIdstringuserIdintshowPricesWithVatbooltimeDateTime?stockLocationIdlong
OrderLineViewModelSettings(string, string, string, string, int, bool, DateTime?, long, bool)
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, bool reverseChargeForVat)
Parameters
languageIdstringcurrencyCodestringcountryCodestringshopIdstringuserIdintshowPricesWithVatbooltimeDateTime?stockLocationIdlongreverseChargeForVatbool
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()