@ProviderType public interface CommerceOrderModel extends com.liferay.portal.kernel.model.BaseModel<CommerceOrder>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.WorkflowedModel
This interface and its corresponding implementation com.liferay.commerce.model.impl.CommerceOrderModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.model.impl.CommerceOrderImpl.
CommerceOrder| Modifier and Type | Method and Description |
|---|---|
CommerceOrder |
cloneWithOriginalValues() |
java.lang.String |
getAdvanceStatus()
Returns the advance status of this commerce order.
|
long |
getBillingAddressId()
Returns the billing address ID of this commerce order.
|
long |
getCommerceAccountId()
Returns the commerce account ID of this commerce order.
|
long |
getCommerceCurrencyId()
Returns the commerce currency ID of this commerce order.
|
long |
getCommerceOrderId()
Returns the commerce order ID of this commerce order.
|
long |
getCommerceOrderTypeId()
Returns the commerce order type ID of this commerce order.
|
java.lang.String |
getCommercePaymentMethodKey()
Returns the commerce payment method key of this commerce order.
|
long |
getCommerceShippingMethodId()
Returns the commerce shipping method ID of this commerce order.
|
long |
getCompanyId()
Returns the company ID of this commerce order.
|
java.lang.String |
getCouponCode()
Returns the coupon code of this commerce order.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce order.
|
java.lang.String |
getDeliveryCommerceTermEntryDescription()
Returns the delivery commerce term entry description of this commerce order.
|
long |
getDeliveryCommerceTermEntryId()
Returns the delivery commerce term entry ID of this commerce order.
|
java.lang.String |
getDeliveryCommerceTermEntryName()
Returns the delivery commerce term entry name of this commerce order.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce order.
|
long |
getGroupId()
Returns the group ID of this commerce order.
|
java.util.Date |
getLastPriceUpdateDate()
Returns the last price update date of this commerce order.
|
boolean |
getManuallyAdjusted()
Returns the manually adjusted of this commerce order.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce order.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce order.
|
java.lang.String |
getName()
Returns the name of this commerce order.
|
java.util.Date |
getOrderDate()
Returns the order date of this commerce order.
|
int |
getOrderStatus()
Returns the order status of this commerce order.
|
java.lang.String |
getPaymentCommerceTermEntryDescription()
Returns the payment commerce term entry description of this commerce order.
|
long |
getPaymentCommerceTermEntryId()
Returns the payment commerce term entry ID of this commerce order.
|
java.lang.String |
getPaymentCommerceTermEntryName()
Returns the payment commerce term entry name of this commerce order.
|
int |
getPaymentStatus()
Returns the payment status of this commerce order.
|
long |
getPrimaryKey()
Returns the primary key of this commerce order.
|
java.lang.String |
getPrintedNote()
Returns the printed note of this commerce order.
|
java.lang.String |
getPurchaseOrderNumber()
Returns the purchase order number of this commerce order.
|
java.util.Date |
getRequestedDeliveryDate()
Returns the requested delivery date of this commerce order.
|
boolean |
getShippable()
Returns the shippable of this commerce order.
|
long |
getShippingAddressId()
Returns the shipping address ID of this commerce order.
|
java.math.BigDecimal |
getShippingAmount()
Returns the shipping amount of this commerce order.
|
java.math.BigDecimal |
getShippingDiscountAmount()
Returns the shipping discount amount of this commerce order.
|
java.math.BigDecimal |
getShippingDiscountPercentageLevel1()
Returns the shipping discount percentage level1 of this commerce order.
|
java.math.BigDecimal |
getShippingDiscountPercentageLevel1WithTaxAmount()
Returns the shipping discount percentage level1 with tax amount of this commerce order.
|
java.math.BigDecimal |
getShippingDiscountPercentageLevel2()
Returns the shipping discount percentage level2 of this commerce order.
|
java.math.BigDecimal |
getShippingDiscountPercentageLevel2WithTaxAmount()
Returns the shipping discount percentage level2 with tax amount of this commerce order.
|
java.math.BigDecimal |
getShippingDiscountPercentageLevel3()
Returns the shipping discount percentage level3 of this commerce order.
|
java.math.BigDecimal |
getShippingDiscountPercentageLevel3WithTaxAmount()
Returns the shipping discount percentage level3 with tax amount of this commerce order.
|
java.math.BigDecimal |
getShippingDiscountPercentageLevel4()
Returns the shipping discount percentage level4 of this commerce order.
|
java.math.BigDecimal |
getShippingDiscountPercentageLevel4WithTaxAmount()
Returns the shipping discount percentage level4 with tax amount of this commerce order.
|
java.math.BigDecimal |
getShippingDiscountWithTaxAmount()
Returns the shipping discount with tax amount of this commerce order.
|
java.lang.String |
getShippingOptionName()
Returns the shipping option name of this commerce order.
|
java.math.BigDecimal |
getShippingWithTaxAmount()
Returns the shipping with tax amount of this commerce order.
|
int |
getStatus()
Returns the status of this commerce order.
|
long |
getStatusByUserId()
Returns the status by user ID of this commerce order.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this commerce order.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this commerce order.
|
java.util.Date |
getStatusDate()
Returns the status date of this commerce order.
|
java.math.BigDecimal |
getSubtotal()
Returns the subtotal of this commerce order.
|
java.math.BigDecimal |
getSubtotalDiscountAmount()
Returns the subtotal discount amount of this commerce order.
|
java.math.BigDecimal |
getSubtotalDiscountPercentageLevel1()
Returns the subtotal discount percentage level1 of this commerce order.
|
java.math.BigDecimal |
getSubtotalDiscountPercentageLevel1WithTaxAmount()
Returns the subtotal discount percentage level1 with tax amount of this commerce order.
|
java.math.BigDecimal |
getSubtotalDiscountPercentageLevel2()
Returns the subtotal discount percentage level2 of this commerce order.
|
java.math.BigDecimal |
getSubtotalDiscountPercentageLevel2WithTaxAmount()
Returns the subtotal discount percentage level2 with tax amount of this commerce order.
|
java.math.BigDecimal |
getSubtotalDiscountPercentageLevel3()
Returns the subtotal discount percentage level3 of this commerce order.
|
java.math.BigDecimal |
getSubtotalDiscountPercentageLevel3WithTaxAmount()
Returns the subtotal discount percentage level3 with tax amount of this commerce order.
|
java.math.BigDecimal |
getSubtotalDiscountPercentageLevel4()
Returns the subtotal discount percentage level4 of this commerce order.
|
java.math.BigDecimal |
getSubtotalDiscountPercentageLevel4WithTaxAmount()
Returns the subtotal discount percentage level4 with tax amount of this commerce order.
|
java.math.BigDecimal |
getSubtotalDiscountWithTaxAmount()
Returns the subtotal discount with tax amount of this commerce order.
|
java.math.BigDecimal |
getSubtotalWithTaxAmount()
Returns the subtotal with tax amount of this commerce order.
|
java.math.BigDecimal |
getTaxAmount()
Returns the tax amount of this commerce order.
|
java.math.BigDecimal |
getTotal()
Returns the total of this commerce order.
|
java.math.BigDecimal |
getTotalDiscountAmount()
Returns the total discount amount of this commerce order.
|
java.math.BigDecimal |
getTotalDiscountPercentageLevel1()
Returns the total discount percentage level1 of this commerce order.
|
java.math.BigDecimal |
getTotalDiscountPercentageLevel1WithTaxAmount()
Returns the total discount percentage level1 with tax amount of this commerce order.
|
java.math.BigDecimal |
getTotalDiscountPercentageLevel2()
Returns the total discount percentage level2 of this commerce order.
|
java.math.BigDecimal |
getTotalDiscountPercentageLevel2WithTaxAmount()
Returns the total discount percentage level2 with tax amount of this commerce order.
|
java.math.BigDecimal |
getTotalDiscountPercentageLevel3()
Returns the total discount percentage level3 of this commerce order.
|
java.math.BigDecimal |
getTotalDiscountPercentageLevel3WithTaxAmount()
Returns the total discount percentage level3 with tax amount of this commerce order.
|
java.math.BigDecimal |
getTotalDiscountPercentageLevel4()
Returns the total discount percentage level4 of this commerce order.
|
java.math.BigDecimal |
getTotalDiscountPercentageLevel4WithTaxAmount()
Returns the total discount percentage level4 with tax amount of this commerce order.
|
java.math.BigDecimal |
getTotalDiscountWithTaxAmount()
Returns the total discount with tax amount of this commerce order.
|
java.math.BigDecimal |
getTotalWithTaxAmount()
Returns the total with tax amount of this commerce order.
|
java.lang.String |
getTransactionId()
Returns the transaction ID of this commerce order.
|
long |
getUserId()
Returns the user ID of this commerce order.
|
java.lang.String |
getUserName()
Returns the user name of this commerce order.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce order.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce order.
|
boolean |
isApproved()
Returns
true if this commerce order is approved. |
boolean |
isDenied()
Returns
true if this commerce order is denied. |
boolean |
isDraft()
Returns
true if this commerce order is a draft. |
boolean |
isExpired()
Returns
true if this commerce order is expired. |
boolean |
isInactive()
Returns
true if this commerce order is inactive. |
boolean |
isIncomplete()
Returns
true if this commerce order is incomplete. |
boolean |
isManuallyAdjusted()
Returns
true if this commerce order is manually adjusted. |
boolean |
isPending()
Returns
true if this commerce order is pending. |
boolean |
isScheduled()
Returns
true if this commerce order is scheduled. |
boolean |
isShippable()
Returns
true if this commerce order is shippable. |
void |
setAdvanceStatus(java.lang.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 |
setCommerceCurrencyId(long commerceCurrencyId)
Sets the commerce currency ID 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(java.lang.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(java.lang.String couponCode)
Sets the coupon code of this commerce order.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce order.
|
void |
setDeliveryCommerceTermEntryDescription(java.lang.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(java.lang.String deliveryCommerceTermEntryName)
Sets the delivery commerce term entry name of this commerce order.
|
void |
setExternalReferenceCode(java.lang.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(java.util.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 |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce order.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce order.
|
void |
setName(java.lang.String name)
Sets the name of this commerce order.
|
void |
setOrderDate(java.util.Date orderDate)
Sets the order date of this commerce order.
|
void |
setOrderStatus(int orderStatus)
Sets the order status of this commerce order.
|
void |
setPaymentCommerceTermEntryDescription(java.lang.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(java.lang.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(java.lang.String printedNote)
Sets the printed note of this commerce order.
|
void |
setPurchaseOrderNumber(java.lang.String purchaseOrderNumber)
Sets the purchase order number of this commerce order.
|
void |
setRequestedDeliveryDate(java.util.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(java.math.BigDecimal shippingAmount)
Sets the shipping amount of this commerce order.
|
void |
setShippingDiscountAmount(java.math.BigDecimal shippingDiscountAmount)
Sets the shipping discount amount of this commerce order.
|
void |
setShippingDiscountPercentageLevel1(java.math.BigDecimal shippingDiscountPercentageLevel1)
Sets the shipping discount percentage level1 of this commerce order.
|
void |
setShippingDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount)
Sets the shipping discount percentage level1 with tax amount of this commerce order.
|
void |
setShippingDiscountPercentageLevel2(java.math.BigDecimal shippingDiscountPercentageLevel2)
Sets the shipping discount percentage level2 of this commerce order.
|
void |
setShippingDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount)
Sets the shipping discount percentage level2 with tax amount of this commerce order.
|
void |
setShippingDiscountPercentageLevel3(java.math.BigDecimal shippingDiscountPercentageLevel3)
Sets the shipping discount percentage level3 of this commerce order.
|
void |
setShippingDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount)
Sets the shipping discount percentage level3 with tax amount of this commerce order.
|
void |
setShippingDiscountPercentageLevel4(java.math.BigDecimal shippingDiscountPercentageLevel4)
Sets the shipping discount percentage level4 of this commerce order.
|
void |
setShippingDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount)
Sets the shipping discount percentage level4 with tax amount of this commerce order.
|
void |
setShippingDiscountWithTaxAmount(java.math.BigDecimal shippingDiscountWithTaxAmount)
Sets the shipping discount with tax amount of this commerce order.
|
void |
setShippingOptionName(java.lang.String shippingOptionName)
Sets the shipping option name of this commerce order.
|
void |
setShippingWithTaxAmount(java.math.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(java.lang.String statusByUserName)
Sets the status by user name of this commerce order.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this commerce order.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this commerce order.
|
void |
setSubtotal(java.math.BigDecimal subtotal)
Sets the subtotal of this commerce order.
|
void |
setSubtotalDiscountAmount(java.math.BigDecimal subtotalDiscountAmount)
Sets the subtotal discount amount of this commerce order.
|
void |
setSubtotalDiscountPercentageLevel1(java.math.BigDecimal subtotalDiscountPercentageLevel1)
Sets the subtotal discount percentage level1 of this commerce order.
|
void |
setSubtotalDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount)
Sets the subtotal discount percentage level1 with tax amount of this commerce order.
|
void |
setSubtotalDiscountPercentageLevel2(java.math.BigDecimal subtotalDiscountPercentageLevel2)
Sets the subtotal discount percentage level2 of this commerce order.
|
void |
setSubtotalDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount)
Sets the subtotal discount percentage level2 with tax amount of this commerce order.
|
void |
setSubtotalDiscountPercentageLevel3(java.math.BigDecimal subtotalDiscountPercentageLevel3)
Sets the subtotal discount percentage level3 of this commerce order.
|
void |
setSubtotalDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount)
Sets the subtotal discount percentage level3 with tax amount of this commerce order.
|
void |
setSubtotalDiscountPercentageLevel4(java.math.BigDecimal subtotalDiscountPercentageLevel4)
Sets the subtotal discount percentage level4 of this commerce order.
|
void |
setSubtotalDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount)
Sets the subtotal discount percentage level4 with tax amount of this commerce order.
|
void |
setSubtotalDiscountWithTaxAmount(java.math.BigDecimal subtotalDiscountWithTaxAmount)
Sets the subtotal discount with tax amount of this commerce order.
|
void |
setSubtotalWithTaxAmount(java.math.BigDecimal subtotalWithTaxAmount)
Sets the subtotal with tax amount of this commerce order.
|
void |
setTaxAmount(java.math.BigDecimal taxAmount)
Sets the tax amount of this commerce order.
|
void |
setTotal(java.math.BigDecimal total)
Sets the total of this commerce order.
|
void |
setTotalDiscountAmount(java.math.BigDecimal totalDiscountAmount)
Sets the total discount amount of this commerce order.
|
void |
setTotalDiscountPercentageLevel1(java.math.BigDecimal totalDiscountPercentageLevel1)
Sets the total discount percentage level1 of this commerce order.
|
void |
setTotalDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount)
Sets the total discount percentage level1 with tax amount of this commerce order.
|
void |
setTotalDiscountPercentageLevel2(java.math.BigDecimal totalDiscountPercentageLevel2)
Sets the total discount percentage level2 of this commerce order.
|
void |
setTotalDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount)
Sets the total discount percentage level2 with tax amount of this commerce order.
|
void |
setTotalDiscountPercentageLevel3(java.math.BigDecimal totalDiscountPercentageLevel3)
Sets the total discount percentage level3 of this commerce order.
|
void |
setTotalDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount)
Sets the total discount percentage level3 with tax amount of this commerce order.
|
void |
setTotalDiscountPercentageLevel4(java.math.BigDecimal totalDiscountPercentageLevel4)
Sets the total discount percentage level4 of this commerce order.
|
void |
setTotalDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount)
Sets the total discount percentage level4 with tax amount of this commerce order.
|
void |
setTotalDiscountWithTaxAmount(java.math.BigDecimal totalDiscountWithTaxAmount)
Sets the total discount with tax amount of this commerce order.
|
void |
setTotalWithTaxAmount(java.math.BigDecimal totalWithTaxAmount)
Sets the total with tax amount of this commerce order.
|
void |
setTransactionId(java.lang.String transactionId)
Sets the transaction ID of this commerce order.
|
void |
setUserId(long userId)
Sets the user ID of this commerce order.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce order.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce order.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce order.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModellong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this commerce orderlong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce order@AutoEscape java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce order@AutoEscape java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelvoid setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelexternalReferenceCode - the external reference code of this commerce orderlong getCommerceOrderId()
void setCommerceOrderId(long commerceOrderId)
commerceOrderId - the commerce order ID of this commerce orderlong getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce orderlong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this commerce orderlong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce orderjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce order@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce orderjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce orderjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce orderlong getBillingAddressId()
void setBillingAddressId(long billingAddressId)
billingAddressId - the billing address ID of this commerce orderlong getCommerceAccountId()
void setCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account ID of this commerce orderlong getCommerceCurrencyId()
void setCommerceCurrencyId(long commerceCurrencyId)
commerceCurrencyId - the commerce currency ID of this commerce orderlong getCommerceOrderTypeId()
void setCommerceOrderTypeId(long commerceOrderTypeId)
commerceOrderTypeId - the commerce order type ID of this commerce orderlong getCommerceShippingMethodId()
void setCommerceShippingMethodId(long commerceShippingMethodId)
commerceShippingMethodId - the commerce shipping method ID of this commerce orderlong getDeliveryCommerceTermEntryId()
void setDeliveryCommerceTermEntryId(long deliveryCommerceTermEntryId)
deliveryCommerceTermEntryId - the delivery commerce term entry ID of this commerce orderlong getPaymentCommerceTermEntryId()
void setPaymentCommerceTermEntryId(long paymentCommerceTermEntryId)
paymentCommerceTermEntryId - the payment commerce term entry ID of this commerce orderlong getShippingAddressId()
void setShippingAddressId(long shippingAddressId)
shippingAddressId - the shipping address ID of this commerce order@AutoEscape java.lang.String getAdvanceStatus()
void setAdvanceStatus(java.lang.String advanceStatus)
advanceStatus - the advance status of this commerce order@AutoEscape java.lang.String getCommercePaymentMethodKey()
void setCommercePaymentMethodKey(java.lang.String commercePaymentMethodKey)
commercePaymentMethodKey - the commerce payment method key of this commerce order@AutoEscape java.lang.String getCouponCode()
void setCouponCode(java.lang.String couponCode)
couponCode - the coupon code of this commerce order@AutoEscape java.lang.String getDeliveryCommerceTermEntryDescription()
void setDeliveryCommerceTermEntryDescription(java.lang.String deliveryCommerceTermEntryDescription)
deliveryCommerceTermEntryDescription - the delivery commerce term entry description of this commerce order@AutoEscape java.lang.String getDeliveryCommerceTermEntryName()
void setDeliveryCommerceTermEntryName(java.lang.String deliveryCommerceTermEntryName)
deliveryCommerceTermEntryName - the delivery commerce term entry name of this commerce orderjava.util.Date getLastPriceUpdateDate()
void setLastPriceUpdateDate(java.util.Date lastPriceUpdateDate)
lastPriceUpdateDate - the last price update date of this commerce orderboolean getManuallyAdjusted()
boolean isManuallyAdjusted()
true if this commerce order is manually adjusted.true if this commerce order is manually adjusted; false otherwisevoid setManuallyAdjusted(boolean manuallyAdjusted)
manuallyAdjusted - the manually adjusted of this commerce order@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this commerce orderjava.util.Date getOrderDate()
void setOrderDate(java.util.Date orderDate)
orderDate - the order date of this commerce orderint getOrderStatus()
void setOrderStatus(int orderStatus)
orderStatus - the order status of this commerce order@AutoEscape java.lang.String getPaymentCommerceTermEntryDescription()
void setPaymentCommerceTermEntryDescription(java.lang.String paymentCommerceTermEntryDescription)
paymentCommerceTermEntryDescription - the payment commerce term entry description of this commerce order@AutoEscape java.lang.String getPaymentCommerceTermEntryName()
void setPaymentCommerceTermEntryName(java.lang.String paymentCommerceTermEntryName)
paymentCommerceTermEntryName - the payment commerce term entry name of this commerce orderint getPaymentStatus()
void setPaymentStatus(int paymentStatus)
paymentStatus - the payment status of this commerce order@AutoEscape java.lang.String getPrintedNote()
void setPrintedNote(java.lang.String printedNote)
printedNote - the printed note of this commerce order@AutoEscape java.lang.String getPurchaseOrderNumber()
void setPurchaseOrderNumber(java.lang.String purchaseOrderNumber)
purchaseOrderNumber - the purchase order number of this commerce orderjava.util.Date getRequestedDeliveryDate()
void setRequestedDeliveryDate(java.util.Date requestedDeliveryDate)
requestedDeliveryDate - the requested delivery date of this commerce orderboolean getShippable()
boolean isShippable()
true if this commerce order is shippable.true if this commerce order is shippable; false otherwisevoid setShippable(boolean shippable)
shippable - the shippable of this commerce orderjava.math.BigDecimal getShippingAmount()
void setShippingAmount(java.math.BigDecimal shippingAmount)
shippingAmount - the shipping amount of this commerce orderjava.math.BigDecimal getShippingDiscountAmount()
void setShippingDiscountAmount(java.math.BigDecimal shippingDiscountAmount)
shippingDiscountAmount - the shipping discount amount of this commerce orderjava.math.BigDecimal getShippingDiscountPercentageLevel1()
void setShippingDiscountPercentageLevel1(java.math.BigDecimal shippingDiscountPercentageLevel1)
shippingDiscountPercentageLevel1 - the shipping discount percentage level1 of this commerce orderjava.math.BigDecimal getShippingDiscountPercentageLevel2()
void setShippingDiscountPercentageLevel2(java.math.BigDecimal shippingDiscountPercentageLevel2)
shippingDiscountPercentageLevel2 - the shipping discount percentage level2 of this commerce orderjava.math.BigDecimal getShippingDiscountPercentageLevel3()
void setShippingDiscountPercentageLevel3(java.math.BigDecimal shippingDiscountPercentageLevel3)
shippingDiscountPercentageLevel3 - the shipping discount percentage level3 of this commerce orderjava.math.BigDecimal getShippingDiscountPercentageLevel4()
void setShippingDiscountPercentageLevel4(java.math.BigDecimal shippingDiscountPercentageLevel4)
shippingDiscountPercentageLevel4 - the shipping discount percentage level4 of this commerce orderjava.math.BigDecimal getShippingDiscountPercentageLevel1WithTaxAmount()
void setShippingDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount)
shippingDiscountPercentageLevel1WithTaxAmount - the shipping discount percentage level1 with tax amount of this commerce orderjava.math.BigDecimal getShippingDiscountPercentageLevel2WithTaxAmount()
void setShippingDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount)
shippingDiscountPercentageLevel2WithTaxAmount - the shipping discount percentage level2 with tax amount of this commerce orderjava.math.BigDecimal getShippingDiscountPercentageLevel3WithTaxAmount()
void setShippingDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount)
shippingDiscountPercentageLevel3WithTaxAmount - the shipping discount percentage level3 with tax amount of this commerce orderjava.math.BigDecimal getShippingDiscountPercentageLevel4WithTaxAmount()
void setShippingDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount)
shippingDiscountPercentageLevel4WithTaxAmount - the shipping discount percentage level4 with tax amount of this commerce orderjava.math.BigDecimal getShippingDiscountWithTaxAmount()
void setShippingDiscountWithTaxAmount(java.math.BigDecimal shippingDiscountWithTaxAmount)
shippingDiscountWithTaxAmount - the shipping discount with tax amount of this commerce order@AutoEscape java.lang.String getShippingOptionName()
void setShippingOptionName(java.lang.String shippingOptionName)
shippingOptionName - the shipping option name of this commerce orderjava.math.BigDecimal getShippingWithTaxAmount()
void setShippingWithTaxAmount(java.math.BigDecimal shippingWithTaxAmount)
shippingWithTaxAmount - the shipping with tax amount of this commerce orderjava.math.BigDecimal getSubtotal()
void setSubtotal(java.math.BigDecimal subtotal)
subtotal - the subtotal of this commerce orderjava.math.BigDecimal getSubtotalDiscountAmount()
void setSubtotalDiscountAmount(java.math.BigDecimal subtotalDiscountAmount)
subtotalDiscountAmount - the subtotal discount amount of this commerce orderjava.math.BigDecimal getSubtotalDiscountPercentageLevel1()
void setSubtotalDiscountPercentageLevel1(java.math.BigDecimal subtotalDiscountPercentageLevel1)
subtotalDiscountPercentageLevel1 - the subtotal discount percentage level1 of this commerce orderjava.math.BigDecimal getSubtotalDiscountPercentageLevel2()
void setSubtotalDiscountPercentageLevel2(java.math.BigDecimal subtotalDiscountPercentageLevel2)
subtotalDiscountPercentageLevel2 - the subtotal discount percentage level2 of this commerce orderjava.math.BigDecimal getSubtotalDiscountPercentageLevel3()
void setSubtotalDiscountPercentageLevel3(java.math.BigDecimal subtotalDiscountPercentageLevel3)
subtotalDiscountPercentageLevel3 - the subtotal discount percentage level3 of this commerce orderjava.math.BigDecimal getSubtotalDiscountPercentageLevel4()
void setSubtotalDiscountPercentageLevel4(java.math.BigDecimal subtotalDiscountPercentageLevel4)
subtotalDiscountPercentageLevel4 - the subtotal discount percentage level4 of this commerce orderjava.math.BigDecimal getSubtotalDiscountPercentageLevel1WithTaxAmount()
void setSubtotalDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount)
subtotalDiscountPercentageLevel1WithTaxAmount - the subtotal discount percentage level1 with tax amount of this commerce orderjava.math.BigDecimal getSubtotalDiscountPercentageLevel2WithTaxAmount()
void setSubtotalDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount)
subtotalDiscountPercentageLevel2WithTaxAmount - the subtotal discount percentage level2 with tax amount of this commerce orderjava.math.BigDecimal getSubtotalDiscountPercentageLevel3WithTaxAmount()
void setSubtotalDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount)
subtotalDiscountPercentageLevel3WithTaxAmount - the subtotal discount percentage level3 with tax amount of this commerce orderjava.math.BigDecimal getSubtotalDiscountPercentageLevel4WithTaxAmount()
void setSubtotalDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount)
subtotalDiscountPercentageLevel4WithTaxAmount - the subtotal discount percentage level4 with tax amount of this commerce orderjava.math.BigDecimal getSubtotalDiscountWithTaxAmount()
void setSubtotalDiscountWithTaxAmount(java.math.BigDecimal subtotalDiscountWithTaxAmount)
subtotalDiscountWithTaxAmount - the subtotal discount with tax amount of this commerce orderjava.math.BigDecimal getSubtotalWithTaxAmount()
void setSubtotalWithTaxAmount(java.math.BigDecimal subtotalWithTaxAmount)
subtotalWithTaxAmount - the subtotal with tax amount of this commerce orderjava.math.BigDecimal getTaxAmount()
void setTaxAmount(java.math.BigDecimal taxAmount)
taxAmount - the tax amount of this commerce orderjava.math.BigDecimal getTotal()
void setTotal(java.math.BigDecimal total)
total - the total of this commerce orderjava.math.BigDecimal getTotalDiscountAmount()
void setTotalDiscountAmount(java.math.BigDecimal totalDiscountAmount)
totalDiscountAmount - the total discount amount of this commerce orderjava.math.BigDecimal getTotalDiscountPercentageLevel1()
void setTotalDiscountPercentageLevel1(java.math.BigDecimal totalDiscountPercentageLevel1)
totalDiscountPercentageLevel1 - the total discount percentage level1 of this commerce orderjava.math.BigDecimal getTotalDiscountPercentageLevel2()
void setTotalDiscountPercentageLevel2(java.math.BigDecimal totalDiscountPercentageLevel2)
totalDiscountPercentageLevel2 - the total discount percentage level2 of this commerce orderjava.math.BigDecimal getTotalDiscountPercentageLevel3()
void setTotalDiscountPercentageLevel3(java.math.BigDecimal totalDiscountPercentageLevel3)
totalDiscountPercentageLevel3 - the total discount percentage level3 of this commerce orderjava.math.BigDecimal getTotalDiscountPercentageLevel4()
void setTotalDiscountPercentageLevel4(java.math.BigDecimal totalDiscountPercentageLevel4)
totalDiscountPercentageLevel4 - the total discount percentage level4 of this commerce orderjava.math.BigDecimal getTotalDiscountPercentageLevel1WithTaxAmount()
void setTotalDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount)
totalDiscountPercentageLevel1WithTaxAmount - the total discount percentage level1 with tax amount of this commerce orderjava.math.BigDecimal getTotalDiscountPercentageLevel2WithTaxAmount()
void setTotalDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount)
totalDiscountPercentageLevel2WithTaxAmount - the total discount percentage level2 with tax amount of this commerce orderjava.math.BigDecimal getTotalDiscountPercentageLevel3WithTaxAmount()
void setTotalDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount)
totalDiscountPercentageLevel3WithTaxAmount - the total discount percentage level3 with tax amount of this commerce orderjava.math.BigDecimal getTotalDiscountPercentageLevel4WithTaxAmount()
void setTotalDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount)
totalDiscountPercentageLevel4WithTaxAmount - the total discount percentage level4 with tax amount of this commerce orderjava.math.BigDecimal getTotalDiscountWithTaxAmount()
void setTotalDiscountWithTaxAmount(java.math.BigDecimal totalDiscountWithTaxAmount)
totalDiscountWithTaxAmount - the total discount with tax amount of this commerce orderjava.math.BigDecimal getTotalWithTaxAmount()
void setTotalWithTaxAmount(java.math.BigDecimal totalWithTaxAmount)
totalWithTaxAmount - the total with tax amount of this commerce order@AutoEscape java.lang.String getTransactionId()
void setTransactionId(java.lang.String transactionId)
transactionId - the transaction ID of this commerce orderint getStatus()
getStatus in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatus(int status)
setStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this commerce orderlong getStatusByUserId()
getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusByUserId(long statusByUserId)
setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this commerce orderjava.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this commerce order@AutoEscape java.lang.String getStatusByUserName()
getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this commerce orderjava.util.Date getStatusDate()
getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusDate(java.util.Date statusDate)
setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this commerce orderboolean isApproved()
true if this commerce order is approved.isApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is approved; false otherwiseboolean isDenied()
true if this commerce order is denied.isDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is denied; false otherwiseboolean isDraft()
true if this commerce order is a draft.isDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is a draft; false otherwiseboolean isExpired()
true if this commerce order is expired.isExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is expired; false otherwiseboolean isInactive()
true if this commerce order is inactive.isInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is inactive; false otherwiseboolean isIncomplete()
true if this commerce order is incomplete.isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is incomplete; false otherwiseboolean isPending()
true if this commerce order is pending.isPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is pending; false otherwiseboolean isScheduled()
true if this commerce order is scheduled.isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is scheduled; false otherwiseCommerceOrder cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrder>default java.lang.String toXmlString()