Class SapCartCalculationService

java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.order.impl.DefaultCalculationService
de.hybris.platform.sap.sappricing.services.impl.SapCartCalculationService
All Implemented Interfaces:
de.hybris.platform.order.CalculationService, Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

public class SapCartCalculationService extends de.hybris.platform.order.impl.DefaultCalculationService
SapCartCalculationService
See Also:
  • Constructor Details

    • SapCartCalculationService

      public SapCartCalculationService()
  • Method Details

    • getSapPricingCartService

      public SapPricingCartService getSapPricingCartService()
    • setSapPricingCartService

      public void setSapPricingCartService(SapPricingCartService sapPricingCartService)
    • getSapPricingEnablementService

      public SapPricingEnablementService getSapPricingEnablementService()
    • setSapPricingEnablementService

      public void setSapPricingEnablementService(SapPricingEnablementService sapPricingEnablementService)
    • 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
    • resetAllValues

      protected void resetAllValues(AbstractOrderEntryModel entry) throws de.hybris.platform.order.exceptions.CalculationException
      Overrides:
      resetAllValues in class de.hybris.platform.order.impl.DefaultCalculationService
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • resetAllValues

      protected Map resetAllValues(AbstractOrderModel order) throws de.hybris.platform.order.exceptions.CalculationException
      Overrides:
      resetAllValues in class de.hybris.platform.order.impl.DefaultCalculationService
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • resetAdditionalCosts

      protected void resetAdditionalCosts(AbstractOrderModel order, Collection<de.hybris.platform.util.TaxValue> relativeTaxValues)
      Overrides:
      resetAdditionalCosts in class de.hybris.platform.order.impl.DefaultCalculationService
    • findDiscountValues

      protected List<de.hybris.platform.util.DiscountValue> findDiscountValues(AbstractOrderEntryModel entry) throws de.hybris.platform.order.exceptions.CalculationException
      Overrides:
      findDiscountValues in class de.hybris.platform.order.impl.DefaultCalculationService
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • isSyncOrdermgmtEnabled

      protected boolean isSyncOrdermgmtEnabled()
    • getModuleConfigurationAccess

      public ModuleConfigurationAccess getModuleConfigurationAccess()
    • setModuleConfigurationAccess

      public void setModuleConfigurationAccess(ModuleConfigurationAccess moduleConfigurationAccess)