Interface DeclineActionStrategy
- All Known Implementing Classes:
DefaultDamagedStockDeclineStrategy,DefaultOutOfStockDeclineStrategy,DefaultTimedBanDeclineStrategy
public interface DeclineActionStrategy
Defines decline action strategies
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(DeclineEntry declineEntry) Action to be performed based on the givenDeclineEntry, based on the selectedDeclineReasonvoidexecute(Collection<DeclineEntry> declineEntries) Action to be performed on the given collection ofDeclineEntry, based on the selectedDeclineReason
-
Method Details
-
execute
Action to be performed based on the givenDeclineEntry, based on the selectedDeclineReason- Parameters:
declineEntry- theDeclineEntryto be declined
-
execute
Action to be performed on the given collection ofDeclineEntry, based on the selectedDeclineReason- Parameters:
declineEntries- the collection ofDeclineEntryto be declined
-