Package com.liferay.commerce.model
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:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.model.CommerceOrder
COMMERCE_ORDER_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.account.model.AccountEntry
Returns the advance status of this commerce order.List<com.liferay.portal.kernel.repository.model.FileEntry>
getAttachmentFileEntries
(int start, int end) int
long
Returns the billing address ID of this commerce order.long
Returns the commerce account ID of this commerce order.com.liferay.commerce.currency.model.CommerceCurrency
Returns the commerce currency code of this commerce order.long
Returns the commerce order ID of this commerce order.getCommerceOrderItems
(long cpInstanceId) int
getCommerceOrderItemsCount
(long cpInstanceId) long
Returns the commerce order type ID of this commerce order.Returns the commerce payment method key of this commerce order.long
Returns the commerce shipping method ID of this commerce order.long
Returns the company ID of this commerce order.Returns the coupon code of this commerce order.Returns the create date of this commerce order.int
Returns the delivery commerce term entry description of this commerce order.long
Returns the delivery commerce term entry ID of this commerce order.Returns the delivery commerce term entry name of this commerce order.Returns the external reference code of this commerce order.com.liferay.portal.kernel.repository.model.Folder
getFolder
(com.liferay.portal.kernel.repository.LocalRepository localRepository) long
Returns the group ID of this commerce order.Returns the last price update date of this commerce order.com.liferay.portal.kernel.repository.LocalRepository
boolean
Returns the manually adjusted of this commerce order.Returns the modified date of this commerce order.long
Returns the mvcc version of this commerce order.getName()
Returns the name of this commerce order.Returns the order date of this commerce order.int
Returns the order status of this commerce order.Returns the payment commerce term entry description of this commerce order.long
Returns the payment commerce term entry ID of this commerce order.Returns the payment commerce term entry name of this commerce order.int
Returns the payment status of this commerce order.long
Returns the primary key of this commerce order.Returns the printed note of this commerce order.Returns the purchase order number of this commerce order.Returns the requested delivery date of this commerce order.long
boolean
Returns the shippable of this commerce order.long
Returns the shipping address ID of this commerce order.Returns the shipping amount of this commerce order.Returns the shipping discount amount of this commerce order.Returns the shipping discount percentage level1 of this commerce order.Returns the shipping discount percentage level1 with tax amount of this commerce order.Returns the shipping discount percentage level2 of this commerce order.Returns the shipping discount percentage level2 with tax amount of this commerce order.Returns the shipping discount percentage level3 of this commerce order.Returns the shipping discount percentage level3 with tax amount of this commerce order.Returns the shipping discount percentage level4 of this commerce order.Returns the shipping discount percentage level4 with tax amount of this commerce order.Returns the shipping discount with tax amount of this commerce order.com.liferay.commerce.currency.model.CommerceMoney
Returns the shipping option name of this commerce order.Returns the shipping with tax amount of this commerce order.com.liferay.commerce.currency.model.CommerceMoney
com.liferay.exportimport.kernel.lar.StagedModelType
int
Returns the status of this commerce order.long
Returns the status by user ID of this commerce order.Returns the status by user name of this commerce order.Returns the status by user uuid of this commerce order.Returns the status date of this commerce order.Returns the subtotal of this commerce order.Returns the subtotal discount amount of this commerce order.Returns the subtotal discount percentage level1 of this commerce order.Returns the subtotal discount percentage level1 with tax amount of this commerce order.Returns the subtotal discount percentage level2 of this commerce order.Returns the subtotal discount percentage level2 with tax amount of this commerce order.Returns the subtotal discount percentage level3 of this commerce order.Returns the subtotal discount percentage level3 with tax amount of this commerce order.Returns the subtotal discount percentage level4 of this commerce order.Returns the subtotal discount percentage level4 with tax amount of this commerce order.Returns the subtotal discount with tax amount of this commerce order.com.liferay.commerce.currency.model.CommerceMoney
Returns the subtotal with tax amount of this commerce order.com.liferay.commerce.currency.model.CommerceMoney
int
Returns the tax amount of this commerce order.getTotal()
Returns the total of this commerce order.Returns the total discount amount of this commerce order.Returns the total discount percentage level1 of this commerce order.Returns the total discount percentage level1 with tax amount of this commerce order.Returns the total discount percentage level2 of this commerce order.Returns the total discount percentage level2 with tax amount of this commerce order.Returns the total discount percentage level3 of this commerce order.Returns the total discount percentage level3 with tax amount of this commerce order.Returns the total discount percentage level4 of this commerce order.Returns the total discount percentage level4 with tax amount of this commerce order.Returns the total discount with tax amount of this commerce order.com.liferay.commerce.currency.model.CommerceMoney
Returns the total with tax amount of this commerce order.com.liferay.commerce.currency.model.CommerceMoney
Returns the transaction ID of this commerce order.long
Returns the user ID of this commerce order.Returns the user name of this commerce order.Returns the user uuid of this commerce order.getUuid()
Returns the uuid of this commerce order.boolean
Returnstrue
if this commerce order is approved.boolean
isB2B()
boolean
isDenied()
Returnstrue
if this commerce order is denied.boolean
isDraft()
Returnstrue
if this commerce order is a draft.boolean
isEmpty()
boolean
Returnstrue
if this commerce order is expired.boolean
boolean
Returnstrue
if this commerce order is inactive.boolean
Returnstrue
if this commerce order is incomplete.boolean
Returnstrue
if this commerce order is manually adjusted.boolean
isOpen()
boolean
Returnstrue
if this commerce order is pending.boolean
isQuote()
boolean
Returnstrue
if this commerce order is scheduled.boolean
Returnstrue
if this commerce order is shippable.boolean
boolean
void
persist()
void
setAdvanceStatus
(String advanceStatus) Sets the advance status of this commerce order.void
setBillingAddressId
(long billingAddressId) Sets the billing address ID of this commerce order.void
setCommerceAccountId
(long commerceAccountId) Sets the commerce account ID of this commerce order.void
setCommerceCurrencyCode
(String commerceCurrencyCode) Sets the commerce currency code of this commerce order.void
setCommerceOrderId
(long commerceOrderId) Sets the commerce order ID of this commerce order.void
setCommerceOrderTypeId
(long commerceOrderTypeId) Sets the commerce order type ID of this commerce order.void
setCommercePaymentMethodKey
(String commercePaymentMethodKey) Sets the commerce payment method key of this commerce order.void
setCommerceShippingMethodId
(long commerceShippingMethodId) Sets the commerce shipping method ID of this commerce order.void
setCompanyId
(long companyId) Sets the company ID of this commerce order.void
setCouponCode
(String couponCode) Sets the coupon code of this commerce order.void
setCreateDate
(Date createDate) Sets the create date of this commerce order.void
setDeliveryCommerceTermEntryDescription
(String deliveryCommerceTermEntryDescription) Sets the delivery commerce term entry description of this commerce order.void
setDeliveryCommerceTermEntryId
(long deliveryCommerceTermEntryId) Sets the delivery commerce term entry ID of this commerce order.void
setDeliveryCommerceTermEntryName
(String deliveryCommerceTermEntryName) Sets the delivery commerce term entry name of this commerce order.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this commerce order.void
setGroupId
(long groupId) Sets the group ID of this commerce order.void
setLastPriceUpdateDate
(Date lastPriceUpdateDate) Sets the last price update date of this commerce order.void
setManuallyAdjusted
(boolean manuallyAdjusted) Sets whether this commerce order is manually adjusted.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this commerce order.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this commerce order.void
Sets the name of this commerce order.void
setOrderDate
(Date orderDate) Sets the order date of this commerce order.void
setOrderStatus
(int orderStatus) Sets the order status of this commerce order.void
setPaymentCommerceTermEntryDescription
(String paymentCommerceTermEntryDescription) Sets the payment commerce term entry description of this commerce order.void
setPaymentCommerceTermEntryId
(long paymentCommerceTermEntryId) Sets the payment commerce term entry ID of this commerce order.void
setPaymentCommerceTermEntryName
(String paymentCommerceTermEntryName) Sets the payment commerce term entry name of this commerce order.void
setPaymentStatus
(int paymentStatus) Sets the payment status of this commerce order.void
setPrimaryKey
(long primaryKey) Sets the primary key of this commerce order.void
setPrintedNote
(String printedNote) Sets the printed note of this commerce order.void
setPurchaseOrderNumber
(String purchaseOrderNumber) Sets the purchase order number of this commerce order.void
setRequestedDeliveryDate
(Date requestedDeliveryDate) Sets the requested delivery date of this commerce order.void
setShippable
(boolean shippable) Sets whether this commerce order is shippable.void
setShippingAddressId
(long shippingAddressId) Sets the shipping address ID of this commerce order.void
setShippingAmount
(BigDecimal shippingAmount) Sets the shipping amount of this commerce order.void
setShippingDiscountAmount
(BigDecimal shippingDiscountAmount) Sets the shipping discount amount of this commerce order.void
setShippingDiscountPercentageLevel1
(BigDecimal shippingDiscountPercentageLevel1) Sets the shipping discount percentage level1 of this commerce order.void
setShippingDiscountPercentageLevel1WithTaxAmount
(BigDecimal shippingDiscountPercentageLevel1WithTaxAmount) Sets the shipping discount percentage level1 with tax amount of this commerce order.void
setShippingDiscountPercentageLevel2
(BigDecimal shippingDiscountPercentageLevel2) Sets the shipping discount percentage level2 of this commerce order.void
setShippingDiscountPercentageLevel2WithTaxAmount
(BigDecimal shippingDiscountPercentageLevel2WithTaxAmount) Sets the shipping discount percentage level2 with tax amount of this commerce order.void
setShippingDiscountPercentageLevel3
(BigDecimal shippingDiscountPercentageLevel3) Sets the shipping discount percentage level3 of this commerce order.void
setShippingDiscountPercentageLevel3WithTaxAmount
(BigDecimal shippingDiscountPercentageLevel3WithTaxAmount) Sets the shipping discount percentage level3 with tax amount of this commerce order.void
setShippingDiscountPercentageLevel4
(BigDecimal shippingDiscountPercentageLevel4) Sets the shipping discount percentage level4 of this commerce order.void
setShippingDiscountPercentageLevel4WithTaxAmount
(BigDecimal shippingDiscountPercentageLevel4WithTaxAmount) Sets the shipping discount percentage level4 with tax amount of this commerce order.void
setShippingDiscounts
(CommerceDiscountValue commerceDiscountValue) void
setShippingDiscountWithTaxAmount
(BigDecimal shippingDiscountWithTaxAmount) Sets the shipping discount with tax amount of this commerce order.void
setShippingOptionName
(String shippingOptionName) Sets the shipping option name of this commerce order.void
setShippingWithTaxAmount
(BigDecimal shippingWithTaxAmount) Sets the shipping with tax amount of this commerce order.void
setStatus
(int status) Sets the status of this commerce order.void
setStatusByUserId
(long statusByUserId) Sets the status by user ID of this commerce order.void
setStatusByUserName
(String statusByUserName) Sets the status by user name of this commerce order.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this commerce order.void
setStatusDate
(Date statusDate) Sets the status date of this commerce order.void
setSubtotal
(BigDecimal subtotal) Sets the subtotal of this commerce order.void
setSubtotalDiscountAmount
(BigDecimal subtotalDiscountAmount) Sets the subtotal discount amount of this commerce order.void
setSubtotalDiscountPercentageLevel1
(BigDecimal subtotalDiscountPercentageLevel1) Sets the subtotal discount percentage level1 of this commerce order.void
setSubtotalDiscountPercentageLevel1WithTaxAmount
(BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount) Sets the subtotal discount percentage level1 with tax amount of this commerce order.void
setSubtotalDiscountPercentageLevel2
(BigDecimal subtotalDiscountPercentageLevel2) Sets the subtotal discount percentage level2 of this commerce order.void
setSubtotalDiscountPercentageLevel2WithTaxAmount
(BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount) Sets the subtotal discount percentage level2 with tax amount of this commerce order.void
setSubtotalDiscountPercentageLevel3
(BigDecimal subtotalDiscountPercentageLevel3) Sets the subtotal discount percentage level3 of this commerce order.void
setSubtotalDiscountPercentageLevel3WithTaxAmount
(BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount) Sets the subtotal discount percentage level3 with tax amount of this commerce order.void
setSubtotalDiscountPercentageLevel4
(BigDecimal subtotalDiscountPercentageLevel4) Sets the subtotal discount percentage level4 of this commerce order.void
setSubtotalDiscountPercentageLevel4WithTaxAmount
(BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount) Sets the subtotal discount percentage level4 with tax amount of this commerce order.void
setSubtotalDiscounts
(CommerceDiscountValue commerceDiscountValue) void
setSubtotalDiscountWithTaxAmount
(BigDecimal subtotalDiscountWithTaxAmount) Sets the subtotal discount with tax amount of this commerce order.void
setSubtotalWithTaxAmount
(BigDecimal subtotalWithTaxAmount) Sets the subtotal with tax amount of this commerce order.void
setTaxAmount
(BigDecimal taxAmount) Sets the tax amount of this commerce order.void
setTotal
(BigDecimal total) Sets the total of this commerce order.void
setTotalDiscountAmount
(BigDecimal totalDiscountAmount) Sets the total discount amount of this commerce order.void
setTotalDiscountPercentageLevel1
(BigDecimal totalDiscountPercentageLevel1) Sets the total discount percentage level1 of this commerce order.void
setTotalDiscountPercentageLevel1WithTaxAmount
(BigDecimal totalDiscountPercentageLevel1WithTaxAmount) Sets the total discount percentage level1 with tax amount of this commerce order.void
setTotalDiscountPercentageLevel2
(BigDecimal totalDiscountPercentageLevel2) Sets the total discount percentage level2 of this commerce order.void
setTotalDiscountPercentageLevel2WithTaxAmount
(BigDecimal totalDiscountPercentageLevel2WithTaxAmount) Sets the total discount percentage level2 with tax amount of this commerce order.void
setTotalDiscountPercentageLevel3
(BigDecimal totalDiscountPercentageLevel3) Sets the total discount percentage level3 of this commerce order.void
setTotalDiscountPercentageLevel3WithTaxAmount
(BigDecimal totalDiscountPercentageLevel3WithTaxAmount) Sets the total discount percentage level3 with tax amount of this commerce order.void
setTotalDiscountPercentageLevel4
(BigDecimal totalDiscountPercentageLevel4) Sets the total discount percentage level4 of this commerce order.void
setTotalDiscountPercentageLevel4WithTaxAmount
(BigDecimal totalDiscountPercentageLevel4WithTaxAmount) Sets the total discount percentage level4 with tax amount of this commerce order.void
setTotalDiscounts
(CommerceDiscountValue commerceDiscountValue) void
setTotalDiscountWithTaxAmount
(BigDecimal totalDiscountWithTaxAmount) Sets the total discount with tax amount of this commerce order.void
setTotalWithTaxAmount
(BigDecimal totalWithTaxAmount) Sets the total with tax amount of this commerce order.void
setTransactionId
(String transactionId) Sets the transaction ID of this commerce order.void
setUserId
(long userId) Sets the user ID of this commerce order.void
setUserName
(String userName) Sets the user name of this commerce order.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce order.void
Sets the uuid of this commerce order.protected CommerceOrderWrapper
wrap
(CommerceOrder commerceOrder) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceOrderWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrder>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrder>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrder>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceOrderModel
-
getAccountEntry
public com.liferay.account.model.AccountEntry getAccountEntry() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAccountEntry
in interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAdvanceStatus
Returns the advance status of this commerce order.- Specified by:
getAdvanceStatus
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentFileEntriesCount
public int getAttachmentFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAttachmentFileEntriesCount
in interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingAddress
public CommerceAddress getBillingAddress() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getBillingAddress
in interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingAddressId
public long getBillingAddressId()Returns the billing address ID of this commerce order.- Specified by:
getBillingAddressId
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Returns:
- the commerce account ID of this commerce order
-
getCommerceAccountName
- Specified by:
getCommerceAccountName
in interfaceCommerceOrder
- 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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCurrencyCode
Returns the commerce currency code of this commerce order.- Specified by:
getCommerceCurrencyCode
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Returns:
- the commerce order ID of this commerce order
-
getCommerceOrderItems
- Specified by:
getCommerceOrderItems
in interfaceCommerceOrder
-
getCommerceOrderItems
- Specified by:
getCommerceOrderItems
in interfaceCommerceOrder
-
getCommerceOrderItemsCount
public int getCommerceOrderItemsCount(long cpInstanceId) - Specified by:
getCommerceOrderItemsCount
in interfaceCommerceOrder
-
getCommerceOrderTypeId
public long getCommerceOrderTypeId()Returns the commerce order type ID of this commerce order.- Specified by:
getCommerceOrderTypeId
in interfaceCommerceOrderModel
- Returns:
- the commerce order type ID of this commerce order
-
getCommercePaymentMethodKey
Returns the commerce payment method key of this commerce order.- Specified by:
getCommercePaymentMethodKey
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrder
- 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 interfaceCommerceOrderModel
- 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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceOrderModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this commerce order
-
getCouponCode
Returns the coupon code of this commerce order.- Specified by:
getCouponCode
in interfaceCommerceOrderModel
- Returns:
- the coupon code of this commerce order
-
getCreateDate
Returns the create date of this commerce order.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceOrderModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this commerce order
-
getCustomerCommerceOrderIds
- Specified by:
getCustomerCommerceOrderIds
in interfaceCommerceOrder
-
getCustomerCommerceOrderIdsCount
public int getCustomerCommerceOrderIdsCount()- Specified by:
getCustomerCommerceOrderIdsCount
in interfaceCommerceOrder
-
getDeliveryCommerceTermEntryDescription
Returns the delivery commerce term entry description of this commerce order.- Specified by:
getDeliveryCommerceTermEntryDescription
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Returns:
- the delivery commerce term entry ID of this commerce order
-
getDeliveryCommerceTermEntryName
Returns the delivery commerce term entry name of this commerce order.- Specified by:
getDeliveryCommerceTermEntryName
in interfaceCommerceOrderModel
- Returns:
- the delivery commerce term entry name of this commerce order
-
getExternalReferenceCode
Returns the external reference code of this commerce order.- Specified by:
getExternalReferenceCode
in interfaceCommerceOrderModel
- Specified by:
getExternalReferenceCode
in interfacecom.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 interfaceCommerceOrder
-
getGroupId
public long getGroupId()Returns the group ID of this commerce order.- Specified by:
getGroupId
in interfaceCommerceOrderModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this commerce order
-
getLastPriceUpdateDate
Returns the last price update date of this commerce order.- Specified by:
getLastPriceUpdateDate
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getManuallyAdjusted
public boolean getManuallyAdjusted()Returns the manually adjusted of this commerce order.- Specified by:
getManuallyAdjusted
in interfaceCommerceOrderModel
- Returns:
- the manually adjusted of this commerce order
-
getModifiedDate
Returns the modified date of this commerce order.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceOrderModel
- Specified by:
getModifiedDate
in interfacecom.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 interfaceCommerceOrderModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce order
-
getName
Returns the name of this commerce order.- Specified by:
getName
in interfaceCommerceOrderModel
- Returns:
- the name of this commerce order
-
getOrderDate
Returns the order date of this commerce order.- Specified by:
getOrderDate
in interfaceCommerceOrderModel
- Returns:
- the order date of this commerce order
-
getOrderStatus
public int getOrderStatus()Returns the order status of this commerce order.- Specified by:
getOrderStatus
in interfaceCommerceOrderModel
- Returns:
- the order status of this commerce order
-
getPaymentCommerceTermEntryDescription
Returns the payment commerce term entry description of this commerce order.- Specified by:
getPaymentCommerceTermEntryDescription
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Returns:
- the payment commerce term entry ID of this commerce order
-
getPaymentCommerceTermEntryName
Returns the payment commerce term entry name of this commerce order.- Specified by:
getPaymentCommerceTermEntryName
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Returns:
- the payment status of this commerce order
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce order.- Specified by:
getPrimaryKey
in interfaceCommerceOrderModel
- Returns:
- the primary key of this commerce order
-
getPrintedNote
Returns the printed note of this commerce order.- Specified by:
getPrintedNote
in interfaceCommerceOrderModel
- Returns:
- the printed note of this commerce order
-
getPurchaseOrderNumber
Returns the purchase order number of this commerce order.- Specified by:
getPurchaseOrderNumber
in interfaceCommerceOrderModel
- Returns:
- the purchase order number of this commerce order
-
getRequestedDeliveryDate
Returns the requested delivery date of this commerce order.- Specified by:
getRequestedDeliveryDate
in interfaceCommerceOrderModel
- Returns:
- the requested delivery date of this commerce order
-
getScopeGroupId
public long getScopeGroupId() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getScopeGroupId
in interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippable
public boolean getShippable()Returns the shippable of this commerce order.- Specified by:
getShippable
in interfaceCommerceOrderModel
- Returns:
- the shippable of this commerce order
-
getShippingAddress
public CommerceAddress getShippingAddress() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getShippingAddress
in interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingAddressId
public long getShippingAddressId()Returns the shipping address ID of this commerce order.- Specified by:
getShippingAddressId
in interfaceCommerceOrderModel
- Returns:
- the shipping address ID of this commerce order
-
getShippingAmount
Returns the shipping amount of this commerce order.- Specified by:
getShippingAmount
in interfaceCommerceOrderModel
- Returns:
- the shipping amount of this commerce order
-
getShippingDiscountAmount
Returns the shipping discount amount of this commerce order.- Specified by:
getShippingDiscountAmount
in interfaceCommerceOrderModel
- Returns:
- the shipping discount amount of this commerce order
-
getShippingDiscountPercentageLevel1
Returns the shipping discount percentage level1 of this commerce order.- Specified by:
getShippingDiscountPercentageLevel1
in interfaceCommerceOrderModel
- Returns:
- the shipping discount percentage level1 of this commerce order
-
getShippingDiscountPercentageLevel1WithTaxAmount
Returns the shipping discount percentage level1 with tax amount of this commerce order.- Specified by:
getShippingDiscountPercentageLevel1WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the shipping discount percentage level1 with tax amount of this commerce order
-
getShippingDiscountPercentageLevel2
Returns the shipping discount percentage level2 of this commerce order.- Specified by:
getShippingDiscountPercentageLevel2
in interfaceCommerceOrderModel
- Returns:
- the shipping discount percentage level2 of this commerce order
-
getShippingDiscountPercentageLevel2WithTaxAmount
Returns the shipping discount percentage level2 with tax amount of this commerce order.- Specified by:
getShippingDiscountPercentageLevel2WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the shipping discount percentage level2 with tax amount of this commerce order
-
getShippingDiscountPercentageLevel3
Returns the shipping discount percentage level3 of this commerce order.- Specified by:
getShippingDiscountPercentageLevel3
in interfaceCommerceOrderModel
- Returns:
- the shipping discount percentage level3 of this commerce order
-
getShippingDiscountPercentageLevel3WithTaxAmount
Returns the shipping discount percentage level3 with tax amount of this commerce order.- Specified by:
getShippingDiscountPercentageLevel3WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the shipping discount percentage level3 with tax amount of this commerce order
-
getShippingDiscountPercentageLevel4
Returns the shipping discount percentage level4 of this commerce order.- Specified by:
getShippingDiscountPercentageLevel4
in interfaceCommerceOrderModel
- Returns:
- the shipping discount percentage level4 of this commerce order
-
getShippingDiscountPercentageLevel4WithTaxAmount
Returns the shipping discount percentage level4 with tax amount of this commerce order.- Specified by:
getShippingDiscountPercentageLevel4WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the shipping discount percentage level4 with tax amount of this commerce order
-
getShippingDiscountWithTaxAmount
Returns the shipping discount with tax amount of this commerce order.- Specified by:
getShippingDiscountWithTaxAmount
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingOptionName
Returns the shipping option name of this commerce order.- Specified by:
getShippingOptionName
in interfaceCommerceOrderModel
- Returns:
- the shipping option name of this commerce order
-
getShippingWithTaxAmount
Returns the shipping with tax amount of this commerce order.- Specified by:
getShippingWithTaxAmount
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStatus
public int getStatus()Returns the status of this commerce order.- Specified by:
getStatus
in interfaceCommerceOrderModel
- Specified by:
getStatus
in interfacecom.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 interfaceCommerceOrderModel
- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this commerce order
-
getStatusByUserName
Returns the status by user name of this commerce order.- Specified by:
getStatusByUserName
in interfaceCommerceOrderModel
- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this commerce order
-
getStatusByUserUuid
Returns the status by user uuid of this commerce order.- Specified by:
getStatusByUserUuid
in interfaceCommerceOrderModel
- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this commerce order
-
getStatusDate
Returns the status date of this commerce order.- Specified by:
getStatusDate
in interfaceCommerceOrderModel
- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this commerce order
-
getSubtotal
Returns the subtotal of this commerce order.- Specified by:
getSubtotal
in interfaceCommerceOrderModel
- Returns:
- the subtotal of this commerce order
-
getSubtotalDiscountAmount
Returns the subtotal discount amount of this commerce order.- Specified by:
getSubtotalDiscountAmount
in interfaceCommerceOrderModel
- Returns:
- the subtotal discount amount of this commerce order
-
getSubtotalDiscountPercentageLevel1
Returns the subtotal discount percentage level1 of this commerce order.- Specified by:
getSubtotalDiscountPercentageLevel1
in interfaceCommerceOrderModel
- Returns:
- the subtotal discount percentage level1 of this commerce order
-
getSubtotalDiscountPercentageLevel1WithTaxAmount
Returns the subtotal discount percentage level1 with tax amount of this commerce order.- Specified by:
getSubtotalDiscountPercentageLevel1WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the subtotal discount percentage level1 with tax amount of this commerce order
-
getSubtotalDiscountPercentageLevel2
Returns the subtotal discount percentage level2 of this commerce order.- Specified by:
getSubtotalDiscountPercentageLevel2
in interfaceCommerceOrderModel
- Returns:
- the subtotal discount percentage level2 of this commerce order
-
getSubtotalDiscountPercentageLevel2WithTaxAmount
Returns the subtotal discount percentage level2 with tax amount of this commerce order.- Specified by:
getSubtotalDiscountPercentageLevel2WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the subtotal discount percentage level2 with tax amount of this commerce order
-
getSubtotalDiscountPercentageLevel3
Returns the subtotal discount percentage level3 of this commerce order.- Specified by:
getSubtotalDiscountPercentageLevel3
in interfaceCommerceOrderModel
- Returns:
- the subtotal discount percentage level3 of this commerce order
-
getSubtotalDiscountPercentageLevel3WithTaxAmount
Returns the subtotal discount percentage level3 with tax amount of this commerce order.- Specified by:
getSubtotalDiscountPercentageLevel3WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the subtotal discount percentage level3 with tax amount of this commerce order
-
getSubtotalDiscountPercentageLevel4
Returns the subtotal discount percentage level4 of this commerce order.- Specified by:
getSubtotalDiscountPercentageLevel4
in interfaceCommerceOrderModel
- Returns:
- the subtotal discount percentage level4 of this commerce order
-
getSubtotalDiscountPercentageLevel4WithTaxAmount
Returns the subtotal discount percentage level4 with tax amount of this commerce order.- Specified by:
getSubtotalDiscountPercentageLevel4WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the subtotal discount percentage level4 with tax amount of this commerce order
-
getSubtotalDiscountWithTaxAmount
Returns the subtotal discount with tax amount of this commerce order.- Specified by:
getSubtotalDiscountWithTaxAmount
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSubtotalWithTaxAmount
Returns the subtotal with tax amount of this commerce order.- Specified by:
getSubtotalWithTaxAmount
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSupplierCommerceOrderIds
- Specified by:
getSupplierCommerceOrderIds
in interfaceCommerceOrder
-
getSupplierCommerceOrderIdsCount
public int getSupplierCommerceOrderIdsCount()- Specified by:
getSupplierCommerceOrderIdsCount
in interfaceCommerceOrder
-
getTaxAmount
Returns the tax amount of this commerce order.- Specified by:
getTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the tax amount of this commerce order
-
getTotal
Returns the total of this commerce order.- Specified by:
getTotal
in interfaceCommerceOrderModel
- Returns:
- the total of this commerce order
-
getTotalDiscountAmount
Returns the total discount amount of this commerce order.- Specified by:
getTotalDiscountAmount
in interfaceCommerceOrderModel
- Returns:
- the total discount amount of this commerce order
-
getTotalDiscountPercentageLevel1
Returns the total discount percentage level1 of this commerce order.- Specified by:
getTotalDiscountPercentageLevel1
in interfaceCommerceOrderModel
- Returns:
- the total discount percentage level1 of this commerce order
-
getTotalDiscountPercentageLevel1WithTaxAmount
Returns the total discount percentage level1 with tax amount of this commerce order.- Specified by:
getTotalDiscountPercentageLevel1WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the total discount percentage level1 with tax amount of this commerce order
-
getTotalDiscountPercentageLevel2
Returns the total discount percentage level2 of this commerce order.- Specified by:
getTotalDiscountPercentageLevel2
in interfaceCommerceOrderModel
- Returns:
- the total discount percentage level2 of this commerce order
-
getTotalDiscountPercentageLevel2WithTaxAmount
Returns the total discount percentage level2 with tax amount of this commerce order.- Specified by:
getTotalDiscountPercentageLevel2WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the total discount percentage level2 with tax amount of this commerce order
-
getTotalDiscountPercentageLevel3
Returns the total discount percentage level3 of this commerce order.- Specified by:
getTotalDiscountPercentageLevel3
in interfaceCommerceOrderModel
- Returns:
- the total discount percentage level3 of this commerce order
-
getTotalDiscountPercentageLevel3WithTaxAmount
Returns the total discount percentage level3 with tax amount of this commerce order.- Specified by:
getTotalDiscountPercentageLevel3WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the total discount percentage level3 with tax amount of this commerce order
-
getTotalDiscountPercentageLevel4
Returns the total discount percentage level4 of this commerce order.- Specified by:
getTotalDiscountPercentageLevel4
in interfaceCommerceOrderModel
- Returns:
- the total discount percentage level4 of this commerce order
-
getTotalDiscountPercentageLevel4WithTaxAmount
Returns the total discount percentage level4 with tax amount of this commerce order.- Specified by:
getTotalDiscountPercentageLevel4WithTaxAmount
in interfaceCommerceOrderModel
- Returns:
- the total discount percentage level4 with tax amount of this commerce order
-
getTotalDiscountWithTaxAmount
Returns the total discount with tax amount of this commerce order.- Specified by:
getTotalDiscountWithTaxAmount
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTotalWithTaxAmount
Returns the total with tax amount of this commerce order.- Specified by:
getTotalWithTaxAmount
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTransactionId
Returns the transaction ID of this commerce order.- Specified by:
getTransactionId
in interfaceCommerceOrderModel
- Returns:
- the transaction ID of this commerce order
-
getUserId
public long getUserId()Returns the user ID of this commerce order.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceOrderModel
- Returns:
- the user ID of this commerce order
-
getUserName
Returns the user name of this commerce order.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceOrderModel
- Returns:
- the user name of this commerce order
-
getUserUuid
Returns the user uuid of this commerce order.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceOrderModel
- Returns:
- the user uuid of this commerce order
-
getUuid
Returns the uuid of this commerce order.- Specified by:
getUuid
in interfaceCommerceOrderModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce order
-
isApproved
public boolean isApproved()Returnstrue
if this commerce order is approved.- Specified by:
isApproved
in interfaceCommerceOrderModel
- Specified by:
isApproved
in interfacecom.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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isDenied
public boolean isDenied()Returnstrue
if this commerce order is denied.- Specified by:
isDenied
in interfaceCommerceOrderModel
- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce order is denied;false
otherwise
-
isDraft
public boolean isDraft()Returnstrue
if this commerce order is a draft.- Specified by:
isDraft
in interfaceCommerceOrderModel
- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce order is a draft;false
otherwise
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCommerceOrder
-
isExpired
public boolean isExpired()Returnstrue
if this commerce order is expired.- Specified by:
isExpired
in interfaceCommerceOrderModel
- Specified by:
isExpired
in interfacecom.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 interfaceCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isInactive
public boolean isInactive()Returnstrue
if this commerce order is inactive.- Specified by:
isInactive
in interfaceCommerceOrderModel
- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce order is inactive;false
otherwise
-
isIncomplete
public boolean isIncomplete()Returnstrue
if this commerce order is incomplete.- Specified by:
isIncomplete
in interfaceCommerceOrderModel
- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce order is incomplete;false
otherwise
-
isManuallyAdjusted
public boolean isManuallyAdjusted()Returnstrue
if this commerce order is manually adjusted.- Specified by:
isManuallyAdjusted
in interfaceCommerceOrderModel
- Returns:
true
if this commerce order is manually adjusted;false
otherwise
-
isOpen
public boolean isOpen()- Specified by:
isOpen
in interfaceCommerceOrder
-
isPending
public boolean isPending()Returnstrue
if this commerce order is pending.- Specified by:
isPending
in interfaceCommerceOrderModel
- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce order is pending;false
otherwise
-
isQuote
public boolean isQuote()- Specified by:
isQuote
in interfaceCommerceOrder
-
isScheduled
public boolean isScheduled()Returnstrue
if this commerce order is scheduled.- Specified by:
isScheduled
in interfaceCommerceOrderModel
- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce order is scheduled;false
otherwise
-
isShippable
public boolean isShippable()Returnstrue
if this commerce order is shippable.- Specified by:
isShippable
in interfaceCommerceOrderModel
- Returns:
true
if this commerce order is shippable;false
otherwise
-
isSubscription
public boolean isSubscription()- Specified by:
isSubscription
in interfaceCommerceOrder
-
isSubscriptionOrder
public boolean isSubscriptionOrder()- Specified by:
isSubscriptionOrder
in interfaceCommerceOrder
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAdvanceStatus
Sets the advance status of this commerce order.- Specified by:
setAdvanceStatus
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
commerceAccountId
- the commerce account ID of this commerce order
-
setCommerceCurrencyCode
Sets the commerce currency code of this commerce order.- Specified by:
setCommerceCurrencyCode
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
commerceOrderTypeId
- the commerce order type ID of this commerce order
-
setCommercePaymentMethodKey
Sets the commerce payment method key of this commerce order.- Specified by:
setCommercePaymentMethodKey
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- 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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceOrderModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this commerce order
-
setCouponCode
Sets the coupon code of this commerce order.- Specified by:
setCouponCode
in interfaceCommerceOrderModel
- Parameters:
couponCode
- the coupon code of this commerce order
-
setCreateDate
Sets the create date of this commerce order.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceOrderModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this commerce order
-
setDeliveryCommerceTermEntryDescription
Sets the delivery commerce term entry description of this commerce order.- Specified by:
setDeliveryCommerceTermEntryDescription
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
deliveryCommerceTermEntryId
- the delivery commerce term entry ID of this commerce order
-
setDeliveryCommerceTermEntryName
Sets the delivery commerce term entry name of this commerce order.- Specified by:
setDeliveryCommerceTermEntryName
in interfaceCommerceOrderModel
- Parameters:
deliveryCommerceTermEntryName
- the delivery commerce term entry name of this commerce order
-
setExternalReferenceCode
Sets the external reference code of this commerce order.- Specified by:
setExternalReferenceCode
in interfaceCommerceOrderModel
- Specified by:
setExternalReferenceCode
in interfacecom.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 interfaceCommerceOrderModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this commerce order
-
setLastPriceUpdateDate
Sets the last price update date of this commerce order.- Specified by:
setLastPriceUpdateDate
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
manuallyAdjusted
- the manually adjusted of this commerce order
-
setModifiedDate
Sets the modified date of this commerce order.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceOrderModel
- Specified by:
setModifiedDate
in interfacecom.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 interfaceCommerceOrderModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce order
-
setName
Sets the name of this commerce order.- Specified by:
setName
in interfaceCommerceOrderModel
- Parameters:
name
- the name of this commerce order
-
setOrderDate
Sets the order date of this commerce order.- Specified by:
setOrderDate
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
orderStatus
- the order status of this commerce order
-
setPaymentCommerceTermEntryDescription
Sets the payment commerce term entry description of this commerce order.- Specified by:
setPaymentCommerceTermEntryDescription
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
paymentCommerceTermEntryId
- the payment commerce term entry ID of this commerce order
-
setPaymentCommerceTermEntryName
Sets the payment commerce term entry name of this commerce order.- Specified by:
setPaymentCommerceTermEntryName
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
primaryKey
- the primary key of this commerce order
-
setPrintedNote
Sets the printed note of this commerce order.- Specified by:
setPrintedNote
in interfaceCommerceOrderModel
- Parameters:
printedNote
- the printed note of this commerce order
-
setPurchaseOrderNumber
Sets the purchase order number of this commerce order.- Specified by:
setPurchaseOrderNumber
in interfaceCommerceOrderModel
- Parameters:
purchaseOrderNumber
- the purchase order number of this commerce order
-
setRequestedDeliveryDate
Sets the requested delivery date of this commerce order.- Specified by:
setRequestedDeliveryDate
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
shippingAddressId
- the shipping address ID of this commerce order
-
setShippingAmount
Sets the shipping amount of this commerce order.- Specified by:
setShippingAmount
in interfaceCommerceOrderModel
- Parameters:
shippingAmount
- the shipping amount of this commerce order
-
setShippingDiscountAmount
Sets the shipping discount amount of this commerce order.- Specified by:
setShippingDiscountAmount
in interfaceCommerceOrderModel
- Parameters:
shippingDiscountAmount
- the shipping discount amount of this commerce order
-
setShippingDiscountPercentageLevel1
Sets the shipping discount percentage level1 of this commerce order.- Specified by:
setShippingDiscountPercentageLevel1
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
shippingDiscountPercentageLevel1WithTaxAmount
- the shipping discount percentage level1 with tax amount of this commerce order
-
setShippingDiscountPercentageLevel2
Sets the shipping discount percentage level2 of this commerce order.- Specified by:
setShippingDiscountPercentageLevel2
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
shippingDiscountPercentageLevel2WithTaxAmount
- the shipping discount percentage level2 with tax amount of this commerce order
-
setShippingDiscountPercentageLevel3
Sets the shipping discount percentage level3 of this commerce order.- Specified by:
setShippingDiscountPercentageLevel3
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
shippingDiscountPercentageLevel3WithTaxAmount
- the shipping discount percentage level3 with tax amount of this commerce order
-
setShippingDiscountPercentageLevel4
Sets the shipping discount percentage level4 of this commerce order.- Specified by:
setShippingDiscountPercentageLevel4
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
shippingDiscountPercentageLevel4WithTaxAmount
- the shipping discount percentage level4 with tax amount of this commerce order
-
setShippingDiscounts
- Specified by:
setShippingDiscounts
in interfaceCommerceOrder
-
setShippingDiscountWithTaxAmount
Sets the shipping discount with tax amount of this commerce order.- Specified by:
setShippingDiscountWithTaxAmount
in interfaceCommerceOrderModel
- Parameters:
shippingDiscountWithTaxAmount
- the shipping discount with tax amount of this commerce order
-
setShippingOptionName
Sets the shipping option name of this commerce order.- Specified by:
setShippingOptionName
in interfaceCommerceOrderModel
- Parameters:
shippingOptionName
- the shipping option name of this commerce order
-
setShippingWithTaxAmount
Sets the shipping with tax amount of this commerce order.- Specified by:
setShippingWithTaxAmount
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Specified by:
setStatus
in interfacecom.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 interfaceCommerceOrderModel
- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this commerce order
-
setStatusByUserName
Sets the status by user name of this commerce order.- Specified by:
setStatusByUserName
in interfaceCommerceOrderModel
- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this commerce order
-
setStatusByUserUuid
Sets the status by user uuid of this commerce order.- Specified by:
setStatusByUserUuid
in interfaceCommerceOrderModel
- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this commerce order
-
setStatusDate
Sets the status date of this commerce order.- Specified by:
setStatusDate
in interfaceCommerceOrderModel
- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this commerce order
-
setSubtotal
Sets the subtotal of this commerce order.- Specified by:
setSubtotal
in interfaceCommerceOrderModel
- Parameters:
subtotal
- the subtotal of this commerce order
-
setSubtotalDiscountAmount
Sets the subtotal discount amount of this commerce order.- Specified by:
setSubtotalDiscountAmount
in interfaceCommerceOrderModel
- Parameters:
subtotalDiscountAmount
- the subtotal discount amount of this commerce order
-
setSubtotalDiscountPercentageLevel1
Sets the subtotal discount percentage level1 of this commerce order.- Specified by:
setSubtotalDiscountPercentageLevel1
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
subtotalDiscountPercentageLevel1WithTaxAmount
- the subtotal discount percentage level1 with tax amount of this commerce order
-
setSubtotalDiscountPercentageLevel2
Sets the subtotal discount percentage level2 of this commerce order.- Specified by:
setSubtotalDiscountPercentageLevel2
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
subtotalDiscountPercentageLevel2WithTaxAmount
- the subtotal discount percentage level2 with tax amount of this commerce order
-
setSubtotalDiscountPercentageLevel3
Sets the subtotal discount percentage level3 of this commerce order.- Specified by:
setSubtotalDiscountPercentageLevel3
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
subtotalDiscountPercentageLevel3WithTaxAmount
- the subtotal discount percentage level3 with tax amount of this commerce order
-
setSubtotalDiscountPercentageLevel4
Sets the subtotal discount percentage level4 of this commerce order.- Specified by:
setSubtotalDiscountPercentageLevel4
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
subtotalDiscountPercentageLevel4WithTaxAmount
- the subtotal discount percentage level4 with tax amount of this commerce order
-
setSubtotalDiscounts
- Specified by:
setSubtotalDiscounts
in interfaceCommerceOrder
-
setSubtotalDiscountWithTaxAmount
Sets the subtotal discount with tax amount of this commerce order.- Specified by:
setSubtotalDiscountWithTaxAmount
in interfaceCommerceOrderModel
- Parameters:
subtotalDiscountWithTaxAmount
- the subtotal discount with tax amount of this commerce order
-
setSubtotalWithTaxAmount
Sets the subtotal with tax amount of this commerce order.- Specified by:
setSubtotalWithTaxAmount
in interfaceCommerceOrderModel
- Parameters:
subtotalWithTaxAmount
- the subtotal with tax amount of this commerce order
-
setTaxAmount
Sets the tax amount of this commerce order.- Specified by:
setTaxAmount
in interfaceCommerceOrderModel
- Parameters:
taxAmount
- the tax amount of this commerce order
-
setTotal
Sets the total of this commerce order.- Specified by:
setTotal
in interfaceCommerceOrderModel
- Parameters:
total
- the total of this commerce order
-
setTotalDiscountAmount
Sets the total discount amount of this commerce order.- Specified by:
setTotalDiscountAmount
in interfaceCommerceOrderModel
- Parameters:
totalDiscountAmount
- the total discount amount of this commerce order
-
setTotalDiscountPercentageLevel1
Sets the total discount percentage level1 of this commerce order.- Specified by:
setTotalDiscountPercentageLevel1
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
totalDiscountPercentageLevel1WithTaxAmount
- the total discount percentage level1 with tax amount of this commerce order
-
setTotalDiscountPercentageLevel2
Sets the total discount percentage level2 of this commerce order.- Specified by:
setTotalDiscountPercentageLevel2
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
totalDiscountPercentageLevel2WithTaxAmount
- the total discount percentage level2 with tax amount of this commerce order
-
setTotalDiscountPercentageLevel3
Sets the total discount percentage level3 of this commerce order.- Specified by:
setTotalDiscountPercentageLevel3
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
totalDiscountPercentageLevel3WithTaxAmount
- the total discount percentage level3 with tax amount of this commerce order
-
setTotalDiscountPercentageLevel4
Sets the total discount percentage level4 of this commerce order.- Specified by:
setTotalDiscountPercentageLevel4
in interfaceCommerceOrderModel
- 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 interfaceCommerceOrderModel
- Parameters:
totalDiscountPercentageLevel4WithTaxAmount
- the total discount percentage level4 with tax amount of this commerce order
-
setTotalDiscounts
- Specified by:
setTotalDiscounts
in interfaceCommerceOrder
-
setTotalDiscountWithTaxAmount
Sets the total discount with tax amount of this commerce order.- Specified by:
setTotalDiscountWithTaxAmount
in interfaceCommerceOrderModel
- Parameters:
totalDiscountWithTaxAmount
- the total discount with tax amount of this commerce order
-
setTotalWithTaxAmount
Sets the total with tax amount of this commerce order.- Specified by:
setTotalWithTaxAmount
in interfaceCommerceOrderModel
- Parameters:
totalWithTaxAmount
- the total with tax amount of this commerce order
-
setTransactionId
Sets the transaction ID of this commerce order.- Specified by:
setTransactionId
in interfaceCommerceOrderModel
- 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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceOrderModel
- Parameters:
userId
- the user ID of this commerce order
-
setUserName
Sets the user name of this commerce order.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceOrderModel
- Parameters:
userName
- the user name of this commerce order
-
setUserUuid
Sets the user uuid of this commerce order.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceOrderModel
- Parameters:
userUuid
- the user uuid of this commerce order
-
setUuid
Sets the uuid of this commerce order.- Specified by:
setUuid
in interfaceCommerceOrderModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce order
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceOrderModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrder>
-