Package com.liferay.commerce.model
Class CommerceOrderItemWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderItem>
com.liferay.commerce.model.CommerceOrderItemWrapper
- All Implemented Interfaces:
CommerceOrderItem
,CommerceOrderItemModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceOrderItem>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,Serializable
,Cloneable
,Comparable<CommerceOrderItem>
public class CommerceOrderItemWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderItem>
implements CommerceOrderItem, com.liferay.portal.kernel.model.ModelWrapper<CommerceOrderItem>
This class is a wrapper for CommerceOrderItem
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.model.CommerceOrderItem
COMMERCE_ORDER_ITEM_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.commerce.product.model.CPInstance
com.liferay.commerce.product.model.CPMeasurementUnit
com.liferay.commerce.product.model.CProduct
String[]
long
Returns the commerce inventory booked quantity ID of this commerce order item.long
Returns the commerce order ID of this commerce order item.long
Returns the commerce order item ID of this commerce order item.long
Returns the commerce price list ID of this commerce order item.long
Returns the company ID of this commerce order item.com.liferay.commerce.product.model.CPDefinition
long
com.liferay.commerce.product.model.CPInstance
Deprecated.As of Athanasius (7.3.x)long
Returns the cp instance ID of this commerce order item.long
Returns the cp measurement unit ID of this commerce order item.com.liferay.commerce.product.model.CProduct
Deprecated.As of Athanasius (7.3.x)long
Returns the c product ID of this commerce order item.Returns the create date of this commerce order item.long
Returns the customer commerce order item ID of this commerce order item.Returns the delivery group name of this commerce order item.long
Returns the delivery max subscription cycles of this commerce order item.int
Returns the delivery subscription length of this commerce order item.Returns the delivery subscription type of this commerce order item.Returns the delivery subscription type settings of this commerce order item.double
getDepth()
Returns the depth of this commerce order item.Returns the discount amount of this commerce order item.com.liferay.commerce.currency.model.CommerceMoney
boolean
Returns the discount manually adjusted of this commerce order item.Returns the discount percentage level1 of this commerce order item.Returns the discount percentage level1 with tax amount of this commerce order item.Returns the discount percentage level2 of this commerce order item.Returns the discount percentage level2 with tax amount of this commerce order item.Returns the discount percentage level3 of this commerce order item.Returns the discount percentage level3 with tax amount of this commerce order item.Returns the discount percentage level4 of this commerce order item.Returns the discount percentage level4 with tax amount of this commerce order item.Returns the discount with tax amount of this commerce order item.com.liferay.commerce.currency.model.CommerceMoney
Returns the external reference code of this commerce order item.Returns the final price of this commerce order item.com.liferay.commerce.currency.model.CommerceMoney
Returns the final price with tax amount of this commerce order item.com.liferay.commerce.currency.model.CommerceMoney
boolean
Returns the free shipping of this commerce order item.long
Returns the group ID of this commerce order item.double
Returns the height of this commerce order item.getJson()
Returns the json of this commerce order item.boolean
Returns the manually adjusted of this commerce order item.long
Returns the max subscription cycles of this commerce order item.Returns the modified date of this commerce order item.long
Returns the mvcc version of this commerce order item.getName()
Returns the name of this commerce order item.Returns the localized name of this commerce order item in the language.Returns the localized name of this commerce order item in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this commerce order item in the language.Returns the localized name of this commerce order item in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized names of this commerce order item.long
long
Returns the parent commerce order item ID of this commerce order item.boolean
Returns the price manually adjusted of this commerce order item.boolean
Returns the price on application of this commerce order item.long
Returns the primary key of this commerce order item.Returns the printed note of this commerce order item.Returns the promo price of this commerce order item.com.liferay.commerce.currency.model.CommerceMoney
Returns the promo price with tax amount of this commerce order item.com.liferay.commerce.currency.model.CommerceMoney
Returns the quantity of this commerce order item.long
Returns the replaced cp instance ID of this commerce order item.Returns the replaced sku of this commerce order item.Returns the requested delivery date of this commerce order item.boolean
Returns the shippable of this commerce order item.Returns the shipped quantity of this commerce order item.long
Returns the shipping address ID of this commerce order item.double
Returns the shipping extra price of this commerce order item.boolean
Returns the ship separately of this commerce order item.getSku()
Returns the sku of this commerce order item.com.liferay.exportimport.kernel.lar.StagedModelType
boolean
Returns the subscription of this commerce order item.int
Returns the subscription length of this commerce order item.Returns the subscription type of this commerce order item.Returns the subscription type settings of this commerce order item.Returns the unit of measure incremental order quantity of this commerce order item.Returns the unit of measure key of this commerce order item.Returns the unit price of this commerce order item.com.liferay.commerce.currency.model.CommerceMoney
Returns the unit price with tax amount of this commerce order item.com.liferay.commerce.currency.model.CommerceMoney
long
Returns the user ID of this commerce order item.Returns the user name of this commerce order item.Returns the user uuid of this commerce order item.getUuid()
Returns the uuid of this commerce order item.double
Returns the weight of this commerce order item.double
getWidth()
Returns the width of this commerce order item.boolean
boolean
Returnstrue
if this commerce order item is discount manually adjusted.boolean
Returnstrue
if this commerce order item is free shipping.boolean
Returnstrue
if this commerce order item is manually adjusted.boolean
Returnstrue
if this commerce order item is price manually adjusted.boolean
Returnstrue
if this commerce order item is price on application.boolean
Returnstrue
if this commerce order item is shippable.boolean
Returnstrue
if this commerce order item is ship separately.boolean
Returnstrue
if this commerce order item is subscription.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCommerceInventoryBookedQuantityId
(long commerceInventoryBookedQuantityId) Sets the commerce inventory booked quantity ID of this commerce order item.void
setCommerceOrderId
(long commerceOrderId) Sets the commerce order ID of this commerce order item.void
setCommerceOrderItemId
(long commerceOrderItemId) Sets the commerce order item ID of this commerce order item.void
setCommercePriceListId
(long commercePriceListId) Sets the commerce price list ID of this commerce order item.void
setCompanyId
(long companyId) Sets the company ID of this commerce order item.void
setCPInstanceId
(long CPInstanceId) Sets the cp instance ID of this commerce order item.void
setCPMeasurementUnitId
(long CPMeasurementUnitId) Sets the cp measurement unit ID of this commerce order item.void
setCProductId
(long CProductId) Sets the c product ID of this commerce order item.void
setCreateDate
(Date createDate) Sets the create date of this commerce order item.void
setCustomerCommerceOrderItemId
(long customerCommerceOrderItemId) Sets the customer commerce order item ID of this commerce order item.void
setDeliveryGroupName
(String deliveryGroupName) Sets the delivery group name of this commerce order item.void
setDeliveryMaxSubscriptionCycles
(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this commerce order item.void
setDeliverySubscriptionLength
(int deliverySubscriptionLength) Sets the delivery subscription length of this commerce order item.void
setDeliverySubscriptionType
(String deliverySubscriptionType) Sets the delivery subscription type of this commerce order item.void
setDeliverySubscriptionTypeSettings
(String deliverySubscriptionTypeSettings) Sets the delivery subscription type settings of this commerce order item.void
setDepth
(double depth) Sets the depth of this commerce order item.void
setDiscountAmount
(BigDecimal discountAmount) Sets the discount amount of this commerce order item.void
setDiscountManuallyAdjusted
(boolean discountManuallyAdjusted) Sets whether this commerce order item is discount manually adjusted.void
setDiscountPercentageLevel1
(BigDecimal discountPercentageLevel1) Sets the discount percentage level1 of this commerce order item.void
setDiscountPercentageLevel1WithTaxAmount
(BigDecimal discountPercentageLevel1WithTaxAmount) Sets the discount percentage level1 with tax amount of this commerce order item.void
setDiscountPercentageLevel2
(BigDecimal discountPercentageLevel2) Sets the discount percentage level2 of this commerce order item.void
setDiscountPercentageLevel2WithTaxAmount
(BigDecimal discountPercentageLevel2WithTaxAmount) Sets the discount percentage level2 with tax amount of this commerce order item.void
setDiscountPercentageLevel3
(BigDecimal discountPercentageLevel3) Sets the discount percentage level3 of this commerce order item.void
setDiscountPercentageLevel3WithTaxAmount
(BigDecimal discountPercentageLevel3WithTaxAmount) Sets the discount percentage level3 with tax amount of this commerce order item.void
setDiscountPercentageLevel4
(BigDecimal discountPercentageLevel4) Sets the discount percentage level4 of this commerce order item.void
setDiscountPercentageLevel4WithTaxAmount
(BigDecimal discountPercentageLevel4WithTaxAmount) Sets the discount percentage level4 with tax amount of this commerce order item.void
setDiscountWithTaxAmount
(BigDecimal discountWithTaxAmount) Sets the discount with tax amount of this commerce order item.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this commerce order item.void
setFinalPrice
(BigDecimal finalPrice) Sets the final price of this commerce order item.void
setFinalPriceWithTaxAmount
(BigDecimal finalPriceWithTaxAmount) Sets the final price with tax amount of this commerce order item.void
setFreeShipping
(boolean freeShipping) Sets whether this commerce order item is free shipping.void
setGroupId
(long groupId) Sets the group ID of this commerce order item.void
setHeight
(double height) Sets the height of this commerce order item.void
Sets the json of this commerce order item.void
setManuallyAdjusted
(boolean manuallyAdjusted) Sets whether this commerce order item is manually adjusted.void
setMaxSubscriptionCycles
(long maxSubscriptionCycles) Sets the max subscription cycles of this commerce order item.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this commerce order item.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this commerce order item.void
Sets the name of this commerce order item.void
Sets the localized name of this commerce order item in the language.void
Sets the localized name of this commerce order item in the language, and sets the default locale.void
setNameCurrentLanguageId
(String languageId) void
setNameMap
(Map<Locale, String> nameMap) Sets the localized names of this commerce order item from the map of locales and localized names.void
setNameMap
(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this commerce order item from the map of locales and localized names, and sets the default locale.void
setParentCommerceOrderItemId
(long parentCommerceOrderItemId) Sets the parent commerce order item ID of this commerce order item.void
setPriceManuallyAdjusted
(boolean priceManuallyAdjusted) Sets whether this commerce order item is price manually adjusted.void
setPriceOnApplication
(boolean priceOnApplication) Sets whether this commerce order item is price on application.void
setPrimaryKey
(long primaryKey) Sets the primary key of this commerce order item.void
setPrintedNote
(String printedNote) Sets the printed note of this commerce order item.void
setPromoPrice
(BigDecimal promoPrice) Sets the promo price of this commerce order item.void
setPromoPriceWithTaxAmount
(BigDecimal promoPriceWithTaxAmount) Sets the promo price with tax amount of this commerce order item.void
setQuantity
(BigDecimal quantity) Sets the quantity of this commerce order item.void
setReplacedCPInstanceId
(long replacedCPInstanceId) Sets the replaced cp instance ID of this commerce order item.void
setReplacedSku
(String replacedSku) Sets the replaced sku of this commerce order item.void
setRequestedDeliveryDate
(Date requestedDeliveryDate) Sets the requested delivery date of this commerce order item.void
setShippable
(boolean shippable) Sets whether this commerce order item is shippable.void
setShippedQuantity
(BigDecimal shippedQuantity) Sets the shipped quantity of this commerce order item.void
setShippingAddressId
(long shippingAddressId) Sets the shipping address ID of this commerce order item.void
setShippingExtraPrice
(double shippingExtraPrice) Sets the shipping extra price of this commerce order item.void
setShipSeparately
(boolean shipSeparately) Sets whether this commerce order item is ship separately.void
Sets the sku of this commerce order item.void
setSubscription
(boolean subscription) Sets whether this commerce order item is subscription.void
setSubscriptionLength
(int subscriptionLength) Sets the subscription length of this commerce order item.void
setSubscriptionType
(String subscriptionType) Sets the subscription type of this commerce order item.void
setSubscriptionTypeSettings
(String subscriptionTypeSettings) Sets the subscription type settings of this commerce order item.void
setUnitOfMeasureIncrementalOrderQuantity
(BigDecimal unitOfMeasureIncrementalOrderQuantity) Sets the unit of measure incremental order quantity of this commerce order item.void
setUnitOfMeasureKey
(String unitOfMeasureKey) Sets the unit of measure key of this commerce order item.void
setUnitPrice
(BigDecimal unitPrice) Sets the unit price of this commerce order item.void
setUnitPriceWithTaxAmount
(BigDecimal unitPriceWithTaxAmount) Sets the unit price with tax amount of this commerce order item.void
setUserId
(long userId) Sets the user ID of this commerce order item.void
setUserName
(String userName) Sets the user name of this commerce order item.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce order item.void
Sets the uuid of this commerce order item.void
setWeight
(double weight) Sets the weight of this commerce order item.void
setWidth
(double width) Sets the width of this commerce order item.protected CommerceOrderItemWrapper
wrap
(CommerceOrderItem commerceOrderItem) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceOrderItemWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceOrderItemModel
-
fetchCPInstance
public com.liferay.commerce.product.model.CPInstance fetchCPInstance()- Specified by:
fetchCPInstance
in interfaceCommerceOrderItem
-
fetchCPMeasurementUnit
public com.liferay.commerce.product.model.CPMeasurementUnit fetchCPMeasurementUnit()- Specified by:
fetchCPMeasurementUnit
in interfaceCommerceOrderItem
-
fetchCProduct
public com.liferay.commerce.product.model.CProduct fetchCProduct()- Specified by:
fetchCProduct
in interfaceCommerceOrderItem
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCommerceOrderItemModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getChildCommerceOrderItems
- Specified by:
getChildCommerceOrderItems
in interfaceCommerceOrderItem
-
getCommerceInventoryBookedQuantityId
public long getCommerceInventoryBookedQuantityId()Returns the commerce inventory booked quantity ID of this commerce order item.- Specified by:
getCommerceInventoryBookedQuantityId
in interfaceCommerceOrderItemModel
- Returns:
- the commerce inventory booked quantity ID of this commerce order item
-
getCommerceOrder
- Specified by:
getCommerceOrder
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderId
public long getCommerceOrderId()Returns the commerce order ID of this commerce order item.- Specified by:
getCommerceOrderId
in interfaceCommerceOrderItemModel
- Returns:
- the commerce order ID of this commerce order item
-
getCommerceOrderItemId
public long getCommerceOrderItemId()Returns the commerce order item ID of this commerce order item.- Specified by:
getCommerceOrderItemId
in interfaceCommerceOrderItemModel
- Returns:
- the commerce order item ID of this commerce order item
-
getCommercePriceListId
public long getCommercePriceListId()Returns the commerce price list ID of this commerce order item.- Specified by:
getCommercePriceListId
in interfaceCommerceOrderItemModel
- Returns:
- the commerce price list ID of this commerce order item
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce order item.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceOrderItemModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this commerce order item
-
getCPDefinition
public com.liferay.commerce.product.model.CPDefinition getCPDefinition() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCPDefinition
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionId
public long getCPDefinitionId()- Specified by:
getCPDefinitionId
in interfaceCommerceOrderItem
-
getCPInstance
@Deprecated public com.liferay.commerce.product.model.CPInstance getCPInstance() throws com.liferay.portal.kernel.exception.PortalExceptionDeprecated.As of Athanasius (7.3.x)- Specified by:
getCPInstance
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPInstanceId
public long getCPInstanceId()Returns the cp instance ID of this commerce order item.- Specified by:
getCPInstanceId
in interfaceCommerceOrderItemModel
- Returns:
- the cp instance ID of this commerce order item
-
getCPMeasurementUnitId
public long getCPMeasurementUnitId()Returns the cp measurement unit ID of this commerce order item.- Specified by:
getCPMeasurementUnitId
in interfaceCommerceOrderItemModel
- Returns:
- the cp measurement unit ID of this commerce order item
-
getCProduct
@Deprecated public com.liferay.commerce.product.model.CProduct getCProduct() throws com.liferay.portal.kernel.exception.PortalExceptionDeprecated.As of Athanasius (7.3.x)- Specified by:
getCProduct
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCProductId
public long getCProductId()Returns the c product ID of this commerce order item.- Specified by:
getCProductId
in interfaceCommerceOrderItemModel
- Returns:
- the c product ID of this commerce order item
-
getCreateDate
Returns the create date of this commerce order item.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceOrderItemModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this commerce order item
-
getCustomerCommerceOrderItemId
public long getCustomerCommerceOrderItemId()Returns the customer commerce order item ID of this commerce order item.- Specified by:
getCustomerCommerceOrderItemId
in interfaceCommerceOrderItemModel
- Returns:
- the customer commerce order item ID of this commerce order item
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceCommerceOrderItemModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDeliveryGroupName
Returns the delivery group name of this commerce order item.- Specified by:
getDeliveryGroupName
in interfaceCommerceOrderItemModel
- Returns:
- the delivery group name of this commerce order item
-
getDeliveryMaxSubscriptionCycles
public long getDeliveryMaxSubscriptionCycles()Returns the delivery max subscription cycles of this commerce order item.- Specified by:
getDeliveryMaxSubscriptionCycles
in interfaceCommerceOrderItemModel
- Returns:
- the delivery max subscription cycles of this commerce order item
-
getDeliverySubscriptionLength
public int getDeliverySubscriptionLength()Returns the delivery subscription length of this commerce order item.- Specified by:
getDeliverySubscriptionLength
in interfaceCommerceOrderItemModel
- Returns:
- the delivery subscription length of this commerce order item
-
getDeliverySubscriptionType
Returns the delivery subscription type of this commerce order item.- Specified by:
getDeliverySubscriptionType
in interfaceCommerceOrderItemModel
- Returns:
- the delivery subscription type of this commerce order item
-
getDeliverySubscriptionTypeSettings
Returns the delivery subscription type settings of this commerce order item.- Specified by:
getDeliverySubscriptionTypeSettings
in interfaceCommerceOrderItemModel
- Returns:
- the delivery subscription type settings of this commerce order item
-
getDepth
public double getDepth()Returns the depth of this commerce order item.- Specified by:
getDepth
in interfaceCommerceOrderItemModel
- Returns:
- the depth of this commerce order item
-
getDiscountAmount
Returns the discount amount of this commerce order item.- Specified by:
getDiscountAmount
in interfaceCommerceOrderItemModel
- Returns:
- the discount amount of this commerce order item
-
getDiscountAmountMoney
public com.liferay.commerce.currency.model.CommerceMoney getDiscountAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getDiscountAmountMoney
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDiscountManuallyAdjusted
public boolean getDiscountManuallyAdjusted()Returns the discount manually adjusted of this commerce order item.- Specified by:
getDiscountManuallyAdjusted
in interfaceCommerceOrderItemModel
- Returns:
- the discount manually adjusted of this commerce order item
-
getDiscountPercentageLevel1
Returns the discount percentage level1 of this commerce order item.- Specified by:
getDiscountPercentageLevel1
in interfaceCommerceOrderItemModel
- Returns:
- the discount percentage level1 of this commerce order item
-
getDiscountPercentageLevel1WithTaxAmount
Returns the discount percentage level1 with tax amount of this commerce order item.- Specified by:
getDiscountPercentageLevel1WithTaxAmount
in interfaceCommerceOrderItemModel
- Returns:
- the discount percentage level1 with tax amount of this commerce order item
-
getDiscountPercentageLevel2
Returns the discount percentage level2 of this commerce order item.- Specified by:
getDiscountPercentageLevel2
in interfaceCommerceOrderItemModel
- Returns:
- the discount percentage level2 of this commerce order item
-
getDiscountPercentageLevel2WithTaxAmount
Returns the discount percentage level2 with tax amount of this commerce order item.- Specified by:
getDiscountPercentageLevel2WithTaxAmount
in interfaceCommerceOrderItemModel
- Returns:
- the discount percentage level2 with tax amount of this commerce order item
-
getDiscountPercentageLevel3
Returns the discount percentage level3 of this commerce order item.- Specified by:
getDiscountPercentageLevel3
in interfaceCommerceOrderItemModel
- Returns:
- the discount percentage level3 of this commerce order item
-
getDiscountPercentageLevel3WithTaxAmount
Returns the discount percentage level3 with tax amount of this commerce order item.- Specified by:
getDiscountPercentageLevel3WithTaxAmount
in interfaceCommerceOrderItemModel
- Returns:
- the discount percentage level3 with tax amount of this commerce order item
-
getDiscountPercentageLevel4
Returns the discount percentage level4 of this commerce order item.- Specified by:
getDiscountPercentageLevel4
in interfaceCommerceOrderItemModel
- Returns:
- the discount percentage level4 of this commerce order item
-
getDiscountPercentageLevel4WithTaxAmount
Returns the discount percentage level4 with tax amount of this commerce order item.- Specified by:
getDiscountPercentageLevel4WithTaxAmount
in interfaceCommerceOrderItemModel
- Returns:
- the discount percentage level4 with tax amount of this commerce order item
-
getDiscountWithTaxAmount
Returns the discount with tax amount of this commerce order item.- Specified by:
getDiscountWithTaxAmount
in interfaceCommerceOrderItemModel
- Returns:
- the discount with tax amount of this commerce order item
-
getDiscountWithTaxAmountMoney
public com.liferay.commerce.currency.model.CommerceMoney getDiscountWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getDiscountWithTaxAmountMoney
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExternalReferenceCode
Returns the external reference code of this commerce order item.- Specified by:
getExternalReferenceCode
in interfaceCommerceOrderItemModel
- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this commerce order item
-
getFinalPrice
Returns the final price of this commerce order item.- Specified by:
getFinalPrice
in interfaceCommerceOrderItemModel
- Returns:
- the final price of this commerce order item
-
getFinalPriceMoney
public com.liferay.commerce.currency.model.CommerceMoney getFinalPriceMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getFinalPriceMoney
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFinalPriceWithTaxAmount
Returns the final price with tax amount of this commerce order item.- Specified by:
getFinalPriceWithTaxAmount
in interfaceCommerceOrderItemModel
- Returns:
- the final price with tax amount of this commerce order item
-
getFinalPriceWithTaxAmountMoney
public com.liferay.commerce.currency.model.CommerceMoney getFinalPriceWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getFinalPriceWithTaxAmountMoney
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFreeShipping
public boolean getFreeShipping()Returns the free shipping of this commerce order item.- Specified by:
getFreeShipping
in interfaceCommerceOrderItemModel
- Returns:
- the free shipping of this commerce order item
-
getGroupId
public long getGroupId()Returns the group ID of this commerce order item.- Specified by:
getGroupId
in interfaceCommerceOrderItemModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this commerce order item
-
getHeight
public double getHeight()Returns the height of this commerce order item.- Specified by:
getHeight
in interfaceCommerceOrderItemModel
- Returns:
- the height of this commerce order item
-
getJson
Returns the json of this commerce order item.- Specified by:
getJson
in interfaceCommerceOrderItemModel
- Returns:
- the json of this commerce order item
-
getManuallyAdjusted
public boolean getManuallyAdjusted()Returns the manually adjusted of this commerce order item.- Specified by:
getManuallyAdjusted
in interfaceCommerceOrderItemModel
- Returns:
- the manually adjusted of this commerce order item
-
getMaxSubscriptionCycles
public long getMaxSubscriptionCycles()Returns the max subscription cycles of this commerce order item.- Specified by:
getMaxSubscriptionCycles
in interfaceCommerceOrderItemModel
- Returns:
- the max subscription cycles of this commerce order item
-
getModifiedDate
Returns the modified date of this commerce order item.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceOrderItemModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this commerce order item
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce order item.- Specified by:
getMvccVersion
in interfaceCommerceOrderItemModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce order item
-
getName
Returns the name of this commerce order item.- Specified by:
getName
in interfaceCommerceOrderItemModel
- Returns:
- the name of this commerce order item
-
getName
Returns the localized name of this commerce order item in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCommerceOrderItemModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized name of this commerce order item
-
getName
Returns the localized name of this commerce order item in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCommerceOrderItemModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this commerce order item. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this commerce order item in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCommerceOrderItemModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized name of this commerce order item
-
getName
Returns the localized name of this commerce order item in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCommerceOrderItemModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this commerce order item
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageId
in interfaceCommerceOrderItemModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceCommerceOrderItemModel
-
getNameMap
Returns a map of the locales and localized names of this commerce order item.- Specified by:
getNameMap
in interfaceCommerceOrderItemModel
- Returns:
- the locales and localized names of this commerce order item
-
getParentCommerceOrderItemCPDefinitionId
public long getParentCommerceOrderItemCPDefinitionId()- Specified by:
getParentCommerceOrderItemCPDefinitionId
in interfaceCommerceOrderItem
-
getParentCommerceOrderItemId
public long getParentCommerceOrderItemId()Returns the parent commerce order item ID of this commerce order item.- Specified by:
getParentCommerceOrderItemId
in interfaceCommerceOrderItemModel
- Returns:
- the parent commerce order item ID of this commerce order item
-
getPriceManuallyAdjusted
public boolean getPriceManuallyAdjusted()Returns the price manually adjusted of this commerce order item.- Specified by:
getPriceManuallyAdjusted
in interfaceCommerceOrderItemModel
- Returns:
- the price manually adjusted of this commerce order item
-
getPriceOnApplication
public boolean getPriceOnApplication()Returns the price on application of this commerce order item.- Specified by:
getPriceOnApplication
in interfaceCommerceOrderItemModel
- Returns:
- the price on application of this commerce order item
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce order item.- Specified by:
getPrimaryKey
in interfaceCommerceOrderItemModel
- Returns:
- the primary key of this commerce order item
-
getPrintedNote
Returns the printed note of this commerce order item.- Specified by:
getPrintedNote
in interfaceCommerceOrderItemModel
- Returns:
- the printed note of this commerce order item
-
getPromoPrice
Returns the promo price of this commerce order item.- Specified by:
getPromoPrice
in interfaceCommerceOrderItemModel
- Returns:
- the promo price of this commerce order item
-
getPromoPriceMoney
public com.liferay.commerce.currency.model.CommerceMoney getPromoPriceMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getPromoPriceMoney
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPromoPriceWithTaxAmount
Returns the promo price with tax amount of this commerce order item.- Specified by:
getPromoPriceWithTaxAmount
in interfaceCommerceOrderItemModel
- Returns:
- the promo price with tax amount of this commerce order item
-
getPromoPriceWithTaxAmountMoney
public com.liferay.commerce.currency.model.CommerceMoney getPromoPriceWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getPromoPriceWithTaxAmountMoney
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getQuantity
Returns the quantity of this commerce order item.- Specified by:
getQuantity
in interfaceCommerceOrderItemModel
- Returns:
- the quantity of this commerce order item
-
getReplacedCPInstanceId
public long getReplacedCPInstanceId()Returns the replaced cp instance ID of this commerce order item.- Specified by:
getReplacedCPInstanceId
in interfaceCommerceOrderItemModel
- Returns:
- the replaced cp instance ID of this commerce order item
-
getReplacedSku
Returns the replaced sku of this commerce order item.- Specified by:
getReplacedSku
in interfaceCommerceOrderItemModel
- Returns:
- the replaced sku of this commerce order item
-
getRequestedDeliveryDate
Returns the requested delivery date of this commerce order item.- Specified by:
getRequestedDeliveryDate
in interfaceCommerceOrderItemModel
- Returns:
- the requested delivery date of this commerce order item
-
getShippable
public boolean getShippable()Returns the shippable of this commerce order item.- Specified by:
getShippable
in interfaceCommerceOrderItemModel
- Returns:
- the shippable of this commerce order item
-
getShippedQuantity
Returns the shipped quantity of this commerce order item.- Specified by:
getShippedQuantity
in interfaceCommerceOrderItemModel
- Returns:
- the shipped quantity of this commerce order item
-
getShippingAddressId
public long getShippingAddressId()Returns the shipping address ID of this commerce order item.- Specified by:
getShippingAddressId
in interfaceCommerceOrderItemModel
- Returns:
- the shipping address ID of this commerce order item
-
getShippingExtraPrice
public double getShippingExtraPrice()Returns the shipping extra price of this commerce order item.- Specified by:
getShippingExtraPrice
in interfaceCommerceOrderItemModel
- Returns:
- the shipping extra price of this commerce order item
-
getShipSeparately
public boolean getShipSeparately()Returns the ship separately of this commerce order item.- Specified by:
getShipSeparately
in interfaceCommerceOrderItemModel
- Returns:
- the ship separately of this commerce order item
-
getSku
Returns the sku of this commerce order item.- Specified by:
getSku
in interfaceCommerceOrderItemModel
- Returns:
- the sku of this commerce order item
-
getSubscription
public boolean getSubscription()Returns the subscription of this commerce order item.- Specified by:
getSubscription
in interfaceCommerceOrderItemModel
- Returns:
- the subscription of this commerce order item
-
getSubscriptionLength
public int getSubscriptionLength()Returns the subscription length of this commerce order item.- Specified by:
getSubscriptionLength
in interfaceCommerceOrderItemModel
- Returns:
- the subscription length of this commerce order item
-
getSubscriptionType
Returns the subscription type of this commerce order item.- Specified by:
getSubscriptionType
in interfaceCommerceOrderItemModel
- Returns:
- the subscription type of this commerce order item
-
getSubscriptionTypeSettings
Returns the subscription type settings of this commerce order item.- Specified by:
getSubscriptionTypeSettings
in interfaceCommerceOrderItemModel
- Returns:
- the subscription type settings of this commerce order item
-
getUnitOfMeasureIncrementalOrderQuantity
Returns the unit of measure incremental order quantity of this commerce order item.- Specified by:
getUnitOfMeasureIncrementalOrderQuantity
in interfaceCommerceOrderItemModel
- Returns:
- the unit of measure incremental order quantity of this commerce order item
-
getUnitOfMeasureKey
Returns the unit of measure key of this commerce order item.- Specified by:
getUnitOfMeasureKey
in interfaceCommerceOrderItemModel
- Returns:
- the unit of measure key of this commerce order item
-
getUnitPrice
Returns the unit price of this commerce order item.- Specified by:
getUnitPrice
in interfaceCommerceOrderItemModel
- Returns:
- the unit price of this commerce order item
-
getUnitPriceMoney
public com.liferay.commerce.currency.model.CommerceMoney getUnitPriceMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getUnitPriceMoney
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUnitPriceWithTaxAmount
Returns the unit price with tax amount of this commerce order item.- Specified by:
getUnitPriceWithTaxAmount
in interfaceCommerceOrderItemModel
- Returns:
- the unit price with tax amount of this commerce order item
-
getUnitPriceWithTaxAmountMoney
public com.liferay.commerce.currency.model.CommerceMoney getUnitPriceWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getUnitPriceWithTaxAmountMoney
in interfaceCommerceOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserId
public long getUserId()Returns the user ID of this commerce order item.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceOrderItemModel
- Returns:
- the user ID of this commerce order item
-
getUserName
Returns the user name of this commerce order item.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceOrderItemModel
- Returns:
- the user name of this commerce order item
-
getUserUuid
Returns the user uuid of this commerce order item.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceOrderItemModel
- Returns:
- the user uuid of this commerce order item
-
getUuid
Returns the uuid of this commerce order item.- Specified by:
getUuid
in interfaceCommerceOrderItemModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce order item
-
getWeight
public double getWeight()Returns the weight of this commerce order item.- Specified by:
getWeight
in interfaceCommerceOrderItemModel
- Returns:
- the weight of this commerce order item
-
getWidth
public double getWidth()Returns the width of this commerce order item.- Specified by:
getWidth
in interfaceCommerceOrderItemModel
- Returns:
- the width of this commerce order item
-
hasParentCommerceOrderItem
public boolean hasParentCommerceOrderItem()- Specified by:
hasParentCommerceOrderItem
in interfaceCommerceOrderItem
-
isDiscountManuallyAdjusted
public boolean isDiscountManuallyAdjusted()Returnstrue
if this commerce order item is discount manually adjusted.- Specified by:
isDiscountManuallyAdjusted
in interfaceCommerceOrderItemModel
- Returns:
true
if this commerce order item is discount manually adjusted;false
otherwise
-
isFreeShipping
public boolean isFreeShipping()Returnstrue
if this commerce order item is free shipping.- Specified by:
isFreeShipping
in interfaceCommerceOrderItemModel
- Returns:
true
if this commerce order item is free shipping;false
otherwise
-
isManuallyAdjusted
public boolean isManuallyAdjusted()Returnstrue
if this commerce order item is manually adjusted.- Specified by:
isManuallyAdjusted
in interfaceCommerceOrderItemModel
- Returns:
true
if this commerce order item is manually adjusted;false
otherwise
-
isPriceManuallyAdjusted
public boolean isPriceManuallyAdjusted()Returnstrue
if this commerce order item is price manually adjusted.- Specified by:
isPriceManuallyAdjusted
in interfaceCommerceOrderItemModel
- Returns:
true
if this commerce order item is price manually adjusted;false
otherwise
-
isPriceOnApplication
public boolean isPriceOnApplication()Returnstrue
if this commerce order item is price on application.- Specified by:
isPriceOnApplication
in interfaceCommerceOrderItemModel
- Returns:
true
if this commerce order item is price on application;false
otherwise
-
isShippable
public boolean isShippable()Returnstrue
if this commerce order item is shippable.- Specified by:
isShippable
in interfaceCommerceOrderItemModel
- Returns:
true
if this commerce order item is shippable;false
otherwise
-
isShipSeparately
public boolean isShipSeparately()Returnstrue
if this commerce order item is ship separately.- Specified by:
isShipSeparately
in interfaceCommerceOrderItemModel
- Returns:
true
if this commerce order item is ship separately;false
otherwise
-
isSubscription
public boolean isSubscription()Returnstrue
if this commerce order item is subscription.- Specified by:
isSubscription
in interfaceCommerceOrderItemModel
- Returns:
true
if this commerce order item is subscription;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfaceCommerceOrderItemModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfaceCommerceOrderItemModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCommerceInventoryBookedQuantityId
public void setCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId) Sets the commerce inventory booked quantity ID of this commerce order item.- Specified by:
setCommerceInventoryBookedQuantityId
in interfaceCommerceOrderItemModel
- Parameters:
commerceInventoryBookedQuantityId
- the commerce inventory booked quantity ID of this commerce order item
-
setCommerceOrderId
public void setCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce order item.- Specified by:
setCommerceOrderId
in interfaceCommerceOrderItemModel
- Parameters:
commerceOrderId
- the commerce order ID of this commerce order item
-
setCommerceOrderItemId
public void setCommerceOrderItemId(long commerceOrderItemId) Sets the commerce order item ID of this commerce order item.- Specified by:
setCommerceOrderItemId
in interfaceCommerceOrderItemModel
- Parameters:
commerceOrderItemId
- the commerce order item ID of this commerce order item
-
setCommercePriceListId
public void setCommercePriceListId(long commercePriceListId) Sets the commerce price list ID of this commerce order item.- Specified by:
setCommercePriceListId
in interfaceCommerceOrderItemModel
- Parameters:
commercePriceListId
- the commerce price list ID of this commerce order item
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce order item.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceOrderItemModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this commerce order item
-
setCPInstanceId
public void setCPInstanceId(long CPInstanceId) Sets the cp instance ID of this commerce order item.- Specified by:
setCPInstanceId
in interfaceCommerceOrderItemModel
- Parameters:
CPInstanceId
- the cp instance ID of this commerce order item
-
setCPMeasurementUnitId
public void setCPMeasurementUnitId(long CPMeasurementUnitId) Sets the cp measurement unit ID of this commerce order item.- Specified by:
setCPMeasurementUnitId
in interfaceCommerceOrderItemModel
- Parameters:
CPMeasurementUnitId
- the cp measurement unit ID of this commerce order item
-
setCProductId
public void setCProductId(long CProductId) Sets the c product ID of this commerce order item.- Specified by:
setCProductId
in interfaceCommerceOrderItemModel
- Parameters:
CProductId
- the c product ID of this commerce order item
-
setCreateDate
Sets the create date of this commerce order item.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceOrderItemModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this commerce order item
-
setCustomerCommerceOrderItemId
public void setCustomerCommerceOrderItemId(long customerCommerceOrderItemId) Sets the customer commerce order item ID of this commerce order item.- Specified by:
setCustomerCommerceOrderItemId
in interfaceCommerceOrderItemModel
- Parameters:
customerCommerceOrderItemId
- the customer commerce order item ID of this commerce order item
-
setDeliveryGroupName
Sets the delivery group name of this commerce order item.- Specified by:
setDeliveryGroupName
in interfaceCommerceOrderItemModel
- Parameters:
deliveryGroupName
- the delivery group name of this commerce order item
-
setDeliveryMaxSubscriptionCycles
public void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this commerce order item.- Specified by:
setDeliveryMaxSubscriptionCycles
in interfaceCommerceOrderItemModel
- Parameters:
deliveryMaxSubscriptionCycles
- the delivery max subscription cycles of this commerce order item
-
setDeliverySubscriptionLength
public void setDeliverySubscriptionLength(int deliverySubscriptionLength) Sets the delivery subscription length of this commerce order item.- Specified by:
setDeliverySubscriptionLength
in interfaceCommerceOrderItemModel
- Parameters:
deliverySubscriptionLength
- the delivery subscription length of this commerce order item
-
setDeliverySubscriptionType
Sets the delivery subscription type of this commerce order item.- Specified by:
setDeliverySubscriptionType
in interfaceCommerceOrderItemModel
- Parameters:
deliverySubscriptionType
- the delivery subscription type of this commerce order item
-
setDeliverySubscriptionTypeSettings
Sets the delivery subscription type settings of this commerce order item.- Specified by:
setDeliverySubscriptionTypeSettings
in interfaceCommerceOrderItemModel
- Parameters:
deliverySubscriptionTypeSettings
- the delivery subscription type settings of this commerce order item
-
setDepth
public void setDepth(double depth) Sets the depth of this commerce order item.- Specified by:
setDepth
in interfaceCommerceOrderItemModel
- Parameters:
depth
- the depth of this commerce order item
-
setDiscountAmount
Sets the discount amount of this commerce order item.- Specified by:
setDiscountAmount
in interfaceCommerceOrderItemModel
- Parameters:
discountAmount
- the discount amount of this commerce order item
-
setDiscountManuallyAdjusted
public void setDiscountManuallyAdjusted(boolean discountManuallyAdjusted) Sets whether this commerce order item is discount manually adjusted.- Specified by:
setDiscountManuallyAdjusted
in interfaceCommerceOrderItemModel
- Parameters:
discountManuallyAdjusted
- the discount manually adjusted of this commerce order item
-
setDiscountPercentageLevel1
Sets the discount percentage level1 of this commerce order item.- Specified by:
setDiscountPercentageLevel1
in interfaceCommerceOrderItemModel
- Parameters:
discountPercentageLevel1
- the discount percentage level1 of this commerce order item
-
setDiscountPercentageLevel1WithTaxAmount
public void setDiscountPercentageLevel1WithTaxAmount(BigDecimal discountPercentageLevel1WithTaxAmount) Sets the discount percentage level1 with tax amount of this commerce order item.- Specified by:
setDiscountPercentageLevel1WithTaxAmount
in interfaceCommerceOrderItemModel
- Parameters:
discountPercentageLevel1WithTaxAmount
- the discount percentage level1 with tax amount of this commerce order item
-
setDiscountPercentageLevel2
Sets the discount percentage level2 of this commerce order item.- Specified by:
setDiscountPercentageLevel2
in interfaceCommerceOrderItemModel
- Parameters:
discountPercentageLevel2
- the discount percentage level2 of this commerce order item
-
setDiscountPercentageLevel2WithTaxAmount
public void setDiscountPercentageLevel2WithTaxAmount(BigDecimal discountPercentageLevel2WithTaxAmount) Sets the discount percentage level2 with tax amount of this commerce order item.- Specified by:
setDiscountPercentageLevel2WithTaxAmount
in interfaceCommerceOrderItemModel
- Parameters:
discountPercentageLevel2WithTaxAmount
- the discount percentage level2 with tax amount of this commerce order item
-
setDiscountPercentageLevel3
Sets the discount percentage level3 of this commerce order item.- Specified by:
setDiscountPercentageLevel3
in interfaceCommerceOrderItemModel
- Parameters:
discountPercentageLevel3
- the discount percentage level3 of this commerce order item
-
setDiscountPercentageLevel3WithTaxAmount
public void setDiscountPercentageLevel3WithTaxAmount(BigDecimal discountPercentageLevel3WithTaxAmount) Sets the discount percentage level3 with tax amount of this commerce order item.- Specified by:
setDiscountPercentageLevel3WithTaxAmount
in interfaceCommerceOrderItemModel
- Parameters:
discountPercentageLevel3WithTaxAmount
- the discount percentage level3 with tax amount of this commerce order item
-
setDiscountPercentageLevel4
Sets the discount percentage level4 of this commerce order item.- Specified by:
setDiscountPercentageLevel4
in interfaceCommerceOrderItemModel
- Parameters:
discountPercentageLevel4
- the discount percentage level4 of this commerce order item
-
setDiscountPercentageLevel4WithTaxAmount
public void setDiscountPercentageLevel4WithTaxAmount(BigDecimal discountPercentageLevel4WithTaxAmount) Sets the discount percentage level4 with tax amount of this commerce order item.- Specified by:
setDiscountPercentageLevel4WithTaxAmount
in interfaceCommerceOrderItemModel
- Parameters:
discountPercentageLevel4WithTaxAmount
- the discount percentage level4 with tax amount of this commerce order item
-
setDiscountWithTaxAmount
Sets the discount with tax amount of this commerce order item.- Specified by:
setDiscountWithTaxAmount
in interfaceCommerceOrderItemModel
- Parameters:
discountWithTaxAmount
- the discount with tax amount of this commerce order item
-
setExternalReferenceCode
Sets the external reference code of this commerce order item.- Specified by:
setExternalReferenceCode
in interfaceCommerceOrderItemModel
- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this commerce order item
-
setFinalPrice
Sets the final price of this commerce order item.- Specified by:
setFinalPrice
in interfaceCommerceOrderItemModel
- Parameters:
finalPrice
- the final price of this commerce order item
-
setFinalPriceWithTaxAmount
Sets the final price with tax amount of this commerce order item.- Specified by:
setFinalPriceWithTaxAmount
in interfaceCommerceOrderItemModel
- Parameters:
finalPriceWithTaxAmount
- the final price with tax amount of this commerce order item
-
setFreeShipping
public void setFreeShipping(boolean freeShipping) Sets whether this commerce order item is free shipping.- Specified by:
setFreeShipping
in interfaceCommerceOrderItemModel
- Parameters:
freeShipping
- the free shipping of this commerce order item
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this commerce order item.- Specified by:
setGroupId
in interfaceCommerceOrderItemModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this commerce order item
-
setHeight
public void setHeight(double height) Sets the height of this commerce order item.- Specified by:
setHeight
in interfaceCommerceOrderItemModel
- Parameters:
height
- the height of this commerce order item
-
setJson
Sets the json of this commerce order item.- Specified by:
setJson
in interfaceCommerceOrderItemModel
- Parameters:
json
- the json of this commerce order item
-
setManuallyAdjusted
public void setManuallyAdjusted(boolean manuallyAdjusted) Sets whether this commerce order item is manually adjusted.- Specified by:
setManuallyAdjusted
in interfaceCommerceOrderItemModel
- Parameters:
manuallyAdjusted
- the manually adjusted of this commerce order item
-
setMaxSubscriptionCycles
public void setMaxSubscriptionCycles(long maxSubscriptionCycles) Sets the max subscription cycles of this commerce order item.- Specified by:
setMaxSubscriptionCycles
in interfaceCommerceOrderItemModel
- Parameters:
maxSubscriptionCycles
- the max subscription cycles of this commerce order item
-
setModifiedDate
Sets the modified date of this commerce order item.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceOrderItemModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this commerce order item
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce order item.- Specified by:
setMvccVersion
in interfaceCommerceOrderItemModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce order item
-
setName
Sets the name of this commerce order item.- Specified by:
setName
in interfaceCommerceOrderItemModel
- Parameters:
name
- the name of this commerce order item
-
setName
Sets the localized name of this commerce order item in the language.- Specified by:
setName
in interfaceCommerceOrderItemModel
- Parameters:
name
- the localized name of this commerce order itemlocale
- the locale of the language
-
setName
Sets the localized name of this commerce order item in the language, and sets the default locale.- Specified by:
setName
in interfaceCommerceOrderItemModel
- Parameters:
name
- the localized name of this commerce order itemlocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceCommerceOrderItemModel
-
setNameMap
Sets the localized names of this commerce order item from the map of locales and localized names.- Specified by:
setNameMap
in interfaceCommerceOrderItemModel
- Parameters:
nameMap
- the locales and localized names of this commerce order item
-
setNameMap
Sets the localized names of this commerce order item from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMap
in interfaceCommerceOrderItemModel
- Parameters:
nameMap
- the locales and localized names of this commerce order itemdefaultLocale
- the default locale
-
setParentCommerceOrderItemId
public void setParentCommerceOrderItemId(long parentCommerceOrderItemId) Sets the parent commerce order item ID of this commerce order item.- Specified by:
setParentCommerceOrderItemId
in interfaceCommerceOrderItemModel
- Parameters:
parentCommerceOrderItemId
- the parent commerce order item ID of this commerce order item
-
setPriceManuallyAdjusted
public void setPriceManuallyAdjusted(boolean priceManuallyAdjusted) Sets whether this commerce order item is price manually adjusted.- Specified by:
setPriceManuallyAdjusted
in interfaceCommerceOrderItemModel
- Parameters:
priceManuallyAdjusted
- the price manually adjusted of this commerce order item
-
setPriceOnApplication
public void setPriceOnApplication(boolean priceOnApplication) Sets whether this commerce order item is price on application.- Specified by:
setPriceOnApplication
in interfaceCommerceOrderItemModel
- Parameters:
priceOnApplication
- the price on application of this commerce order item
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce order item.- Specified by:
setPrimaryKey
in interfaceCommerceOrderItemModel
- Parameters:
primaryKey
- the primary key of this commerce order item
-
setPrintedNote
Sets the printed note of this commerce order item.- Specified by:
setPrintedNote
in interfaceCommerceOrderItemModel
- Parameters:
printedNote
- the printed note of this commerce order item
-
setPromoPrice
Sets the promo price of this commerce order item.- Specified by:
setPromoPrice
in interfaceCommerceOrderItemModel
- Parameters:
promoPrice
- the promo price of this commerce order item
-
setPromoPriceWithTaxAmount
Sets the promo price with tax amount of this commerce order item.- Specified by:
setPromoPriceWithTaxAmount
in interfaceCommerceOrderItemModel
- Parameters:
promoPriceWithTaxAmount
- the promo price with tax amount of this commerce order item
-
setQuantity
Sets the quantity of this commerce order item.- Specified by:
setQuantity
in interfaceCommerceOrderItemModel
- Parameters:
quantity
- the quantity of this commerce order item
-
setReplacedCPInstanceId
public void setReplacedCPInstanceId(long replacedCPInstanceId) Sets the replaced cp instance ID of this commerce order item.- Specified by:
setReplacedCPInstanceId
in interfaceCommerceOrderItemModel
- Parameters:
replacedCPInstanceId
- the replaced cp instance ID of this commerce order item
-
setReplacedSku
Sets the replaced sku of this commerce order item.- Specified by:
setReplacedSku
in interfaceCommerceOrderItemModel
- Parameters:
replacedSku
- the replaced sku of this commerce order item
-
setRequestedDeliveryDate
Sets the requested delivery date of this commerce order item.- Specified by:
setRequestedDeliveryDate
in interfaceCommerceOrderItemModel
- Parameters:
requestedDeliveryDate
- the requested delivery date of this commerce order item
-
setShippable
public void setShippable(boolean shippable) Sets whether this commerce order item is shippable.- Specified by:
setShippable
in interfaceCommerceOrderItemModel
- Parameters:
shippable
- the shippable of this commerce order item
-
setShippedQuantity
Sets the shipped quantity of this commerce order item.- Specified by:
setShippedQuantity
in interfaceCommerceOrderItemModel
- Parameters:
shippedQuantity
- the shipped quantity of this commerce order item
-
setShippingAddressId
public void setShippingAddressId(long shippingAddressId) Sets the shipping address ID of this commerce order item.- Specified by:
setShippingAddressId
in interfaceCommerceOrderItemModel
- Parameters:
shippingAddressId
- the shipping address ID of this commerce order item
-
setShippingExtraPrice
public void setShippingExtraPrice(double shippingExtraPrice) Sets the shipping extra price of this commerce order item.- Specified by:
setShippingExtraPrice
in interfaceCommerceOrderItemModel
- Parameters:
shippingExtraPrice
- the shipping extra price of this commerce order item
-
setShipSeparately
public void setShipSeparately(boolean shipSeparately) Sets whether this commerce order item is ship separately.- Specified by:
setShipSeparately
in interfaceCommerceOrderItemModel
- Parameters:
shipSeparately
- the ship separately of this commerce order item
-
setSku
Sets the sku of this commerce order item.- Specified by:
setSku
in interfaceCommerceOrderItemModel
- Parameters:
sku
- the sku of this commerce order item
-
setSubscription
public void setSubscription(boolean subscription) Sets whether this commerce order item is subscription.- Specified by:
setSubscription
in interfaceCommerceOrderItemModel
- Parameters:
subscription
- the subscription of this commerce order item
-
setSubscriptionLength
public void setSubscriptionLength(int subscriptionLength) Sets the subscription length of this commerce order item.- Specified by:
setSubscriptionLength
in interfaceCommerceOrderItemModel
- Parameters:
subscriptionLength
- the subscription length of this commerce order item
-
setSubscriptionType
Sets the subscription type of this commerce order item.- Specified by:
setSubscriptionType
in interfaceCommerceOrderItemModel
- Parameters:
subscriptionType
- the subscription type of this commerce order item
-
setSubscriptionTypeSettings
Sets the subscription type settings of this commerce order item.- Specified by:
setSubscriptionTypeSettings
in interfaceCommerceOrderItemModel
- Parameters:
subscriptionTypeSettings
- the subscription type settings of this commerce order item
-
setUnitOfMeasureIncrementalOrderQuantity
public void setUnitOfMeasureIncrementalOrderQuantity(BigDecimal unitOfMeasureIncrementalOrderQuantity) Sets the unit of measure incremental order quantity of this commerce order item.- Specified by:
setUnitOfMeasureIncrementalOrderQuantity
in interfaceCommerceOrderItemModel
- Parameters:
unitOfMeasureIncrementalOrderQuantity
- the unit of measure incremental order quantity of this commerce order item
-
setUnitOfMeasureKey
Sets the unit of measure key of this commerce order item.- Specified by:
setUnitOfMeasureKey
in interfaceCommerceOrderItemModel
- Parameters:
unitOfMeasureKey
- the unit of measure key of this commerce order item
-
setUnitPrice
Sets the unit price of this commerce order item.- Specified by:
setUnitPrice
in interfaceCommerceOrderItemModel
- Parameters:
unitPrice
- the unit price of this commerce order item
-
setUnitPriceWithTaxAmount
Sets the unit price with tax amount of this commerce order item.- Specified by:
setUnitPriceWithTaxAmount
in interfaceCommerceOrderItemModel
- Parameters:
unitPriceWithTaxAmount
- the unit price with tax amount of this commerce order item
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce order item.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceOrderItemModel
- Parameters:
userId
- the user ID of this commerce order item
-
setUserName
Sets the user name of this commerce order item.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceOrderItemModel
- Parameters:
userName
- the user name of this commerce order item
-
setUserUuid
Sets the user uuid of this commerce order item.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceOrderItemModel
- Parameters:
userUuid
- the user uuid of this commerce order item
-
setUuid
Sets the uuid of this commerce order item.- Specified by:
setUuid
in interfaceCommerceOrderItemModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce order item
-
setWeight
public void setWeight(double weight) Sets the weight of this commerce order item.- Specified by:
setWeight
in interfaceCommerceOrderItemModel
- Parameters:
weight
- the weight of this commerce order item
-
setWidth
public void setWidth(double width) Sets the width of this commerce order item.- Specified by:
setWidth
in interfaceCommerceOrderItemModel
- Parameters:
width
- the width of this commerce order item
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceOrderItemModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderItem>
-