Click or drag to resize
MultiBuyDiscount Constructor (MultiBuyDiscountInfo, Decimal, String)
Creates new instance of absolute MultiBuyDiscount based on the specified MultiBuyDiscountInfo.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public MultiBuyDiscount(
	MultiBuyDiscountInfo multiBuyDiscountInfo,
	decimal value,
	string appliedCouponCode = null
)

Parameters

multiBuyDiscountInfo
Type: CMS.EcommerceMultiBuyDiscountInfo
MultiBuyDiscountInfo object to create instance for.
value
Type: SystemDecimal
Absolute value of the discount.
appliedCouponCode (Optional)
Type: SystemString
Applied coupon code.
See Also