Interface QuoteUserTypeIdentificationStrategy
-
- All Known Implementing Classes:
DefaultQuoteUserTypeIdentificationStrategy
public interface QuoteUserTypeIdentificationStrategyStrategy to help return the current user type of user that is acting on a quote
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<QuoteUserType>getCurrentQuoteUserType(UserModel userModel)Returns theQuoteUserTypeof the current user.
-
-
-
Method Detail
-
getCurrentQuoteUserType
java.util.Optional<QuoteUserType> getCurrentQuoteUserType(UserModel userModel)
Returns theQuoteUserTypeof the current user.- Parameters:
userModel- user for which to get the quote user type- Returns:
- the
QuoteUserTypeof the given user - Throws:
java.lang.IllegalArgumentException- if the user model is null
-
-