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 TypeMethodDescriptiongetTotalToRefund(OrderModel order) Returns the BigDecimal corresponding to the total amount to be refunded when cancelling the order
-
Method Details
-
getTotalToRefund
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
-