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() |
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.
|
CommerceAccount |
getCommerceAccount() |
long |
getCommerceAccountId()
Returns the commerce account ID of this commerce order.
|
java.lang.String |
getCommerceAccountName() |
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.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.
|
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.
|
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.
|
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.
|
CommerceMoney |
getSubtotalMoney() |
java.math.BigDecimal |
getSubtotalWithTaxAmount()
Returns the subtotal with tax amount of this commerce order.
|
CommerceMoney |
getSubtotalWithTaxAmountMoney() |
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.
|
CommerceMoney |
getTotalMoney() |
java.math.BigDecimal |
getTotalWithTaxAmount()
Returns the total with tax amount of this commerce order.
|
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 |
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 |
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 |
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.
|
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, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 CommerceOrderModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrder>
public java.lang.String getAdvanceStatus()
getAdvanceStatus
in interface CommerceOrderModel
public CommerceAddress getBillingAddress() throws com.liferay.portal.kernel.exception.PortalException
getBillingAddress
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public long getBillingAddressId()
getBillingAddressId
in interface CommerceOrderModel
public CommerceAccount getCommerceAccount() throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccount
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public long getCommerceAccountId()
getCommerceAccountId
in interface CommerceOrderModel
public java.lang.String getCommerceAccountName() throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountName
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public long getCommerceCurrencyId()
getCommerceCurrencyId
in interface CommerceOrderModel
public long getCommerceOrderId()
getCommerceOrderId
in interface CommerceOrderModel
public java.util.List<CommerceOrderItem> getCommerceOrderItems()
getCommerceOrderItems
in interface CommerceOrder
public java.util.List<CommerceOrderItem> getCommerceOrderItems(long cpInstanceId)
getCommerceOrderItems
in interface CommerceOrder
public int getCommerceOrderItemsCount(long cpInstanceId)
getCommerceOrderItemsCount
in interface CommerceOrder
public long getCommerceOrderTypeId()
getCommerceOrderTypeId
in interface CommerceOrderModel
public java.lang.String getCommercePaymentMethodKey()
getCommercePaymentMethodKey
in interface CommerceOrderModel
public CommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException
getCommerceShippingMethod
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public long getCommerceShippingMethodId()
getCommerceShippingMethodId
in interface CommerceOrderModel
public long getCompanyId()
getCompanyId
in interface CommerceOrderModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getCouponCode()
getCouponCode
in interface CommerceOrderModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceOrderModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CommerceOrderModel
public long getGroupId()
getGroupId
in interface CommerceOrderModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getLastPriceUpdateDate()
getLastPriceUpdateDate
in interface CommerceOrderModel
public boolean getManuallyAdjusted()
getManuallyAdjusted
in interface CommerceOrderModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceOrderModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceOrderModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.util.Date getOrderDate()
getOrderDate
in interface CommerceOrderModel
public int getOrderStatus()
getOrderStatus
in interface CommerceOrderModel
public int getPaymentStatus()
getPaymentStatus
in interface CommerceOrderModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceOrderModel
public java.lang.String getPrintedNote()
getPrintedNote
in interface CommerceOrderModel
public java.lang.String getPurchaseOrderNumber()
getPurchaseOrderNumber
in interface CommerceOrderModel
public java.util.Date getRequestedDeliveryDate()
getRequestedDeliveryDate
in interface CommerceOrderModel
public long getScopeGroupId() throws com.liferay.portal.kernel.exception.PortalException
getScopeGroupId
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public CommerceAddress getShippingAddress() throws com.liferay.portal.kernel.exception.PortalException
getShippingAddress
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public long getShippingAddressId()
getShippingAddressId
in interface CommerceOrderModel
public java.math.BigDecimal getShippingAmount()
getShippingAmount
in interface CommerceOrderModel
public java.math.BigDecimal getShippingDiscountAmount()
getShippingDiscountAmount
in interface CommerceOrderModel
public java.math.BigDecimal getShippingDiscountPercentageLevel1()
getShippingDiscountPercentageLevel1
in interface CommerceOrderModel
public java.math.BigDecimal getShippingDiscountPercentageLevel1WithTaxAmount()
getShippingDiscountPercentageLevel1WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getShippingDiscountPercentageLevel2()
getShippingDiscountPercentageLevel2
in interface CommerceOrderModel
public java.math.BigDecimal getShippingDiscountPercentageLevel2WithTaxAmount()
getShippingDiscountPercentageLevel2WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getShippingDiscountPercentageLevel3()
getShippingDiscountPercentageLevel3
in interface CommerceOrderModel
public java.math.BigDecimal getShippingDiscountPercentageLevel3WithTaxAmount()
getShippingDiscountPercentageLevel3WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getShippingDiscountPercentageLevel4()
getShippingDiscountPercentageLevel4
in interface CommerceOrderModel
public java.math.BigDecimal getShippingDiscountPercentageLevel4WithTaxAmount()
getShippingDiscountPercentageLevel4WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getShippingDiscountWithTaxAmount()
getShippingDiscountWithTaxAmount
in interface CommerceOrderModel
public CommerceMoney getShippingMoney() throws com.liferay.portal.kernel.exception.PortalException
getShippingMoney
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getShippingOptionName()
getShippingOptionName
in interface CommerceOrderModel
public java.math.BigDecimal getShippingWithTaxAmount()
getShippingWithTaxAmount
in interface CommerceOrderModel
public CommerceMoney getShippingWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
getShippingWithTaxAmountMoney
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public int getStatus()
getStatus
in interface CommerceOrderModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface CommerceOrderModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface CommerceOrderModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface CommerceOrderModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Date getStatusDate()
getStatusDate
in interface CommerceOrderModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.math.BigDecimal getSubtotal()
getSubtotal
in interface CommerceOrderModel
public java.math.BigDecimal getSubtotalDiscountAmount()
getSubtotalDiscountAmount
in interface CommerceOrderModel
public java.math.BigDecimal getSubtotalDiscountPercentageLevel1()
getSubtotalDiscountPercentageLevel1
in interface CommerceOrderModel
public java.math.BigDecimal getSubtotalDiscountPercentageLevel1WithTaxAmount()
getSubtotalDiscountPercentageLevel1WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getSubtotalDiscountPercentageLevel2()
getSubtotalDiscountPercentageLevel2
in interface CommerceOrderModel
public java.math.BigDecimal getSubtotalDiscountPercentageLevel2WithTaxAmount()
getSubtotalDiscountPercentageLevel2WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getSubtotalDiscountPercentageLevel3()
getSubtotalDiscountPercentageLevel3
in interface CommerceOrderModel
public java.math.BigDecimal getSubtotalDiscountPercentageLevel3WithTaxAmount()
getSubtotalDiscountPercentageLevel3WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getSubtotalDiscountPercentageLevel4()
getSubtotalDiscountPercentageLevel4
in interface CommerceOrderModel
public java.math.BigDecimal getSubtotalDiscountPercentageLevel4WithTaxAmount()
getSubtotalDiscountPercentageLevel4WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getSubtotalDiscountWithTaxAmount()
getSubtotalDiscountWithTaxAmount
in interface CommerceOrderModel
public CommerceMoney getSubtotalMoney() throws com.liferay.portal.kernel.exception.PortalException
getSubtotalMoney
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public java.math.BigDecimal getSubtotalWithTaxAmount()
getSubtotalWithTaxAmount
in interface CommerceOrderModel
public CommerceMoney getSubtotalWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
getSubtotalWithTaxAmountMoney
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public java.math.BigDecimal getTaxAmount()
getTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getTotal()
getTotal
in interface CommerceOrderModel
public java.math.BigDecimal getTotalDiscountAmount()
getTotalDiscountAmount
in interface CommerceOrderModel
public java.math.BigDecimal getTotalDiscountPercentageLevel1()
getTotalDiscountPercentageLevel1
in interface CommerceOrderModel
public java.math.BigDecimal getTotalDiscountPercentageLevel1WithTaxAmount()
getTotalDiscountPercentageLevel1WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getTotalDiscountPercentageLevel2()
getTotalDiscountPercentageLevel2
in interface CommerceOrderModel
public java.math.BigDecimal getTotalDiscountPercentageLevel2WithTaxAmount()
getTotalDiscountPercentageLevel2WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getTotalDiscountPercentageLevel3()
getTotalDiscountPercentageLevel3
in interface CommerceOrderModel
public java.math.BigDecimal getTotalDiscountPercentageLevel3WithTaxAmount()
getTotalDiscountPercentageLevel3WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getTotalDiscountPercentageLevel4()
getTotalDiscountPercentageLevel4
in interface CommerceOrderModel
public java.math.BigDecimal getTotalDiscountPercentageLevel4WithTaxAmount()
getTotalDiscountPercentageLevel4WithTaxAmount
in interface CommerceOrderModel
public java.math.BigDecimal getTotalDiscountWithTaxAmount()
getTotalDiscountWithTaxAmount
in interface CommerceOrderModel
public CommerceMoney getTotalMoney() throws com.liferay.portal.kernel.exception.PortalException
getTotalMoney
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public java.math.BigDecimal getTotalWithTaxAmount()
getTotalWithTaxAmount
in interface CommerceOrderModel
public CommerceMoney getTotalWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
getTotalWithTaxAmountMoney
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getTransactionId()
getTransactionId
in interface CommerceOrderModel
public long getUserId()
getUserId
in interface CommerceOrderModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceOrderModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceOrderModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface CommerceOrderModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isApproved()
true
if this commerce order is approved.isApproved
in interface CommerceOrderModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce order is approved; false
otherwisepublic boolean isB2B() throws com.liferay.portal.kernel.exception.PortalException
isB2B
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public boolean isDenied()
true
if this commerce order is denied.isDenied
in interface CommerceOrderModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce order is denied; false
otherwisepublic boolean isDraft()
true
if this commerce order is a draft.isDraft
in interface CommerceOrderModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce order is a draft; false
otherwisepublic boolean isEmpty()
isEmpty
in interface CommerceOrder
public boolean isExpired()
true
if this commerce order is expired.isExpired
in interface CommerceOrderModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce order is expired; false
otherwisepublic boolean isGuestOrder() throws com.liferay.portal.kernel.exception.PortalException
isGuestOrder
in interface CommerceOrder
com.liferay.portal.kernel.exception.PortalException
public boolean isInactive()
true
if this commerce order is inactive.isInactive
in interface CommerceOrderModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce order is inactive; false
otherwisepublic boolean isIncomplete()
true
if this commerce order is incomplete.isIncomplete
in interface CommerceOrderModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce order is incomplete; false
otherwisepublic boolean isManuallyAdjusted()
true
if this commerce order is manually adjusted.isManuallyAdjusted
in interface CommerceOrderModel
true
if this commerce order is manually adjusted; false
otherwisepublic boolean isOpen()
isOpen
in interface CommerceOrder
public boolean isPending()
true
if this commerce order is pending.isPending
in interface CommerceOrderModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce order is pending; false
otherwisepublic boolean isScheduled()
true
if this commerce order is scheduled.isScheduled
in interface CommerceOrderModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce order is scheduled; false
otherwisepublic boolean isSubscription()
isSubscription
in interface CommerceOrder
public boolean isSubscriptionOrder()
isSubscriptionOrder
in interface CommerceOrder
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAdvanceStatus(java.lang.String advanceStatus)
setAdvanceStatus
in interface CommerceOrderModel
advanceStatus
- the advance status of this commerce orderpublic void setBillingAddressId(long billingAddressId)
setBillingAddressId
in interface CommerceOrderModel
billingAddressId
- the billing address ID of this commerce orderpublic void setCommerceAccountId(long commerceAccountId)
setCommerceAccountId
in interface CommerceOrderModel
commerceAccountId
- the commerce account ID of this commerce orderpublic void setCommerceCurrencyId(long commerceCurrencyId)
setCommerceCurrencyId
in interface CommerceOrderModel
commerceCurrencyId
- the commerce currency ID of this commerce orderpublic void setCommerceOrderId(long commerceOrderId)
setCommerceOrderId
in interface CommerceOrderModel
commerceOrderId
- the commerce order ID of this commerce orderpublic void setCommerceOrderTypeId(long commerceOrderTypeId)
setCommerceOrderTypeId
in interface CommerceOrderModel
commerceOrderTypeId
- the commerce order type ID of this commerce orderpublic void setCommercePaymentMethodKey(java.lang.String commercePaymentMethodKey)
setCommercePaymentMethodKey
in interface CommerceOrderModel
commercePaymentMethodKey
- the commerce payment method key of this commerce orderpublic void setCommerceShippingMethodId(long commerceShippingMethodId)
setCommerceShippingMethodId
in interface CommerceOrderModel
commerceShippingMethodId
- the commerce shipping method ID of this commerce orderpublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceOrderModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this commerce orderpublic void setCouponCode(java.lang.String couponCode)
setCouponCode
in interface CommerceOrderModel
couponCode
- the coupon code of this commerce orderpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceOrderModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this commerce orderpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CommerceOrderModel
externalReferenceCode
- the external reference code of this commerce orderpublic void setGroupId(long groupId)
setGroupId
in interface CommerceOrderModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this commerce orderpublic void setLastPriceUpdateDate(java.util.Date lastPriceUpdateDate)
setLastPriceUpdateDate
in interface CommerceOrderModel
lastPriceUpdateDate
- the last price update date of this commerce orderpublic void setManuallyAdjusted(boolean manuallyAdjusted)
setManuallyAdjusted
in interface CommerceOrderModel
manuallyAdjusted
- the manually adjusted of this commerce orderpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceOrderModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this commerce orderpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceOrderModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce orderpublic void setOrderDate(java.util.Date orderDate)
setOrderDate
in interface CommerceOrderModel
orderDate
- the order date of this commerce orderpublic void setOrderStatus(int orderStatus)
setOrderStatus
in interface CommerceOrderModel
orderStatus
- the order status of this commerce orderpublic void setPaymentStatus(int paymentStatus)
setPaymentStatus
in interface CommerceOrderModel
paymentStatus
- the payment status of this commerce orderpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceOrderModel
primaryKey
- the primary key of this commerce orderpublic void setPrintedNote(java.lang.String printedNote)
setPrintedNote
in interface CommerceOrderModel
printedNote
- the printed note of this commerce orderpublic void setPurchaseOrderNumber(java.lang.String purchaseOrderNumber)
setPurchaseOrderNumber
in interface CommerceOrderModel
purchaseOrderNumber
- the purchase order number of this commerce orderpublic void setRequestedDeliveryDate(java.util.Date requestedDeliveryDate)
setRequestedDeliveryDate
in interface CommerceOrderModel
requestedDeliveryDate
- the requested delivery date of this commerce orderpublic void setShippingAddressId(long shippingAddressId)
setShippingAddressId
in interface CommerceOrderModel
shippingAddressId
- the shipping address ID of this commerce orderpublic void setShippingAmount(java.math.BigDecimal shippingAmount)
setShippingAmount
in interface CommerceOrderModel
shippingAmount
- the shipping amount of this commerce orderpublic void setShippingDiscountAmount(java.math.BigDecimal shippingDiscountAmount)
setShippingDiscountAmount
in interface CommerceOrderModel
shippingDiscountAmount
- the shipping discount amount of this commerce orderpublic void setShippingDiscountPercentageLevel1(java.math.BigDecimal shippingDiscountPercentageLevel1)
setShippingDiscountPercentageLevel1
in interface CommerceOrderModel
shippingDiscountPercentageLevel1
- the shipping discount percentage level1 of this commerce orderpublic void setShippingDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount)
setShippingDiscountPercentageLevel1WithTaxAmount
in interface CommerceOrderModel
shippingDiscountPercentageLevel1WithTaxAmount
- the shipping discount percentage level1 with tax amount of this commerce orderpublic void setShippingDiscountPercentageLevel2(java.math.BigDecimal shippingDiscountPercentageLevel2)
setShippingDiscountPercentageLevel2
in interface CommerceOrderModel
shippingDiscountPercentageLevel2
- the shipping discount percentage level2 of this commerce orderpublic void setShippingDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount)
setShippingDiscountPercentageLevel2WithTaxAmount
in interface CommerceOrderModel
shippingDiscountPercentageLevel2WithTaxAmount
- the shipping discount percentage level2 with tax amount of this commerce orderpublic void setShippingDiscountPercentageLevel3(java.math.BigDecimal shippingDiscountPercentageLevel3)
setShippingDiscountPercentageLevel3
in interface CommerceOrderModel
shippingDiscountPercentageLevel3
- the shipping discount percentage level3 of this commerce orderpublic void setShippingDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount)
setShippingDiscountPercentageLevel3WithTaxAmount
in interface CommerceOrderModel
shippingDiscountPercentageLevel3WithTaxAmount
- the shipping discount percentage level3 with tax amount of this commerce orderpublic void setShippingDiscountPercentageLevel4(java.math.BigDecimal shippingDiscountPercentageLevel4)
setShippingDiscountPercentageLevel4
in interface CommerceOrderModel
shippingDiscountPercentageLevel4
- the shipping discount percentage level4 of this commerce orderpublic void setShippingDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount)
setShippingDiscountPercentageLevel4WithTaxAmount
in interface CommerceOrderModel
shippingDiscountPercentageLevel4WithTaxAmount
- the shipping discount percentage level4 with tax amount of this commerce orderpublic void setShippingDiscounts(CommerceDiscountValue commerceDiscountValue)
setShippingDiscounts
in interface CommerceOrder
public void setShippingDiscountWithTaxAmount(java.math.BigDecimal shippingDiscountWithTaxAmount)
setShippingDiscountWithTaxAmount
in interface CommerceOrderModel
shippingDiscountWithTaxAmount
- the shipping discount with tax amount of this commerce orderpublic void setShippingOptionName(java.lang.String shippingOptionName)
setShippingOptionName
in interface CommerceOrderModel
shippingOptionName
- the shipping option name of this commerce orderpublic void setShippingWithTaxAmount(java.math.BigDecimal shippingWithTaxAmount)
setShippingWithTaxAmount
in interface CommerceOrderModel
shippingWithTaxAmount
- the shipping with tax amount of this commerce orderpublic void setStatus(int status)
setStatus
in interface CommerceOrderModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this commerce orderpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface CommerceOrderModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this commerce orderpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface CommerceOrderModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this commerce orderpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface CommerceOrderModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this commerce orderpublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface CommerceOrderModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this commerce orderpublic void setSubtotal(java.math.BigDecimal subtotal)
setSubtotal
in interface CommerceOrderModel
subtotal
- the subtotal of this commerce orderpublic void setSubtotalDiscountAmount(java.math.BigDecimal subtotalDiscountAmount)
setSubtotalDiscountAmount
in interface CommerceOrderModel
subtotalDiscountAmount
- the subtotal discount amount of this commerce orderpublic void setSubtotalDiscountPercentageLevel1(java.math.BigDecimal subtotalDiscountPercentageLevel1)
setSubtotalDiscountPercentageLevel1
in interface CommerceOrderModel
subtotalDiscountPercentageLevel1
- the subtotal discount percentage level1 of this commerce orderpublic void setSubtotalDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount)
setSubtotalDiscountPercentageLevel1WithTaxAmount
in interface CommerceOrderModel
subtotalDiscountPercentageLevel1WithTaxAmount
- the subtotal discount percentage level1 with tax amount of this commerce orderpublic void setSubtotalDiscountPercentageLevel2(java.math.BigDecimal subtotalDiscountPercentageLevel2)
setSubtotalDiscountPercentageLevel2
in interface CommerceOrderModel
subtotalDiscountPercentageLevel2
- the subtotal discount percentage level2 of this commerce orderpublic void setSubtotalDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount)
setSubtotalDiscountPercentageLevel2WithTaxAmount
in interface CommerceOrderModel
subtotalDiscountPercentageLevel2WithTaxAmount
- the subtotal discount percentage level2 with tax amount of this commerce orderpublic void setSubtotalDiscountPercentageLevel3(java.math.BigDecimal subtotalDiscountPercentageLevel3)
setSubtotalDiscountPercentageLevel3
in interface CommerceOrderModel
subtotalDiscountPercentageLevel3
- the subtotal discount percentage level3 of this commerce orderpublic void setSubtotalDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount)
setSubtotalDiscountPercentageLevel3WithTaxAmount
in interface CommerceOrderModel
subtotalDiscountPercentageLevel3WithTaxAmount
- the subtotal discount percentage level3 with tax amount of this commerce orderpublic void setSubtotalDiscountPercentageLevel4(java.math.BigDecimal subtotalDiscountPercentageLevel4)
setSubtotalDiscountPercentageLevel4
in interface CommerceOrderModel
subtotalDiscountPercentageLevel4
- the subtotal discount percentage level4 of this commerce orderpublic void setSubtotalDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount)
setSubtotalDiscountPercentageLevel4WithTaxAmount
in interface CommerceOrderModel
subtotalDiscountPercentageLevel4WithTaxAmount
- the subtotal discount percentage level4 with tax amount of this commerce orderpublic void setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue)
setSubtotalDiscounts
in interface CommerceOrder
public void setSubtotalDiscountWithTaxAmount(java.math.BigDecimal subtotalDiscountWithTaxAmount)
setSubtotalDiscountWithTaxAmount
in interface CommerceOrderModel
subtotalDiscountWithTaxAmount
- the subtotal discount with tax amount of this commerce orderpublic void setSubtotalWithTaxAmount(java.math.BigDecimal subtotalWithTaxAmount)
setSubtotalWithTaxAmount
in interface CommerceOrderModel
subtotalWithTaxAmount
- the subtotal with tax amount of this commerce orderpublic void setTaxAmount(java.math.BigDecimal taxAmount)
setTaxAmount
in interface CommerceOrderModel
taxAmount
- the tax amount of this commerce orderpublic void setTotal(java.math.BigDecimal total)
setTotal
in interface CommerceOrderModel
total
- the total of this commerce orderpublic void setTotalDiscountAmount(java.math.BigDecimal totalDiscountAmount)
setTotalDiscountAmount
in interface CommerceOrderModel
totalDiscountAmount
- the total discount amount of this commerce orderpublic void setTotalDiscountPercentageLevel1(java.math.BigDecimal totalDiscountPercentageLevel1)
setTotalDiscountPercentageLevel1
in interface CommerceOrderModel
totalDiscountPercentageLevel1
- the total discount percentage level1 of this commerce orderpublic void setTotalDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount)
setTotalDiscountPercentageLevel1WithTaxAmount
in interface CommerceOrderModel
totalDiscountPercentageLevel1WithTaxAmount
- the total discount percentage level1 with tax amount of this commerce orderpublic void setTotalDiscountPercentageLevel2(java.math.BigDecimal totalDiscountPercentageLevel2)
setTotalDiscountPercentageLevel2
in interface CommerceOrderModel
totalDiscountPercentageLevel2
- the total discount percentage level2 of this commerce orderpublic void setTotalDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount)
setTotalDiscountPercentageLevel2WithTaxAmount
in interface CommerceOrderModel
totalDiscountPercentageLevel2WithTaxAmount
- the total discount percentage level2 with tax amount of this commerce orderpublic void setTotalDiscountPercentageLevel3(java.math.BigDecimal totalDiscountPercentageLevel3)
setTotalDiscountPercentageLevel3
in interface CommerceOrderModel
totalDiscountPercentageLevel3
- the total discount percentage level3 of this commerce orderpublic void setTotalDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount)
setTotalDiscountPercentageLevel3WithTaxAmount
in interface CommerceOrderModel
totalDiscountPercentageLevel3WithTaxAmount
- the total discount percentage level3 with tax amount of this commerce orderpublic void setTotalDiscountPercentageLevel4(java.math.BigDecimal totalDiscountPercentageLevel4)
setTotalDiscountPercentageLevel4
in interface CommerceOrderModel
totalDiscountPercentageLevel4
- the total discount percentage level4 of this commerce orderpublic void setTotalDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount)
setTotalDiscountPercentageLevel4WithTaxAmount
in interface CommerceOrderModel
totalDiscountPercentageLevel4WithTaxAmount
- the total discount percentage level4 with tax amount of this commerce orderpublic void setTotalDiscounts(CommerceDiscountValue commerceDiscountValue)
setTotalDiscounts
in interface CommerceOrder
public void setTotalDiscountWithTaxAmount(java.math.BigDecimal totalDiscountWithTaxAmount)
setTotalDiscountWithTaxAmount
in interface CommerceOrderModel
totalDiscountWithTaxAmount
- the total discount with tax amount of this commerce orderpublic void setTotalWithTaxAmount(java.math.BigDecimal totalWithTaxAmount)
setTotalWithTaxAmount
in interface CommerceOrderModel
totalWithTaxAmount
- the total with tax amount of this commerce orderpublic void setTransactionId(java.lang.String transactionId)
setTransactionId
in interface CommerceOrderModel
transactionId
- the transaction ID of this commerce orderpublic void setUserId(long userId)
setUserId
in interface CommerceOrderModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce orderpublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceOrderModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce orderpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceOrderModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce orderpublic void setUuid(java.lang.String uuid)
setUuid
in interface CommerceOrderModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this commerce orderpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected CommerceOrderWrapper wrap(CommerceOrder commerceOrder)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrder>