Click or drag to resize
IMultiBuyDiscountsEvaluatorEvaluateDiscounts Method
Evaluates given discounts and applies matching ones to corresponding cart items.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
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