Click or drag to resize
ProductPrices Constructor
Initializes a new instance of the ProductPrices class with the specified price, standardPrice, currency and discounts.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public ProductPrices(
	decimal price,
	decimal standardPrice,
	CurrencyInfo currency,
	ValuesSummary discounts
)

Parameters

price
Type: SystemDecimal
Product price.
standardPrice
Type: SystemDecimal
Standard product price.
currency
Type: CMS.EcommerceCurrencyInfo
Price currency.
discounts
Type: CMS.EcommerceValuesSummary
Summary of the discounts 'explaining' the difference between price and standardPrice.
Exceptions
ExceptionCondition
ArgumentNullExceptioncurrency
See Also