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 Summary
Modifier and TypeMethodDescriptionbooleanprocessConsignment(ConsignmentModel consignmentModel) Process consignment under some conditions.
-
Method Details
-
processConsignment
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
-