public class BaseCommerceContext extends java.lang.Object implements CommerceContext
Constructor and Description |
---|
BaseCommerceContext(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 |
---|---|
java.lang.String[] |
getAccountEntryAllowedTypes() |
CommerceAccount |
getCommerceAccount() |
long[] |
getCommerceAccountGroupIds() |
long |
getCommerceChannelGroupId() |
long |
getCommerceChannelId() |
CommerceCurrency |
getCommerceCurrency() |
CommerceOrder |
getCommerceOrder() |
int |
getCommerceSiteType() |
public BaseCommerceContext(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 java.lang.String[] getAccountEntryAllowedTypes() throws com.liferay.portal.kernel.exception.PortalException
getAccountEntryAllowedTypes
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount getCommerceAccount() throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccount
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public long[] getCommerceAccountGroupIds() throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountGroupIds
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public long getCommerceChannelGroupId() throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannelGroupId
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public long getCommerceChannelId() throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannelId
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder getCommerceOrder() throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrder
in interface CommerceContext
com.liferay.portal.kernel.exception.PortalException
public int getCommerceSiteType()
getCommerceSiteType
in interface CommerceContext