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