MultiBuyDiscountsEvaluatorGetUnusedNonFreeUnits Method |
Returns the number of unit not used as base for any discount nor discounted.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax 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:
Int32See Also