ProductPrices Constructor |
Initializes a new instance of the
ProductPrices class with the specified
price,
standardPrice,
currency and
discounts.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax 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 Exception | Condition |
---|
ArgumentNullException | currency |
See Also