Interface TotalRefundCalculationStrategy

All Known Implementing Classes:
DefaultAccommodationTotalRefundCalculationStrategy, DefaultTotalRefundCalculationStrategy, StandardTotalRefundCalculationStrategy

public interface TotalRefundCalculationStrategy
Strategy to calculate the total amount to be refunded when cancelling the order
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the BigDecimal corresponding to the total amount to be refunded when cancelling the order
  • Method Details

    • getTotalToRefund

      BigDecimal getTotalToRefund(OrderModel order)
      Returns the BigDecimal corresponding to the total amount to be refunded when cancelling the order
      Parameters:
      order - as the orderModel to be cancelled
      Returns:
      BigDecimal corresponding to the total amount to be refunded