Interface TmaCartHookHelper

All Known Implementing Classes:
DefaultTmaCartHookHelper

public interface TmaCartHookHelper
Helper methods for operating with TmaProductOfferingModel in cart.
Since:
1810
  • Method Details

    • invalidateBpoEntries

      @Deprecated(since="2102") void invalidateBpoEntries(CartModel cart, EntryGroup entryGroup)
      Deprecated.
      since 2102
      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 entries
      entryGroup - the entry group for which the cart entries are recalculated
    • recalculateEntries

      void recalculateEntries(AbstractOrderEntryModel rootEntry)
      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