Interface QuoteUpdateStateStrategy
- All Known Implementing Classes:
DefaultQuoteUpdateStateStrategy
public interface QuoteUpdateStateStrategy
Strategy to update the state of a quote on an action
-
Method Summary
Modifier and TypeMethodDescriptionupdateQuoteState(QuoteAction quoteAction, QuoteModel quoteModel, UserModel userModel) Updates the state of the quote for the given action.
-
Method Details
-
updateQuoteState
Updates the state of the quote for the given action.- Parameters:
quoteAction- the quote action to be performedquoteModel- the quote for which to update the stateuserModel- the user who wants to update quote state- Returns:
QuoteModelthe updated quote model- Throws:
IllegalArgumentException- if any of the parameters is null
-