IMultiBuyDiscountsEvaluatorEvaluateDiscounts Method |
Evaluates given discounts and applies matching ones to corresponding cart items.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax void EvaluateDiscounts(
IEnumerable<IMultiBuyDiscount> discounts,
IEnumerable<MultiBuyItem> cartItems,
IMultiBuyDiscountsApplicator applicator
)
Parameters
- discounts
- Type: System.Collections.GenericIEnumerableIMultiBuyDiscount
Discounts to be evaluated. - cartItems
- Type: System.Collections.GenericIEnumerableMultiBuyItem
Cart items to be evaluated. - applicator
- Type: CMS.EcommerceIMultiBuyDiscountsApplicator
Applicator to be used to apply results of the evaluation.
See Also