Interface CommerceOrder

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceOrder>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, CommerceOrderModel, Comparable<CommerceOrder>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.WorkflowedModel
All Known Implementing Classes:
CommerceOrderWrapper

@ProviderType public interface CommerceOrder extends CommerceOrderModel, com.liferay.portal.kernel.model.PersistedModel
The extended model interface for the CommerceOrder service. Represents a row in the "CommerceOrder" database table, with each column mapped to a property of this class.
See Also:
Generated:
  • Field Details

    • COMMERCE_ORDER_ID_ACCESSOR

      static final com.liferay.portal.kernel.util.Accessor<CommerceOrder,Long> COMMERCE_ORDER_ID_ACCESSOR
  • Method Details

    • getAccountEntry

      com.liferay.account.model.AccountEntry getAccountEntry() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentFileEntries

      List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentFileEntriesCount

      int getAttachmentFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingAddress

      CommerceAddress getBillingAddress() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAccountName

      String getCommerceAccountName() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceCurrency

      com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceOrderItems

      List<CommerceOrderItem> getCommerceOrderItems()
    • getCommerceOrderItems

      List<CommerceOrderItem> getCommerceOrderItems(long cpInstanceId)
    • getCommerceOrderItemsCount

      int getCommerceOrderItemsCount(long cpInstanceId)
    • getCommerceShippingMethod

      CommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCustomerCommerceOrderIds

      List<Long> getCustomerCommerceOrderIds()
    • getCustomerCommerceOrderIdsCount

      int getCustomerCommerceOrderIdsCount()
    • getFolder

      com.liferay.portal.kernel.repository.model.Folder getFolder(com.liferay.portal.kernel.repository.LocalRepository localRepository)
    • getLocalRepository

      com.liferay.portal.kernel.repository.LocalRepository getLocalRepository() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getScopeGroupId

      long getScopeGroupId() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingAddress

      CommerceAddress getShippingAddress() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingMoney

      com.liferay.commerce.currency.model.CommerceMoney getShippingMoney() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingWithTaxAmountMoney

      com.liferay.commerce.currency.model.CommerceMoney getShippingWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSubtotalMoney

      com.liferay.commerce.currency.model.CommerceMoney getSubtotalMoney() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSubtotalWithTaxAmountMoney

      com.liferay.commerce.currency.model.CommerceMoney getSubtotalWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSupplierCommerceOrderIds

      List<Long> getSupplierCommerceOrderIds()
    • getSupplierCommerceOrderIdsCount

      int getSupplierCommerceOrderIdsCount()
    • getTotalMoney

      com.liferay.commerce.currency.model.CommerceMoney getTotalMoney() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTotalWithTaxAmountMoney

      com.liferay.commerce.currency.model.CommerceMoney getTotalWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isB2B

      boolean isB2B() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isEmpty

      boolean isEmpty()
    • isGuestOrder

      boolean isGuestOrder() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isOpen

      boolean isOpen()
    • isQuote

      boolean isQuote()
    • isSubscription

      boolean isSubscription()
    • isSubscriptionOrder

      boolean isSubscriptionOrder()
    • setShippingDiscounts

      void setShippingDiscounts(CommerceDiscountValue commerceDiscountValue)
    • setSubtotalDiscounts

      void setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue)
    • setTotalDiscounts

      void setTotalDiscounts(CommerceDiscountValue commerceDiscountValue)