Interface CommerceOrderEngine
public interface CommerceOrderEngine
-
Method Summary
Modifier and TypeMethodDescriptioncheckCommerceOrderShipmentStatus
(CommerceOrder commerceOrder, boolean secure) checkoutCommerceOrder
(CommerceOrder commerceOrder, long userId) getCurrentCommerceOrderStatus
(CommerceOrder commerceOrder) getNextCommerceOrderStatuses
(CommerceOrder commerceOrder) transitionCommerceOrder
(CommerceOrder commerceOrder, int orderStatus, long userId, boolean secure) 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)
-
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
-
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
-