Click or drag to resize
Discount Constructor
Initializes a new instance of the facade class.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public Discount(
	Object discount
)

Parameters

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