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
ConstructorsConstructorDescriptionTestCustomCommerceContextHttp
(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 TypeMethodDescriptioncom.liferay.commerce.currency.model.CommerceCurrency
Methods inherited from class com.liferay.commerce.context.BaseCommerceContextHttp
getAccountEntry, getAccountEntryAllowedTypes, getCommerceAccountGroupIds, getCommerceChannelGroupId, getCommerceChannelId, getCommerceOrder, getCommerceSiteType, getCPConfigurationListId, getCPConfigurationListIds
-
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 interfacecom.liferay.commerce.context.CommerceContext
- Overrides:
getCommerceCurrency
in classcom.liferay.commerce.context.BaseCommerceContextHttp
- Throws:
com.liferay.portal.kernel.exception.PortalException
-