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: 13.0.131
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