Table of Contents

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 string

Id of language

currencyCode string

CurrencyCode

countryCode string

Country code2

shopId string

Shop id

userId int

User 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 string

Id of language

currencyCode string

CurrencyCode

countryCode string

Country code2

shopId string

Shop id

userId int

User id

showPricesWithVat bool

should 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 string
currencyCode string
countryCode string
shopId string
userId int
showPricesWithVat bool
time DateTime?
stockLocationId long

Properties

GroupInfoSettings

The group info settings

public GroupInfoViewModelSettings GroupInfoSettings { get; set; }

Property Value

GroupInfoViewModelSettings

OrderLineFieldSettings

The order line field settings

public FieldValueViewModelSetting OrderLineFieldSettings { get; set; }

Property Value

FieldValueViewModelSetting

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()
To top