Click or drag to resize
IProductCouponServiceEvaluateDiscounts Method
Evaluates product coupon discounts specified by the parameters on the given items collection.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.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