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 Type
    Method
    Description
    calculate(OrderModel orderModel, OrderEntryType orderEntryType)
    Returns the total paid amount for a given orderEntryType for the given order
  • Method Details

    • calculate

      BigDecimal calculate(OrderModel orderModel, OrderEntryType orderEntryType)
      Returns the total paid amount for a given orderEntryType for the given order
      Parameters:
      orderModel - as the orderModel
      orderEntryType - as the orderEntryType to be used to calculate the total paid amount
      Returns:
      the total paid amount for the given orderEntryType