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.
CommerceOrder,
Serialized FormCOMMERCE_ORDER_ID_ACCESSOR| Constructor and Description |
|---|
CommerceOrderWrapper(CommerceOrder commerceOrder) |
| Modifier and Type | Method and Description |
|---|---|
CommerceOrder |
cloneWithOriginalValues() |
com.liferay.account.model.AccountEntry |
getAccountEntry() |
java.lang.String |
getAdvanceStatus()
Returns the advance status of this commerce order.
|
CommerceAddress |
getBillingAddress() |
long |
getBillingAddressId()
Returns the billing address ID of this commerce order.
|
long |
getCommerceAccountId()
Returns the commerce account ID of this commerce order.
|
java.lang.String |
getCommerceAccountName() |
com.liferay.commerce.currency.model.CommerceCurrency |
getCommerceCurrency() |
long |
getCommerceCurrencyId()
Returns the commerce currency ID of this commerce order.
|
long |
getCommerceOrderId()
Returns the commerce order ID of this commerce order.
|
java.util.List<CommerceOrderItem> |
getCommerceOrderItems() |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long cpInstanceId) |
int |
getCommerceOrderItemsCount(long cpInstanceId) |
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.
|
CommerceShippingMethod |
getCommerceShippingMethod() |
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.util.List<java.lang.Long> |
getCustomerCommerceOrderIds() |
int |
getCustomerCommerceOrderIdsCount() |
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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce order.
|
long |
getMvccVersion()
Returns the mvcc version 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.
|
long |
getScopeGroupId() |
CommerceAddress |
getShippingAddress() |
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.
|
com.liferay.commerce.currency.model.CommerceMoney |
getShippingMoney() |
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.
|
com.liferay.commerce.currency.model.CommerceMoney |
getShippingWithTaxAmountMoney() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
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.
|
com.liferay.commerce.currency.model.CommerceMoney |
getSubtotalMoney() |
java.math.BigDecimal |
getSubtotalWithTaxAmount()
Returns the subtotal with tax amount of this commerce order.
|
com.liferay.commerce.currency.model.CommerceMoney |
getSubtotalWithTaxAmountMoney() |
java.util.List<java.lang.Long> |
getSupplierCommerceOrderIds() |
int |
getSupplierCommerceOrderIdsCount() |
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.
|
com.liferay.commerce.currency.model.CommerceMoney |
getTotalMoney() |
java.math.BigDecimal |
getTotalWithTaxAmount()
Returns the total with tax amount of this commerce order.
|
com.liferay.commerce.currency.model.CommerceMoney |
getTotalWithTaxAmountMoney() |
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 |
isB2B() |
boolean |
isDenied()
Returns
true if this commerce order is denied. |
boolean |
isDraft()
Returns
true if this commerce order is a draft. |
boolean |
isEmpty() |
boolean |
isExpired()
Returns
true if this commerce order is expired. |
boolean |
isGuestOrder() |
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 |
isOpen() |
boolean |
isPending()
Returns
true if this commerce order is pending. |
boolean |
isQuote() |
boolean |
isScheduled()
Returns
true if this commerce order is scheduled. |
boolean |
isSubscription() |
boolean |
isSubscriptionOrder() |
void |
persist() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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 |
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 |
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 |
setShippingDiscounts(CommerceDiscountValue commerceDiscountValue) |
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 |
setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue) |
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 |
setTotalDiscounts(CommerceDiscountValue commerceDiscountValue) |
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.
|
java.lang.String |
toXmlString() |
protected CommerceOrderWrapper |
wrap(CommerceOrder commerceOrder) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic CommerceOrderWrapper(CommerceOrder commerceOrder)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrder>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrder>public CommerceOrder cloneWithOriginalValues()
cloneWithOriginalValues in interface CommerceOrderModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrder>public com.liferay.account.model.AccountEntry getAccountEntry()
throws com.liferay.portal.kernel.exception.PortalException
getAccountEntry in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getAdvanceStatus()
getAdvanceStatus in interface CommerceOrderModelpublic CommerceAddress getBillingAddress() throws com.liferay.portal.kernel.exception.PortalException
getBillingAddress in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic long getBillingAddressId()
getBillingAddressId in interface CommerceOrderModelpublic long getCommerceAccountId()
getCommerceAccountId in interface CommerceOrderModelpublic java.lang.String getCommerceAccountName()
throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountName in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency()
throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceCurrencyId()
getCommerceCurrencyId in interface CommerceOrderModelpublic long getCommerceOrderId()
getCommerceOrderId in interface CommerceOrderModelpublic java.util.List<CommerceOrderItem> getCommerceOrderItems()
getCommerceOrderItems in interface CommerceOrderpublic java.util.List<CommerceOrderItem> getCommerceOrderItems(long cpInstanceId)
getCommerceOrderItems in interface CommerceOrderpublic int getCommerceOrderItemsCount(long cpInstanceId)
getCommerceOrderItemsCount in interface CommerceOrderpublic long getCommerceOrderTypeId()
getCommerceOrderTypeId in interface CommerceOrderModelpublic java.lang.String getCommercePaymentMethodKey()
getCommercePaymentMethodKey in interface CommerceOrderModelpublic CommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException
getCommerceShippingMethod in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceShippingMethodId()
getCommerceShippingMethodId in interface CommerceOrderModelpublic long getCompanyId()
getCompanyId in interface CommerceOrderModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getCouponCode()
getCouponCode in interface CommerceOrderModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceOrderModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.List<java.lang.Long> getCustomerCommerceOrderIds()
getCustomerCommerceOrderIds in interface CommerceOrderpublic int getCustomerCommerceOrderIdsCount()
getCustomerCommerceOrderIdsCount in interface CommerceOrderpublic java.lang.String getDeliveryCommerceTermEntryDescription()
getDeliveryCommerceTermEntryDescription in interface CommerceOrderModelpublic long getDeliveryCommerceTermEntryId()
getDeliveryCommerceTermEntryId in interface CommerceOrderModelpublic java.lang.String getDeliveryCommerceTermEntryName()
getDeliveryCommerceTermEntryName in interface CommerceOrderModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface CommerceOrderModelgetExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelpublic long getGroupId()
getGroupId in interface CommerceOrderModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getLastPriceUpdateDate()
getLastPriceUpdateDate in interface CommerceOrderModelpublic boolean getManuallyAdjusted()
getManuallyAdjusted in interface CommerceOrderModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceOrderModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CommerceOrderModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.util.Date getOrderDate()
getOrderDate in interface CommerceOrderModelpublic int getOrderStatus()
getOrderStatus in interface CommerceOrderModelpublic java.lang.String getPaymentCommerceTermEntryDescription()
getPaymentCommerceTermEntryDescription in interface CommerceOrderModelpublic long getPaymentCommerceTermEntryId()
getPaymentCommerceTermEntryId in interface CommerceOrderModelpublic java.lang.String getPaymentCommerceTermEntryName()
getPaymentCommerceTermEntryName in interface CommerceOrderModelpublic int getPaymentStatus()
getPaymentStatus in interface CommerceOrderModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceOrderModelpublic java.lang.String getPrintedNote()
getPrintedNote in interface CommerceOrderModelpublic java.lang.String getPurchaseOrderNumber()
getPurchaseOrderNumber in interface CommerceOrderModelpublic java.util.Date getRequestedDeliveryDate()
getRequestedDeliveryDate in interface CommerceOrderModelpublic long getScopeGroupId()
throws com.liferay.portal.kernel.exception.PortalException
getScopeGroupId in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress getShippingAddress() throws com.liferay.portal.kernel.exception.PortalException
getShippingAddress in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic long getShippingAddressId()
getShippingAddressId in interface CommerceOrderModelpublic java.math.BigDecimal getShippingAmount()
getShippingAmount in interface CommerceOrderModelpublic java.math.BigDecimal getShippingDiscountAmount()
getShippingDiscountAmount in interface CommerceOrderModelpublic java.math.BigDecimal getShippingDiscountPercentageLevel1()
getShippingDiscountPercentageLevel1 in interface CommerceOrderModelpublic java.math.BigDecimal getShippingDiscountPercentageLevel1WithTaxAmount()
getShippingDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getShippingDiscountPercentageLevel2()
getShippingDiscountPercentageLevel2 in interface CommerceOrderModelpublic java.math.BigDecimal getShippingDiscountPercentageLevel2WithTaxAmount()
getShippingDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getShippingDiscountPercentageLevel3()
getShippingDiscountPercentageLevel3 in interface CommerceOrderModelpublic java.math.BigDecimal getShippingDiscountPercentageLevel3WithTaxAmount()
getShippingDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getShippingDiscountPercentageLevel4()
getShippingDiscountPercentageLevel4 in interface CommerceOrderModelpublic java.math.BigDecimal getShippingDiscountPercentageLevel4WithTaxAmount()
getShippingDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getShippingDiscountWithTaxAmount()
getShippingDiscountWithTaxAmount in interface CommerceOrderModelpublic com.liferay.commerce.currency.model.CommerceMoney getShippingMoney()
throws com.liferay.portal.kernel.exception.PortalException
getShippingMoney in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getShippingOptionName()
getShippingOptionName in interface CommerceOrderModelpublic java.math.BigDecimal getShippingWithTaxAmount()
getShippingWithTaxAmount in interface CommerceOrderModelpublic com.liferay.commerce.currency.model.CommerceMoney getShippingWithTaxAmountMoney()
throws com.liferay.portal.kernel.exception.PortalException
getShippingWithTaxAmountMoney in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic int getStatus()
getStatus in interface CommerceOrderModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface CommerceOrderModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface CommerceOrderModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface CommerceOrderModelgetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface CommerceOrderModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.math.BigDecimal getSubtotal()
getSubtotal in interface CommerceOrderModelpublic java.math.BigDecimal getSubtotalDiscountAmount()
getSubtotalDiscountAmount in interface CommerceOrderModelpublic java.math.BigDecimal getSubtotalDiscountPercentageLevel1()
getSubtotalDiscountPercentageLevel1 in interface CommerceOrderModelpublic java.math.BigDecimal getSubtotalDiscountPercentageLevel1WithTaxAmount()
getSubtotalDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getSubtotalDiscountPercentageLevel2()
getSubtotalDiscountPercentageLevel2 in interface CommerceOrderModelpublic java.math.BigDecimal getSubtotalDiscountPercentageLevel2WithTaxAmount()
getSubtotalDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getSubtotalDiscountPercentageLevel3()
getSubtotalDiscountPercentageLevel3 in interface CommerceOrderModelpublic java.math.BigDecimal getSubtotalDiscountPercentageLevel3WithTaxAmount()
getSubtotalDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getSubtotalDiscountPercentageLevel4()
getSubtotalDiscountPercentageLevel4 in interface CommerceOrderModelpublic java.math.BigDecimal getSubtotalDiscountPercentageLevel4WithTaxAmount()
getSubtotalDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getSubtotalDiscountWithTaxAmount()
getSubtotalDiscountWithTaxAmount in interface CommerceOrderModelpublic com.liferay.commerce.currency.model.CommerceMoney getSubtotalMoney()
throws com.liferay.portal.kernel.exception.PortalException
getSubtotalMoney in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic java.math.BigDecimal getSubtotalWithTaxAmount()
getSubtotalWithTaxAmount in interface CommerceOrderModelpublic com.liferay.commerce.currency.model.CommerceMoney getSubtotalWithTaxAmountMoney()
throws com.liferay.portal.kernel.exception.PortalException
getSubtotalWithTaxAmountMoney in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<java.lang.Long> getSupplierCommerceOrderIds()
getSupplierCommerceOrderIds in interface CommerceOrderpublic int getSupplierCommerceOrderIdsCount()
getSupplierCommerceOrderIdsCount in interface CommerceOrderpublic java.math.BigDecimal getTaxAmount()
getTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getTotal()
getTotal in interface CommerceOrderModelpublic java.math.BigDecimal getTotalDiscountAmount()
getTotalDiscountAmount in interface CommerceOrderModelpublic java.math.BigDecimal getTotalDiscountPercentageLevel1()
getTotalDiscountPercentageLevel1 in interface CommerceOrderModelpublic java.math.BigDecimal getTotalDiscountPercentageLevel1WithTaxAmount()
getTotalDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getTotalDiscountPercentageLevel2()
getTotalDiscountPercentageLevel2 in interface CommerceOrderModelpublic java.math.BigDecimal getTotalDiscountPercentageLevel2WithTaxAmount()
getTotalDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getTotalDiscountPercentageLevel3()
getTotalDiscountPercentageLevel3 in interface CommerceOrderModelpublic java.math.BigDecimal getTotalDiscountPercentageLevel3WithTaxAmount()
getTotalDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getTotalDiscountPercentageLevel4()
getTotalDiscountPercentageLevel4 in interface CommerceOrderModelpublic java.math.BigDecimal getTotalDiscountPercentageLevel4WithTaxAmount()
getTotalDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModelpublic java.math.BigDecimal getTotalDiscountWithTaxAmount()
getTotalDiscountWithTaxAmount in interface CommerceOrderModelpublic com.liferay.commerce.currency.model.CommerceMoney getTotalMoney()
throws com.liferay.portal.kernel.exception.PortalException
getTotalMoney in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic java.math.BigDecimal getTotalWithTaxAmount()
getTotalWithTaxAmount in interface CommerceOrderModelpublic com.liferay.commerce.currency.model.CommerceMoney getTotalWithTaxAmountMoney()
throws com.liferay.portal.kernel.exception.PortalException
getTotalWithTaxAmountMoney in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getTransactionId()
getTransactionId in interface CommerceOrderModelpublic long getUserId()
getUserId in interface CommerceOrderModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceOrderModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceOrderModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CommerceOrderModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isApproved()
true if this commerce order is approved.isApproved in interface CommerceOrderModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is approved; false otherwisepublic boolean isB2B()
throws com.liferay.portal.kernel.exception.PortalException
isB2B in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isDenied()
true if this commerce order is denied.isDenied in interface CommerceOrderModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is denied; false otherwisepublic boolean isDraft()
true if this commerce order is a draft.isDraft in interface CommerceOrderModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is a draft; false otherwisepublic boolean isEmpty()
isEmpty in interface CommerceOrderpublic boolean isExpired()
true if this commerce order is expired.isExpired in interface CommerceOrderModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is expired; false otherwisepublic boolean isGuestOrder()
throws com.liferay.portal.kernel.exception.PortalException
isGuestOrder in interface CommerceOrdercom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isInactive()
true if this commerce order is inactive.isInactive in interface CommerceOrderModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is inactive; false otherwisepublic boolean isIncomplete()
true if this commerce order is incomplete.isIncomplete in interface CommerceOrderModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is incomplete; false otherwisepublic boolean isManuallyAdjusted()
true if this commerce order is manually adjusted.isManuallyAdjusted in interface CommerceOrderModeltrue if this commerce order is manually adjusted; false otherwisepublic boolean isOpen()
isOpen in interface CommerceOrderpublic boolean isPending()
true if this commerce order is pending.isPending in interface CommerceOrderModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is pending; false otherwisepublic boolean isQuote()
isQuote in interface CommerceOrderpublic boolean isScheduled()
true if this commerce order is scheduled.isScheduled in interface CommerceOrderModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce order is scheduled; false otherwisepublic boolean isSubscription()
isSubscription in interface CommerceOrderpublic boolean isSubscriptionOrder()
isSubscriptionOrder in interface CommerceOrderpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAdvanceStatus(java.lang.String advanceStatus)
setAdvanceStatus in interface CommerceOrderModeladvanceStatus - the advance status of this commerce orderpublic void setBillingAddressId(long billingAddressId)
setBillingAddressId in interface CommerceOrderModelbillingAddressId - the billing address ID of this commerce orderpublic void setCommerceAccountId(long commerceAccountId)
setCommerceAccountId in interface CommerceOrderModelcommerceAccountId - the commerce account ID of this commerce orderpublic void setCommerceCurrencyId(long commerceCurrencyId)
setCommerceCurrencyId in interface CommerceOrderModelcommerceCurrencyId - the commerce currency ID of this commerce orderpublic void setCommerceOrderId(long commerceOrderId)
setCommerceOrderId in interface CommerceOrderModelcommerceOrderId - the commerce order ID of this commerce orderpublic void setCommerceOrderTypeId(long commerceOrderTypeId)
setCommerceOrderTypeId in interface CommerceOrderModelcommerceOrderTypeId - the commerce order type ID of this commerce orderpublic void setCommercePaymentMethodKey(java.lang.String commercePaymentMethodKey)
setCommercePaymentMethodKey in interface CommerceOrderModelcommercePaymentMethodKey - the commerce payment method key of this commerce orderpublic void setCommerceShippingMethodId(long commerceShippingMethodId)
setCommerceShippingMethodId in interface CommerceOrderModelcommerceShippingMethodId - the commerce shipping method ID of this commerce orderpublic void setCompanyId(long companyId)
setCompanyId in interface CommerceOrderModelsetCompanyId 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 orderpublic void setCouponCode(java.lang.String couponCode)
setCouponCode in interface CommerceOrderModelcouponCode - the coupon code of this commerce orderpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceOrderModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce orderpublic void setDeliveryCommerceTermEntryDescription(java.lang.String deliveryCommerceTermEntryDescription)
setDeliveryCommerceTermEntryDescription in interface CommerceOrderModeldeliveryCommerceTermEntryDescription - the delivery commerce term entry description of this commerce orderpublic void setDeliveryCommerceTermEntryId(long deliveryCommerceTermEntryId)
setDeliveryCommerceTermEntryId in interface CommerceOrderModeldeliveryCommerceTermEntryId - the delivery commerce term entry ID of this commerce orderpublic void setDeliveryCommerceTermEntryName(java.lang.String deliveryCommerceTermEntryName)
setDeliveryCommerceTermEntryName in interface CommerceOrderModeldeliveryCommerceTermEntryName - the delivery commerce term entry name of this commerce orderpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface CommerceOrderModelsetExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelexternalReferenceCode - the external reference code of this commerce orderpublic void setGroupId(long groupId)
setGroupId in interface CommerceOrderModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce orderpublic void setLastPriceUpdateDate(java.util.Date lastPriceUpdateDate)
setLastPriceUpdateDate in interface CommerceOrderModellastPriceUpdateDate - the last price update date of this commerce orderpublic void setManuallyAdjusted(boolean manuallyAdjusted)
setManuallyAdjusted in interface CommerceOrderModelmanuallyAdjusted - the manually adjusted of this commerce orderpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceOrderModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce orderpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CommerceOrderModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce orderpublic void setOrderDate(java.util.Date orderDate)
setOrderDate in interface CommerceOrderModelorderDate - the order date of this commerce orderpublic void setOrderStatus(int orderStatus)
setOrderStatus in interface CommerceOrderModelorderStatus - the order status of this commerce orderpublic void setPaymentCommerceTermEntryDescription(java.lang.String paymentCommerceTermEntryDescription)
setPaymentCommerceTermEntryDescription in interface CommerceOrderModelpaymentCommerceTermEntryDescription - the payment commerce term entry description of this commerce orderpublic void setPaymentCommerceTermEntryId(long paymentCommerceTermEntryId)
setPaymentCommerceTermEntryId in interface CommerceOrderModelpaymentCommerceTermEntryId - the payment commerce term entry ID of this commerce orderpublic void setPaymentCommerceTermEntryName(java.lang.String paymentCommerceTermEntryName)
setPaymentCommerceTermEntryName in interface CommerceOrderModelpaymentCommerceTermEntryName - the payment commerce term entry name of this commerce orderpublic void setPaymentStatus(int paymentStatus)
setPaymentStatus in interface CommerceOrderModelpaymentStatus - the payment status of this commerce orderpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceOrderModelprimaryKey - the primary key of this commerce orderpublic void setPrintedNote(java.lang.String printedNote)
setPrintedNote in interface CommerceOrderModelprintedNote - the printed note of this commerce orderpublic void setPurchaseOrderNumber(java.lang.String purchaseOrderNumber)
setPurchaseOrderNumber in interface CommerceOrderModelpurchaseOrderNumber - the purchase order number of this commerce orderpublic void setRequestedDeliveryDate(java.util.Date requestedDeliveryDate)
setRequestedDeliveryDate in interface CommerceOrderModelrequestedDeliveryDate - the requested delivery date of this commerce orderpublic void setShippingAddressId(long shippingAddressId)
setShippingAddressId in interface CommerceOrderModelshippingAddressId - the shipping address ID of this commerce orderpublic void setShippingAmount(java.math.BigDecimal shippingAmount)
setShippingAmount in interface CommerceOrderModelshippingAmount - the shipping amount of this commerce orderpublic void setShippingDiscountAmount(java.math.BigDecimal shippingDiscountAmount)
setShippingDiscountAmount in interface CommerceOrderModelshippingDiscountAmount - the shipping discount amount of this commerce orderpublic void setShippingDiscountPercentageLevel1(java.math.BigDecimal shippingDiscountPercentageLevel1)
setShippingDiscountPercentageLevel1 in interface CommerceOrderModelshippingDiscountPercentageLevel1 - the shipping discount percentage level1 of this commerce orderpublic void setShippingDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount)
setShippingDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModelshippingDiscountPercentageLevel1WithTaxAmount - the shipping discount percentage level1 with tax amount of this commerce orderpublic void setShippingDiscountPercentageLevel2(java.math.BigDecimal shippingDiscountPercentageLevel2)
setShippingDiscountPercentageLevel2 in interface CommerceOrderModelshippingDiscountPercentageLevel2 - the shipping discount percentage level2 of this commerce orderpublic void setShippingDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount)
setShippingDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModelshippingDiscountPercentageLevel2WithTaxAmount - the shipping discount percentage level2 with tax amount of this commerce orderpublic void setShippingDiscountPercentageLevel3(java.math.BigDecimal shippingDiscountPercentageLevel3)
setShippingDiscountPercentageLevel3 in interface CommerceOrderModelshippingDiscountPercentageLevel3 - the shipping discount percentage level3 of this commerce orderpublic void setShippingDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount)
setShippingDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModelshippingDiscountPercentageLevel3WithTaxAmount - the shipping discount percentage level3 with tax amount of this commerce orderpublic void setShippingDiscountPercentageLevel4(java.math.BigDecimal shippingDiscountPercentageLevel4)
setShippingDiscountPercentageLevel4 in interface CommerceOrderModelshippingDiscountPercentageLevel4 - the shipping discount percentage level4 of this commerce orderpublic void setShippingDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount)
setShippingDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModelshippingDiscountPercentageLevel4WithTaxAmount - the shipping discount percentage level4 with tax amount of this commerce orderpublic void setShippingDiscounts(CommerceDiscountValue commerceDiscountValue)
setShippingDiscounts in interface CommerceOrderpublic void setShippingDiscountWithTaxAmount(java.math.BigDecimal shippingDiscountWithTaxAmount)
setShippingDiscountWithTaxAmount in interface CommerceOrderModelshippingDiscountWithTaxAmount - the shipping discount with tax amount of this commerce orderpublic void setShippingOptionName(java.lang.String shippingOptionName)
setShippingOptionName in interface CommerceOrderModelshippingOptionName - the shipping option name of this commerce orderpublic void setShippingWithTaxAmount(java.math.BigDecimal shippingWithTaxAmount)
setShippingWithTaxAmount in interface CommerceOrderModelshippingWithTaxAmount - the shipping with tax amount of this commerce orderpublic void setStatus(int status)
setStatus in interface CommerceOrderModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this commerce orderpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface CommerceOrderModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this commerce orderpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface CommerceOrderModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this commerce orderpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface CommerceOrderModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this commerce orderpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface CommerceOrderModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this commerce orderpublic void setSubtotal(java.math.BigDecimal subtotal)
setSubtotal in interface CommerceOrderModelsubtotal - the subtotal of this commerce orderpublic void setSubtotalDiscountAmount(java.math.BigDecimal subtotalDiscountAmount)
setSubtotalDiscountAmount in interface CommerceOrderModelsubtotalDiscountAmount - the subtotal discount amount of this commerce orderpublic void setSubtotalDiscountPercentageLevel1(java.math.BigDecimal subtotalDiscountPercentageLevel1)
setSubtotalDiscountPercentageLevel1 in interface CommerceOrderModelsubtotalDiscountPercentageLevel1 - the subtotal discount percentage level1 of this commerce orderpublic void setSubtotalDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount)
setSubtotalDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModelsubtotalDiscountPercentageLevel1WithTaxAmount - the subtotal discount percentage level1 with tax amount of this commerce orderpublic void setSubtotalDiscountPercentageLevel2(java.math.BigDecimal subtotalDiscountPercentageLevel2)
setSubtotalDiscountPercentageLevel2 in interface CommerceOrderModelsubtotalDiscountPercentageLevel2 - the subtotal discount percentage level2 of this commerce orderpublic void setSubtotalDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount)
setSubtotalDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModelsubtotalDiscountPercentageLevel2WithTaxAmount - the subtotal discount percentage level2 with tax amount of this commerce orderpublic void setSubtotalDiscountPercentageLevel3(java.math.BigDecimal subtotalDiscountPercentageLevel3)
setSubtotalDiscountPercentageLevel3 in interface CommerceOrderModelsubtotalDiscountPercentageLevel3 - the subtotal discount percentage level3 of this commerce orderpublic void setSubtotalDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount)
setSubtotalDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModelsubtotalDiscountPercentageLevel3WithTaxAmount - the subtotal discount percentage level3 with tax amount of this commerce orderpublic void setSubtotalDiscountPercentageLevel4(java.math.BigDecimal subtotalDiscountPercentageLevel4)
setSubtotalDiscountPercentageLevel4 in interface CommerceOrderModelsubtotalDiscountPercentageLevel4 - the subtotal discount percentage level4 of this commerce orderpublic void setSubtotalDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount)
setSubtotalDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModelsubtotalDiscountPercentageLevel4WithTaxAmount - the subtotal discount percentage level4 with tax amount of this commerce orderpublic void setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue)
setSubtotalDiscounts in interface CommerceOrderpublic void setSubtotalDiscountWithTaxAmount(java.math.BigDecimal subtotalDiscountWithTaxAmount)
setSubtotalDiscountWithTaxAmount in interface CommerceOrderModelsubtotalDiscountWithTaxAmount - the subtotal discount with tax amount of this commerce orderpublic void setSubtotalWithTaxAmount(java.math.BigDecimal subtotalWithTaxAmount)
setSubtotalWithTaxAmount in interface CommerceOrderModelsubtotalWithTaxAmount - the subtotal with tax amount of this commerce orderpublic void setTaxAmount(java.math.BigDecimal taxAmount)
setTaxAmount in interface CommerceOrderModeltaxAmount - the tax amount of this commerce orderpublic void setTotal(java.math.BigDecimal total)
setTotal in interface CommerceOrderModeltotal - the total of this commerce orderpublic void setTotalDiscountAmount(java.math.BigDecimal totalDiscountAmount)
setTotalDiscountAmount in interface CommerceOrderModeltotalDiscountAmount - the total discount amount of this commerce orderpublic void setTotalDiscountPercentageLevel1(java.math.BigDecimal totalDiscountPercentageLevel1)
setTotalDiscountPercentageLevel1 in interface CommerceOrderModeltotalDiscountPercentageLevel1 - the total discount percentage level1 of this commerce orderpublic void setTotalDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount)
setTotalDiscountPercentageLevel1WithTaxAmount in interface CommerceOrderModeltotalDiscountPercentageLevel1WithTaxAmount - the total discount percentage level1 with tax amount of this commerce orderpublic void setTotalDiscountPercentageLevel2(java.math.BigDecimal totalDiscountPercentageLevel2)
setTotalDiscountPercentageLevel2 in interface CommerceOrderModeltotalDiscountPercentageLevel2 - the total discount percentage level2 of this commerce orderpublic void setTotalDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount)
setTotalDiscountPercentageLevel2WithTaxAmount in interface CommerceOrderModeltotalDiscountPercentageLevel2WithTaxAmount - the total discount percentage level2 with tax amount of this commerce orderpublic void setTotalDiscountPercentageLevel3(java.math.BigDecimal totalDiscountPercentageLevel3)
setTotalDiscountPercentageLevel3 in interface CommerceOrderModeltotalDiscountPercentageLevel3 - the total discount percentage level3 of this commerce orderpublic void setTotalDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount)
setTotalDiscountPercentageLevel3WithTaxAmount in interface CommerceOrderModeltotalDiscountPercentageLevel3WithTaxAmount - the total discount percentage level3 with tax amount of this commerce orderpublic void setTotalDiscountPercentageLevel4(java.math.BigDecimal totalDiscountPercentageLevel4)
setTotalDiscountPercentageLevel4 in interface CommerceOrderModeltotalDiscountPercentageLevel4 - the total discount percentage level4 of this commerce orderpublic void setTotalDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount)
setTotalDiscountPercentageLevel4WithTaxAmount in interface CommerceOrderModeltotalDiscountPercentageLevel4WithTaxAmount - the total discount percentage level4 with tax amount of this commerce orderpublic void setTotalDiscounts(CommerceDiscountValue commerceDiscountValue)
setTotalDiscounts in interface CommerceOrderpublic void setTotalDiscountWithTaxAmount(java.math.BigDecimal totalDiscountWithTaxAmount)
setTotalDiscountWithTaxAmount in interface CommerceOrderModeltotalDiscountWithTaxAmount - the total discount with tax amount of this commerce orderpublic void setTotalWithTaxAmount(java.math.BigDecimal totalWithTaxAmount)
setTotalWithTaxAmount in interface CommerceOrderModeltotalWithTaxAmount - the total with tax amount of this commerce orderpublic void setTransactionId(java.lang.String transactionId)
setTransactionId in interface CommerceOrderModeltransactionId - the transaction ID of this commerce orderpublic void setUserId(long userId)
setUserId in interface CommerceOrderModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce orderpublic void setUserName(java.lang.String userName)
setUserName in interface CommerceOrderModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce orderpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceOrderModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce orderpublic void setUuid(java.lang.String uuid)
setUuid in interface CommerceOrderModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce orderpublic java.lang.String toXmlString()
toXmlString in interface CommerceOrderModelpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CommerceOrderWrapper wrap(CommerceOrder commerceOrder)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrder>