public class TestCustomCommerceContext
extends com.liferay.commerce.context.BaseCommerceContext
| Constructor and Description |
|---|
TestCustomCommerceContext(long companyId,
long commerceChannelGroupId,
long orderId,
long commerceAccountId,
com.liferay.commerce.account.util.CommerceAccountHelper commerceAccountHelper,
com.liferay.commerce.account.service.CommerceAccountLocalService commerceAccountLocalService,
com.liferay.commerce.account.service.CommerceAccountService commerceAccountService,
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.commerce.account.util.CommerceAccountHelper commerceAccountHelper,
com.liferay.commerce.account.service.CommerceAccountLocalService commerceAccountLocalService,
com.liferay.commerce.account.service.CommerceAccountService commerceAccountService,
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