Class DefaultQuoteUserTypeIdentificationStrategy
java.lang.Object
de.hybris.platform.commerceservices.order.strategies.impl.DefaultQuoteUserTypeIdentificationStrategy
- All Implemented Interfaces:
QuoteUserTypeIdentificationStrategy
public class DefaultQuoteUserTypeIdentificationStrategy
extends Object
implements QuoteUserTypeIdentificationStrategy
Default implementation of
QuoteUserTypeIdentificationStrategy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetCurrentQuoteUserType(UserModel userModel) Returns theQuoteUserTypeof the current user.protected Stringprotected Stringprotected UserServicevoidsetBuyerGroup(String buyerGroup) voidsetSellerApproverGroup(String sellerApproverGroup) voidsetSellerGroup(String sellerGroup) voidsetUserService(UserService userService)
-
Constructor Details
-
DefaultQuoteUserTypeIdentificationStrategy
public DefaultQuoteUserTypeIdentificationStrategy()
-
-
Method Details
-
getCurrentQuoteUserType
Description copied from interface:QuoteUserTypeIdentificationStrategyReturns theQuoteUserTypeof the current user.- Specified by:
getCurrentQuoteUserTypein interfaceQuoteUserTypeIdentificationStrategy- Parameters:
userModel- user for which to get the quote user type- Returns:
- the
QuoteUserTypeof the given user
-
getUserService
-
setUserService
-
getBuyerGroup
-
setBuyerGroup
-
getSellerGroup
-
setSellerGroup
-
getSellerApproverGroup
-
setSellerApproverGroup
-