public interface CommerceContext
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
com.liferay.commerce.currency.model.CommerceCurrency |
getCommerceCurrency() |
CommerceOrder |
getCommerceOrder() |
java.util.Optional<com.liferay.commerce.price.list.model.CommercePriceList> |
getCommercePriceList() |
long[] |
getCommerceUserSegmentEntryIds() |
java.lang.String |
getCouponCode() |
java.util.List<com.liferay.commerce.product.model.CPRule> |
getCPRules() |
com.liferay.portal.kernel.model.Organization |
getOrganization() |
long |
getSiteGroupId() |
long |
getUserId() |
com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceOrder getCommerceOrder() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.util.Optional<com.liferay.commerce.price.list.model.CommercePriceList> getCommercePriceList()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionlong[] getCommerceUserSegmentEntryIds()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getCouponCode()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.util.List<com.liferay.commerce.product.model.CPRule> getCPRules()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.model.Organization getOrganization()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionlong getSiteGroupId()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionlong getUserId()