@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.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 |
|---|---|
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 |
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.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDeliveryGroup()
Returns the delivery group 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.
|
long |
getGroupId()
Returns the group ID 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.
|
java.util.Date |
getModifiedDate()
Returns the modified date 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.
|
int |
getShippedQuantity()
Returns the shipped quantity of this commerce order item.
|
long |
getShippingAddressId()
Returns the shipping address ID 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.
|
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.
|
boolean |
isManuallyAdjusted()
Returns
true if this commerce order item is manually adjusted. |
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 |
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 |
setDeliveryGroup(java.lang.String deliveryGroup)
Sets the delivery group 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 |
setGroupId(long groupId)
Sets the group ID 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 |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date 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 |
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 |
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 |
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.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringlong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key 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.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce order itemlong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce order itemlong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce order itemjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce order item@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce order itemjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce order itemjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date 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 getCProductId()
void setCProductId(long CProductId)
CProductId - the c product ID of this commerce order itemlong getCPInstanceId()
void setCPInstanceId(long CPInstanceId)
CPInstanceId - the cp instance ID of this commerce order itemlong getParentCommerceOrderItemId()
void setParentCommerceOrderItemId(long parentCommerceOrderItemId)
parentCommerceOrderItemId - the parent commerce order item ID of this commerce order itemint getQuantity()
void setQuantity(int quantity)
quantity - the quantity of this commerce order itemint getShippedQuantity()
void setShippedQuantity(int shippedQuantity)
shippedQuantity - the shipped quantity of this commerce order item@AutoEscape java.lang.String getJson()
void setJson(java.lang.String json)
json - the json 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 getSku()
void setSku(java.lang.String sku)
sku - the sku 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 getPromoPrice()
void setPromoPrice(java.math.BigDecimal promoPrice)
promoPrice - the promo price 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 getFinalPrice()
void setFinalPrice(java.math.BigDecimal finalPrice)
finalPrice - the final price 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 getUnitPriceWithTaxAmount()
void setUnitPriceWithTaxAmount(java.math.BigDecimal unitPriceWithTaxAmount)
unitPriceWithTaxAmount - the unit price with tax amount 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 itemjava.math.BigDecimal getDiscountWithTaxAmount()
void setDiscountWithTaxAmount(java.math.BigDecimal discountWithTaxAmount)
discountWithTaxAmount - the discount with tax amount 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 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 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 item@AutoEscape java.lang.String getDeliveryGroup()
void setDeliveryGroup(java.lang.String deliveryGroup)
deliveryGroup - the delivery group of this commerce order itemlong getShippingAddressId()
void setShippingAddressId(long shippingAddressId)
shippingAddressId - the shipping address ID of this commerce order item@AutoEscape java.lang.String getPrintedNote()
void setPrintedNote(java.lang.String printedNote)
printedNote - the printed note of this commerce order itemjava.util.Date getRequestedDeliveryDate()
void setRequestedDeliveryDate(java.util.Date requestedDeliveryDate)
requestedDeliveryDate - the requested delivery date of this commerce order itemlong getBookedQuantityId()
void setBookedQuantityId(long bookedQuantityId)
bookedQuantityId - the booked quantity ID 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 itemjava.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModeljava.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelvoid prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionvoid prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleException