@ProviderType public interface CommerceOrderItemModel extends com.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
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
.
CommerceOrderItem
Modifier and Type | Method and Description |
---|---|
CommerceOrderItem |
cloneWithOriginalValues() |
java.lang.String[] |
getAvailableLanguageIds() |
long |
getBookedQuantityId()
Returns the booked quantity ID of this commerce order item.
|
long |
getCommerceOrderId()
Returns the commerce order ID of this commerce order item.
|
long |
getCommerceOrderItemId()
Returns the commerce order item ID of this commerce order item.
|
long |
getCommercePriceListId()
Returns the commerce price list ID of this commerce order item.
|
long |
getCompanyId()
Returns the company ID of this commerce order item.
|
long |
getCPInstanceId()
Returns the cp instance ID of this commerce order item.
|
long |
getCPMeasurementUnitId()
Returns the cp measurement unit ID of this commerce order item.
|
long |
getCProductId()
Returns the c product ID of this commerce order item.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce order item.
|
java.math.BigDecimal |
getDecimalQuantity()
Returns the decimal quantity of this commerce order item.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDeliveryGroup()
Returns the delivery group of this commerce order item.
|
long |
getDeliveryMaxSubscriptionCycles()
Returns the delivery max subscription cycles of this commerce order item.
|
int |
getDeliverySubscriptionLength()
Returns the delivery subscription length of this commerce order item.
|
java.lang.String |
getDeliverySubscriptionType()
Returns the delivery subscription type of this commerce order item.
|
java.lang.String |
getDeliverySubscriptionTypeSettings()
Returns the delivery subscription type settings of this commerce order item.
|
double |
getDepth()
Returns the depth of this commerce order item.
|
java.math.BigDecimal |
getDiscountAmount()
Returns the discount amount of this commerce order item.
|
java.math.BigDecimal |
getDiscountPercentageLevel1()
Returns the discount percentage level1 of this commerce order item.
|
java.math.BigDecimal |
getDiscountPercentageLevel1WithTaxAmount()
Returns the discount percentage level1 with tax amount of this commerce order item.
|
java.math.BigDecimal |
getDiscountPercentageLevel2()
Returns the discount percentage level2 of this commerce order item.
|
java.math.BigDecimal |
getDiscountPercentageLevel2WithTaxAmount()
Returns the discount percentage level2 with tax amount of this commerce order item.
|
java.math.BigDecimal |
getDiscountPercentageLevel3()
Returns the discount percentage level3 of this commerce order item.
|
java.math.BigDecimal |
getDiscountPercentageLevel3WithTaxAmount()
Returns the discount percentage level3 with tax amount of this commerce order item.
|
java.math.BigDecimal |
getDiscountPercentageLevel4()
Returns the discount percentage level4 of this commerce order item.
|
java.math.BigDecimal |
getDiscountPercentageLevel4WithTaxAmount()
Returns the discount percentage level4 with tax amount of this commerce order item.
|
java.math.BigDecimal |
getDiscountWithTaxAmount()
Returns the discount with tax amount of this commerce order item.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce order item.
|
java.math.BigDecimal |
getFinalPrice()
Returns the final price of this commerce order item.
|
java.math.BigDecimal |
getFinalPriceWithTaxAmount()
Returns the final price with tax amount of this commerce order item.
|
boolean |
getFreeShipping()
Returns the free shipping of this commerce order item.
|
long |
getGroupId()
Returns the group ID of this commerce order item.
|
double |
getHeight()
Returns the height of this commerce order item.
|
java.lang.String |
getJson()
Returns the json of this commerce order item.
|
boolean |
getManuallyAdjusted()
Returns the manually adjusted of this commerce order item.
|
long |
getMaxSubscriptionCycles()
Returns the max subscription cycles of this commerce order item.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce order item.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce order item.
|
java.lang.String |
getName()
Returns the name of this commerce order item.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this commerce order item in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
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.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this commerce order item in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
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.
|
java.lang.String |
getNameCurrentLanguageId() |
java.lang.String |
getNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getNameMap()
Returns a map of the locales and localized names of this commerce order item.
|
long |
getParentCommerceOrderItemId()
Returns the parent commerce order item ID of this commerce order item.
|
long |
getPrimaryKey()
Returns the primary key of this commerce order item.
|
java.lang.String |
getPrintedNote()
Returns the printed note of this commerce order item.
|
java.math.BigDecimal |
getPromoPrice()
Returns the promo price of this commerce order item.
|
java.math.BigDecimal |
getPromoPriceWithTaxAmount()
Returns the promo price with tax amount of this commerce order item.
|
int |
getQuantity()
Returns the quantity of this commerce order item.
|
java.util.Date |
getRequestedDeliveryDate()
Returns the requested delivery date of this commerce order item.
|
boolean |
getShippable()
Returns the shippable of this commerce order item.
|
int |
getShippedQuantity()
Returns the shipped quantity of this commerce order item.
|
long |
getShippingAddressId()
Returns the shipping address ID of this commerce order item.
|
double |
getShippingExtraPrice()
Returns the shipping extra price of this commerce order item.
|
boolean |
getShipSeparately()
Returns the ship separately of this commerce order item.
|
java.lang.String |
getSku()
Returns the sku of this commerce order item.
|
boolean |
getSubscription()
Returns the subscription of this commerce order item.
|
int |
getSubscriptionLength()
Returns the subscription length of this commerce order item.
|
java.lang.String |
getSubscriptionType()
Returns the subscription type of this commerce order item.
|
java.lang.String |
getSubscriptionTypeSettings()
Returns the subscription type settings of this commerce order item.
|
java.math.BigDecimal |
getUnitPrice()
Returns the unit price of this commerce order item.
|
java.math.BigDecimal |
getUnitPriceWithTaxAmount()
Returns the unit price with tax amount of this commerce order item.
|
long |
getUserId()
Returns the user ID of this commerce order item.
|
java.lang.String |
getUserName()
Returns the user name of this commerce order item.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce order item.
|
double |
getWeight()
Returns the weight of this commerce order item.
|
double |
getWidth()
Returns the width of this commerce order item.
|
boolean |
isFreeShipping()
Returns
true if this commerce order item is free shipping. |
boolean |
isManuallyAdjusted()
Returns
true if this commerce order item is manually adjusted. |
boolean |
isShippable()
Returns
true if this commerce order item is shippable. |
boolean |
isShipSeparately()
Returns
true if this commerce order item is ship separately. |
boolean |
isSubscription()
Returns
true if this commerce order item is subscription. |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setBookedQuantityId(long bookedQuantityId)
Sets the 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(java.util.Date createDate)
Sets the create date of this commerce order item.
|
void |
setDecimalQuantity(java.math.BigDecimal decimalQuantity)
Sets the decimal quantity of this commerce order item.
|
void |
setDeliveryGroup(java.lang.String deliveryGroup)
Sets the delivery group 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(java.lang.String deliverySubscriptionType)
Sets the delivery subscription type of this commerce order item.
|
void |
setDeliverySubscriptionTypeSettings(java.lang.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(java.math.BigDecimal discountAmount)
Sets the discount amount of this commerce order item.
|
void |
setDiscountPercentageLevel1(java.math.BigDecimal discountPercentageLevel1)
Sets the discount percentage level1 of this commerce order item.
|
void |
setDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal discountPercentageLevel1WithTaxAmount)
Sets the discount percentage level1 with tax amount of this commerce order item.
|
void |
setDiscountPercentageLevel2(java.math.BigDecimal discountPercentageLevel2)
Sets the discount percentage level2 of this commerce order item.
|
void |
setDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal discountPercentageLevel2WithTaxAmount)
Sets the discount percentage level2 with tax amount of this commerce order item.
|
void |
setDiscountPercentageLevel3(java.math.BigDecimal discountPercentageLevel3)
Sets the discount percentage level3 of this commerce order item.
|
void |
setDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal discountPercentageLevel3WithTaxAmount)
Sets the discount percentage level3 with tax amount of this commerce order item.
|
void |
setDiscountPercentageLevel4(java.math.BigDecimal discountPercentageLevel4)
Sets the discount percentage level4 of this commerce order item.
|
void |
setDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal discountPercentageLevel4WithTaxAmount)
Sets the discount percentage level4 with tax amount of this commerce order item.
|
void |
setDiscountWithTaxAmount(java.math.BigDecimal discountWithTaxAmount)
Sets the discount with tax amount of this commerce order item.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce order item.
|
void |
setFinalPrice(java.math.BigDecimal finalPrice)
Sets the final price of this commerce order item.
|
void |
setFinalPriceWithTaxAmount(java.math.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 |
setJson(java.lang.String json)
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(java.util.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 |
setName(java.lang.String name)
Sets the name of this commerce order item.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this commerce order item in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this commerce order item in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(java.lang.String languageId) |
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Sets the localized names of this commerce order item from the map of locales and localized names.
|
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.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 |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce order item.
|
void |
setPrintedNote(java.lang.String printedNote)
Sets the printed note of this commerce order item.
|
void |
setPromoPrice(java.math.BigDecimal promoPrice)
Sets the promo price of this commerce order item.
|
void |
setPromoPriceWithTaxAmount(java.math.BigDecimal promoPriceWithTaxAmount)
Sets the promo price with tax amount of this commerce order item.
|
void |
setQuantity(int quantity)
Sets the quantity of this commerce order item.
|
void |
setRequestedDeliveryDate(java.util.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(int 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 |
setSku(java.lang.String sku)
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(java.lang.String subscriptionType)
Sets the subscription type of this commerce order item.
|
void |
setSubscriptionTypeSettings(java.lang.String subscriptionTypeSettings)
Sets the subscription type settings of this commerce order item.
|
void |
setUnitPrice(java.math.BigDecimal unitPrice)
Sets the unit price of this commerce order item.
|
void |
setUnitPriceWithTaxAmount(java.math.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(java.lang.String userName)
Sets the user name of this commerce order item.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user 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.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this commerce order itemlong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce order item@AutoEscape java.lang.String getExternalReferenceCode()
void setExternalReferenceCode(java.lang.String externalReferenceCode)
externalReferenceCode
- the external reference code of this commerce order itemlong getCommerceOrderItemId()
void setCommerceOrderItemId(long commerceOrderItemId)
commerceOrderItemId
- the commerce order item ID of this commerce order itemlong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this commerce order itemlong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this commerce order itemlong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce order itemjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce order item@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce order itemjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce order itemjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce order itemlong getBookedQuantityId()
void setBookedQuantityId(long bookedQuantityId)
bookedQuantityId
- the booked quantity ID of this commerce order itemlong getCommerceOrderId()
void setCommerceOrderId(long commerceOrderId)
commerceOrderId
- the commerce order ID of this commerce order itemlong getCommercePriceListId()
void setCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list ID of this commerce order itemlong getCPInstanceId()
void setCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance ID of this commerce order itemlong getCPMeasurementUnitId()
void setCPMeasurementUnitId(long CPMeasurementUnitId)
CPMeasurementUnitId
- the cp measurement unit ID of this commerce order itemlong getCProductId()
void setCProductId(long CProductId)
CProductId
- the c product ID of this commerce order itemlong getParentCommerceOrderItemId()
void setParentCommerceOrderItemId(long parentCommerceOrderItemId)
parentCommerceOrderItemId
- the parent commerce order item ID of this commerce order itemjava.math.BigDecimal getDecimalQuantity()
void setDecimalQuantity(java.math.BigDecimal decimalQuantity)
decimalQuantity
- the decimal quantity of this commerce order item@AutoEscape java.lang.String getDeliveryGroup()
void setDeliveryGroup(java.lang.String deliveryGroup)
deliveryGroup
- the delivery group of this commerce order itemlong getDeliveryMaxSubscriptionCycles()
void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles)
deliveryMaxSubscriptionCycles
- the delivery max subscription cycles of this commerce order itemint getDeliverySubscriptionLength()
void setDeliverySubscriptionLength(int deliverySubscriptionLength)
deliverySubscriptionLength
- the delivery subscription length of this commerce order item@AutoEscape java.lang.String getDeliverySubscriptionType()
void setDeliverySubscriptionType(java.lang.String deliverySubscriptionType)
deliverySubscriptionType
- the delivery subscription type of this commerce order item@AutoEscape java.lang.String getDeliverySubscriptionTypeSettings()
void setDeliverySubscriptionTypeSettings(java.lang.String deliverySubscriptionTypeSettings)
deliverySubscriptionTypeSettings
- the delivery subscription type settings of this commerce order itemdouble getDepth()
void setDepth(double depth)
depth
- the depth of this commerce order itemjava.math.BigDecimal getDiscountAmount()
void setDiscountAmount(java.math.BigDecimal discountAmount)
discountAmount
- the discount amount of this commerce order itemjava.math.BigDecimal getDiscountPercentageLevel1()
void setDiscountPercentageLevel1(java.math.BigDecimal discountPercentageLevel1)
discountPercentageLevel1
- the discount percentage level1 of this commerce order itemjava.math.BigDecimal getDiscountPercentageLevel2()
void setDiscountPercentageLevel2(java.math.BigDecimal discountPercentageLevel2)
discountPercentageLevel2
- the discount percentage level2 of this commerce order itemjava.math.BigDecimal getDiscountPercentageLevel3()
void setDiscountPercentageLevel3(java.math.BigDecimal discountPercentageLevel3)
discountPercentageLevel3
- the discount percentage level3 of this commerce order itemjava.math.BigDecimal getDiscountPercentageLevel4()
void setDiscountPercentageLevel4(java.math.BigDecimal discountPercentageLevel4)
discountPercentageLevel4
- the discount percentage level4 of this commerce order itemjava.math.BigDecimal getDiscountPercentageLevel1WithTaxAmount()
void setDiscountPercentageLevel1WithTaxAmount(java.math.BigDecimal discountPercentageLevel1WithTaxAmount)
discountPercentageLevel1WithTaxAmount
- the discount percentage level1 with tax amount of this commerce order itemjava.math.BigDecimal getDiscountPercentageLevel2WithTaxAmount()
void setDiscountPercentageLevel2WithTaxAmount(java.math.BigDecimal discountPercentageLevel2WithTaxAmount)
discountPercentageLevel2WithTaxAmount
- the discount percentage level2 with tax amount of this commerce order itemjava.math.BigDecimal getDiscountPercentageLevel3WithTaxAmount()
void setDiscountPercentageLevel3WithTaxAmount(java.math.BigDecimal discountPercentageLevel3WithTaxAmount)
discountPercentageLevel3WithTaxAmount
- the discount percentage level3 with tax amount of this commerce order itemjava.math.BigDecimal getDiscountPercentageLevel4WithTaxAmount()
void setDiscountPercentageLevel4WithTaxAmount(java.math.BigDecimal discountPercentageLevel4WithTaxAmount)
discountPercentageLevel4WithTaxAmount
- the discount percentage level4 with tax amount of this commerce order itemjava.math.BigDecimal getDiscountWithTaxAmount()
void setDiscountWithTaxAmount(java.math.BigDecimal discountWithTaxAmount)
discountWithTaxAmount
- the discount with tax amount of this commerce order itemjava.math.BigDecimal getFinalPrice()
void setFinalPrice(java.math.BigDecimal finalPrice)
finalPrice
- the final price of this commerce order itemjava.math.BigDecimal getFinalPriceWithTaxAmount()
void setFinalPriceWithTaxAmount(java.math.BigDecimal finalPriceWithTaxAmount)
finalPriceWithTaxAmount
- the final price with tax amount of this commerce order itemboolean getFreeShipping()
boolean isFreeShipping()
true
if this commerce order item is free shipping.true
if this commerce order item is free shipping; false
otherwisevoid setFreeShipping(boolean freeShipping)
freeShipping
- the free shipping of this commerce order itemdouble getHeight()
void setHeight(double height)
height
- the height of this commerce order item@AutoEscape java.lang.String getJson()
void setJson(java.lang.String json)
json
- the json of this commerce order itemboolean getManuallyAdjusted()
boolean isManuallyAdjusted()
true
if this commerce order item is manually adjusted.true
if this commerce order item is manually adjusted; false
otherwisevoid setManuallyAdjusted(boolean manuallyAdjusted)
manuallyAdjusted
- the manually adjusted of this commerce order itemlong getMaxSubscriptionCycles()
void setMaxSubscriptionCycles(long maxSubscriptionCycles)
maxSubscriptionCycles
- the max subscription cycles of this commerce order itemjava.lang.String getName()
@AutoEscape java.lang.String getName(java.util.Locale locale)
locale
- the locale of the language@AutoEscape java.lang.String getName(java.util.Locale locale, boolean useDefault)
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getName(java.lang.String languageId)
languageId
- the ID of the language@AutoEscape java.lang.String getName(java.lang.String languageId, boolean useDefault)
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getNameCurrentLanguageId()
@AutoEscape java.lang.String getNameCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getNameMap()
void setName(java.lang.String name)
name
- the name of this commerce order itemvoid setName(java.lang.String name, java.util.Locale locale)
name
- the localized name of this commerce order itemlocale
- the locale of the languagevoid setName(java.lang.String name, java.util.Locale locale, java.util.Locale defaultLocale)
name
- the localized name of this commerce order itemlocale
- the locale of the languagedefaultLocale
- the default localevoid setNameCurrentLanguageId(java.lang.String languageId)
void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
nameMap
- the locales and localized names of this commerce order itemvoid setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Locale defaultLocale)
nameMap
- the locales and localized names of this commerce order itemdefaultLocale
- the default locale@AutoEscape java.lang.String getPrintedNote()
void setPrintedNote(java.lang.String printedNote)
printedNote
- the printed note of this commerce order itemjava.math.BigDecimal getPromoPrice()
void setPromoPrice(java.math.BigDecimal promoPrice)
promoPrice
- the promo price of this commerce order itemjava.math.BigDecimal getPromoPriceWithTaxAmount()
void setPromoPriceWithTaxAmount(java.math.BigDecimal promoPriceWithTaxAmount)
promoPriceWithTaxAmount
- the promo price with tax amount of this commerce order itemint getQuantity()
void setQuantity(int quantity)
quantity
- the quantity of this commerce order itemjava.util.Date getRequestedDeliveryDate()
void setRequestedDeliveryDate(java.util.Date requestedDeliveryDate)
requestedDeliveryDate
- the requested delivery date of this commerce order itemlong getShippingAddressId()
void setShippingAddressId(long shippingAddressId)
shippingAddressId
- the shipping address ID of this commerce order itemboolean getShipSeparately()
boolean isShipSeparately()
true
if this commerce order item is ship separately.true
if this commerce order item is ship separately; false
otherwisevoid setShipSeparately(boolean shipSeparately)
shipSeparately
- the ship separately of this commerce order itemboolean getShippable()
boolean isShippable()
true
if this commerce order item is shippable.true
if this commerce order item is shippable; false
otherwisevoid setShippable(boolean shippable)
shippable
- the shippable of this commerce order itemint getShippedQuantity()
void setShippedQuantity(int shippedQuantity)
shippedQuantity
- the shipped quantity of this commerce order itemdouble getShippingExtraPrice()
void setShippingExtraPrice(double shippingExtraPrice)
shippingExtraPrice
- the shipping extra price of this commerce order item@AutoEscape java.lang.String getSku()
void setSku(java.lang.String sku)
sku
- the sku of this commerce order itemboolean getSubscription()
boolean isSubscription()
true
if this commerce order item is subscription.true
if this commerce order item is subscription; false
otherwisevoid setSubscription(boolean subscription)
subscription
- the subscription of this commerce order itemint getSubscriptionLength()
void setSubscriptionLength(int subscriptionLength)
subscriptionLength
- the subscription length of this commerce order item@AutoEscape java.lang.String getSubscriptionType()
void setSubscriptionType(java.lang.String subscriptionType)
subscriptionType
- the subscription type of this commerce order item@AutoEscape java.lang.String getSubscriptionTypeSettings()
void setSubscriptionTypeSettings(java.lang.String subscriptionTypeSettings)
subscriptionTypeSettings
- the subscription type settings of this commerce order itemjava.math.BigDecimal getUnitPrice()
void setUnitPrice(java.math.BigDecimal unitPrice)
unitPrice
- the unit price of this commerce order itemjava.math.BigDecimal getUnitPriceWithTaxAmount()
void setUnitPriceWithTaxAmount(java.math.BigDecimal unitPriceWithTaxAmount)
unitPriceWithTaxAmount
- the unit price with tax amount of this commerce order itemdouble getWeight()
void setWeight(double weight)
weight
- the weight of this commerce order itemdouble getWidth()
void setWidth(double width)
width
- the width of this commerce order itemjava.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
CommerceOrderItem cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>