Interface OrderRequiresCalculationStrategy
-
- All Known Implementing Classes:
DefaultOrderRequiresCalculationStrategy,PunchOutOrderRequiresCalculationStrategy
public interface OrderRequiresCalculationStrategyStrategy answers if order or order entry requires calculation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanrequiresCalculation(AbstractOrderEntryModel orderEntry)Method checks if the order entry need to be calculated.booleanrequiresCalculation(AbstractOrderModel order)Method checks if the order need to be calculated.
-
-
-
Method Detail
-
requiresCalculation
boolean requiresCalculation(AbstractOrderModel order)
Method checks if the order need to be calculated.- Parameters:
order-AbstractOrderModelto check- Returns:
trueif order requires calculation
-
requiresCalculation
boolean requiresCalculation(AbstractOrderEntryModel orderEntry)
Method checks if the order entry need to be calculated.- Parameters:
orderEntry-AbstractOrderEntryModelto check- Returns:
trueif order entry requires calculation
-
-