Interface UncollectedConsignmentsStrategy

All Known Implementing Classes:
CustomerServiceUncollectedConsignmentStrategy, ReminderUncollectedConsignmentStrategy

public interface UncollectedConsignmentsStrategy
Strategy must decide if any action must be taken on the given consignment and perform the action.
  • Method Details

    • processConsignment

      boolean processConsignment(ConsignmentModel consignmentModel)
      Process consignment under some conditions.
      Parameters:
      consignmentModel - to process
      Returns:
      true if any action has been performed
    • getTimeThreshold

      Integer getTimeThreshold()
      Returns:
      order time threshold in hours