Initializes a new instance of the facade class.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- discount
- Type: System Object
The discount.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Thrown in case of parameter discount is null. |
System InvalidCastException | Thrown in case of unsupported type is passed through discount parameter. Supported types: MultiBuyDiscountInfo, DiscountInfo. |
See Also