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: 12.0.0
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