Package com.liferay.commerce.model
Interface CommerceOrderItemModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<CommerceOrderItem>
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.MVCCModel
,Serializable
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
- All Known Subinterfaces:
CommerceOrderItem
- All Known Implementing Classes:
CommerceOrderItemWrapper
@ProviderType
public interface CommerceOrderItemModel
extends com.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the CommerceOrderItem service. Represents a row in the "CommerceOrderItem" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.model.impl.CommerceOrderItemModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.model.impl.CommerceOrderItemImpl
.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionString[]
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.long
Returns the cp instance ID of this commerce order item.long
Returns the cp measurement unit ID of this commerce order item.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.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.Returns the external reference code of this commerce order item.Returns the final price of this commerce order item.Returns the final price with tax amount of this commerce order item.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
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.Returns the promo price with tax amount of this commerce order item.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.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.Returns the unit price with tax amount of this commerce order item.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
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
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this commerce order item.- Returns:
- the primary key of this commerce order item
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this commerce order item.- Parameters:
primaryKey
- the primary key of this commerce order item
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this commerce order item.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce order item
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce order item.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce order item
-
getUuid
Returns the uuid of this commerce order item.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce order item
-
setUuid
Sets the uuid of this commerce order item.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce order item
-
getExternalReferenceCode
Returns the external reference code of this commerce order item.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this commerce order item
-
setExternalReferenceCode
Sets the external reference code of this commerce order item.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this commerce order item
-
getCommerceOrderItemId
long getCommerceOrderItemId()Returns the commerce order item ID of this commerce order item.- Returns:
- the commerce order item ID of this commerce order item
-
setCommerceOrderItemId
void setCommerceOrderItemId(long commerceOrderItemId) Sets the commerce order item ID of this commerce order item.- Parameters:
commerceOrderItemId
- the commerce order item ID of this commerce order item
-
getGroupId
long getGroupId()Returns the group ID of this commerce order item.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this commerce order item
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this commerce order item.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this commerce order item
-
getCompanyId
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 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
-
setCompanyId
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 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
-
getUserId
long getUserId()Returns the user ID of this commerce order item.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user ID of this commerce order item
-
setUserId
void setUserId(long userId) Sets the user ID of this commerce order item.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userId
- the user ID of this commerce order item
-
getUserUuid
String getUserUuid()Returns the user uuid of this commerce order item.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid 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
- Parameters:
userUuid
- the user uuid 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
- Returns:
- the user name 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
- Parameters:
userName
- the user name of this commerce order item
-
getCreateDate
Date getCreateDate()Returns the create date of this commerce order item.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date 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 interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this commerce order item
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this commerce order item.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date 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 interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this commerce order item
-
getCommerceInventoryBookedQuantityId
long getCommerceInventoryBookedQuantityId()Returns the commerce inventory booked quantity ID of this commerce order item.- Returns:
- the commerce inventory booked quantity ID of this commerce order item
-
setCommerceInventoryBookedQuantityId
void setCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId) Sets the commerce inventory booked quantity ID of this commerce order item.- Parameters:
commerceInventoryBookedQuantityId
- the commerce inventory booked quantity ID of this commerce order item
-
getCommerceOrderId
long getCommerceOrderId()Returns the commerce order ID of this commerce order item.- Returns:
- the commerce order ID of this commerce order item
-
setCommerceOrderId
void setCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce order item.- Parameters:
commerceOrderId
- the commerce order ID of this commerce order item
-
getCommercePriceListId
long getCommercePriceListId()Returns the commerce price list ID of this commerce order item.- Returns:
- the commerce price list ID of this commerce order item
-
setCommercePriceListId
void setCommercePriceListId(long commercePriceListId) Sets the commerce price list ID of this commerce order item.- Parameters:
commercePriceListId
- the commerce price list ID of this commerce order item
-
getCPInstanceId
long getCPInstanceId()Returns the cp instance ID of this commerce order item.- Returns:
- the cp instance ID of this commerce order item
-
setCPInstanceId
void setCPInstanceId(long CPInstanceId) Sets the cp instance ID of this commerce order item.- Parameters:
CPInstanceId
- the cp instance ID of this commerce order item
-
getCPMeasurementUnitId
long getCPMeasurementUnitId()Returns the cp measurement unit ID of this commerce order item.- Returns:
- the cp measurement unit ID of this commerce order item
-
setCPMeasurementUnitId
void setCPMeasurementUnitId(long CPMeasurementUnitId) Sets the cp measurement unit ID of this commerce order item.- Parameters:
CPMeasurementUnitId
- the cp measurement unit ID of this commerce order item
-
getCProductId
long getCProductId()Returns the c product ID of this commerce order item.- Returns:
- the c product ID of this commerce order item
-
setCProductId
void setCProductId(long CProductId) Sets the c product ID of this commerce order item.- Parameters:
CProductId
- the c product ID of this commerce order item
-
getCustomerCommerceOrderItemId
long getCustomerCommerceOrderItemId()Returns the customer commerce order item ID of this commerce order item.- Returns:
- the customer commerce order item ID of this commerce order item
-
setCustomerCommerceOrderItemId
void setCustomerCommerceOrderItemId(long customerCommerceOrderItemId) Sets the customer commerce order item ID of this commerce order item.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item ID of this commerce order item
-
getParentCommerceOrderItemId
long getParentCommerceOrderItemId()Returns the parent commerce order item ID of this commerce order item.- Returns:
- the parent commerce order item ID of this commerce order item
-
setParentCommerceOrderItemId
void setParentCommerceOrderItemId(long parentCommerceOrderItemId) Sets the parent commerce order item ID of this commerce order item.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item ID of this commerce order item
-
getShippingAddressId
long getShippingAddressId()Returns the shipping address ID of this commerce order item.- Returns:
- the shipping address ID of this commerce order item
-
setShippingAddressId
void setShippingAddressId(long shippingAddressId) Sets the shipping address ID of this commerce order item.- Parameters:
shippingAddressId
- the shipping address ID of this commerce order item
-
getDeliveryGroupName
Returns the delivery group name of this commerce order item.- Returns:
- the delivery group name of this commerce order item
-
setDeliveryGroupName
Sets the delivery group name of this commerce order item.- Parameters:
deliveryGroupName
- the delivery group name of this commerce order item
-
getDeliveryMaxSubscriptionCycles
long getDeliveryMaxSubscriptionCycles()Returns the delivery max subscription cycles of this commerce order item.- Returns:
- the delivery max subscription cycles of this commerce order item
-
setDeliveryMaxSubscriptionCycles
void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this commerce order item.- Parameters:
deliveryMaxSubscriptionCycles
- the delivery max subscription cycles of this commerce order item
-
getDeliverySubscriptionLength
int getDeliverySubscriptionLength()Returns the delivery subscription length of this commerce order item.- Returns:
- the delivery subscription length of this commerce order item
-
setDeliverySubscriptionLength
void setDeliverySubscriptionLength(int deliverySubscriptionLength) Sets the delivery subscription length of this commerce order item.- Parameters:
deliverySubscriptionLength
- the delivery subscription length of this commerce order item
-
getDeliverySubscriptionType
Returns the delivery subscription type of this commerce order item.- Returns:
- the delivery subscription type of this commerce order item
-
setDeliverySubscriptionType
Sets the delivery subscription type of this commerce order item.- Parameters:
deliverySubscriptionType
- the delivery subscription type of this commerce order item
-
getDeliverySubscriptionTypeSettings
Returns the delivery subscription type settings of this commerce order item.- Returns:
- the delivery subscription type settings of this commerce order item
-
setDeliverySubscriptionTypeSettings
Sets the delivery subscription type settings of this commerce order item.- Parameters:
deliverySubscriptionTypeSettings
- the delivery subscription type settings of this commerce order item
-
getDepth
double getDepth()Returns the depth of this commerce order item.- Returns:
- the depth of this commerce order item
-
setDepth
void setDepth(double depth) Sets the depth of this commerce order item.- Parameters:
depth
- the depth of this commerce order item
-
getDiscountAmount
BigDecimal getDiscountAmount()Returns the discount amount of this commerce order item.- Returns:
- the discount amount of this commerce order item
-
setDiscountAmount
Sets the discount amount of this commerce order item.- Parameters:
discountAmount
- the discount amount of this commerce order item
-
getDiscountManuallyAdjusted
boolean getDiscountManuallyAdjusted()Returns the discount manually adjusted of this commerce order item.- Returns:
- the discount manually adjusted of this commerce order item
-
isDiscountManuallyAdjusted
boolean isDiscountManuallyAdjusted()Returnstrue
if this commerce order item is discount manually adjusted.- Returns:
true
if this commerce order item is discount manually adjusted;false
otherwise
-
setDiscountManuallyAdjusted
void setDiscountManuallyAdjusted(boolean discountManuallyAdjusted) Sets whether this commerce order item is discount manually adjusted.- Parameters:
discountManuallyAdjusted
- the discount manually adjusted of this commerce order item
-
getDiscountPercentageLevel1
BigDecimal getDiscountPercentageLevel1()Returns the discount percentage level1 of this commerce order item.- Returns:
- the discount percentage level1 of this commerce order item
-
setDiscountPercentageLevel1
Sets the discount percentage level1 of this commerce order item.- Parameters:
discountPercentageLevel1
- the discount percentage level1 of this commerce order item
-
getDiscountPercentageLevel2
BigDecimal getDiscountPercentageLevel2()Returns the discount percentage level2 of this commerce order item.- Returns:
- the discount percentage level2 of this commerce order item
-
setDiscountPercentageLevel2
Sets the discount percentage level2 of this commerce order item.- Parameters:
discountPercentageLevel2
- the discount percentage level2 of this commerce order item
-
getDiscountPercentageLevel3
BigDecimal getDiscountPercentageLevel3()Returns the discount percentage level3 of this commerce order item.- Returns:
- the discount percentage level3 of this commerce order item
-
setDiscountPercentageLevel3
Sets the discount percentage level3 of this commerce order item.- Parameters:
discountPercentageLevel3
- the discount percentage level3 of this commerce order item
-
getDiscountPercentageLevel4
BigDecimal getDiscountPercentageLevel4()Returns the discount percentage level4 of this commerce order item.- Returns:
- the discount percentage level4 of this commerce order item
-
setDiscountPercentageLevel4
Sets the discount percentage level4 of this commerce order item.- Parameters:
discountPercentageLevel4
- the discount percentage level4 of this commerce order item
-
getDiscountPercentageLevel1WithTaxAmount
BigDecimal getDiscountPercentageLevel1WithTaxAmount()Returns the discount percentage level1 with tax amount of this commerce order item.- Returns:
- the discount percentage level1 with tax amount of this commerce order item
-
setDiscountPercentageLevel1WithTaxAmount
Sets the discount percentage level1 with tax amount of this commerce order item.- Parameters:
discountPercentageLevel1WithTaxAmount
- the discount percentage level1 with tax amount of this commerce order item
-
getDiscountPercentageLevel2WithTaxAmount
BigDecimal getDiscountPercentageLevel2WithTaxAmount()Returns the discount percentage level2 with tax amount of this commerce order item.- Returns:
- the discount percentage level2 with tax amount of this commerce order item
-
setDiscountPercentageLevel2WithTaxAmount
Sets the discount percentage level2 with tax amount of this commerce order item.- Parameters:
discountPercentageLevel2WithTaxAmount
- the discount percentage level2 with tax amount of this commerce order item
-
getDiscountPercentageLevel3WithTaxAmount
BigDecimal getDiscountPercentageLevel3WithTaxAmount()Returns the discount percentage level3 with tax amount of this commerce order item.- Returns:
- the discount percentage level3 with tax amount of this commerce order item
-
setDiscountPercentageLevel3WithTaxAmount
Sets the discount percentage level3 with tax amount of this commerce order item.- Parameters:
discountPercentageLevel3WithTaxAmount
- the discount percentage level3 with tax amount of this commerce order item
-
getDiscountPercentageLevel4WithTaxAmount
BigDecimal getDiscountPercentageLevel4WithTaxAmount()Returns the discount percentage level4 with tax amount of this commerce order item.- Returns:
- the discount percentage level4 with tax amount of this commerce order item
-
setDiscountPercentageLevel4WithTaxAmount
Sets the discount percentage level4 with tax amount of this commerce order item.- Parameters:
discountPercentageLevel4WithTaxAmount
- the discount percentage level4 with tax amount of this commerce order item
-
getDiscountWithTaxAmount
BigDecimal getDiscountWithTaxAmount()Returns the discount with tax amount of this commerce order item.- Returns:
- the discount with tax amount of this commerce order item
-
setDiscountWithTaxAmount
Sets the discount with tax amount of this commerce order item.- Parameters:
discountWithTaxAmount
- the discount with tax amount of this commerce order item
-
getFinalPrice
BigDecimal getFinalPrice()Returns the final price of this commerce order item.- Returns:
- the final price of this commerce order item
-
setFinalPrice
Sets the final price of this commerce order item.- Parameters:
finalPrice
- the final price of this commerce order item
-
getFinalPriceWithTaxAmount
BigDecimal getFinalPriceWithTaxAmount()Returns the final price with tax amount of this commerce order item.- Returns:
- the final price with tax amount of this commerce order item
-
setFinalPriceWithTaxAmount
Sets the final price with tax amount of this commerce order item.- Parameters:
finalPriceWithTaxAmount
- the final price with tax amount of this commerce order item
-
getFreeShipping
boolean getFreeShipping()Returns the free shipping of this commerce order item.- Returns:
- the free shipping of this commerce order item
-
isFreeShipping
boolean isFreeShipping()Returnstrue
if this commerce order item is free shipping.- Returns:
true
if this commerce order item is free shipping;false
otherwise
-
setFreeShipping
void setFreeShipping(boolean freeShipping) Sets whether this commerce order item is free shipping.- Parameters:
freeShipping
- the free shipping of this commerce order item
-
getHeight
double getHeight()Returns the height of this commerce order item.- Returns:
- the height of this commerce order item
-
setHeight
void setHeight(double height) Sets the height of this commerce order item.- Parameters:
height
- the height of this commerce order item
-
getJson
Returns the json of this commerce order item.- Returns:
- the json of this commerce order item
-
setJson
Sets the json of this commerce order item.- Parameters:
json
- the json of this commerce order item
-
getManuallyAdjusted
boolean getManuallyAdjusted()Returns the manually adjusted of this commerce order item.- Returns:
- the manually adjusted of this commerce order item
-
isManuallyAdjusted
boolean isManuallyAdjusted()Returnstrue
if this commerce order item is manually adjusted.- Returns:
true
if this commerce order item is manually adjusted;false
otherwise
-
setManuallyAdjusted
void setManuallyAdjusted(boolean manuallyAdjusted) Sets whether this commerce order item is manually adjusted.- Parameters:
manuallyAdjusted
- the manually adjusted of this commerce order item
-
getMaxSubscriptionCycles
long getMaxSubscriptionCycles()Returns the max subscription cycles of this commerce order item.- Returns:
- the max subscription cycles of this commerce order item
-
setMaxSubscriptionCycles
void setMaxSubscriptionCycles(long maxSubscriptionCycles) Sets the max subscription cycles of this commerce order item.- Parameters:
maxSubscriptionCycles
- the max subscription cycles of this commerce order item
-
getName
String getName()Returns the name of this commerce order item.- 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.- 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.- 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.- 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.- 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
-
getNameCurrentValue
-
getNameMap
Returns a map of the locales and localized names of this commerce order item.- Returns:
- the locales and localized names of this commerce order item
-
setName
Sets the name of this commerce order item.- Parameters:
name
- the name of this commerce order item
-
setName
Sets the localized name of this commerce order item in the language.- 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.- Parameters:
name
- the localized name of this commerce order itemlocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
-
setNameMap
Sets the localized names of this commerce order item from the map of locales and localized names.- 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.- Parameters:
nameMap
- the locales and localized names of this commerce order itemdefaultLocale
- the default locale
-
getPriceManuallyAdjusted
boolean getPriceManuallyAdjusted()Returns the price manually adjusted of this commerce order item.- Returns:
- the price manually adjusted of this commerce order item
-
isPriceManuallyAdjusted
boolean isPriceManuallyAdjusted()Returnstrue
if this commerce order item is price manually adjusted.- Returns:
true
if this commerce order item is price manually adjusted;false
otherwise
-
setPriceManuallyAdjusted
void setPriceManuallyAdjusted(boolean priceManuallyAdjusted) Sets whether this commerce order item is price manually adjusted.- Parameters:
priceManuallyAdjusted
- the price manually adjusted of this commerce order item
-
getPriceOnApplication
boolean getPriceOnApplication()Returns the price on application of this commerce order item.- Returns:
- the price on application of this commerce order item
-
isPriceOnApplication
boolean isPriceOnApplication()Returnstrue
if this commerce order item is price on application.- Returns:
true
if this commerce order item is price on application;false
otherwise
-
setPriceOnApplication
void setPriceOnApplication(boolean priceOnApplication) Sets whether this commerce order item is price on application.- Parameters:
priceOnApplication
- the price on application of this commerce order item
-
getPrintedNote
Returns the printed note of this commerce order item.- Returns:
- the printed note of this commerce order item
-
setPrintedNote
Sets the printed note of this commerce order item.- Parameters:
printedNote
- the printed note of this commerce order item
-
getPromoPrice
BigDecimal getPromoPrice()Returns the promo price of this commerce order item.- Returns:
- the promo price of this commerce order item
-
setPromoPrice
Sets the promo price of this commerce order item.- Parameters:
promoPrice
- the promo price of this commerce order item
-
getPromoPriceWithTaxAmount
BigDecimal getPromoPriceWithTaxAmount()Returns the promo price with tax amount of this commerce order item.- Returns:
- the promo price with tax amount of this commerce order item
-
setPromoPriceWithTaxAmount
Sets the promo price with tax amount of this commerce order item.- Parameters:
promoPriceWithTaxAmount
- the promo price with tax amount of this commerce order item
-
getQuantity
BigDecimal getQuantity()Returns the quantity of this commerce order item.- Returns:
- the quantity of this commerce order item
-
setQuantity
Sets the quantity of this commerce order item.- Parameters:
quantity
- the quantity of this commerce order item
-
getReplacedCPInstanceId
long getReplacedCPInstanceId()Returns the replaced cp instance ID of this commerce order item.- Returns:
- the replaced cp instance ID of this commerce order item
-
setReplacedCPInstanceId
void setReplacedCPInstanceId(long replacedCPInstanceId) Sets the replaced cp instance ID of this commerce order item.- Parameters:
replacedCPInstanceId
- the replaced cp instance ID of this commerce order item
-
getReplacedSku
Returns the replaced sku of this commerce order item.- Returns:
- the replaced sku of this commerce order item
-
setReplacedSku
Sets the replaced sku of this commerce order item.- Parameters:
replacedSku
- the replaced sku of this commerce order item
-
getRequestedDeliveryDate
Date getRequestedDeliveryDate()Returns the requested delivery date of this commerce order item.- Returns:
- the requested delivery date of this commerce order item
-
setRequestedDeliveryDate
Sets the requested delivery date of this commerce order item.- Parameters:
requestedDeliveryDate
- the requested delivery date of this commerce order item
-
getShipSeparately
boolean getShipSeparately()Returns the ship separately of this commerce order item.- Returns:
- the ship separately of this commerce order item
-
isShipSeparately
boolean isShipSeparately()Returnstrue
if this commerce order item is ship separately.- Returns:
true
if this commerce order item is ship separately;false
otherwise
-
setShipSeparately
void setShipSeparately(boolean shipSeparately) Sets whether this commerce order item is ship separately.- Parameters:
shipSeparately
- the ship separately of this commerce order item
-
getShippable
boolean getShippable()Returns the shippable of this commerce order item.- Returns:
- the shippable of this commerce order item
-
isShippable
boolean isShippable()Returnstrue
if this commerce order item is shippable.- Returns:
true
if this commerce order item is shippable;false
otherwise
-
setShippable
void setShippable(boolean shippable) Sets whether this commerce order item is shippable.- Parameters:
shippable
- the shippable of this commerce order item
-
getShippedQuantity
BigDecimal getShippedQuantity()Returns the shipped quantity of this commerce order item.- Returns:
- the shipped quantity of this commerce order item
-
setShippedQuantity
Sets the shipped quantity of this commerce order item.- Parameters:
shippedQuantity
- the shipped quantity of this commerce order item
-
getShippingExtraPrice
double getShippingExtraPrice()Returns the shipping extra price of this commerce order item.- Returns:
- the shipping extra price of this commerce order item
-
setShippingExtraPrice
void setShippingExtraPrice(double shippingExtraPrice) Sets the shipping extra price of this commerce order item.- Parameters:
shippingExtraPrice
- the shipping extra price of this commerce order item
-
getSku
Returns the sku of this commerce order item.- Returns:
- the sku of this commerce order item
-
setSku
Sets the sku of this commerce order item.- Parameters:
sku
- the sku of this commerce order item
-
getSubscription
boolean getSubscription()Returns the subscription of this commerce order item.- Returns:
- the subscription of this commerce order item
-
isSubscription
boolean isSubscription()Returnstrue
if this commerce order item is subscription.- Returns:
true
if this commerce order item is subscription;false
otherwise
-
setSubscription
void setSubscription(boolean subscription) Sets whether this commerce order item is subscription.- Parameters:
subscription
- the subscription of this commerce order item
-
getSubscriptionLength
int getSubscriptionLength()Returns the subscription length of this commerce order item.- Returns:
- the subscription length of this commerce order item
-
setSubscriptionLength
void setSubscriptionLength(int subscriptionLength) Sets the subscription length of this commerce order item.- Parameters:
subscriptionLength
- the subscription length of this commerce order item
-
getSubscriptionType
Returns the subscription type of this commerce order item.- Returns:
- the subscription type of this commerce order item
-
setSubscriptionType
Sets the subscription type of this commerce order item.- Parameters:
subscriptionType
- the subscription type of this commerce order item
-
getSubscriptionTypeSettings
Returns the subscription type settings of this commerce order item.- Returns:
- the subscription type settings of this commerce order item
-
setSubscriptionTypeSettings
Sets the subscription type settings of this commerce order item.- Parameters:
subscriptionTypeSettings
- the subscription type settings of this commerce order item
-
getUnitOfMeasureIncrementalOrderQuantity
BigDecimal getUnitOfMeasureIncrementalOrderQuantity()Returns the unit of measure incremental order quantity of this commerce order item.- Returns:
- the unit of measure incremental order quantity of this commerce order item
-
setUnitOfMeasureIncrementalOrderQuantity
Sets the unit of measure incremental order quantity of this commerce order item.- Parameters:
unitOfMeasureIncrementalOrderQuantity
- the unit of measure incremental order quantity of this commerce order item
-
getUnitOfMeasureKey
Returns the unit of measure key of this commerce order item.- Returns:
- the unit of measure key of this commerce order item
-
setUnitOfMeasureKey
Sets the unit of measure key of this commerce order item.- Parameters:
unitOfMeasureKey
- the unit of measure key of this commerce order item
-
getUnitPrice
BigDecimal getUnitPrice()Returns the unit price of this commerce order item.- Returns:
- the unit price of this commerce order item
-
setUnitPrice
Sets the unit price of this commerce order item.- Parameters:
unitPrice
- the unit price of this commerce order item
-
getUnitPriceWithTaxAmount
BigDecimal getUnitPriceWithTaxAmount()Returns the unit price with tax amount of this commerce order item.- Returns:
- the unit price with tax amount of this commerce order item
-
setUnitPriceWithTaxAmount
Sets the unit price with tax amount of this commerce order item.- Parameters:
unitPriceWithTaxAmount
- the unit price with tax amount of this commerce order item
-
getWeight
double getWeight()Returns the weight of this commerce order item.- Returns:
- the weight of this commerce order item
-
setWeight
void setWeight(double weight) Sets the weight of this commerce order item.- Parameters:
weight
- the weight of this commerce order item
-
getWidth
double getWidth()Returns the width of this commerce order item.- Returns:
- the width of this commerce order item
-
setWidth
void setWidth(double width) Sets the width of this commerce order item.- Parameters:
width
- the width of this commerce order item
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
CommerceOrderItem cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>
-
toXmlString
-