Package | Description |
---|---|
com.broadleafcommerce.cartoperation.service |
Modifier and Type | Method and Description |
---|---|
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.
|
protected List<MergeItemPair<I>> |
AbstractItemMergingService.findMatchingItems(@NonNull Collection<I> containerItems,
@NonNull Collection<I> itemsToAdd)
Finds matching item pairs across the collections of items.
|
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.
|
List<MergeItemPair<I>> |
AbstractItemMergingService.mergeItems(C container,
@NonNull List<I> itemsToAdd,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultItemListItemMergingService.doMergeCombine(@NonNull MergeItemPair<I> itemPair) |
protected void |
DefaultCartItemMergingService.doMergeCombine(@NonNull MergeItemPair<I> itemPair) |
protected abstract void |
AbstractItemMergingService.doMergeCombine(MergeItemPair<I> itemPair)
Perform the actual combination of two items (quantity change) for the combination merge type.
|
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.
|
Copyright © 2021. All rights reserved.