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[]longReturns the commerce inventory booked quantity ID of this commerce order item.longReturns the commerce order ID of this commerce order item.longReturns the commerce order item ID of this commerce order item.longReturns the commerce price list ID of this commerce order item.longReturns the company ID of this commerce order item.longReturns the cp instance ID of this commerce order item.longReturns the cp measurement unit ID of this commerce order item.longReturns the c product ID of this commerce order item.Returns the create date of this commerce order item.longReturns the customer commerce order item ID of this commerce order item.Returns the delivery group name of this commerce order item.longReturns the delivery max subscription cycles of this commerce order item.intReturns 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.doublegetDepth()Returns the depth of this commerce order item.Returns the discount amount of this commerce order item.booleanReturns 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.booleanReturns the free shipping of this commerce order item.longReturns the group ID of this commerce order item.doubleReturns the height of this commerce order item.getJson()Returns the json of this commerce order item.booleanReturns the manually adjusted of this commerce order item.longReturns the max subscription cycles of this commerce order item.Returns the modified date of this commerce order item.longReturns 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.longReturns the parent commerce order item ID of this commerce order item.booleanReturns the price manually adjusted of this commerce order item.booleanReturns the price on application of this commerce order item.longReturns 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.longReturns 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.booleanReturns the shippable of this commerce order item.Returns the shipped quantity of this commerce order item.longReturns the shipping address ID of this commerce order item.doubleReturns the shipping extra price of this commerce order item.booleanReturns the ship separately of this commerce order item.getSku()Returns the sku of this commerce order item.booleanReturns the subscription of this commerce order item.intReturns 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.longReturns 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.doubleReturns the weight of this commerce order item.doublegetWidth()Returns the width of this commerce order item.booleanReturnstrueif this commerce order item is discount manually adjusted.booleanReturnstrueif this commerce order item is free shipping.booleanReturnstrueif this commerce order item is manually adjusted.booleanReturnstrueif this commerce order item is price manually adjusted.booleanReturnstrueif this commerce order item is price on application.booleanReturnstrueif this commerce order item is shippable.booleanReturnstrueif this commerce order item is ship separately.booleanReturnstrueif this commerce order item is subscription.voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId) Sets the commerce inventory booked quantity ID of this commerce order item.voidsetCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce order item.voidsetCommerceOrderItemId(long commerceOrderItemId) Sets the commerce order item ID of this commerce order item.voidsetCommercePriceListId(long commercePriceListId) Sets the commerce price list ID of this commerce order item.voidsetCompanyId(long companyId) Sets the company ID of this commerce order item.voidsetCPInstanceId(long CPInstanceId) Sets the cp instance ID of this commerce order item.voidsetCPMeasurementUnitId(long CPMeasurementUnitId) Sets the cp measurement unit ID of this commerce order item.voidsetCProductId(long CProductId) Sets the c product ID of this commerce order item.voidsetCreateDate(Date createDate) Sets the create date of this commerce order item.voidsetCustomerCommerceOrderItemId(long customerCommerceOrderItemId) Sets the customer commerce order item ID of this commerce order item.voidsetDeliveryGroupName(String deliveryGroupName) Sets the delivery group name of this commerce order item.voidsetDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this commerce order item.voidsetDeliverySubscriptionLength(int deliverySubscriptionLength) Sets the delivery subscription length of this commerce order item.voidsetDeliverySubscriptionType(String deliverySubscriptionType) Sets the delivery subscription type of this commerce order item.voidsetDeliverySubscriptionTypeSettings(String deliverySubscriptionTypeSettings) Sets the delivery subscription type settings of this commerce order item.voidsetDepth(double depth) Sets the depth of this commerce order item.voidsetDiscountAmount(BigDecimal discountAmount) Sets the discount amount of this commerce order item.voidsetDiscountManuallyAdjusted(boolean discountManuallyAdjusted) Sets whether this commerce order item is discount manually adjusted.voidsetDiscountPercentageLevel1(BigDecimal discountPercentageLevel1) Sets the discount percentage level1 of this commerce order item.voidsetDiscountPercentageLevel1WithTaxAmount(BigDecimal discountPercentageLevel1WithTaxAmount) Sets the discount percentage level1 with tax amount of this commerce order item.voidsetDiscountPercentageLevel2(BigDecimal discountPercentageLevel2) Sets the discount percentage level2 of this commerce order item.voidsetDiscountPercentageLevel2WithTaxAmount(BigDecimal discountPercentageLevel2WithTaxAmount) Sets the discount percentage level2 with tax amount of this commerce order item.voidsetDiscountPercentageLevel3(BigDecimal discountPercentageLevel3) Sets the discount percentage level3 of this commerce order item.voidsetDiscountPercentageLevel3WithTaxAmount(BigDecimal discountPercentageLevel3WithTaxAmount) Sets the discount percentage level3 with tax amount of this commerce order item.voidsetDiscountPercentageLevel4(BigDecimal discountPercentageLevel4) Sets the discount percentage level4 of this commerce order item.voidsetDiscountPercentageLevel4WithTaxAmount(BigDecimal discountPercentageLevel4WithTaxAmount) Sets the discount percentage level4 with tax amount of this commerce order item.voidsetDiscountWithTaxAmount(BigDecimal discountWithTaxAmount) Sets the discount with tax amount of this commerce order item.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this commerce order item.voidsetFinalPrice(BigDecimal finalPrice) Sets the final price of this commerce order item.voidsetFinalPriceWithTaxAmount(BigDecimal finalPriceWithTaxAmount) Sets the final price with tax amount of this commerce order item.voidsetFreeShipping(boolean freeShipping) Sets whether this commerce order item is free shipping.voidsetGroupId(long groupId) Sets the group ID of this commerce order item.voidsetHeight(double height) Sets the height of this commerce order item.voidSets the json of this commerce order item.voidsetManuallyAdjusted(boolean manuallyAdjusted) Sets whether this commerce order item is manually adjusted.voidsetMaxSubscriptionCycles(long maxSubscriptionCycles) Sets the max subscription cycles of this commerce order item.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce order item.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce order item.voidSets the name of this commerce order item.voidSets the localized name of this commerce order item in the language.voidSets the localized name of this commerce order item in the language, and sets the default locale.voidsetNameCurrentLanguageId(String languageId) voidsetNameMap(Map<Locale, String> nameMap) Sets the localized names of this commerce order item from the map of locales and localized names.voidsetNameMap(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.voidsetParentCommerceOrderItemId(long parentCommerceOrderItemId) Sets the parent commerce order item ID of this commerce order item.voidsetPriceManuallyAdjusted(boolean priceManuallyAdjusted) Sets whether this commerce order item is price manually adjusted.voidsetPriceOnApplication(boolean priceOnApplication) Sets whether this commerce order item is price on application.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce order item.voidsetPrintedNote(String printedNote) Sets the printed note of this commerce order item.voidsetPromoPrice(BigDecimal promoPrice) Sets the promo price of this commerce order item.voidsetPromoPriceWithTaxAmount(BigDecimal promoPriceWithTaxAmount) Sets the promo price with tax amount of this commerce order item.voidsetQuantity(BigDecimal quantity) Sets the quantity of this commerce order item.voidsetReplacedCPInstanceId(long replacedCPInstanceId) Sets the replaced cp instance ID of this commerce order item.voidsetReplacedSku(String replacedSku) Sets the replaced sku of this commerce order item.voidsetRequestedDeliveryDate(Date requestedDeliveryDate) Sets the requested delivery date of this commerce order item.voidsetShippable(boolean shippable) Sets whether this commerce order item is shippable.voidsetShippedQuantity(BigDecimal shippedQuantity) Sets the shipped quantity of this commerce order item.voidsetShippingAddressId(long shippingAddressId) Sets the shipping address ID of this commerce order item.voidsetShippingExtraPrice(double shippingExtraPrice) Sets the shipping extra price of this commerce order item.voidsetShipSeparately(boolean shipSeparately) Sets whether this commerce order item is ship separately.voidSets the sku of this commerce order item.voidsetSubscription(boolean subscription) Sets whether this commerce order item is subscription.voidsetSubscriptionLength(int subscriptionLength) Sets the subscription length of this commerce order item.voidsetSubscriptionType(String subscriptionType) Sets the subscription type of this commerce order item.voidsetSubscriptionTypeSettings(String subscriptionTypeSettings) Sets the subscription type settings of this commerce order item.voidsetUnitOfMeasureIncrementalOrderQuantity(BigDecimal unitOfMeasureIncrementalOrderQuantity) Sets the unit of measure incremental order quantity of this commerce order item.voidsetUnitOfMeasureKey(String unitOfMeasureKey) Sets the unit of measure key of this commerce order item.voidsetUnitPrice(BigDecimal unitPrice) Sets the unit price of this commerce order item.voidsetUnitPriceWithTaxAmount(BigDecimal unitPriceWithTaxAmount) Sets the unit price with tax amount of this commerce order item.voidsetUserId(long userId) Sets the user ID of this commerce order item.voidsetUserName(String userName) Sets the user name of this commerce order item.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce order item.voidSets the uuid of this commerce order item.voidsetWeight(double weight) Sets the weight of this commerce order item.voidsetWidth(double width) Sets the width of this commerce order item.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods 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:
getMvccVersionin 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:
setMvccVersionin 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:
getUuidin 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:
setUuidin 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:
getExternalReferenceCodein 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:
setExternalReferenceCodein 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:
getGroupIdin 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:
setGroupIdin 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:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin 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:
getUserIdin 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:
setUserIdin 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:
getUserUuidin 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:
setUserUuidin 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:
getUserNamein 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:
setUserNamein 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:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein 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:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein 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:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein 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:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein 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()Returnstrueif this commerce order item is discount manually adjusted.- Returns:
trueif this commerce order item is discount manually adjusted;falseotherwise
-
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()Returnstrueif this commerce order item is free shipping.- Returns:
trueif this commerce order item is free shipping;falseotherwise
-
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()Returnstrueif this commerce order item is manually adjusted.- Returns:
trueif this commerce order item is manually adjusted;falseotherwise
-
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
useDefaultisfalseand 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()Returnstrueif this commerce order item is price manually adjusted.- Returns:
trueif this commerce order item is price manually adjusted;falseotherwise
-
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()Returnstrueif this commerce order item is price on application.- Returns:
trueif this commerce order item is price on application;falseotherwise
-
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()Returnstrueif this commerce order item is ship separately.- Returns:
trueif this commerce order item is ship separately;falseotherwise
-
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()Returnstrueif this commerce order item is shippable.- Returns:
trueif this commerce order item is shippable;falseotherwise
-
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()Returnstrueif this commerce order item is subscription.- Returns:
trueif this commerce order item is subscription;falseotherwise
-
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:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin 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:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
CommerceOrderItem cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>
-
toXmlString
-