Class DefaultC4CCpiCalculationService

  • All Implemented Interfaces:
    de.hybris.platform.order.CalculationService, java.io.Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public class DefaultC4CCpiCalculationService
    extends de.hybris.platform.order.impl.DefaultCalculationService
    Calculations Service implementation C4C Quote Calculation
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        de.hybris.platform.servicelayer.internal.service.AbstractService.SerializableDTO
    • Field Summary

      • Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService

        modelService, sessionService, txManager
      • Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        tenant
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void calculate​(AbstractOrderModel order)  
      void calculateTotals​(AbstractOrderModel order, boolean recalculate)  
      protected void calculateTotals​(AbstractOrderModel order, boolean recalculate, java.util.Map<de.hybris.platform.util.TaxValue,​java.util.Map<java.util.Set<de.hybris.platform.util.TaxValue>,​java.lang.Double>> taxValueMap)  
      void recalculate​(AbstractOrderModel order)  
      void setCommonI18NServiceInC4C​(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService)  
      void setOrderRequireCalculationStrategy​(de.hybris.platform.order.strategies.calculation.OrderRequiresCalculationStrategy orderRequireCalculationStrategy)  
      void setQuoteRequiresCalculationStrategy​(DefaultC4CCpiQuoteRequiresCalculationStrategy quoteRequiresCalculationStrategy)  
      • Methods inherited from class de.hybris.platform.order.impl.DefaultCalculationService

        addAbsoluteEntryTaxValue, addRelativeEntryTaxValue, applyGrossMixedRate, applyNetMixedRate, calculate, calculateAbsoluteTotalTaxValue, calculateDiscountValues, calculateEntries, calculateSubtotal, calculateTotals, calculateTotalTaxValues, calculateTotalTaxValues, convertDiscountValues, convertPriceIfNecessary, findBasePrice, findDiscountValues, findGlobalDiscounts, findTaxValues, getTaxCorrectionFactor, getTaxFreeEntrySupport, getTaxFreeSubTotal, getUnappliedRelativeTaxValues, hasJaloStrategies, isAllEntriesTaxed, isTaxFreeEntrySupport, mustHandleTaxFreeEntries, recalculate, recalculate, recalculateOrderEntryIfNeeded, refreshOrder, requiresCalculation, resetAdditionalCosts, resetAllValues, resetAllValues, saveOrder, setCalculatedStatus, setCalculatedStatus, setCommonI18NService, setFindDeliveryCostStrategy, setFindDiscountsStrategies, setFindPaymentCostStrategy, setFindPriceStrategy, setFindTaxesStrategies, setOrderRequiresCalculationStrategy, setTaxFreeEntrySupport
      • Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService

        getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManager
      • Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
      • Methods inherited from class java.lang.Object

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

      • DefaultC4CCpiCalculationService

        public DefaultC4CCpiCalculationService()
    • Method Detail

      • calculate

        public void calculate​(AbstractOrderModel order)
                       throws de.hybris.platform.order.exceptions.CalculationException
        Specified by:
        calculate in interface de.hybris.platform.order.CalculationService
        Overrides:
        calculate in class de.hybris.platform.order.impl.DefaultCalculationService
        Throws:
        de.hybris.platform.order.exceptions.CalculationException
      • recalculate

        public void recalculate​(AbstractOrderModel order)
                         throws de.hybris.platform.order.exceptions.CalculationException
        Specified by:
        recalculate in interface de.hybris.platform.order.CalculationService
        Overrides:
        recalculate in class de.hybris.platform.order.impl.DefaultCalculationService
        Throws:
        de.hybris.platform.order.exceptions.CalculationException
      • calculateTotals

        public void calculateTotals​(AbstractOrderModel order,
                                    boolean recalculate)
                             throws de.hybris.platform.order.exceptions.CalculationException
        Specified by:
        calculateTotals in interface de.hybris.platform.order.CalculationService
        Overrides:
        calculateTotals in class de.hybris.platform.order.impl.DefaultCalculationService
        Throws:
        de.hybris.platform.order.exceptions.CalculationException
      • calculateTotals

        protected void calculateTotals​(AbstractOrderModel order,
                                       boolean recalculate,
                                       java.util.Map<de.hybris.platform.util.TaxValue,​java.util.Map<java.util.Set<de.hybris.platform.util.TaxValue>,​java.lang.Double>> taxValueMap)
                                throws de.hybris.platform.order.exceptions.CalculationException
        Overrides:
        calculateTotals in class de.hybris.platform.order.impl.DefaultCalculationService
        Throws:
        de.hybris.platform.order.exceptions.CalculationException
      • setOrderRequireCalculationStrategy

        public void setOrderRequireCalculationStrategy​(de.hybris.platform.order.strategies.calculation.OrderRequiresCalculationStrategy orderRequireCalculationStrategy)
      • setCommonI18NServiceInC4C

        public void setCommonI18NServiceInC4C​(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService)