public interface CommerceOrderEngine
Modifier and Type | Method and Description |
---|---|
CommerceOrder |
checkCommerceOrderShipmentStatus(CommerceOrder commerceOrder,
boolean secure) |
CommerceOrder |
checkoutCommerceOrder(CommerceOrder commerceOrder,
long userId) |
CommerceOrderStatus |
getCurrentCommerceOrderStatus(CommerceOrder commerceOrder) |
java.util.List<CommerceOrderStatus> |
getNextCommerceOrderStatuses(CommerceOrder commerceOrder) |
CommerceOrder |
transitionCommerceOrder(CommerceOrder commerceOrder,
int orderStatus,
long userId,
boolean secure) |
CommerceOrder |
updateCommerceOrder(java.lang.String externalReferenceCode,
long commerceOrderId,
long billingAddressId,
long commerceShippingMethodId,
long shippingAddressId,
java.lang.String advanceStatus,
java.lang.String commercePaymentMethodKey,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal shippingAmount,
java.lang.String shippingOptionName,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalWithTaxAmount,
CommerceContext commerceContext,
boolean recalculatePrice) |
CommerceOrder checkCommerceOrderShipmentStatus(CommerceOrder commerceOrder, boolean secure) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceOrder checkoutCommerceOrder(CommerceOrder commerceOrder, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceOrderStatus getCurrentCommerceOrderStatus(CommerceOrder commerceOrder)
java.util.List<CommerceOrderStatus> getNextCommerceOrderStatuses(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceOrder transitionCommerceOrder(CommerceOrder commerceOrder, int orderStatus, long userId, boolean secure) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceOrder updateCommerceOrder(java.lang.String externalReferenceCode, long commerceOrderId, long billingAddressId, long commerceShippingMethodId, long shippingAddressId, java.lang.String advanceStatus, java.lang.String commercePaymentMethodKey, java.lang.String purchaseOrderNumber, java.math.BigDecimal shippingAmount, java.lang.String shippingOptionName, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalDiscountAmount, java.math.BigDecimal totalWithTaxAmount, CommerceContext commerceContext, boolean recalculatePrice) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException