Click or drag to resize
IMultiBuyDiscountsServiceEvaluateDiscounts Method
Evaluates multibuy discounts specified by the parameters on the given items collection using the applicator.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
void EvaluateDiscounts(
	IEnumerable<MultiBuyItem> items,
	DiscountsParameters parameters,
	IMultiBuyDiscountsApplicator applicator
)

Parameters

items
Type: System.Collections.GenericIEnumerableMultiBuyItem
Items to be evaluated.
parameters
Type: CMS.EcommerceDiscountsParameters
Parameter of the discounts.
applicator
Type: CMS.EcommerceIMultiBuyDiscountsApplicator
Applicator to be used to apply results of the evaluation.
See Also