Class StandardTotalRefundCalculationStrategy
java.lang.Object
de.hybris.platform.travelservices.ordercancel.impl.StandardTotalRefundCalculationStrategy
- All Implemented Interfaces:
TotalRefundCalculationStrategy
public class StandardTotalRefundCalculationStrategy
extends Object
implements TotalRefundCalculationStrategy
Strategy to calculate refund amount for default order entries
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTotalToRefund(OrderModel order) Returns the BigDecimal corresponding to the total amount to be refunded when cancelling the ordervoidsetRefundActionStrategy(RefundActionStrategy refundActionStrategy)
-
Constructor Details
-
StandardTotalRefundCalculationStrategy
public StandardTotalRefundCalculationStrategy()
-
-
Method Details
-
getTotalToRefund
Description copied from interface:TotalRefundCalculationStrategyReturns the BigDecimal corresponding to the total amount to be refunded when cancelling the order- Specified by:
getTotalToRefundin interfaceTotalRefundCalculationStrategy- Parameters:
order- as the orderModel to be cancelled- Returns:
- BigDecimal corresponding to the total amount to be refunded
-
getRefundActionStrategy
- Returns:
- the refundActionStrategy
-
setRefundActionStrategy
- Parameters:
refundActionStrategy- the refundActionStrategy to set
-