MultiBuyDiscountsEvaluatorFindItemsToBeDiscounted Method |
Finds items to be discounted with given discount based on given items. Returns true when at least one item was found.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax protected virtual bool FindItemsToBeDiscounted(
IMultiBuyDiscount discount,
ICollection<MultiBuyItem> itemsToBeDiscounted
)
Parameters
- discount
- Type: CMS.EcommerceIMultiBuyDiscount
Discount to find suitable items for. - itemsToBeDiscounted
- Type: System.Collections.GenericICollectionMultiBuyItem
Empty collection of items. Found items are placed here.
Return Value
Type:
BooleanSee Also