public class TestCustomCommerceContext
extends com.liferay.commerce.context.BaseCommerceContext
Constructor and Description |
---|
TestCustomCommerceContext(long companyId,
long commerceChannelGroupId,
long orderId,
long commerceAccountId,
com.liferay.account.service.AccountEntryLocalService accountEntryLocalService,
com.liferay.account.service.AccountGroupLocalService accountGroupLocalService,
com.liferay.commerce.product.service.CommerceChannelAccountEntryRelLocalService commerceChannelAccountEntryRelLocalService,
com.liferay.commerce.product.service.CommerceChannelLocalService commerceChannelLocalService,
com.liferay.commerce.currency.service.CommerceCurrencyLocalService commerceCurrencyLocalService,
com.liferay.commerce.service.CommerceOrderService commerceOrderService,
com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider) |
Modifier and Type | Method and Description |
---|---|
com.liferay.commerce.currency.model.CommerceCurrency |
getCommerceCurrency() |
public TestCustomCommerceContext(long companyId, long commerceChannelGroupId, long orderId, long commerceAccountId, com.liferay.account.service.AccountEntryLocalService accountEntryLocalService, com.liferay.account.service.AccountGroupLocalService accountGroupLocalService, com.liferay.commerce.product.service.CommerceChannelAccountEntryRelLocalService commerceChannelAccountEntryRelLocalService, com.liferay.commerce.product.service.CommerceChannelLocalService commerceChannelLocalService, com.liferay.commerce.currency.service.CommerceCurrencyLocalService commerceCurrencyLocalService, com.liferay.commerce.service.CommerceOrderService commerceOrderService, com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider)
public com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency
in interface com.liferay.commerce.context.CommerceContext
getCommerceCurrency
in class com.liferay.commerce.context.BaseCommerceContext
com.liferay.portal.kernel.exception.PortalException