Discount Constructor Kentico 8.1 API Reference
Initializes a new instance of the facade class.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionThrown in case of parameter discount is null.
OnlineSystem InvalidCastExceptionThrown in case of unsupported type is passed through discount parameter. Supported types: MultiBuyDiscountInfo, DiscountInfo.
See Also