public class TestCustomCommerceContext extends BaseCommerceContext
Constructor and Description |
---|
TestCustomCommerceContext(long companyId,
long commerceChannelGroupId,
long orderId,
long commerceAccountId,
CommerceAccountHelper commerceAccountHelper,
CommerceAccountLocalService commerceAccountLocalService,
CommerceAccountService commerceAccountService,
CommerceChannelLocalService commerceChannelLocalService,
CommerceCurrencyLocalService commerceCurrencyLocalService,
CommerceOrderService commerceOrderService,
com.liferay.portal.kernel.module.configuration.ConfigurationProvider configurationProvider) |
Modifier and Type | Method and Description |
---|---|
CommerceCurrency |
getCommerceCurrency() |
getAccountEntryAllowedTypes, getCommerceAccount, getCommerceAccountGroupIds, getCommerceChannelGroupId, getCommerceChannelId, getCommerceOrder, getCommerceSiteType
public TestCustomCommerceContext(long companyId, long commerceChannelGroupId, long orderId, long commerceAccountId, CommerceAccountHelper commerceAccountHelper, CommerceAccountLocalService commerceAccountLocalService, CommerceAccountService commerceAccountService, CommerceChannelLocalService commerceChannelLocalService, CommerceCurrencyLocalService commerceCurrencyLocalService, CommerceOrderService commerceOrderService, com.liferay.portal.kernel.module.configuration.ConfigurationProvider configurationProvider)
public CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency
in interface CommerceContext
getCommerceCurrency
in class BaseCommerceContext
com.liferay.portal.kernel.exception.PortalException