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.kernel.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.kernel.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.CommerceContextgetCommerceCurrency in class com.liferay.commerce.context.BaseCommerceContextcom.liferay.portal.kernel.exception.PortalException