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,java.io.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.DefaultCalculationServiceSapCartCalculationService- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SapCartCalculationService()
-
Method Summary
-
Methods inherited from class de.hybris.platform.order.impl.DefaultCalculationService
addAbsoluteEntryTaxValue, addRelativeEntryTaxValue, applyGrossMixedRate, applyNetMixedRate, calculate, calculateAbsoluteTotalTaxValue, calculateDiscountValues, calculateEntries, calculateSubtotal, calculateTotals, calculateTotals, calculateTotalTaxValues, calculateTotalTaxValues, convertDiscountValues, convertPriceIfNecessary, findBasePrice, findGlobalDiscounts, findTaxValues, getTaxCorrectionFactor, getTaxFreeEntrySupport, getTaxFreeSubTotal, getUnappliedRelativeTaxValues, hasJaloStrategies, isAllEntriesTaxed, isTaxFreeEntrySupport, mustHandleTaxFreeEntries, recalculate, recalculate, recalculateOrderEntryIfNeeded, refreshOrder, requiresCalculation, 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
-
-
-
-
Method Detail
-
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:
calculatein interfacede.hybris.platform.order.CalculationService- Overrides:
calculatein classde.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:
recalculatein interfacede.hybris.platform.order.CalculationService- Overrides:
recalculatein classde.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:
calculateTotalsin interfacede.hybris.platform.order.CalculationService- Overrides:
calculateTotalsin classde.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:
resetAllValuesin classde.hybris.platform.order.impl.DefaultCalculationService- Throws:
de.hybris.platform.order.exceptions.CalculationException
-
resetAllValues
protected java.util.Map resetAllValues(AbstractOrderModel order) throws de.hybris.platform.order.exceptions.CalculationException
- Overrides:
resetAllValuesin classde.hybris.platform.order.impl.DefaultCalculationService- Throws:
de.hybris.platform.order.exceptions.CalculationException
-
resetAdditionalCosts
protected void resetAdditionalCosts(AbstractOrderModel order, java.util.Collection<de.hybris.platform.util.TaxValue> relativeTaxValues)
- Overrides:
resetAdditionalCostsin classde.hybris.platform.order.impl.DefaultCalculationService
-
findDiscountValues
protected java.util.List<de.hybris.platform.util.DiscountValue> findDiscountValues(AbstractOrderEntryModel entry) throws de.hybris.platform.order.exceptions.CalculationException
- Overrides:
findDiscountValuesin classde.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)
-
-