Interface CommerceOrderEngine


public interface CommerceOrderEngine
  • Method Details

    • checkCommerceOrderShipmentStatus

      CommerceOrder checkCommerceOrderShipmentStatus(CommerceOrder commerceOrder, boolean secure) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkoutCommerceOrder

      CommerceOrder checkoutCommerceOrder(CommerceOrder commerceOrder, long userId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCurrentCommerceOrderStatus

      CommerceOrderStatus getCurrentCommerceOrderStatus(CommerceOrder commerceOrder)
    • getNextCommerceOrderStatuses

      List<CommerceOrderStatus> getNextCommerceOrderStatuses(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • transitionCommerceOrder

      CommerceOrder transitionCommerceOrder(CommerceOrder commerceOrder, int orderStatus, long userId, boolean secure) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrder

      CommerceOrder updateCommerceOrder(String externalReferenceCode, long commerceOrderId, long billingAddressId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalWithTaxAmount, CommerceContext commerceContext, boolean recalculatePrice) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException