public interface CommerceRemoveEntryGroupStrategy
| Modifier and Type | Method and Description |
|---|---|
CommerceCartModification |
removeEntryGroup(RemoveEntryGroupParameter parameter)
Removes from the (existing)
CartModel the (existing) EntryGroup
If an entry with the given entry group already exists in the cart, it will be removed too. |
CommerceCartModification removeEntryGroup(RemoveEntryGroupParameter parameter) throws CommerceCartModificationException
CartModel the (existing) EntryGroup
If an entry with the given entry group already exists in the cart, it will be removed too.parameter - - A parameter object containing all attributes needed for remove entry group
RemoveEntryGroupParameter.cart - The user's cart in session
RemoveEntryGroupParameter.entryGroupNumber - The number of the entry group to be removed from the cart
RemoveEntryGroupParameter.enableHooks - Are hooks enabled
CommerceCartModificationException - if related cart entry wasn't removedCopyright © 2018 SAP SE. All Rights Reserved.