Class TestCustomCommerceContextHttp

java.lang.Object
com.liferay.commerce.context.BaseCommerceContextHttp
com.liferay.commerce.test.util.context.TestCustomCommerceContextHttp
All Implemented Interfaces:
com.liferay.commerce.context.CommerceContext, Serializable

public class TestCustomCommerceContextHttp extends com.liferay.commerce.context.BaseCommerceContextHttp
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestCustomCommerceContextHttp(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.account.service.AccountGroupLocalService accountGroupLocalService, com.liferay.commerce.util.CommerceAccountHelper commerceAccountHelper, com.liferay.commerce.product.service.CommerceCatalogLocalService commerceCatalogLocalService, com.liferay.commerce.product.service.CommerceChannelAccountEntryRelLocalService commerceChannelAccountEntryRelLocalService, com.liferay.commerce.product.service.CommerceChannelLocalService commerceChannelLocalService, com.liferay.commerce.currency.service.CommerceCurrencyLocalService commerceCurrencyLocalService, com.liferay.commerce.order.CommerceOrderHttpHelper commerceOrderHttpHelper, com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider, com.liferay.commerce.product.discovery.CPConfigurationListDiscovery cpConfigurationListDiscovery, com.liferay.portal.kernel.util.Portal portal)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.liferay.commerce.currency.model.CommerceCurrency
     

    Methods inherited from class com.liferay.commerce.context.BaseCommerceContextHttp

    getAccountEntry, getAccountEntryAllowedTypes, getCommerceAccountGroupIds, getCommerceChannelGroupId, getCommerceChannelId, getCommerceOrder, getCommerceSiteType, getCPConfigurationListId, getCPConfigurationListIds

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestCustomCommerceContextHttp

      public TestCustomCommerceContextHttp(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.account.service.AccountGroupLocalService accountGroupLocalService, com.liferay.commerce.util.CommerceAccountHelper commerceAccountHelper, com.liferay.commerce.product.service.CommerceCatalogLocalService commerceCatalogLocalService, com.liferay.commerce.product.service.CommerceChannelAccountEntryRelLocalService commerceChannelAccountEntryRelLocalService, com.liferay.commerce.product.service.CommerceChannelLocalService commerceChannelLocalService, com.liferay.commerce.currency.service.CommerceCurrencyLocalService commerceCurrencyLocalService, com.liferay.commerce.order.CommerceOrderHttpHelper commerceOrderHttpHelper, com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider, com.liferay.commerce.product.discovery.CPConfigurationListDiscovery cpConfigurationListDiscovery, com.liferay.portal.kernel.util.Portal portal)
  • Method Details

    • getCommerceCurrency

      public com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceCurrency in interface com.liferay.commerce.context.CommerceContext
      Overrides:
      getCommerceCurrency in class com.liferay.commerce.context.BaseCommerceContextHttp
      Throws:
      com.liferay.portal.kernel.exception.PortalException