public class DefaultOrderCalculation extends AbstractBusinessService implements OrderCalculation
OrderCalculation interface.AbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultOrderCalculation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
calculate(AbstractOrderModel order)
Calculates the given
order and returns true if each entry and after this the
AbstractOrderModel was calculated. |
void |
setCalculationService(CalculationService calculationService) |
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplacepublic boolean calculate(AbstractOrderModel order)
OrderCalculationorder and returns true if each entry and after this the
AbstractOrderModel was calculated. Thereby any invalid entry will be automatically removed.calculate in interface OrderCalculationorder - the AbstractOrderModelfalse if the order was already calculated.public void setCalculationService(CalculationService calculationService)
Copyright © 2018 SAP SE. All Rights Reserved.