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 Details

    • StandardTotalRefundCalculationStrategy

      public StandardTotalRefundCalculationStrategy()
  • 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
    • getRefundActionStrategy

      public RefundActionStrategy getRefundActionStrategy()
      Returns:
      the refundActionStrategy
    • setRefundActionStrategy

      public void setRefundActionStrategy(RefundActionStrategy refundActionStrategy)
      Parameters:
      refundActionStrategy - the refundActionStrategy to set