Class DefaultOrderCalculation
java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.order.strategies.impl.DefaultOrderCalculation
- All Implemented Interfaces:
OrderCalculation,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
Default implementation of the
OrderCalculation interface.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
AbstractService.SerializableDTO -
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
modelService, sessionService, txManagerFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancalculate(AbstractOrderModel order) Calculates the givenorderand returnstrueif each entry and after this theAbstractOrderModelwas calculated.voidsetCalculationService(CalculationService calculationService) Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
-
Constructor Details
-
DefaultOrderCalculation
public DefaultOrderCalculation()
-
-
Method Details
-
calculate
Description copied from interface:OrderCalculationCalculates the givenorderand returnstrueif each entry and after this theAbstractOrderModelwas calculated. Thereby any invalid entry will be automatically removed.- Specified by:
calculatein interfaceOrderCalculation- Parameters:
order- theAbstractOrderModel- Returns:
falseif theorderwas already calculated.
-
setCalculationService
-