Interface TmaCartHookHelper
-
- All Known Implementing Classes:
DefaultTmaCartHookHelper
public interface TmaCartHookHelperHelper methods for operating withTmaProductOfferingModelin cart.- Since:
- 1810
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidinvalidateBpoEntries(CartModel cart, EntryGroup entryGroup)Sets all cart entries belonging to the same entry group/BPO as "not calculated" and then recalculates all of them.voidrecalculateChildCarts(CartModel cartModel)Deprecated, for removal: This API element is subject to removal in a future version.since 1907
-
-
-
Method Detail
-
invalidateBpoEntries
void invalidateBpoEntries(CartModel cart, EntryGroup entryGroup)
Sets 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
-
recalculateChildCarts
@Deprecated(since="1907", forRemoval=true) void recalculateChildCarts(CartModel cartModel)Deprecated, for removal: This API element is subject to removal in a future version.since 1907Recalculates all child carts belonging to a master cart.- Parameters:
cartModel- the master cart for which the child carts are recalculated
-
-