Click or drag to resize
MultiBuyDiscountsEvaluatorGetUnusedNonFreeUnits Method
Returns the number of unit not used as base for any discount nor discounted.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
protected virtual int GetUnusedNonFreeUnits(
	MultiBuyItem item,
	bool includingAutoAddedUnits
)

Parameters

item
Type: CMS.EcommerceMultiBuyItem
Item to get number of units for.
includingAutoAddedUnits
Type: SystemBoolean
Indicates if the result contains also automatically added units.

Return Value

Type: Int32
See Also