Package com.liferay.commerce.order
Interface CommerceOrderHttpHelper
public interface CommerceOrderHttpHelper
-
Method Summary
Modifier and TypeMethodDescriptionaddCommerceOrder(jakarta.servlet.http.HttpServletRequest httpServletRequest) voiddeleteCommerceOrder(jakarta.portlet.ActionRequest actionRequest, long commerceOrderId) fetchCommerceOrderByUuidAndGroupId(String uuid, long groupId) getCommerceCartBaseURL(jakarta.servlet.http.HttpServletRequest httpServletRequest) getCommerceCartPortletURL(long groupId, jakarta.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder) getCommerceCartPortletURL(jakarta.servlet.http.HttpServletRequest httpServletRequest) getCommerceCartPortletURL(jakarta.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder) jakarta.portlet.PortletURLgetCommerceCheckoutPortletURL(jakarta.servlet.http.HttpServletRequest httpServletRequest) getCommerceOrderItemsQuantity(jakarta.servlet.http.HttpServletRequest httpServletRequest) getCookieName(long commerceChannelId) getCurrentCommerceOrder(jakarta.servlet.http.HttpServletRequest httpServletRequest) booleanhasCommerceOrderPortlet(jakarta.servlet.http.HttpServletRequest httpServletRequest, String portletKey) booleanhasCommerceOrderReturns(jakarta.servlet.http.HttpServletRequest httpServletRequest) booleanhasCommerceOrderShipments(jakarta.servlet.http.HttpServletRequest httpServletRequest) booleanisGuestCheckoutEnabled(jakarta.servlet.http.HttpServletRequest httpServletRequest) booleanisMultishippingEnabled(jakarta.servlet.http.HttpServletRequest httpServletRequest) voidsetCurrentCommerceOrder(jakarta.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder)
-
Method Details
-
addCommerceOrder
CommerceOrder addCommerceOrder(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrder
void deleteCommerceOrder(jakarta.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
-
getCommerceCartBaseURL
String getCommerceCartBaseURL(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCartPortletURL
String getCommerceCartPortletURL(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCartPortletURL
String getCommerceCartPortletURL(jakarta.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, jakarta.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCheckoutPortletURL
jakarta.portlet.PortletURL getCommerceCheckoutPortletURL(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItemsQuantity
BigDecimal getCommerceOrderItemsQuantity(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCookieName
-
getCurrentCommerceOrder
CommerceOrder getCurrentCommerceOrder(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasCommerceOrderPortlet
boolean hasCommerceOrderPortlet(jakarta.servlet.http.HttpServletRequest httpServletRequest, String portletKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasCommerceOrderReturns
boolean hasCommerceOrderReturns(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasCommerceOrderShipments
boolean hasCommerceOrderShipments(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isGuestCheckoutEnabled
boolean isGuestCheckoutEnabled(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isMultishippingEnabled
boolean isMultishippingEnabled(jakarta.servlet.http.HttpServletRequest httpServletRequest) -
setCurrentCommerceOrder
void setCurrentCommerceOrder(jakarta.servlet.http.HttpServletRequest httpServletRequest, CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-