C
- the type of the container that holds <I>
itemsI
- the type of the items to mergepublic interface ItemMergingService<C,I>
Modifier and Type | Method and Description |
---|---|
List<MergeItemPair<I>> |
mergeItems(C container,
List<I> items,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Determines and prepares item merges between items being added/modified and the items of the
container.
|
List<MergeItemPair<I>> mergeItems(C container, List<I> items, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
container
- the container that holds the items that will be merged.items
- the items that have been changed or are being added to consider for mergingcontext
- the context of the requestCopyright © 2021. All rights reserved.