Package com.liferay.commerce.service
Interface CommerceOrderService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CommerceOrderServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceOrderService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommerceOrder. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.repository.model.FileEntry
addAttachmentFileEntry
(String externalReferenceCode, long userId, long commerceOrderId, String fileName, InputStream inputStream) addCommerceOrder
(long groupId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId) addOrUpdateCommerceOrder
(String externalReferenceCode, long groupId, long billingAddressId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, int orderStatus, int paymentStatus, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalWithTaxAmount, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommerceOrder
(String externalReferenceCode, long groupId, long billingAddressId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, int orderStatus, int paymentStatus, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalWithTaxAmount, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) applyCouponCode
(long commerceOrderId, String couponCode, CommerceContext commerceContext) void
deleteAttachmentFileEntry
(long attachmentFileEntryId, long commerceOrderId) void
deleteCommerceOrder
(long commerceOrderId) executeWorkflowTransition
(long commerceOrderId, long workflowTaskId, String transitionName, String comment) fetchCommerceOrder
(long commerceOrderId) fetchCommerceOrder
(long commerceAccountId, long groupId, int orderStatus) Deprecated.As of Athanasius (7.3.x)fetchCommerceOrder
(long commerceAccountId, long groupId, long userId, int orderStatus) fetchCommerceOrder
(String uuid, long groupId) fetchCommerceOrderByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommerceOrder
(long commerceOrderId) getCommerceOrderByUuidAndGroupId
(String uuid, long groupId) getCommerceOrders
(long groupId, int[] orderStatuses) getCommerceOrders
(long groupId, int[] orderStatuses, int start, int end) getCommerceOrders
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) getCommerceOrders
(long groupId, long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) int
getCommerceOrdersCount
(long groupId) int
getCommerceOrdersCount
(long groupId, long commerceAccountId) Returns the OSGi service identifier.getPendingCommerceOrders
(long groupId, long commerceAccountId, String keywords, int start, int end) long
getPendingCommerceOrdersCount
(long companyId, long groupId) int
getPendingCommerceOrdersCount
(long groupId, long commerceAccountId, String keywords) getPlacedCommerceOrders
(long companyId, long groupId, int start, int end) getPlacedCommerceOrders
(long groupId, long commerceAccountId, String keywords, int start, int end) long
getPlacedCommerceOrdersCount
(long companyId, long groupId) int
getPlacedCommerceOrdersCount
(long groupId, long commerceAccountId, String keywords) getUserCommerceOrders
(long companyId, long groupId, String keywords, int start, int end) long
getUserCommerceOrdersCount
(long companyId, long groupId, String keywords) getUserOpenCommerceOrders
(long companyId, long groupId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) getUserPendingCommerceOrders
(long companyId, long groupId, String keywords, int start, int end) long
getUserPendingCommerceOrdersCount
(long companyId, long groupId, String keywords) getUserPlacedCommerceOrders
(long companyId, long groupId, String keywords, int start, int end) getUserPlacedCommerceOrders
(long companyId, long groupId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) long
getUserPlacedCommerceOrdersCount
(long companyId, long groupId, String keywords) void
mergeGuestCommerceOrder
(long guestCommerceOrderId, long userCommerceOrderId, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) recalculatePrice
(long commerceOrderId, CommerceContext commerceContext) reorderCommerceOrder
(long commerceOrderId, CommerceContext commerceContext) resetCommerceOrderAddresses
(long commerceOrderId, boolean billingAddress, boolean shippingAddress) resetTermsAndConditions
(long commerceOrderId, boolean deliveryCommerceTermEntry, boolean paymentCommerceTermEntry) updateBillingAddress
(long commerceOrderId, long billingAddressId) updateBillingAddress
(long commerceOrderId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceOrder
(CommerceOrder 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 subtotal, BigDecimal total) 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) updateCommerceOrderExternalReferenceCode
(String externalReferenceCode, long commerceOrderId) updateCommerceOrderPrices
(long commerceOrderId, BigDecimal shippingAmount, BigDecimal shippingDiscountAmount, BigDecimal shippingDiscountPercentageLevel1, BigDecimal shippingDiscountPercentageLevel2, BigDecimal shippingDiscountPercentageLevel3, BigDecimal shippingDiscountPercentageLevel4, BigDecimal subtotal, BigDecimal subtotalDiscountAmount, BigDecimal subtotalDiscountPercentageLevel1, BigDecimal subtotalDiscountPercentageLevel2, BigDecimal subtotalDiscountPercentageLevel3, BigDecimal subtotalDiscountPercentageLevel4, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalDiscountPercentageLevel1, BigDecimal totalDiscountPercentageLevel2, BigDecimal totalDiscountPercentageLevel3, BigDecimal totalDiscountPercentageLevel4) updateCommerceOrderPrices
(long commerceOrderId, BigDecimal shippingAmount, BigDecimal shippingDiscountAmount, BigDecimal shippingDiscountPercentageLevel1, BigDecimal shippingDiscountPercentageLevel2, BigDecimal shippingDiscountPercentageLevel3, BigDecimal shippingDiscountPercentageLevel4, BigDecimal shippingDiscountPercentageLevel1WithTaxAmount, BigDecimal shippingDiscountPercentageLevel2WithTaxAmount, BigDecimal shippingDiscountPercentageLevel3WithTaxAmount, BigDecimal shippingDiscountPercentageLevel4WithTaxAmount, BigDecimal shippingDiscountWithTaxAmount, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalDiscountAmount, BigDecimal subtotalDiscountPercentageLevel1, BigDecimal subtotalDiscountPercentageLevel2, BigDecimal subtotalDiscountPercentageLevel3, BigDecimal subtotalDiscountPercentageLevel4, BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount, BigDecimal subtotalDiscountWithTaxAmount, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalDiscountPercentageLevel1, BigDecimal totalDiscountPercentageLevel2, BigDecimal totalDiscountPercentageLevel3, BigDecimal totalDiscountPercentageLevel4, BigDecimal totalDiscountPercentageLevel1WithTaxAmount, BigDecimal totalDiscountPercentageLevel2WithTaxAmount, BigDecimal totalDiscountPercentageLevel3WithTaxAmount, BigDecimal totalDiscountPercentageLevel4WithTaxAmount, BigDecimal totalDiscountWithTaxAmount, BigDecimal totalWithTaxAmount) updateCommercePaymentMethodKey
(long commerceOrderId, String commercePaymentMethodKey) updateCommerceShippingMethod
(long commerceOrderId, long commerceShippingMethodId, String commerceShippingOptionName, CommerceContext commerceContext, Locale locale) updateInfo
(long commerceOrderId, String printedNote, int requestedDeliveryDateMonth, int requestedDeliveryDateDay, int requestedDeliveryDateYear, int requestedDeliveryDateHour, int requestedDeliveryDateMinute, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateOrderDate
(long commerceOrderId, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, com.liferay.portal.kernel.service.ServiceContext serviceContext) updatePaymentStatus
(long commerceOrderId, int paymentStatus) Deprecated.As of Athanasius (7.3.x), with no direct replacement.updatePaymentStatusAndTransactionId
(long commerceOrderId, int paymentStatus, String transactionId) Deprecated.As of Athanasius (7.3.x), with no direct replacement.updatePrintedNote
(long commerceOrderId, String printedNote) updatePurchaseOrderNumber
(long commerceOrderId, String purchaseOrderNumber) updateShippingAddress
(long commerceOrderId, long shippingAddressId) updateShippingAddress
(long commerceOrderId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateTermsAndConditions
(long commerceOrderId, long deliveryCommerceTermEntryId, long paymentCommerceTermEntryId, String languageId)
-
Method Details
-
addAttachmentFileEntry
com.liferay.portal.kernel.repository.model.FileEntry addAttachmentFileEntry(String externalReferenceCode, long userId, long commerceOrderId, String fileName, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceOrder
CommerceOrder addCommerceOrder(long groupId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceOrder
CommerceOrder addOrUpdateCommerceOrder(String externalReferenceCode, long groupId, long billingAddressId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, int orderStatus, int paymentStatus, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalWithTaxAmount, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceOrder
CommerceOrder addOrUpdateCommerceOrder(String externalReferenceCode, long groupId, long billingAddressId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, int orderStatus, int paymentStatus, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalWithTaxAmount, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
applyCouponCode
CommerceOrder applyCouponCode(long commerceOrderId, String couponCode, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAttachmentFileEntry
void deleteAttachmentFileEntry(long attachmentFileEntryId, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrder
void deleteCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
executeWorkflowTransition
CommerceOrder executeWorkflowTransition(long commerceOrderId, long workflowTaskId, String transitionName, String comment) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrder
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrder
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrder
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, long userId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrder
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrder(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrderByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrder
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder getCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder getCommerceOrderByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getCommerceOrders(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrdersCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrdersCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrdersCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrdersCount(long groupId, long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPendingCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getPendingCommerceOrders(long groupId, long commerceAccountId, String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPendingCommerceOrdersCount
@Transactional(propagation=SUPPORTS, readOnly=true) long getPendingCommerceOrdersCount(long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPendingCommerceOrdersCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getPendingCommerceOrdersCount(long groupId, long commerceAccountId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPlacedCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getPlacedCommerceOrders(long companyId, long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPlacedCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getPlacedCommerceOrders(long groupId, long commerceAccountId, String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPlacedCommerceOrdersCount
@Transactional(propagation=SUPPORTS, readOnly=true) long getPlacedCommerceOrdersCount(long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPlacedCommerceOrdersCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getPlacedCommerceOrdersCount(long groupId, long commerceAccountId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getUserCommerceOrders(long companyId, long groupId, String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserCommerceOrdersCount
@Transactional(propagation=SUPPORTS, readOnly=true) long getUserCommerceOrdersCount(long companyId, long groupId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserOpenCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getUserOpenCommerceOrders(long companyId, long groupId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserPendingCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getUserPendingCommerceOrders(long companyId, long groupId, String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserPendingCommerceOrdersCount
@Transactional(propagation=SUPPORTS, readOnly=true) long getUserPendingCommerceOrdersCount(long companyId, long groupId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserPlacedCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getUserPlacedCommerceOrders(long companyId, long groupId, String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserPlacedCommerceOrders
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrder> getUserPlacedCommerceOrders(long companyId, long groupId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserPlacedCommerceOrdersCount
@Transactional(propagation=SUPPORTS, readOnly=true) long getUserPlacedCommerceOrdersCount(long companyId, long groupId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
mergeGuestCommerceOrder
void mergeGuestCommerceOrder(long guestCommerceOrderId, long userCommerceOrderId, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
recalculatePrice
CommerceOrder recalculatePrice(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
reorderCommerceOrder
CommerceOrder reorderCommerceOrder(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
resetCommerceOrderAddresses
CommerceOrder resetCommerceOrderAddresses(long commerceOrderId, boolean billingAddress, boolean shippingAddress) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
resetTermsAndConditions
CommerceOrder resetTermsAndConditions(long commerceOrderId, boolean deliveryCommerceTermEntry, boolean paymentCommerceTermEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateBillingAddress
CommerceOrder updateBillingAddress(long commerceOrderId, long billingAddressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateBillingAddress
CommerceOrder updateBillingAddress(long commerceOrderId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrder
CommerceOrder updateCommerceOrder(CommerceOrder commerceOrder) 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 subtotal, BigDecimal total) 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) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderExternalReferenceCode
CommerceOrder updateCommerceOrderExternalReferenceCode(String externalReferenceCode, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderPrices
CommerceOrder updateCommerceOrderPrices(long commerceOrderId, BigDecimal shippingAmount, BigDecimal shippingDiscountAmount, BigDecimal shippingDiscountPercentageLevel1, BigDecimal shippingDiscountPercentageLevel2, BigDecimal shippingDiscountPercentageLevel3, BigDecimal shippingDiscountPercentageLevel4, BigDecimal subtotal, BigDecimal subtotalDiscountAmount, BigDecimal subtotalDiscountPercentageLevel1, BigDecimal subtotalDiscountPercentageLevel2, BigDecimal subtotalDiscountPercentageLevel3, BigDecimal subtotalDiscountPercentageLevel4, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalDiscountPercentageLevel1, BigDecimal totalDiscountPercentageLevel2, BigDecimal totalDiscountPercentageLevel3, BigDecimal totalDiscountPercentageLevel4) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderPrices
CommerceOrder updateCommerceOrderPrices(long commerceOrderId, BigDecimal shippingAmount, BigDecimal shippingDiscountAmount, BigDecimal shippingDiscountPercentageLevel1, BigDecimal shippingDiscountPercentageLevel2, BigDecimal shippingDiscountPercentageLevel3, BigDecimal shippingDiscountPercentageLevel4, BigDecimal shippingDiscountPercentageLevel1WithTaxAmount, BigDecimal shippingDiscountPercentageLevel2WithTaxAmount, BigDecimal shippingDiscountPercentageLevel3WithTaxAmount, BigDecimal shippingDiscountPercentageLevel4WithTaxAmount, BigDecimal shippingDiscountWithTaxAmount, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalDiscountAmount, BigDecimal subtotalDiscountPercentageLevel1, BigDecimal subtotalDiscountPercentageLevel2, BigDecimal subtotalDiscountPercentageLevel3, BigDecimal subtotalDiscountPercentageLevel4, BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount, BigDecimal subtotalDiscountWithTaxAmount, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalDiscountPercentageLevel1, BigDecimal totalDiscountPercentageLevel2, BigDecimal totalDiscountPercentageLevel3, BigDecimal totalDiscountPercentageLevel4, BigDecimal totalDiscountPercentageLevel1WithTaxAmount, BigDecimal totalDiscountPercentageLevel2WithTaxAmount, BigDecimal totalDiscountPercentageLevel3WithTaxAmount, BigDecimal totalDiscountPercentageLevel4WithTaxAmount, BigDecimal totalDiscountWithTaxAmount, BigDecimal totalWithTaxAmount) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePaymentMethodKey
CommerceOrder updateCommercePaymentMethodKey(long commerceOrderId, String commercePaymentMethodKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShippingMethod
CommerceOrder updateCommerceShippingMethod(long commerceOrderId, long commerceShippingMethodId, String commerceShippingOptionName, CommerceContext commerceContext, Locale locale) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateInfo
CommerceOrder updateInfo(long commerceOrderId, 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateOrderDate
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePaymentStatus
@Deprecated CommerceOrder updatePaymentStatus(long commerceOrderId, int paymentStatus) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x), with no direct replacement. See CommercePaymentEngine.updateOrderPaymentStatus.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePaymentStatusAndTransactionId
@Deprecated CommerceOrder updatePaymentStatusAndTransactionId(long commerceOrderId, int paymentStatus, String transactionId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x), with no direct replacement. See CommercePaymentEngine.updateOrderPaymentStatus.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePrintedNote
CommerceOrder updatePrintedNote(long commerceOrderId, String printedNote) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePurchaseOrderNumber
CommerceOrder updatePurchaseOrderNumber(long commerceOrderId, String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateShippingAddress
CommerceOrder updateShippingAddress(long commerceOrderId, long shippingAddressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateShippingAddress
CommerceOrder updateShippingAddress(long commerceOrderId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateTermsAndConditions
CommerceOrder updateTermsAndConditions(long commerceOrderId, long deliveryCommerceTermEntryId, long paymentCommerceTermEntryId, String languageId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-