Class DefaultQuoteUserTypeIdentificationStrategy
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.strategies.impl.DefaultQuoteUserTypeIdentificationStrategy
-
- All Implemented Interfaces:
QuoteUserTypeIdentificationStrategy
public class DefaultQuoteUserTypeIdentificationStrategy extends java.lang.Object implements QuoteUserTypeIdentificationStrategy
Default implementation ofQuoteUserTypeIdentificationStrategy.
-
-
Constructor Summary
Constructors Constructor Description DefaultQuoteUserTypeIdentificationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetBuyerGroup()java.util.Optional<QuoteUserType>getCurrentQuoteUserType(UserModel userModel)Returns theQuoteUserTypeof the current user.protected java.lang.StringgetSellerApproverGroup()protected java.lang.StringgetSellerGroup()protected UserServicegetUserService()voidsetBuyerGroup(java.lang.String buyerGroup)voidsetSellerApproverGroup(java.lang.String sellerApproverGroup)voidsetSellerGroup(java.lang.String sellerGroup)voidsetUserService(UserService userService)
-
-
-
Method Detail
-
getCurrentQuoteUserType
public java.util.Optional<QuoteUserType> getCurrentQuoteUserType(UserModel userModel)
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
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getBuyerGroup
protected java.lang.String getBuyerGroup()
-
setBuyerGroup
public void setBuyerGroup(java.lang.String buyerGroup)
-
getSellerGroup
protected java.lang.String getSellerGroup()
-
setSellerGroup
public void setSellerGroup(java.lang.String sellerGroup)
-
getSellerApproverGroup
protected java.lang.String getSellerApproverGroup()
-
setSellerApproverGroup
public void setSellerApproverGroup(java.lang.String sellerApproverGroup)
-
-