Class PriceInfoViewModel
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog
- Assembly
- Dynamicweb.Ecommerce.dll
Represents the view model for price information for a product.
public class PriceInfoViewModel
- Inheritance
-
PriceInfoViewModel
- Inherited Members
Remarks
This is used to store and retrieve price information related to a product. It is typically called on a ProductViewModel using the GetPrice extension method.
Properties
Discount
Gets or sets the discount.
public PriceViewModel Discount { get; set; }
Property Value
InformativePrice
Gets or sets the informative price.
public PriceViewModel InformativePrice { get; set; }
Property Value
Price
Gets or sets the price.
public PriceViewModel Price { get; set; }
Property Value
PriceBeforeDiscount
Gets or sets the price before discount.
public PriceViewModel PriceBeforeDiscount { get; set; }