Class DefaultCustomerResolutionService
- java.lang.Object
-
- de.hybris.platform.subscriptionservices.subscription.impl.DefaultCustomerResolutionService
-
- All Implemented Interfaces:
CustomerResolutionService
public class DefaultCustomerResolutionService extends java.lang.Object implements CustomerResolutionService
Default implementation of theCustomerResolutionServiceusing theUserServiceto resolve the current customer.
-
-
Constructor Summary
Constructors Constructor Description DefaultCustomerResolutionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCurrencyIso()Returns the ISO currency code.CustomerModelgetCurrentCustomer()Returns the current customer.protected I18NServicegetI18NService()protected UserServicegetUserService()voidsetI18NService(I18NService i18NService)voidsetUserService(UserService userService)
-
-
-
Method Detail
-
getCurrentCustomer
@Nullable public CustomerModel getCurrentCustomer()
Description copied from interface:CustomerResolutionServiceReturns the current customer.- Specified by:
getCurrentCustomerin interfaceCustomerResolutionService- Returns:
CustomerModelthe current customer
-
getCurrencyIso
@Nullable public java.lang.String getCurrencyIso()
Description copied from interface:CustomerResolutionServiceReturns the ISO currency code.- Specified by:
getCurrencyIsoin interfaceCustomerResolutionService- Returns:
Stringthe ISO currency code
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getI18NService
protected I18NService getI18NService()
-
setI18NService
public void setI18NService(I18NService i18NService)
-
-