Interface DeclineActionStrategy
-
- All Known Implementing Classes:
DefaultDamagedStockDeclineStrategy,DefaultOutOfStockDeclineStrategy,DefaultTimedBanDeclineStrategy
public interface DeclineActionStrategyDefines decline action strategies
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(DeclineEntry declineEntry)Action to be performed based on the givenDeclineEntry, based on the selectedDeclineReasonvoidexecute(java.util.Collection<DeclineEntry> declineEntries)Action to be performed on the given collection ofDeclineEntry, based on the selectedDeclineReason
-
-
-
Method Detail
-
execute
void execute(DeclineEntry declineEntry)
Action to be performed based on the givenDeclineEntry, based on the selectedDeclineReason- Parameters:
declineEntry- theDeclineEntryto be declined
-
execute
void execute(java.util.Collection<DeclineEntry> declineEntries)
Action to be performed on the given collection ofDeclineEntry, based on the selectedDeclineReason- Parameters:
declineEntries- the collection ofDeclineEntryto be declined
-
-