Class DefaultTmaCartHookHelper

java.lang.Object
de.hybris.platform.b2ctelcoservices.hook.impl.DefaultTmaCartHookHelper
All Implemented Interfaces:
TmaCartHookHelper

public class DefaultTmaCartHookHelper extends Object implements TmaCartHookHelper
Default implementation of TmaCartHookHelper.
Since:
1810
  • Constructor Details

  • Method Details

    • invalidateBpoEntries

      public void invalidateBpoEntries(CartModel cart, EntryGroup entryGroup)
      Description copied from interface: TmaCartHookHelper
      Sets all cart entries belonging to the same entry group/BPO as "not calculated" and then recalculates all of them.
      Specified by:
      invalidateBpoEntries in interface TmaCartHookHelper
      Parameters:
      cart - the cart to recalculate entries
      entryGroup - the entry group for which the cart entries are recalculated
    • recalculateEntries

      public void recalculateEntries(AbstractOrderEntryModel rootEntry)
      Description copied from interface: TmaCartHookHelper
      Sets all cart entries belonging to the same BPO as "not calculated" and then recalculates all of them.
      Specified by:
      recalculateEntries in interface TmaCartHookHelper
      Parameters:
      rootEntry - the root entry which will be recalculated along with all its children
    • recalculateCart

      protected void recalculateCart(CartModel cartModel)
    • getModelService

      public de.hybris.platform.servicelayer.model.ModelService getModelService()
    • setModelService

      public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
    • getCalculationStrategy

      public de.hybris.platform.commerceservices.order.CommerceCartCalculationStrategy getCalculationStrategy()
    • setCalculationStrategy

      public void setCalculationStrategy(de.hybris.platform.commerceservices.order.CommerceCartCalculationStrategy calculationStrategy)
    • getAbstractOrderEntryService

      protected TmaAbstractOrderEntryService getAbstractOrderEntryService()