Interface CommerceOrderHttpHelper


public interface CommerceOrderHttpHelper
  • 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

      String getCookieName(long commerceChannelId)
    • 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