Class CommerceOrderWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrder>
com.liferay.commerce.model.CommerceOrderWrapper
All Implemented Interfaces:
CommerceOrder, CommerceOrderModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceOrder>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceOrder>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<CommerceOrder>

public class CommerceOrderWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrder> implements CommerceOrder, com.liferay.portal.kernel.model.ModelWrapper<CommerceOrder>

This class is a wrapper for CommerceOrder.

See Also:
Generated:
  • Constructor Details

    • CommerceOrderWrapper

      public CommerceOrderWrapper(CommerceOrder commerceOrder)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrder>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrder>
    • cloneWithOriginalValues

      public CommerceOrder cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrder>
      Specified by:
      cloneWithOriginalValues in interface CommerceOrderModel
    • getAccountEntry

      public com.liferay.account.model.AccountEntry getAccountEntry() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAccountEntry in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAdvanceStatus

      public String getAdvanceStatus()
      Returns the advance status of this commerce order.
      Specified by:
      getAdvanceStatus in interface CommerceOrderModel
      Returns:
      the advance status of this commerce order
    • getAttachmentFileEntries

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

      public int getAttachmentFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAttachmentFileEntriesCount in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingAddress

      public CommerceAddress getBillingAddress() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getBillingAddress in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingAddressId

      public long getBillingAddressId()
      Returns the billing address ID of this commerce order.
      Specified by:
      getBillingAddressId in interface CommerceOrderModel
      Returns:
      the billing address ID of this commerce order
    • getCommerceAccountId

      public long getCommerceAccountId()
      Returns the commerce account ID of this commerce order.
      Specified by:
      getCommerceAccountId in interface CommerceOrderModel
      Returns:
      the commerce account ID of this commerce order
    • getCommerceAccountName

      public String getCommerceAccountName() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceAccountName in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceCurrency

      public com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceCurrency in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceCurrencyCode

      public String getCommerceCurrencyCode()
      Returns the commerce currency code of this commerce order.
      Specified by:
      getCommerceCurrencyCode in interface CommerceOrderModel
      Returns:
      the commerce currency code of this commerce order
    • getCommerceOrderId

      public long getCommerceOrderId()
      Returns the commerce order ID of this commerce order.
      Specified by:
      getCommerceOrderId in interface CommerceOrderModel
      Returns:
      the commerce order ID of this commerce order
    • getCommerceOrderItems

      public List<CommerceOrderItem> getCommerceOrderItems()
      Specified by:
      getCommerceOrderItems in interface CommerceOrder
    • getCommerceOrderItems

      public List<CommerceOrderItem> getCommerceOrderItems(long cpInstanceId)
      Specified by:
      getCommerceOrderItems in interface CommerceOrder
    • getCommerceOrderItemsCount

      public int getCommerceOrderItemsCount(long cpInstanceId)
      Specified by:
      getCommerceOrderItemsCount in interface CommerceOrder
    • getCommerceOrderTypeId

      public long getCommerceOrderTypeId()
      Returns the commerce order type ID of this commerce order.
      Specified by:
      getCommerceOrderTypeId in interface CommerceOrderModel
      Returns:
      the commerce order type ID of this commerce order
    • getCommercePaymentMethodKey

      public String getCommercePaymentMethodKey()
      Returns the commerce payment method key of this commerce order.
      Specified by:
      getCommercePaymentMethodKey in interface CommerceOrderModel
      Returns:
      the commerce payment method key of this commerce order
    • getCommerceShippingMethod

      public CommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceShippingMethod in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceShippingMethodId

      public long getCommerceShippingMethodId()
      Returns the commerce shipping method ID of this commerce order.
      Specified by:
      getCommerceShippingMethodId in interface CommerceOrderModel
      Returns:
      the commerce shipping method ID of this commerce order
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce order.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceOrderModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this commerce order
    • getCouponCode

      public String getCouponCode()
      Returns the coupon code of this commerce order.
      Specified by:
      getCouponCode in interface CommerceOrderModel
      Returns:
      the coupon code of this commerce order
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce order.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceOrderModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce order
    • getCustomerCommerceOrderIds

      public List<Long> getCustomerCommerceOrderIds()
      Specified by:
      getCustomerCommerceOrderIds in interface CommerceOrder
    • getCustomerCommerceOrderIdsCount

      public int getCustomerCommerceOrderIdsCount()
      Specified by:
      getCustomerCommerceOrderIdsCount in interface CommerceOrder
    • getDeliveryCommerceTermEntryDescription

      public String getDeliveryCommerceTermEntryDescription()
      Returns the delivery commerce term entry description of this commerce order.
      Specified by:
      getDeliveryCommerceTermEntryDescription in interface CommerceOrderModel
      Returns:
      the delivery commerce term entry description of this commerce order
    • getDeliveryCommerceTermEntryId

      public long getDeliveryCommerceTermEntryId()
      Returns the delivery commerce term entry ID of this commerce order.
      Specified by:
      getDeliveryCommerceTermEntryId in interface CommerceOrderModel
      Returns:
      the delivery commerce term entry ID of this commerce order
    • getDeliveryCommerceTermEntryName

      public String getDeliveryCommerceTermEntryName()
      Returns the delivery commerce term entry name of this commerce order.
      Specified by:
      getDeliveryCommerceTermEntryName in interface CommerceOrderModel
      Returns:
      the delivery commerce term entry name of this commerce order
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this commerce order.
      Specified by:
      getExternalReferenceCode in interface CommerceOrderModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce order
    • getFolder

      public com.liferay.portal.kernel.repository.model.Folder getFolder(com.liferay.portal.kernel.repository.LocalRepository localRepository)
      Specified by:
      getFolder in interface CommerceOrder
    • getGroupId

      public long getGroupId()
      Returns the group ID of this commerce order.
      Specified by:
      getGroupId in interface CommerceOrderModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce order
    • getLastPriceUpdateDate

      public Date getLastPriceUpdateDate()
      Returns the last price update date of this commerce order.
      Specified by:
      getLastPriceUpdateDate in interface CommerceOrderModel
      Returns:
      the last price update date of this commerce order
    • getLocalRepository

      public com.liferay.portal.kernel.repository.LocalRepository getLocalRepository() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLocalRepository in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getManuallyAdjusted

      public boolean getManuallyAdjusted()
      Returns the manually adjusted of this commerce order.
      Specified by:
      getManuallyAdjusted in interface CommerceOrderModel
      Returns:
      the manually adjusted of this commerce order
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce order.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceOrderModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce order
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce order.
      Specified by:
      getMvccVersion in interface CommerceOrderModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce order
    • getName

      public String getName()
      Returns the name of this commerce order.
      Specified by:
      getName in interface CommerceOrderModel
      Returns:
      the name of this commerce order
    • getOrderDate

      public Date getOrderDate()
      Returns the order date of this commerce order.
      Specified by:
      getOrderDate in interface CommerceOrderModel
      Returns:
      the order date of this commerce order
    • getOrderStatus

      public int getOrderStatus()
      Returns the order status of this commerce order.
      Specified by:
      getOrderStatus in interface CommerceOrderModel
      Returns:
      the order status of this commerce order
    • getPaymentCommerceTermEntryDescription

      public String getPaymentCommerceTermEntryDescription()
      Returns the payment commerce term entry description of this commerce order.
      Specified by:
      getPaymentCommerceTermEntryDescription in interface CommerceOrderModel
      Returns:
      the payment commerce term entry description of this commerce order
    • getPaymentCommerceTermEntryId

      public long getPaymentCommerceTermEntryId()
      Returns the payment commerce term entry ID of this commerce order.
      Specified by:
      getPaymentCommerceTermEntryId in interface CommerceOrderModel
      Returns:
      the payment commerce term entry ID of this commerce order
    • getPaymentCommerceTermEntryName

      public String getPaymentCommerceTermEntryName()
      Returns the payment commerce term entry name of this commerce order.
      Specified by:
      getPaymentCommerceTermEntryName in interface CommerceOrderModel
      Returns:
      the payment commerce term entry name of this commerce order
    • getPaymentStatus

      public int getPaymentStatus()
      Returns the payment status of this commerce order.
      Specified by:
      getPaymentStatus in interface CommerceOrderModel
      Returns:
      the payment status of this commerce order
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce order.
      Specified by:
      getPrimaryKey in interface CommerceOrderModel
      Returns:
      the primary key of this commerce order
    • getPrintedNote

      public String getPrintedNote()
      Returns the printed note of this commerce order.
      Specified by:
      getPrintedNote in interface CommerceOrderModel
      Returns:
      the printed note of this commerce order
    • getPurchaseOrderNumber

      public String getPurchaseOrderNumber()
      Returns the purchase order number of this commerce order.
      Specified by:
      getPurchaseOrderNumber in interface CommerceOrderModel
      Returns:
      the purchase order number of this commerce order
    • getRequestedDeliveryDate

      public Date getRequestedDeliveryDate()
      Returns the requested delivery date of this commerce order.
      Specified by:
      getRequestedDeliveryDate in interface CommerceOrderModel
      Returns:
      the requested delivery date of this commerce order
    • getScopeGroupId

      public long getScopeGroupId() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getScopeGroupId in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippable

      public boolean getShippable()
      Returns the shippable of this commerce order.
      Specified by:
      getShippable in interface CommerceOrderModel
      Returns:
      the shippable of this commerce order
    • getShippingAddress

      public CommerceAddress getShippingAddress() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getShippingAddress in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingAddressId

      public long getShippingAddressId()
      Returns the shipping address ID of this commerce order.
      Specified by:
      getShippingAddressId in interface CommerceOrderModel
      Returns:
      the shipping address ID of this commerce order
    • getShippingAmount

      public BigDecimal getShippingAmount()
      Returns the shipping amount of this commerce order.
      Specified by:
      getShippingAmount in interface CommerceOrderModel
      Returns:
      the shipping amount of this commerce order
    • getShippingDiscountAmount

      public BigDecimal getShippingDiscountAmount()
      Returns the shipping discount amount of this commerce order.
      Specified by:
      getShippingDiscountAmount in interface CommerceOrderModel
      Returns:
      the shipping discount amount of this commerce order
    • getShippingDiscountPercentageLevel1

      public BigDecimal getShippingDiscountPercentageLevel1()
      Returns the shipping discount percentage level1 of this commerce order.
      Specified by:
      getShippingDiscountPercentageLevel1 in interface CommerceOrderModel
      Returns:
      the shipping discount percentage level1 of this commerce order
    • getShippingDiscountPercentageLevel1WithTaxAmount

      public BigDecimal getShippingDiscountPercentageLevel1WithTaxAmount()
      Returns the shipping discount percentage level1 with tax amount of this commerce order.
      Specified by:
      getShippingDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModel
      Returns:
      the shipping discount percentage level1 with tax amount of this commerce order
    • getShippingDiscountPercentageLevel2

      public BigDecimal getShippingDiscountPercentageLevel2()
      Returns the shipping discount percentage level2 of this commerce order.
      Specified by:
      getShippingDiscountPercentageLevel2 in interface CommerceOrderModel
      Returns:
      the shipping discount percentage level2 of this commerce order
    • getShippingDiscountPercentageLevel2WithTaxAmount

      public BigDecimal getShippingDiscountPercentageLevel2WithTaxAmount()
      Returns the shipping discount percentage level2 with tax amount of this commerce order.
      Specified by:
      getShippingDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModel
      Returns:
      the shipping discount percentage level2 with tax amount of this commerce order
    • getShippingDiscountPercentageLevel3

      public BigDecimal getShippingDiscountPercentageLevel3()
      Returns the shipping discount percentage level3 of this commerce order.
      Specified by:
      getShippingDiscountPercentageLevel3 in interface CommerceOrderModel
      Returns:
      the shipping discount percentage level3 of this commerce order
    • getShippingDiscountPercentageLevel3WithTaxAmount

      public BigDecimal getShippingDiscountPercentageLevel3WithTaxAmount()
      Returns the shipping discount percentage level3 with tax amount of this commerce order.
      Specified by:
      getShippingDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModel
      Returns:
      the shipping discount percentage level3 with tax amount of this commerce order
    • getShippingDiscountPercentageLevel4

      public BigDecimal getShippingDiscountPercentageLevel4()
      Returns the shipping discount percentage level4 of this commerce order.
      Specified by:
      getShippingDiscountPercentageLevel4 in interface CommerceOrderModel
      Returns:
      the shipping discount percentage level4 of this commerce order
    • getShippingDiscountPercentageLevel4WithTaxAmount

      public BigDecimal getShippingDiscountPercentageLevel4WithTaxAmount()
      Returns the shipping discount percentage level4 with tax amount of this commerce order.
      Specified by:
      getShippingDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModel
      Returns:
      the shipping discount percentage level4 with tax amount of this commerce order
    • getShippingDiscountWithTaxAmount

      public BigDecimal getShippingDiscountWithTaxAmount()
      Returns the shipping discount with tax amount of this commerce order.
      Specified by:
      getShippingDiscountWithTaxAmount in interface CommerceOrderModel
      Returns:
      the shipping discount with tax amount of this commerce order
    • getShippingMoney

      public com.liferay.commerce.currency.model.CommerceMoney getShippingMoney() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getShippingMoney in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingOptionName

      public String getShippingOptionName()
      Returns the shipping option name of this commerce order.
      Specified by:
      getShippingOptionName in interface CommerceOrderModel
      Returns:
      the shipping option name of this commerce order
    • getShippingWithTaxAmount

      public BigDecimal getShippingWithTaxAmount()
      Returns the shipping with tax amount of this commerce order.
      Specified by:
      getShippingWithTaxAmount in interface CommerceOrderModel
      Returns:
      the shipping with tax amount of this commerce order
    • getShippingWithTaxAmountMoney

      public com.liferay.commerce.currency.model.CommerceMoney getShippingWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getShippingWithTaxAmountMoney in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getStatus

      public int getStatus()
      Returns the status of this commerce order.
      Specified by:
      getStatus in interface CommerceOrderModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this commerce order
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this commerce order.
      Specified by:
      getStatusByUserId in interface CommerceOrderModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this commerce order
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this commerce order.
      Specified by:
      getStatusByUserName in interface CommerceOrderModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this commerce order
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this commerce order.
      Specified by:
      getStatusByUserUuid in interface CommerceOrderModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this commerce order
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this commerce order.
      Specified by:
      getStatusDate in interface CommerceOrderModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this commerce order
    • getSubtotal

      public BigDecimal getSubtotal()
      Returns the subtotal of this commerce order.
      Specified by:
      getSubtotal in interface CommerceOrderModel
      Returns:
      the subtotal of this commerce order
    • getSubtotalDiscountAmount

      public BigDecimal getSubtotalDiscountAmount()
      Returns the subtotal discount amount of this commerce order.
      Specified by:
      getSubtotalDiscountAmount in interface CommerceOrderModel
      Returns:
      the subtotal discount amount of this commerce order
    • getSubtotalDiscountPercentageLevel1

      public BigDecimal getSubtotalDiscountPercentageLevel1()
      Returns the subtotal discount percentage level1 of this commerce order.
      Specified by:
      getSubtotalDiscountPercentageLevel1 in interface CommerceOrderModel
      Returns:
      the subtotal discount percentage level1 of this commerce order
    • getSubtotalDiscountPercentageLevel1WithTaxAmount

      public BigDecimal getSubtotalDiscountPercentageLevel1WithTaxAmount()
      Returns the subtotal discount percentage level1 with tax amount of this commerce order.
      Specified by:
      getSubtotalDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModel
      Returns:
      the subtotal discount percentage level1 with tax amount of this commerce order
    • getSubtotalDiscountPercentageLevel2

      public BigDecimal getSubtotalDiscountPercentageLevel2()
      Returns the subtotal discount percentage level2 of this commerce order.
      Specified by:
      getSubtotalDiscountPercentageLevel2 in interface CommerceOrderModel
      Returns:
      the subtotal discount percentage level2 of this commerce order
    • getSubtotalDiscountPercentageLevel2WithTaxAmount

      public BigDecimal getSubtotalDiscountPercentageLevel2WithTaxAmount()
      Returns the subtotal discount percentage level2 with tax amount of this commerce order.
      Specified by:
      getSubtotalDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModel
      Returns:
      the subtotal discount percentage level2 with tax amount of this commerce order
    • getSubtotalDiscountPercentageLevel3

      public BigDecimal getSubtotalDiscountPercentageLevel3()
      Returns the subtotal discount percentage level3 of this commerce order.
      Specified by:
      getSubtotalDiscountPercentageLevel3 in interface CommerceOrderModel
      Returns:
      the subtotal discount percentage level3 of this commerce order
    • getSubtotalDiscountPercentageLevel3WithTaxAmount

      public BigDecimal getSubtotalDiscountPercentageLevel3WithTaxAmount()
      Returns the subtotal discount percentage level3 with tax amount of this commerce order.
      Specified by:
      getSubtotalDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModel
      Returns:
      the subtotal discount percentage level3 with tax amount of this commerce order
    • getSubtotalDiscountPercentageLevel4

      public BigDecimal getSubtotalDiscountPercentageLevel4()
      Returns the subtotal discount percentage level4 of this commerce order.
      Specified by:
      getSubtotalDiscountPercentageLevel4 in interface CommerceOrderModel
      Returns:
      the subtotal discount percentage level4 of this commerce order
    • getSubtotalDiscountPercentageLevel4WithTaxAmount

      public BigDecimal getSubtotalDiscountPercentageLevel4WithTaxAmount()
      Returns the subtotal discount percentage level4 with tax amount of this commerce order.
      Specified by:
      getSubtotalDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModel
      Returns:
      the subtotal discount percentage level4 with tax amount of this commerce order
    • getSubtotalDiscountWithTaxAmount

      public BigDecimal getSubtotalDiscountWithTaxAmount()
      Returns the subtotal discount with tax amount of this commerce order.
      Specified by:
      getSubtotalDiscountWithTaxAmount in interface CommerceOrderModel
      Returns:
      the subtotal discount with tax amount of this commerce order
    • getSubtotalMoney

      public com.liferay.commerce.currency.model.CommerceMoney getSubtotalMoney() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSubtotalMoney in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSubtotalWithTaxAmount

      public BigDecimal getSubtotalWithTaxAmount()
      Returns the subtotal with tax amount of this commerce order.
      Specified by:
      getSubtotalWithTaxAmount in interface CommerceOrderModel
      Returns:
      the subtotal with tax amount of this commerce order
    • getSubtotalWithTaxAmountMoney

      public com.liferay.commerce.currency.model.CommerceMoney getSubtotalWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSubtotalWithTaxAmountMoney in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSupplierCommerceOrderIds

      public List<Long> getSupplierCommerceOrderIds()
      Specified by:
      getSupplierCommerceOrderIds in interface CommerceOrder
    • getSupplierCommerceOrderIdsCount

      public int getSupplierCommerceOrderIdsCount()
      Specified by:
      getSupplierCommerceOrderIdsCount in interface CommerceOrder
    • getTaxAmount

      public BigDecimal getTaxAmount()
      Returns the tax amount of this commerce order.
      Specified by:
      getTaxAmount in interface CommerceOrderModel
      Returns:
      the tax amount of this commerce order
    • getTotal

      public BigDecimal getTotal()
      Returns the total of this commerce order.
      Specified by:
      getTotal in interface CommerceOrderModel
      Returns:
      the total of this commerce order
    • getTotalDiscountAmount

      public BigDecimal getTotalDiscountAmount()
      Returns the total discount amount of this commerce order.
      Specified by:
      getTotalDiscountAmount in interface CommerceOrderModel
      Returns:
      the total discount amount of this commerce order
    • getTotalDiscountPercentageLevel1

      public BigDecimal getTotalDiscountPercentageLevel1()
      Returns the total discount percentage level1 of this commerce order.
      Specified by:
      getTotalDiscountPercentageLevel1 in interface CommerceOrderModel
      Returns:
      the total discount percentage level1 of this commerce order
    • getTotalDiscountPercentageLevel1WithTaxAmount

      public BigDecimal getTotalDiscountPercentageLevel1WithTaxAmount()
      Returns the total discount percentage level1 with tax amount of this commerce order.
      Specified by:
      getTotalDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModel
      Returns:
      the total discount percentage level1 with tax amount of this commerce order
    • getTotalDiscountPercentageLevel2

      public BigDecimal getTotalDiscountPercentageLevel2()
      Returns the total discount percentage level2 of this commerce order.
      Specified by:
      getTotalDiscountPercentageLevel2 in interface CommerceOrderModel
      Returns:
      the total discount percentage level2 of this commerce order
    • getTotalDiscountPercentageLevel2WithTaxAmount

      public BigDecimal getTotalDiscountPercentageLevel2WithTaxAmount()
      Returns the total discount percentage level2 with tax amount of this commerce order.
      Specified by:
      getTotalDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModel
      Returns:
      the total discount percentage level2 with tax amount of this commerce order
    • getTotalDiscountPercentageLevel3

      public BigDecimal getTotalDiscountPercentageLevel3()
      Returns the total discount percentage level3 of this commerce order.
      Specified by:
      getTotalDiscountPercentageLevel3 in interface CommerceOrderModel
      Returns:
      the total discount percentage level3 of this commerce order
    • getTotalDiscountPercentageLevel3WithTaxAmount

      public BigDecimal getTotalDiscountPercentageLevel3WithTaxAmount()
      Returns the total discount percentage level3 with tax amount of this commerce order.
      Specified by:
      getTotalDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModel
      Returns:
      the total discount percentage level3 with tax amount of this commerce order
    • getTotalDiscountPercentageLevel4

      public BigDecimal getTotalDiscountPercentageLevel4()
      Returns the total discount percentage level4 of this commerce order.
      Specified by:
      getTotalDiscountPercentageLevel4 in interface CommerceOrderModel
      Returns:
      the total discount percentage level4 of this commerce order
    • getTotalDiscountPercentageLevel4WithTaxAmount

      public BigDecimal getTotalDiscountPercentageLevel4WithTaxAmount()
      Returns the total discount percentage level4 with tax amount of this commerce order.
      Specified by:
      getTotalDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModel
      Returns:
      the total discount percentage level4 with tax amount of this commerce order
    • getTotalDiscountWithTaxAmount

      public BigDecimal getTotalDiscountWithTaxAmount()
      Returns the total discount with tax amount of this commerce order.
      Specified by:
      getTotalDiscountWithTaxAmount in interface CommerceOrderModel
      Returns:
      the total discount with tax amount of this commerce order
    • getTotalMoney

      public com.liferay.commerce.currency.model.CommerceMoney getTotalMoney() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getTotalMoney in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTotalWithTaxAmount

      public BigDecimal getTotalWithTaxAmount()
      Returns the total with tax amount of this commerce order.
      Specified by:
      getTotalWithTaxAmount in interface CommerceOrderModel
      Returns:
      the total with tax amount of this commerce order
    • getTotalWithTaxAmountMoney

      public com.liferay.commerce.currency.model.CommerceMoney getTotalWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getTotalWithTaxAmountMoney in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTransactionId

      public String getTransactionId()
      Returns the transaction ID of this commerce order.
      Specified by:
      getTransactionId in interface CommerceOrderModel
      Returns:
      the transaction ID of this commerce order
    • getUserId

      public long getUserId()
      Returns the user ID of this commerce order.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceOrderModel
      Returns:
      the user ID of this commerce order
    • getUserName

      public String getUserName()
      Returns the user name of this commerce order.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommerceOrderModel
      Returns:
      the user name of this commerce order
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce order.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceOrderModel
      Returns:
      the user uuid of this commerce order
    • getUuid

      public String getUuid()
      Returns the uuid of this commerce order.
      Specified by:
      getUuid in interface CommerceOrderModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce order
    • isApproved

      public boolean isApproved()
      Returns true if this commerce order is approved.
      Specified by:
      isApproved in interface CommerceOrderModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce order is approved; false otherwise
    • isB2B

      public boolean isB2B() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      isB2B in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isDenied

      public boolean isDenied()
      Returns true if this commerce order is denied.
      Specified by:
      isDenied in interface CommerceOrderModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce order is denied; false otherwise
    • isDraft

      public boolean isDraft()
      Returns true if this commerce order is a draft.
      Specified by:
      isDraft in interface CommerceOrderModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce order is a draft; false otherwise
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface CommerceOrder
    • isExpired

      public boolean isExpired()
      Returns true if this commerce order is expired.
      Specified by:
      isExpired in interface CommerceOrderModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce order is expired; false otherwise
    • isGuestOrder

      public boolean isGuestOrder() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      isGuestOrder in interface CommerceOrder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isInactive

      public boolean isInactive()
      Returns true if this commerce order is inactive.
      Specified by:
      isInactive in interface CommerceOrderModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce order is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this commerce order is incomplete.
      Specified by:
      isIncomplete in interface CommerceOrderModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce order is incomplete; false otherwise
    • isManuallyAdjusted

      public boolean isManuallyAdjusted()
      Returns true if this commerce order is manually adjusted.
      Specified by:
      isManuallyAdjusted in interface CommerceOrderModel
      Returns:
      true if this commerce order is manually adjusted; false otherwise
    • isOpen

      public boolean isOpen()
      Specified by:
      isOpen in interface CommerceOrder
    • isPending

      public boolean isPending()
      Returns true if this commerce order is pending.
      Specified by:
      isPending in interface CommerceOrderModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce order is pending; false otherwise
    • isQuote

      public boolean isQuote()
      Specified by:
      isQuote in interface CommerceOrder
    • isScheduled

      public boolean isScheduled()
      Returns true if this commerce order is scheduled.
      Specified by:
      isScheduled in interface CommerceOrderModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce order is scheduled; false otherwise
    • isShippable

      public boolean isShippable()
      Returns true if this commerce order is shippable.
      Specified by:
      isShippable in interface CommerceOrderModel
      Returns:
      true if this commerce order is shippable; false otherwise
    • isSubscription

      public boolean isSubscription()
      Specified by:
      isSubscription in interface CommerceOrder
    • isSubscriptionOrder

      public boolean isSubscriptionOrder()
      Specified by:
      isSubscriptionOrder in interface CommerceOrder
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setAdvanceStatus

      public void setAdvanceStatus(String advanceStatus)
      Sets the advance status of this commerce order.
      Specified by:
      setAdvanceStatus in interface CommerceOrderModel
      Parameters:
      advanceStatus - the advance status of this commerce order
    • setBillingAddressId

      public void setBillingAddressId(long billingAddressId)
      Sets the billing address ID of this commerce order.
      Specified by:
      setBillingAddressId in interface CommerceOrderModel
      Parameters:
      billingAddressId - the billing address ID of this commerce order
    • setCommerceAccountId

      public void setCommerceAccountId(long commerceAccountId)
      Sets the commerce account ID of this commerce order.
      Specified by:
      setCommerceAccountId in interface CommerceOrderModel
      Parameters:
      commerceAccountId - the commerce account ID of this commerce order
    • setCommerceCurrencyCode

      public void setCommerceCurrencyCode(String commerceCurrencyCode)
      Sets the commerce currency code of this commerce order.
      Specified by:
      setCommerceCurrencyCode in interface CommerceOrderModel
      Parameters:
      commerceCurrencyCode - the commerce currency code of this commerce order
    • setCommerceOrderId

      public void setCommerceOrderId(long commerceOrderId)
      Sets the commerce order ID of this commerce order.
      Specified by:
      setCommerceOrderId in interface CommerceOrderModel
      Parameters:
      commerceOrderId - the commerce order ID of this commerce order
    • setCommerceOrderTypeId

      public void setCommerceOrderTypeId(long commerceOrderTypeId)
      Sets the commerce order type ID of this commerce order.
      Specified by:
      setCommerceOrderTypeId in interface CommerceOrderModel
      Parameters:
      commerceOrderTypeId - the commerce order type ID of this commerce order
    • setCommercePaymentMethodKey

      public void setCommercePaymentMethodKey(String commercePaymentMethodKey)
      Sets the commerce payment method key of this commerce order.
      Specified by:
      setCommercePaymentMethodKey in interface CommerceOrderModel
      Parameters:
      commercePaymentMethodKey - the commerce payment method key of this commerce order
    • setCommerceShippingMethodId

      public void setCommerceShippingMethodId(long commerceShippingMethodId)
      Sets the commerce shipping method ID of this commerce order.
      Specified by:
      setCommerceShippingMethodId in interface CommerceOrderModel
      Parameters:
      commerceShippingMethodId - the commerce shipping method ID of this commerce order
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce order.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceOrderModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this commerce order
    • setCouponCode

      public void setCouponCode(String couponCode)
      Sets the coupon code of this commerce order.
      Specified by:
      setCouponCode in interface CommerceOrderModel
      Parameters:
      couponCode - the coupon code of this commerce order
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce order.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceOrderModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce order
    • setDeliveryCommerceTermEntryDescription

      public void setDeliveryCommerceTermEntryDescription(String deliveryCommerceTermEntryDescription)
      Sets the delivery commerce term entry description of this commerce order.
      Specified by:
      setDeliveryCommerceTermEntryDescription in interface CommerceOrderModel
      Parameters:
      deliveryCommerceTermEntryDescription - the delivery commerce term entry description of this commerce order
    • setDeliveryCommerceTermEntryId

      public void setDeliveryCommerceTermEntryId(long deliveryCommerceTermEntryId)
      Sets the delivery commerce term entry ID of this commerce order.
      Specified by:
      setDeliveryCommerceTermEntryId in interface CommerceOrderModel
      Parameters:
      deliveryCommerceTermEntryId - the delivery commerce term entry ID of this commerce order
    • setDeliveryCommerceTermEntryName

      public void setDeliveryCommerceTermEntryName(String deliveryCommerceTermEntryName)
      Sets the delivery commerce term entry name of this commerce order.
      Specified by:
      setDeliveryCommerceTermEntryName in interface CommerceOrderModel
      Parameters:
      deliveryCommerceTermEntryName - the delivery commerce term entry name of this commerce order
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this commerce order.
      Specified by:
      setExternalReferenceCode in interface CommerceOrderModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this commerce order
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this commerce order.
      Specified by:
      setGroupId in interface CommerceOrderModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce order
    • setLastPriceUpdateDate

      public void setLastPriceUpdateDate(Date lastPriceUpdateDate)
      Sets the last price update date of this commerce order.
      Specified by:
      setLastPriceUpdateDate in interface CommerceOrderModel
      Parameters:
      lastPriceUpdateDate - the last price update date of this commerce order
    • setManuallyAdjusted

      public void setManuallyAdjusted(boolean manuallyAdjusted)
      Sets whether this commerce order is manually adjusted.
      Specified by:
      setManuallyAdjusted in interface CommerceOrderModel
      Parameters:
      manuallyAdjusted - the manually adjusted of this commerce order
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce order.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceOrderModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce order
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce order.
      Specified by:
      setMvccVersion in interface CommerceOrderModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce order
    • setName

      public void setName(String name)
      Sets the name of this commerce order.
      Specified by:
      setName in interface CommerceOrderModel
      Parameters:
      name - the name of this commerce order
    • setOrderDate

      public void setOrderDate(Date orderDate)
      Sets the order date of this commerce order.
      Specified by:
      setOrderDate in interface CommerceOrderModel
      Parameters:
      orderDate - the order date of this commerce order
    • setOrderStatus

      public void setOrderStatus(int orderStatus)
      Sets the order status of this commerce order.
      Specified by:
      setOrderStatus in interface CommerceOrderModel
      Parameters:
      orderStatus - the order status of this commerce order
    • setPaymentCommerceTermEntryDescription

      public void setPaymentCommerceTermEntryDescription(String paymentCommerceTermEntryDescription)
      Sets the payment commerce term entry description of this commerce order.
      Specified by:
      setPaymentCommerceTermEntryDescription in interface CommerceOrderModel
      Parameters:
      paymentCommerceTermEntryDescription - the payment commerce term entry description of this commerce order
    • setPaymentCommerceTermEntryId

      public void setPaymentCommerceTermEntryId(long paymentCommerceTermEntryId)
      Sets the payment commerce term entry ID of this commerce order.
      Specified by:
      setPaymentCommerceTermEntryId in interface CommerceOrderModel
      Parameters:
      paymentCommerceTermEntryId - the payment commerce term entry ID of this commerce order
    • setPaymentCommerceTermEntryName

      public void setPaymentCommerceTermEntryName(String paymentCommerceTermEntryName)
      Sets the payment commerce term entry name of this commerce order.
      Specified by:
      setPaymentCommerceTermEntryName in interface CommerceOrderModel
      Parameters:
      paymentCommerceTermEntryName - the payment commerce term entry name of this commerce order
    • setPaymentStatus

      public void setPaymentStatus(int paymentStatus)
      Sets the payment status of this commerce order.
      Specified by:
      setPaymentStatus in interface CommerceOrderModel
      Parameters:
      paymentStatus - the payment status of this commerce order
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce order.
      Specified by:
      setPrimaryKey in interface CommerceOrderModel
      Parameters:
      primaryKey - the primary key of this commerce order
    • setPrintedNote

      public void setPrintedNote(String printedNote)
      Sets the printed note of this commerce order.
      Specified by:
      setPrintedNote in interface CommerceOrderModel
      Parameters:
      printedNote - the printed note of this commerce order
    • setPurchaseOrderNumber

      public void setPurchaseOrderNumber(String purchaseOrderNumber)
      Sets the purchase order number of this commerce order.
      Specified by:
      setPurchaseOrderNumber in interface CommerceOrderModel
      Parameters:
      purchaseOrderNumber - the purchase order number of this commerce order
    • setRequestedDeliveryDate

      public void setRequestedDeliveryDate(Date requestedDeliveryDate)
      Sets the requested delivery date of this commerce order.
      Specified by:
      setRequestedDeliveryDate in interface CommerceOrderModel
      Parameters:
      requestedDeliveryDate - the requested delivery date of this commerce order
    • setShippable

      public void setShippable(boolean shippable)
      Sets whether this commerce order is shippable.
      Specified by:
      setShippable in interface CommerceOrderModel
      Parameters:
      shippable - the shippable of this commerce order
    • setShippingAddressId

      public void setShippingAddressId(long shippingAddressId)
      Sets the shipping address ID of this commerce order.
      Specified by:
      setShippingAddressId in interface CommerceOrderModel
      Parameters:
      shippingAddressId - the shipping address ID of this commerce order
    • setShippingAmount

      public void setShippingAmount(BigDecimal shippingAmount)
      Sets the shipping amount of this commerce order.
      Specified by:
      setShippingAmount in interface CommerceOrderModel
      Parameters:
      shippingAmount - the shipping amount of this commerce order
    • setShippingDiscountAmount

      public void setShippingDiscountAmount(BigDecimal shippingDiscountAmount)
      Sets the shipping discount amount of this commerce order.
      Specified by:
      setShippingDiscountAmount in interface CommerceOrderModel
      Parameters:
      shippingDiscountAmount - the shipping discount amount of this commerce order
    • setShippingDiscountPercentageLevel1

      public void setShippingDiscountPercentageLevel1(BigDecimal shippingDiscountPercentageLevel1)
      Sets the shipping discount percentage level1 of this commerce order.
      Specified by:
      setShippingDiscountPercentageLevel1 in interface CommerceOrderModel
      Parameters:
      shippingDiscountPercentageLevel1 - the shipping discount percentage level1 of this commerce order
    • setShippingDiscountPercentageLevel1WithTaxAmount

      public void setShippingDiscountPercentageLevel1WithTaxAmount(BigDecimal shippingDiscountPercentageLevel1WithTaxAmount)
      Sets the shipping discount percentage level1 with tax amount of this commerce order.
      Specified by:
      setShippingDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModel
      Parameters:
      shippingDiscountPercentageLevel1WithTaxAmount - the shipping discount percentage level1 with tax amount of this commerce order
    • setShippingDiscountPercentageLevel2

      public void setShippingDiscountPercentageLevel2(BigDecimal shippingDiscountPercentageLevel2)
      Sets the shipping discount percentage level2 of this commerce order.
      Specified by:
      setShippingDiscountPercentageLevel2 in interface CommerceOrderModel
      Parameters:
      shippingDiscountPercentageLevel2 - the shipping discount percentage level2 of this commerce order
    • setShippingDiscountPercentageLevel2WithTaxAmount

      public void setShippingDiscountPercentageLevel2WithTaxAmount(BigDecimal shippingDiscountPercentageLevel2WithTaxAmount)
      Sets the shipping discount percentage level2 with tax amount of this commerce order.
      Specified by:
      setShippingDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModel
      Parameters:
      shippingDiscountPercentageLevel2WithTaxAmount - the shipping discount percentage level2 with tax amount of this commerce order
    • setShippingDiscountPercentageLevel3

      public void setShippingDiscountPercentageLevel3(BigDecimal shippingDiscountPercentageLevel3)
      Sets the shipping discount percentage level3 of this commerce order.
      Specified by:
      setShippingDiscountPercentageLevel3 in interface CommerceOrderModel
      Parameters:
      shippingDiscountPercentageLevel3 - the shipping discount percentage level3 of this commerce order
    • setShippingDiscountPercentageLevel3WithTaxAmount

      public void setShippingDiscountPercentageLevel3WithTaxAmount(BigDecimal shippingDiscountPercentageLevel3WithTaxAmount)
      Sets the shipping discount percentage level3 with tax amount of this commerce order.
      Specified by:
      setShippingDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModel
      Parameters:
      shippingDiscountPercentageLevel3WithTaxAmount - the shipping discount percentage level3 with tax amount of this commerce order
    • setShippingDiscountPercentageLevel4

      public void setShippingDiscountPercentageLevel4(BigDecimal shippingDiscountPercentageLevel4)
      Sets the shipping discount percentage level4 of this commerce order.
      Specified by:
      setShippingDiscountPercentageLevel4 in interface CommerceOrderModel
      Parameters:
      shippingDiscountPercentageLevel4 - the shipping discount percentage level4 of this commerce order
    • setShippingDiscountPercentageLevel4WithTaxAmount

      public void setShippingDiscountPercentageLevel4WithTaxAmount(BigDecimal shippingDiscountPercentageLevel4WithTaxAmount)
      Sets the shipping discount percentage level4 with tax amount of this commerce order.
      Specified by:
      setShippingDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModel
      Parameters:
      shippingDiscountPercentageLevel4WithTaxAmount - the shipping discount percentage level4 with tax amount of this commerce order
    • setShippingDiscounts

      public void setShippingDiscounts(CommerceDiscountValue commerceDiscountValue)
      Specified by:
      setShippingDiscounts in interface CommerceOrder
    • setShippingDiscountWithTaxAmount

      public void setShippingDiscountWithTaxAmount(BigDecimal shippingDiscountWithTaxAmount)
      Sets the shipping discount with tax amount of this commerce order.
      Specified by:
      setShippingDiscountWithTaxAmount in interface CommerceOrderModel
      Parameters:
      shippingDiscountWithTaxAmount - the shipping discount with tax amount of this commerce order
    • setShippingOptionName

      public void setShippingOptionName(String shippingOptionName)
      Sets the shipping option name of this commerce order.
      Specified by:
      setShippingOptionName in interface CommerceOrderModel
      Parameters:
      shippingOptionName - the shipping option name of this commerce order
    • setShippingWithTaxAmount

      public void setShippingWithTaxAmount(BigDecimal shippingWithTaxAmount)
      Sets the shipping with tax amount of this commerce order.
      Specified by:
      setShippingWithTaxAmount in interface CommerceOrderModel
      Parameters:
      shippingWithTaxAmount - the shipping with tax amount of this commerce order
    • setStatus

      public void setStatus(int status)
      Sets the status of this commerce order.
      Specified by:
      setStatus in interface CommerceOrderModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this commerce order
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this commerce order.
      Specified by:
      setStatusByUserId in interface CommerceOrderModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this commerce order
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this commerce order.
      Specified by:
      setStatusByUserName in interface CommerceOrderModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this commerce order
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this commerce order.
      Specified by:
      setStatusByUserUuid in interface CommerceOrderModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this commerce order
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this commerce order.
      Specified by:
      setStatusDate in interface CommerceOrderModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this commerce order
    • setSubtotal

      public void setSubtotal(BigDecimal subtotal)
      Sets the subtotal of this commerce order.
      Specified by:
      setSubtotal in interface CommerceOrderModel
      Parameters:
      subtotal - the subtotal of this commerce order
    • setSubtotalDiscountAmount

      public void setSubtotalDiscountAmount(BigDecimal subtotalDiscountAmount)
      Sets the subtotal discount amount of this commerce order.
      Specified by:
      setSubtotalDiscountAmount in interface CommerceOrderModel
      Parameters:
      subtotalDiscountAmount - the subtotal discount amount of this commerce order
    • setSubtotalDiscountPercentageLevel1

      public void setSubtotalDiscountPercentageLevel1(BigDecimal subtotalDiscountPercentageLevel1)
      Sets the subtotal discount percentage level1 of this commerce order.
      Specified by:
      setSubtotalDiscountPercentageLevel1 in interface CommerceOrderModel
      Parameters:
      subtotalDiscountPercentageLevel1 - the subtotal discount percentage level1 of this commerce order
    • setSubtotalDiscountPercentageLevel1WithTaxAmount

      public void setSubtotalDiscountPercentageLevel1WithTaxAmount(BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount)
      Sets the subtotal discount percentage level1 with tax amount of this commerce order.
      Specified by:
      setSubtotalDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModel
      Parameters:
      subtotalDiscountPercentageLevel1WithTaxAmount - the subtotal discount percentage level1 with tax amount of this commerce order
    • setSubtotalDiscountPercentageLevel2

      public void setSubtotalDiscountPercentageLevel2(BigDecimal subtotalDiscountPercentageLevel2)
      Sets the subtotal discount percentage level2 of this commerce order.
      Specified by:
      setSubtotalDiscountPercentageLevel2 in interface CommerceOrderModel
      Parameters:
      subtotalDiscountPercentageLevel2 - the subtotal discount percentage level2 of this commerce order
    • setSubtotalDiscountPercentageLevel2WithTaxAmount

      public void setSubtotalDiscountPercentageLevel2WithTaxAmount(BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount)
      Sets the subtotal discount percentage level2 with tax amount of this commerce order.
      Specified by:
      setSubtotalDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModel
      Parameters:
      subtotalDiscountPercentageLevel2WithTaxAmount - the subtotal discount percentage level2 with tax amount of this commerce order
    • setSubtotalDiscountPercentageLevel3

      public void setSubtotalDiscountPercentageLevel3(BigDecimal subtotalDiscountPercentageLevel3)
      Sets the subtotal discount percentage level3 of this commerce order.
      Specified by:
      setSubtotalDiscountPercentageLevel3 in interface CommerceOrderModel
      Parameters:
      subtotalDiscountPercentageLevel3 - the subtotal discount percentage level3 of this commerce order
    • setSubtotalDiscountPercentageLevel3WithTaxAmount

      public void setSubtotalDiscountPercentageLevel3WithTaxAmount(BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount)
      Sets the subtotal discount percentage level3 with tax amount of this commerce order.
      Specified by:
      setSubtotalDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModel
      Parameters:
      subtotalDiscountPercentageLevel3WithTaxAmount - the subtotal discount percentage level3 with tax amount of this commerce order
    • setSubtotalDiscountPercentageLevel4

      public void setSubtotalDiscountPercentageLevel4(BigDecimal subtotalDiscountPercentageLevel4)
      Sets the subtotal discount percentage level4 of this commerce order.
      Specified by:
      setSubtotalDiscountPercentageLevel4 in interface CommerceOrderModel
      Parameters:
      subtotalDiscountPercentageLevel4 - the subtotal discount percentage level4 of this commerce order
    • setSubtotalDiscountPercentageLevel4WithTaxAmount

      public void setSubtotalDiscountPercentageLevel4WithTaxAmount(BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount)
      Sets the subtotal discount percentage level4 with tax amount of this commerce order.
      Specified by:
      setSubtotalDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModel
      Parameters:
      subtotalDiscountPercentageLevel4WithTaxAmount - the subtotal discount percentage level4 with tax amount of this commerce order
    • setSubtotalDiscounts

      public void setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue)
      Specified by:
      setSubtotalDiscounts in interface CommerceOrder
    • setSubtotalDiscountWithTaxAmount

      public void setSubtotalDiscountWithTaxAmount(BigDecimal subtotalDiscountWithTaxAmount)
      Sets the subtotal discount with tax amount of this commerce order.
      Specified by:
      setSubtotalDiscountWithTaxAmount in interface CommerceOrderModel
      Parameters:
      subtotalDiscountWithTaxAmount - the subtotal discount with tax amount of this commerce order
    • setSubtotalWithTaxAmount

      public void setSubtotalWithTaxAmount(BigDecimal subtotalWithTaxAmount)
      Sets the subtotal with tax amount of this commerce order.
      Specified by:
      setSubtotalWithTaxAmount in interface CommerceOrderModel
      Parameters:
      subtotalWithTaxAmount - the subtotal with tax amount of this commerce order
    • setTaxAmount

      public void setTaxAmount(BigDecimal taxAmount)
      Sets the tax amount of this commerce order.
      Specified by:
      setTaxAmount in interface CommerceOrderModel
      Parameters:
      taxAmount - the tax amount of this commerce order
    • setTotal

      public void setTotal(BigDecimal total)
      Sets the total of this commerce order.
      Specified by:
      setTotal in interface CommerceOrderModel
      Parameters:
      total - the total of this commerce order
    • setTotalDiscountAmount

      public void setTotalDiscountAmount(BigDecimal totalDiscountAmount)
      Sets the total discount amount of this commerce order.
      Specified by:
      setTotalDiscountAmount in interface CommerceOrderModel
      Parameters:
      totalDiscountAmount - the total discount amount of this commerce order
    • setTotalDiscountPercentageLevel1

      public void setTotalDiscountPercentageLevel1(BigDecimal totalDiscountPercentageLevel1)
      Sets the total discount percentage level1 of this commerce order.
      Specified by:
      setTotalDiscountPercentageLevel1 in interface CommerceOrderModel
      Parameters:
      totalDiscountPercentageLevel1 - the total discount percentage level1 of this commerce order
    • setTotalDiscountPercentageLevel1WithTaxAmount

      public void setTotalDiscountPercentageLevel1WithTaxAmount(BigDecimal totalDiscountPercentageLevel1WithTaxAmount)
      Sets the total discount percentage level1 with tax amount of this commerce order.
      Specified by:
      setTotalDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModel
      Parameters:
      totalDiscountPercentageLevel1WithTaxAmount - the total discount percentage level1 with tax amount of this commerce order
    • setTotalDiscountPercentageLevel2

      public void setTotalDiscountPercentageLevel2(BigDecimal totalDiscountPercentageLevel2)
      Sets the total discount percentage level2 of this commerce order.
      Specified by:
      setTotalDiscountPercentageLevel2 in interface CommerceOrderModel
      Parameters:
      totalDiscountPercentageLevel2 - the total discount percentage level2 of this commerce order
    • setTotalDiscountPercentageLevel2WithTaxAmount

      public void setTotalDiscountPercentageLevel2WithTaxAmount(BigDecimal totalDiscountPercentageLevel2WithTaxAmount)
      Sets the total discount percentage level2 with tax amount of this commerce order.
      Specified by:
      setTotalDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModel
      Parameters:
      totalDiscountPercentageLevel2WithTaxAmount - the total discount percentage level2 with tax amount of this commerce order
    • setTotalDiscountPercentageLevel3

      public void setTotalDiscountPercentageLevel3(BigDecimal totalDiscountPercentageLevel3)
      Sets the total discount percentage level3 of this commerce order.
      Specified by:
      setTotalDiscountPercentageLevel3 in interface CommerceOrderModel
      Parameters:
      totalDiscountPercentageLevel3 - the total discount percentage level3 of this commerce order
    • setTotalDiscountPercentageLevel3WithTaxAmount

      public void setTotalDiscountPercentageLevel3WithTaxAmount(BigDecimal totalDiscountPercentageLevel3WithTaxAmount)
      Sets the total discount percentage level3 with tax amount of this commerce order.
      Specified by:
      setTotalDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModel
      Parameters:
      totalDiscountPercentageLevel3WithTaxAmount - the total discount percentage level3 with tax amount of this commerce order
    • setTotalDiscountPercentageLevel4

      public void setTotalDiscountPercentageLevel4(BigDecimal totalDiscountPercentageLevel4)
      Sets the total discount percentage level4 of this commerce order.
      Specified by:
      setTotalDiscountPercentageLevel4 in interface CommerceOrderModel
      Parameters:
      totalDiscountPercentageLevel4 - the total discount percentage level4 of this commerce order
    • setTotalDiscountPercentageLevel4WithTaxAmount

      public void setTotalDiscountPercentageLevel4WithTaxAmount(BigDecimal totalDiscountPercentageLevel4WithTaxAmount)
      Sets the total discount percentage level4 with tax amount of this commerce order.
      Specified by:
      setTotalDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModel
      Parameters:
      totalDiscountPercentageLevel4WithTaxAmount - the total discount percentage level4 with tax amount of this commerce order
    • setTotalDiscounts

      public void setTotalDiscounts(CommerceDiscountValue commerceDiscountValue)
      Specified by:
      setTotalDiscounts in interface CommerceOrder
    • setTotalDiscountWithTaxAmount

      public void setTotalDiscountWithTaxAmount(BigDecimal totalDiscountWithTaxAmount)
      Sets the total discount with tax amount of this commerce order.
      Specified by:
      setTotalDiscountWithTaxAmount in interface CommerceOrderModel
      Parameters:
      totalDiscountWithTaxAmount - the total discount with tax amount of this commerce order
    • setTotalWithTaxAmount

      public void setTotalWithTaxAmount(BigDecimal totalWithTaxAmount)
      Sets the total with tax amount of this commerce order.
      Specified by:
      setTotalWithTaxAmount in interface CommerceOrderModel
      Parameters:
      totalWithTaxAmount - the total with tax amount of this commerce order
    • setTransactionId

      public void setTransactionId(String transactionId)
      Sets the transaction ID of this commerce order.
      Specified by:
      setTransactionId in interface CommerceOrderModel
      Parameters:
      transactionId - the transaction ID of this commerce order
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this commerce order.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CommerceOrderModel
      Parameters:
      userId - the user ID of this commerce order
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this commerce order.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface CommerceOrderModel
      Parameters:
      userName - the user name of this commerce order
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this commerce order.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CommerceOrderModel
      Parameters:
      userUuid - the user uuid of this commerce order
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this commerce order.
      Specified by:
      setUuid in interface CommerceOrderModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce order
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceOrderModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CommerceOrderWrapper wrap(CommerceOrder commerceOrder)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrder>