Interface OrderRequiresCalculationStrategy
- All Known Implementing Classes:
DefaultOrderRequiresCalculationStrategy,PunchOutOrderRequiresCalculationStrategy
public interface OrderRequiresCalculationStrategy
Strategy answers if order or order entry requires calculation
-
Method Summary
Modifier and TypeMethodDescriptionbooleanrequiresCalculation(AbstractOrderEntryModel orderEntry) Method checks if the order entry need to be calculated.booleanMethod checks if the order need to be calculated.
-
Method Details
-
requiresCalculation
Method checks if the order need to be calculated.- Parameters:
order-AbstractOrderModelto check- Returns:
trueif order requires calculation
-
requiresCalculation
Method checks if the order entry need to be calculated.- Parameters:
orderEntry-AbstractOrderEntryModelto check- Returns:
trueif order entry requires calculation
-