Interface TmaCartHookHelper
- All Known Implementing Classes:
DefaultTmaCartHookHelper
public interface TmaCartHookHelper
Helper methods for operating with
TmaProductOfferingModel in cart.- Since:
- 1810
-
Method Summary
Modifier and TypeMethodDescriptionvoidinvalidateBpoEntries(CartModel cart, EntryGroup entryGroup) Deprecated.since 2102voidrecalculateEntries(AbstractOrderEntryModel rootEntry) Sets all cart entries belonging to the same BPO as "not calculated" and then recalculates all of them.
-
Method Details
-
invalidateBpoEntries
Deprecated.since 2102Sets all cart entries belonging to the same entry group/BPO as "not calculated" and then recalculates all of them.- Parameters:
cart- the cart to recalculate entriesentryGroup- the entry group for which the cart entries are recalculated
-
recalculateEntries
Sets all cart entries belonging to the same BPO as "not calculated" and then recalculates all of them.- Parameters:
rootEntry- the root entry which will be recalculated along with all its children
-