Interface OrderTotalByEntryTypeCalculationStrategy
- All Known Implementing Classes:
DefaultOrderTotalByEntryTypeCalculationStrategy
public interface OrderTotalByEntryTypeCalculationStrategy
Strategy that calculates the total amount paid for a certain orderEntryType.
-
Method Summary
Modifier and TypeMethodDescriptioncalculate(OrderModel orderModel, OrderEntryType orderEntryType) Returns the total paid amount for a given orderEntryType for the given order
-
Method Details
-
calculate
Returns the total paid amount for a given orderEntryType for the given order- Parameters:
orderModel- as the orderModelorderEntryType- as the orderEntryType to be used to calculate the total paid amount- Returns:
- the total paid amount for the given orderEntryType
-