public interface EntryMergeStrategy
| Modifier and Type | Method and Description |
|---|---|
AbstractOrderEntryModel |
getEntryToMerge(java.util.List<AbstractOrderEntryModel> entries,
AbstractOrderEntryModel newEntry)
Returns cart entry can be updated instead of creation of separate
newEntry. |
AbstractOrderEntryModel getEntryToMerge(java.util.List<AbstractOrderEntryModel> entries, AbstractOrderEntryModel newEntry)
newEntry.entries - list of existing entriesnewEntry - the merge candidate (can be an item of entriesnull if no applicable entries found)Copyright © 2018 SAP SE. All Rights Reserved.