Class DefaultTotalRefundCalculationStrategy

java.lang.Object
de.hybris.platform.travelservices.ordercancel.impl.DefaultTotalRefundCalculationStrategy
All Implemented Interfaces:
TotalRefundCalculationStrategy

public class DefaultTotalRefundCalculationStrategy extends Object implements TotalRefundCalculationStrategy
Default implementation of TotalRefundCalculationStrategy
  • Constructor Details

    • DefaultTotalRefundCalculationStrategy

      public DefaultTotalRefundCalculationStrategy()
  • Method Details

    • getTotalToRefund

      public BigDecimal getTotalToRefund(OrderModel order)
      Description copied from interface: TotalRefundCalculationStrategy
      Returns the BigDecimal corresponding to the total amount to be refunded when cancelling the order
      Specified by:
      getTotalToRefund in interface TotalRefundCalculationStrategy
      Parameters:
      order - as the orderModel to be cancelled
      Returns:
      BigDecimal corresponding to the total amount to be refunded
    • getTravelRulesService

      protected TravelRulesService getTravelRulesService()
      Returns:
      the travelRulesService
    • setTravelRulesService

      public void setTravelRulesService(TravelRulesService travelRulesService)
      Parameters:
      travelRulesService - the travelRulesService to set
    • getRefundActionStrategyMap

      protected Map<String,RefundActionStrategy> getRefundActionStrategyMap()
      Returns:
      the refundActionStrategyMap
    • setRefundActionStrategyMap

      public void setRefundActionStrategyMap(Map<String,RefundActionStrategy> refundActionStrategyMap)
      Parameters:
      refundActionStrategyMap - the refundActionStrategyMap to set