public class CommerceOrderServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CommerceOrderServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.CommerceOrderService
Constructor and Description |
---|
CommerceOrderServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceOrder |
addCommerceOrder(long groupId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId) |
static CommerceOrder |
addOrUpdateCommerceOrder(java.lang.String externalReferenceCode,
long groupId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId,
long billingAddressId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal subtotal,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal totalWithTaxAmount,
int paymentStatus,
int orderDateMonth,
int orderDateDay,
int orderDateYear,
int orderDateHour,
int orderDateMinute,
int orderStatus,
java.lang.String advanceStatus,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
addOrUpdateCommerceOrder(java.lang.String externalReferenceCode,
long groupId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId,
long billingAddressId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal subtotal,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal totalWithTaxAmount,
int paymentStatus,
int orderStatus,
java.lang.String advanceStatus,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
applyCouponCode(long commerceOrderId,
java.lang.String couponCode,
CommerceContext commerceContext) |
static void |
deleteCommerceOrder(long commerceOrderId) |
static CommerceOrder |
executeWorkflowTransition(long commerceOrderId,
long workflowTaskId,
java.lang.String transitionName,
java.lang.String comment) |
static CommerceOrder |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
static CommerceOrder |
fetchCommerceOrder(long commerceOrderId) |
static CommerceOrder |
fetchCommerceOrder(long commerceAccountId,
long groupId,
int orderStatus)
Deprecated.
As of Athanasius (7.3.x)
|
static CommerceOrder |
fetchCommerceOrder(long commerceAccountId,
long groupId,
long userId,
int orderStatus) |
static CommerceOrder |
fetchCommerceOrder(java.lang.String uuid,
long groupId) |
static CommerceOrder |
getCommerceOrder(long commerceOrderId) |
static CommerceOrder |
getCommerceOrderByUuidAndGroupId(java.lang.String uuid,
long groupId) |
static java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
int[] orderStatuses) |
static java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
int[] orderStatuses,
int start,
int end) |
static java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) |
static java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) |
static int |
getCommerceOrdersCount(long groupId) |
static int |
getCommerceOrdersCount(long groupId,
long commerceAccountId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static java.util.List<CommerceOrder> |
getPendingCommerceOrders(long groupId,
long commerceAccountId,
java.lang.String keywords,
int start,
int end) |
static long |
getPendingCommerceOrdersCount(long companyId,
long groupId) |
static int |
getPendingCommerceOrdersCount(long groupId,
long commerceAccountId,
java.lang.String keywords) |
static java.util.List<CommerceOrder> |
getPlacedCommerceOrders(long companyId,
long groupId,
int start,
int end) |
static java.util.List<CommerceOrder> |
getPlacedCommerceOrders(long groupId,
long commerceAccountId,
java.lang.String keywords,
int start,
int end) |
static long |
getPlacedCommerceOrdersCount(long companyId,
long groupId) |
static int |
getPlacedCommerceOrdersCount(long groupId,
long commerceAccountId,
java.lang.String keywords) |
static CommerceOrderService |
getService() |
static java.util.List<CommerceOrder> |
getUserCommerceOrders(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end) |
static long |
getUserCommerceOrdersCount(long companyId,
long groupId,
java.lang.String keywords) |
static java.util.List<CommerceOrder> |
getUserPendingCommerceOrders(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end) |
static long |
getUserPendingCommerceOrdersCount(long companyId,
long groupId,
java.lang.String keywords) |
static java.util.List<CommerceOrder> |
getUserPlacedCommerceOrders(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end) |
static long |
getUserPlacedCommerceOrdersCount(long companyId,
long groupId,
java.lang.String keywords) |
static void |
mergeGuestCommerceOrder(long guestCommerceOrderId,
long userCommerceOrderId,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
recalculatePrice(long commerceOrderId,
CommerceContext commerceContext) |
static CommerceOrder |
reorderCommerceOrder(long commerceOrderId,
CommerceContext commerceContext) |
static CommerceOrder |
updateBillingAddress(long commerceOrderId,
long billingAddressId) |
static CommerceOrder |
updateBillingAddress(long commerceOrderId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
java.lang.String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
updateCommerceOrder(CommerceOrder commerceOrder) |
static CommerceOrder |
updateCommerceOrder(long commerceOrderId,
long billingAddressId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal subtotal,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal total,
java.lang.String advanceStatus,
CommerceContext commerceContext) |
static CommerceOrder |
updateCommerceOrder(java.lang.String externalReferenceCode,
long commerceOrderId,
long billingAddressId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal subtotal,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal totalWithTaxAmount,
java.lang.String advanceStatus,
CommerceContext commerceContext) |
static CommerceOrder |
updateCommerceOrder(java.lang.String externalReferenceCode,
long commerceOrderId,
long billingAddressId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal subtotal,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal total,
java.lang.String advanceStatus,
CommerceContext commerceContext) |
static CommerceOrder |
updateCommerceOrderExternalReferenceCode(java.lang.String externalReferenceCode,
long commerceOrderId) |
static CommerceOrder |
updateCommerceOrderPrices(long commerceOrderId,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalDiscountAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1,
java.math.BigDecimal subtotalDiscountPercentageLevel2,
java.math.BigDecimal subtotalDiscountPercentageLevel3,
java.math.BigDecimal subtotalDiscountPercentageLevel4,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal shippingDiscountAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1,
java.math.BigDecimal shippingDiscountPercentageLevel2,
java.math.BigDecimal shippingDiscountPercentageLevel3,
java.math.BigDecimal shippingDiscountPercentageLevel4,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalDiscountPercentageLevel1,
java.math.BigDecimal totalDiscountPercentageLevel2,
java.math.BigDecimal totalDiscountPercentageLevel3,
java.math.BigDecimal totalDiscountPercentageLevel4) |
static CommerceOrder |
updateCommerceOrderPrices(long commerceOrderId,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalDiscountAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1,
java.math.BigDecimal subtotalDiscountPercentageLevel2,
java.math.BigDecimal subtotalDiscountPercentageLevel3,
java.math.BigDecimal subtotalDiscountPercentageLevel4,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal shippingDiscountAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1,
java.math.BigDecimal shippingDiscountPercentageLevel2,
java.math.BigDecimal shippingDiscountPercentageLevel3,
java.math.BigDecimal shippingDiscountPercentageLevel4,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalDiscountPercentageLevel1,
java.math.BigDecimal totalDiscountPercentageLevel2,
java.math.BigDecimal totalDiscountPercentageLevel3,
java.math.BigDecimal totalDiscountPercentageLevel4,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal subtotalDiscountWithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal shippingDiscountWithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal totalWithTaxAmount,
java.math.BigDecimal totalDiscountWithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount) |
static CommerceOrder |
updateCommercePaymentMethodKey(long commerceOrderId,
java.lang.String commercePaymentMethodKey) |
static CommerceOrder |
updateCommerceShippingMethod(long commerceOrderId,
long commerceShippingMethodId,
java.lang.String commerceShippingOptionName,
CommerceContext commerceContext,
java.util.Locale locale) |
static CommerceOrder |
updateCustomFields(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
updateInfo(long commerceOrderId,
java.lang.String printedNote,
int requestedDeliveryDateMonth,
int requestedDeliveryDateDay,
int requestedDeliveryDateYear,
int requestedDeliveryDateHour,
int requestedDeliveryDateMinute,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
updateOrderDate(long commerceOrderId,
int orderDateMonth,
int orderDateDay,
int orderDateYear,
int orderDateHour,
int orderDateMinute,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
updatePaymentStatus(long commerceOrderId,
int paymentStatus)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement.
See CommercePaymentEngine.updateOrderPaymentStatus.
|
static CommerceOrder |
updatePaymentStatusAndTransactionId(long commerceOrderId,
int paymentStatus,
java.lang.String transactionId)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement.
See CommercePaymentEngine.updateOrderPaymentStatus.
|
static CommerceOrder |
updatePrintedNote(long commerceOrderId,
java.lang.String printedNote) |
static CommerceOrder |
updatePurchaseOrderNumber(long commerceOrderId,
java.lang.String purchaseOrderNumber) |
static CommerceOrder |
updateShippingAddress(long commerceOrderId,
long shippingAddressId) |
static CommerceOrder |
updateShippingAddress(long commerceOrderId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
java.lang.String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
updateTransactionId(long commerceOrderId,
java.lang.String transactionId) |
static CommerceOrder |
updateUser(long commerceOrderId,
long userId) |
public static CommerceOrder addCommerceOrder(long groupId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder addOrUpdateCommerceOrder(java.lang.String externalReferenceCode, long groupId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId, long billingAddressId, long shippingAddressId, java.lang.String commercePaymentMethodKey, long commerceShippingMethodId, java.lang.String shippingOptionName, java.lang.String purchaseOrderNumber, java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal totalWithTaxAmount, int paymentStatus, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, int orderStatus, java.lang.String advanceStatus, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder addOrUpdateCommerceOrder(java.lang.String externalReferenceCode, long groupId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId, long billingAddressId, long shippingAddressId, java.lang.String commercePaymentMethodKey, long commerceShippingMethodId, java.lang.String shippingOptionName, java.lang.String purchaseOrderNumber, java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal totalWithTaxAmount, int paymentStatus, int orderStatus, java.lang.String advanceStatus, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder applyCouponCode(long commerceOrderId, java.lang.String couponCode, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder executeWorkflowTransition(long commerceOrderId, long workflowTaskId, java.lang.String transitionName, java.lang.String comment) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder fetchCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, long userId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder fetchCommerceOrder(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder getCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder getCommerceOrderByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrder> getCommerceOrders(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrder> getCommerceOrders(long groupId, long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceOrdersCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceOrdersCount(long groupId, long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<CommerceOrder> getPendingCommerceOrders(long groupId, long commerceAccountId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long getPendingCommerceOrdersCount(long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getPendingCommerceOrdersCount(long groupId, long commerceAccountId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrder> getPlacedCommerceOrders(long companyId, long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrder> getPlacedCommerceOrders(long groupId, long commerceAccountId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long getPlacedCommerceOrdersCount(long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getPlacedCommerceOrdersCount(long groupId, long commerceAccountId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrder> getUserCommerceOrders(long companyId, long groupId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long getUserCommerceOrdersCount(long companyId, long groupId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrder> getUserPendingCommerceOrders(long companyId, long groupId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long getUserPendingCommerceOrdersCount(long companyId, long groupId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrder> getUserPlacedCommerceOrders(long companyId, long groupId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long getUserPlacedCommerceOrdersCount(long companyId, long groupId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void mergeGuestCommerceOrder(long guestCommerceOrderId, long userCommerceOrderId, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder recalculatePrice(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder reorderCommerceOrder(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateBillingAddress(long commerceOrderId, long billingAddressId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateBillingAddress(long commerceOrderId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long regionId, long countryId, java.lang.String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateCommerceOrder(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateCommerceOrder(long commerceOrderId, long billingAddressId, long shippingAddressId, java.lang.String commercePaymentMethodKey, long commerceShippingMethodId, java.lang.String shippingOptionName, java.lang.String purchaseOrderNumber, java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount, java.math.BigDecimal total, java.lang.String advanceStatus, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateCommerceOrder(java.lang.String externalReferenceCode, long commerceOrderId, long billingAddressId, long shippingAddressId, java.lang.String commercePaymentMethodKey, long commerceShippingMethodId, java.lang.String shippingOptionName, java.lang.String purchaseOrderNumber, java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal totalWithTaxAmount, java.lang.String advanceStatus, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateCommerceOrder(java.lang.String externalReferenceCode, long commerceOrderId, long billingAddressId, long shippingAddressId, java.lang.String commercePaymentMethodKey, long commerceShippingMethodId, java.lang.String shippingOptionName, java.lang.String purchaseOrderNumber, java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount, java.math.BigDecimal total, java.lang.String advanceStatus, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateCommerceOrderExternalReferenceCode(java.lang.String externalReferenceCode, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateCommerceOrderPrices(long commerceOrderId, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalDiscountAmount, java.math.BigDecimal subtotalDiscountPercentageLevel1, java.math.BigDecimal subtotalDiscountPercentageLevel2, java.math.BigDecimal subtotalDiscountPercentageLevel3, java.math.BigDecimal subtotalDiscountPercentageLevel4, java.math.BigDecimal shippingAmount, java.math.BigDecimal shippingDiscountAmount, java.math.BigDecimal shippingDiscountPercentageLevel1, java.math.BigDecimal shippingDiscountPercentageLevel2, java.math.BigDecimal shippingDiscountPercentageLevel3, java.math.BigDecimal shippingDiscountPercentageLevel4, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalDiscountAmount, java.math.BigDecimal totalDiscountPercentageLevel1, java.math.BigDecimal totalDiscountPercentageLevel2, java.math.BigDecimal totalDiscountPercentageLevel3, java.math.BigDecimal totalDiscountPercentageLevel4) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateCommerceOrderPrices(long commerceOrderId, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalDiscountAmount, java.math.BigDecimal subtotalDiscountPercentageLevel1, java.math.BigDecimal subtotalDiscountPercentageLevel2, java.math.BigDecimal subtotalDiscountPercentageLevel3, java.math.BigDecimal subtotalDiscountPercentageLevel4, java.math.BigDecimal shippingAmount, java.math.BigDecimal shippingDiscountAmount, java.math.BigDecimal shippingDiscountPercentageLevel1, java.math.BigDecimal shippingDiscountPercentageLevel2, java.math.BigDecimal shippingDiscountPercentageLevel3, java.math.BigDecimal shippingDiscountPercentageLevel4, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalDiscountAmount, java.math.BigDecimal totalDiscountPercentageLevel1, java.math.BigDecimal totalDiscountPercentageLevel2, java.math.BigDecimal totalDiscountPercentageLevel3, java.math.BigDecimal totalDiscountPercentageLevel4, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal subtotalDiscountWithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal shippingDiscountWithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal totalWithTaxAmount, java.math.BigDecimal totalDiscountWithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateCommercePaymentMethodKey(long commerceOrderId, java.lang.String commercePaymentMethodKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateCommerceShippingMethod(long commerceOrderId, long commerceShippingMethodId, java.lang.String commerceShippingOptionName, CommerceContext commerceContext, java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateCustomFields(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateInfo(long commerceOrderId, java.lang.String printedNote, int requestedDeliveryDateMonth, int requestedDeliveryDateDay, int requestedDeliveryDateYear, int requestedDeliveryDateHour, int requestedDeliveryDateMinute, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateOrderDate(long commerceOrderId, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommerceOrder updatePaymentStatus(long commerceOrderId, int paymentStatus) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommerceOrder updatePaymentStatusAndTransactionId(long commerceOrderId, int paymentStatus, java.lang.String transactionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updatePrintedNote(long commerceOrderId, java.lang.String printedNote) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updatePurchaseOrderNumber(long commerceOrderId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateShippingAddress(long commerceOrderId, long shippingAddressId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateShippingAddress(long commerceOrderId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long regionId, long countryId, java.lang.String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateTransactionId(long commerceOrderId, java.lang.String transactionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrder updateUser(long commerceOrderId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrderService getService()