Uses of Class
com.broadleafcommerce.cartoperation.domain.MergeItemPair
-
Packages that use MergeItemPair Package Description com.broadleafcommerce.cartoperation.service -
-
Uses of MergeItemPair in com.broadleafcommerce.cartoperation.service
Methods in com.broadleafcommerce.cartoperation.service that return types with arguments of type MergeItemPair Modifier and Type Method Description protected List<MergeItemPair<I>>
AbstractItemMergingService. findMatchingItems(@NonNull Collection<I> containerItems, @NonNull Collection<I> itemsToAdd)
Finds matching item pairs across the collections of items.protected List<MergeItemPair<I>>
AbstractItemMergingService. findMatchingItems(C container, @NonNull Collection<I> itemsToAdd, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Finds matching items in the container to the collection of items.List<MergeItemPair<I>>
AbstractItemMergingService. mergeItems(C container, @NonNull List<I> itemsToAdd, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
List<MergeItemPair<I>>
ItemMergingService. 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.Methods in com.broadleafcommerce.cartoperation.service with parameters of type MergeItemPair Modifier and Type Method Description protected abstract void
AbstractItemMergingService. doMergeCombine(MergeItemPair<I> itemPair)
Perform the actual combination of two items (quantity change) for the combination merge type.protected void
DefaultCartItemMergingService. doMergeCombine(@NonNull MergeItemPair<I> itemPair)
protected void
DefaultItemListItemMergingService. doMergeCombine(@NonNull MergeItemPair<I> itemPair)
protected void
AbstractItemMergingService. merge(@NonNull MergeItemPair<I> itemPair)
Merges the item pair using the merge type of the pair.protected void
AbstractItemMergingService. mergeCombine(@NonNull MergeItemPair<I> itemPair)
Performs a "combination" merge for an item pair.protected void
AbstractItemMergingService. mergeIgnore(@NonNull MergeItemPair<I> itemPair)
Performs a "reject or ignore" merge for an item pair.protected void
AbstractItemMergingService. mergeSeparate(@NonNull MergeItemPair<I> itemPair)
Performs a "separate" merge for an item pair.Method parameters in com.broadleafcommerce.cartoperation.service with type arguments of type MergeItemPair Modifier and Type Method Description protected abstract void
AbstractItemMergingService. resolveMergeTypes(@NonNull List<MergeItemPair<I>> itemPairs, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Determines what merge types should be used for the items and applies it to the merge item pairs.protected void
DefaultCartItemMergingService. resolveMergeTypes(@NonNull List<MergeItemPair<I>> mergeItemPairs, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
protected void
DefaultItemListItemMergingService. resolveMergeTypes(@NonNull List<MergeItemPair<I>> mergeItemPairs, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-