Interface RefundActionStrategy

All Known Implementing Classes:
RefundAllActionStrategy, RetainAdminFeeOnRefundStrategy

public interface RefundActionStrategy
Strategy for refund actions.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Deprecated.
    Deprecated since version 3.0.
    double
    applyStrategy(OrderModel order, OrderEntryType orderEntryType)
    Method to apply business logic on the total amount.
  • Method Details

    • applyStrategy

      @Deprecated double applyStrategy(OrderModel order)
      Deprecated.
      Deprecated since version 3.0.
      Method to apply business logic on the total amount.
      Parameters:
      order - the order
      Returns:
      total refund amount
    • applyStrategy

      double applyStrategy(OrderModel order, OrderEntryType orderEntryType)
      Method to apply business logic on the total amount.
      Parameters:
      order - the order
      Returns:
      total refund amount