Class SapCpqQuoteCartCalculationMethodHook

  • All Implemented Interfaces:
    de.hybris.platform.commerceservices.order.hook.CommerceCartCalculationMethodHook

    public class SapCpqQuoteCartCalculationMethodHook
    extends de.hybris.platform.commerceservices.order.hook.impl.DefaultCommerceQuoteCartCalculationMethodHook
    Class to handle Quote header and item discounts while converting from Quote to Order
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterCalculate​(CommerceCartParameter parameter)  
      protected void copyEntryDiscountList​(CartModel cartModel, QuoteModel quoteReference)  
      • Methods inherited from class de.hybris.platform.commerceservices.order.hook.impl.DefaultCommerceQuoteCartCalculationMethodHook

        beforeCalculate, getCalculationService, getModelService, getOrderQuoteDiscountValuesAccessor, setCalculationService, setModelService, setOrderQuoteDiscountValuesAccessor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SapCpqQuoteCartCalculationMethodHook

        public SapCpqQuoteCartCalculationMethodHook()
    • Method Detail

      • afterCalculate

        public void afterCalculate​(CommerceCartParameter parameter)
        Specified by:
        afterCalculate in interface de.hybris.platform.commerceservices.order.hook.CommerceCartCalculationMethodHook
        Overrides:
        afterCalculate in class de.hybris.platform.commerceservices.order.hook.impl.DefaultCommerceQuoteCartCalculationMethodHook
      • copyEntryDiscountList

        protected void copyEntryDiscountList​(CartModel cartModel,
                                             QuoteModel quoteReference)
        Parameters:
        cartModel -
        quoteReference -