Package com.liferay.commerce.order
Interface CommerceOrderHttpHelper
public interface CommerceOrderHttpHelper
-
Method Summary
Modifier and TypeMethodDescriptionaddCommerceOrder(javax.servlet.http.HttpServletRequest httpServletRequest) voiddeleteCommerceOrder(javax.portlet.ActionRequest actionRequest, long commerceOrderId) fetchCommerceOrderByUuidAndGroupId(String uuid, long groupId) getCommerceCartPortletURL(long groupId, javax.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder) getCommerceCartPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest) getCommerceCartPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder) javax.portlet.PortletURLgetCommerceCheckoutPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest) getCommerceOrderItemsQuantity(javax.servlet.http.HttpServletRequest httpServletRequest) getCookieName(long commerceChannelId) getCurrentCommerceOrder(javax.servlet.http.HttpServletRequest httpServletRequest) booleanisGuestCheckoutEnabled(javax.servlet.http.HttpServletRequest httpServletRequest) booleanisMultishippingEnabled(javax.servlet.http.HttpServletRequest httpServletRequest) voidsetCurrentCommerceOrder(javax.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder)
-
Method Details
-
addCommerceOrder
CommerceOrder addCommerceOrder(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrder
void deleteCommerceOrder(javax.portlet.ActionRequest actionRequest, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderByUuidAndGroupId
CommerceOrder fetchCommerceOrderByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCartPortletURL
String getCommerceCartPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCartPortletURL
String getCommerceCartPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCartPortletURL
String getCommerceCartPortletURL(long groupId, javax.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCheckoutPortletURL
javax.portlet.PortletURL getCommerceCheckoutPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItemsQuantity
BigDecimal getCommerceOrderItemsQuantity(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCookieName
-
getCurrentCommerceOrder
CommerceOrder getCurrentCommerceOrder(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isGuestCheckoutEnabled
boolean isGuestCheckoutEnabled(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isMultishippingEnabled
boolean isMultishippingEnabled(javax.servlet.http.HttpServletRequest httpServletRequest) -
setCurrentCommerceOrder
void setCurrentCommerceOrder(javax.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-