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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public 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
MultiBuy discounts applicator to be used for application of items.

Implements

IMultiBuyDiscountsEvaluatorEvaluateDiscounts(IEnumerableIMultiBuyDiscount, IEnumerableMultiBuyItem, IMultiBuyDiscountsApplicator)
See Also