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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public ProductCatalogPrices(
	decimal price,
	decimal standardPrice,
	decimal tax,
	decimal listPrice,
	CurrencyInfo currency,
	ValuesSummary discounts
)

Parameters

price
Type: SystemDecimal
Product price.
standardPrice
Type: SystemDecimal
Standard product price.
tax
Type: SystemDecimal
Tax calculated from price.
listPrice
Type: SystemDecimal
List 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