Class DefaultQuoteUpdateStateStrategy
java.lang.Object
de.hybris.platform.commerceservices.order.strategies.impl.DefaultQuoteUpdateStateStrategy
- All Implemented Interfaces:
QuoteUpdateStateStrategy
Default implementation of
QuoteUpdateStateStrategy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QuoteStateSelectionStrategyvoidsetQuoteStateSelectionStrategy(QuoteStateSelectionStrategy quoteStateSelectionStrategy) updateQuoteState(QuoteAction quoteAction, QuoteModel quoteModel, UserModel userModel) Updates the state of the quote for the given action.
-
Constructor Details
-
DefaultQuoteUpdateStateStrategy
public DefaultQuoteUpdateStateStrategy()
-
-
Method Details
-
updateQuoteState
public QuoteModel updateQuoteState(QuoteAction quoteAction, QuoteModel quoteModel, UserModel userModel) Description copied from interface:QuoteUpdateStateStrategyUpdates the state of the quote for the given action.- Specified by:
updateQuoteStatein interfaceQuoteUpdateStateStrategy- 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
-
getQuoteStateSelectionStrategy
-
setQuoteStateSelectionStrategy
-