Table of Contents

Class PriceListViewModel

Namespace
Dynamicweb.Ecommerce.ProductCatalog
Assembly
Dynamicweb.Ecommerce.dll

ViewModel used for quantity-based prices on a product. This allows rendering of prices depending on the quantity purchased.

public class PriceListViewModel : FillableViewModelBase
Inheritance
PriceListViewModel
Inherited Members

Examples

For example if you buy 1 unit, the price will be $110. if you buy 10 units, the price will be $100. This list will contain the prices for the different quantities.

Properties

Price

Gets or sets the price.

public PriceViewModel Price { get; set; }

Property Value

PriceViewModel

Quantity

Gets or sets the quantity.

public double Quantity { get; set; }

Property Value

double

StockLocationId

Gets or sets the stock location ID.

public long StockLocationId { get; set; }

Property Value

long

UnitId

Gets or sets the unit ID.

public string UnitId { get; set; }

Property Value

string
To top