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
Syntaxpublic 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.
ExceptionsException | Condition |
---|
ArgumentNullException | currency |
See Also