MultiBuyDiscount Constructor (MultiBuyDiscountInfo, FuncDecimal, Decimal, String) |
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax public MultiBuyDiscount(
MultiBuyDiscountInfo multiBuyDiscountInfo,
Func<decimal, decimal> valueCalculator,
string appliedCouponCode = null
)
Parameters
- multiBuyDiscountInfo
- Type: CMS.EcommerceMultiBuyDiscountInfo
MultiBuyDiscountInfo object to create instance for. - valueCalculator
- Type: SystemFuncDecimal, Decimal
Service used to round the result. - appliedCouponCode (Optional)
- Type: SystemString
Applied coupon code which.
See Also