Interface UncollectedConsignmentsStrategy
-
- All Known Implementing Classes:
CustomerServiceUncollectedConsignmentStrategy,ReminderUncollectedConsignmentStrategy
public interface UncollectedConsignmentsStrategyStrategy must decide if any action must be taken on the given consignment and perform the action.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.IntegergetTimeThreshold()booleanprocessConsignment(ConsignmentModel consignmentModel)Process consignment under some conditions.
-
-
-
Method Detail
-
processConsignment
boolean processConsignment(ConsignmentModel consignmentModel)
Process consignment under some conditions.- Parameters:
consignmentModel- to process- Returns:
- true if any action has been performed
-
getTimeThreshold
java.lang.Integer getTimeThreshold()
- Returns:
- order time threshold in hours
-
-