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 Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this commerce order item.
      Returns:
      the primary key of this commerce order item
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce order item.
      Parameters:
      primaryKey - the primary key of this commerce order item
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this commerce order item.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce order item
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce order item.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce order item
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this commerce order item.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce order item
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this commerce order item.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce order item
    • getExternalReferenceCode

      @AutoEscape String getExternalReferenceCode()
      Returns the external reference code of this commerce order item.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce order item
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this commerce order item.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this commerce order item
    • getCommerceOrderItemId

      long getCommerceOrderItemId()
      Returns the commerce order item ID of this commerce order item.
      Returns:
      the commerce order item ID of this commerce order item
    • setCommerceOrderItemId

      void setCommerceOrderItemId(long commerceOrderItemId)
      Sets the commerce order item ID of this commerce order item.
      Parameters:
      commerceOrderItemId - the commerce order item ID of this commerce order item
    • getGroupId

      long getGroupId()
      Returns the group ID of this commerce order item.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce order item
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this commerce order item.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce order item
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this commerce order item.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this commerce order item
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this commerce order item.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this commerce order item
    • getUserId

      long getUserId()
      Returns the user ID of this commerce order item.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this commerce order item
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this commerce order item.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this commerce order item
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this commerce order item.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this commerce order item
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this commerce order item.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this commerce order item
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this commerce order item.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this commerce order item
    • setUserName

      void setUserName(String userName)
      Sets the user name of this commerce order item.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this commerce order item
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this commerce order item.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce order item
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this commerce order item.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce order item
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this commerce order item.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce order item
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce order item.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.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

      @AutoEscape String getDeliveryGroupName()
      Returns the delivery group name of this commerce order item.
      Returns:
      the delivery group name of this commerce order item
    • setDeliveryGroupName

      void setDeliveryGroupName(String deliveryGroupName)
      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

      @AutoEscape String getDeliverySubscriptionType()
      Returns the delivery subscription type of this commerce order item.
      Returns:
      the delivery subscription type of this commerce order item
    • setDeliverySubscriptionType

      void setDeliverySubscriptionType(String deliverySubscriptionType)
      Sets the delivery subscription type of this commerce order item.
      Parameters:
      deliverySubscriptionType - the delivery subscription type of this commerce order item
    • getDeliverySubscriptionTypeSettings

      @AutoEscape String getDeliverySubscriptionTypeSettings()
      Returns the delivery subscription type settings of this commerce order item.
      Returns:
      the delivery subscription type settings of this commerce order item
    • setDeliverySubscriptionTypeSettings

      void setDeliverySubscriptionTypeSettings(String deliverySubscriptionTypeSettings)
      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

      void setDiscountAmount(BigDecimal discountAmount)
      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()
      Returns true if this commerce order item is discount manually adjusted.
      Returns:
      true if this commerce order item is discount manually adjusted; false otherwise
    • setDiscountManuallyAdjusted

      void setDiscountManuallyAdjusted(boolean discountManuallyAdjusted)
      Sets whether this commerce order item is discount manually adjusted.
      Parameters:
      discountManuallyAdjusted - the discount manually adjusted of this commerce order item
    • getDiscountPercentageLevel1

      BigDecimal getDiscountPercentageLevel1()
      Returns the discount percentage level1 of this commerce order item.
      Returns:
      the discount percentage level1 of this commerce order item
    • setDiscountPercentageLevel1

      void setDiscountPercentageLevel1(BigDecimal discountPercentageLevel1)
      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

      void setDiscountPercentageLevel2(BigDecimal discountPercentageLevel2)
      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

      void setDiscountPercentageLevel3(BigDecimal discountPercentageLevel3)
      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

      void setDiscountPercentageLevel4(BigDecimal discountPercentageLevel4)
      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

      void setDiscountPercentageLevel1WithTaxAmount(BigDecimal discountPercentageLevel1WithTaxAmount)
      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

      void setDiscountPercentageLevel2WithTaxAmount(BigDecimal discountPercentageLevel2WithTaxAmount)
      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

      void setDiscountPercentageLevel3WithTaxAmount(BigDecimal discountPercentageLevel3WithTaxAmount)
      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

      void setDiscountPercentageLevel4WithTaxAmount(BigDecimal discountPercentageLevel4WithTaxAmount)
      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

      void setDiscountWithTaxAmount(BigDecimal discountWithTaxAmount)
      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

      void setFinalPrice(BigDecimal finalPrice)
      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

      void setFinalPriceWithTaxAmount(BigDecimal finalPriceWithTaxAmount)
      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()
      Returns true if this commerce order item is free shipping.
      Returns:
      true if this commerce order item is free shipping; false otherwise
    • setFreeShipping

      void setFreeShipping(boolean freeShipping)
      Sets whether this commerce order item is free shipping.
      Parameters:
      freeShipping - the free shipping of this commerce order item
    • getHeight

      double getHeight()
      Returns the height of this commerce order item.
      Returns:
      the height of this commerce order item
    • setHeight

      void setHeight(double height)
      Sets the height of this commerce order item.
      Parameters:
      height - the height of this commerce order item
    • getJson

      @AutoEscape String getJson()
      Returns the json of this commerce order item.
      Returns:
      the json of this commerce order item
    • setJson

      void setJson(String json)
      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()
      Returns true if this commerce order item is manually adjusted.
      Returns:
      true if this commerce order item is manually adjusted; false otherwise
    • setManuallyAdjusted

      void setManuallyAdjusted(boolean manuallyAdjusted)
      Sets whether this commerce order item is manually adjusted.
      Parameters:
      manuallyAdjusted - the manually adjusted of this commerce order item
    • getMaxSubscriptionCycles

      long getMaxSubscriptionCycles()
      Returns the max subscription cycles of this commerce order item.
      Returns:
      the max subscription cycles of this commerce order item
    • setMaxSubscriptionCycles

      void setMaxSubscriptionCycles(long maxSubscriptionCycles)
      Sets the max subscription cycles of this commerce order item.
      Parameters:
      maxSubscriptionCycles - the max subscription cycles of this commerce order item
    • getName

      String getName()
      Returns the name of this commerce order item.
      Returns:
      the name of this commerce order item
    • getName

      @AutoEscape String getName(Locale locale)
      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

      @AutoEscape String getName(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.
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized name of this commerce order item. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getName

      @AutoEscape String getName(String languageId)
      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

      @AutoEscape String getName(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.
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized name of this commerce order item
    • getNameCurrentLanguageId

      @AutoEscape String getNameCurrentLanguageId()
    • getNameCurrentValue

      @AutoEscape String getNameCurrentValue()
    • getNameMap

      Map<Locale,String> 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

      void setName(String name)
      Sets the name of this commerce order item.
      Parameters:
      name - the name of this commerce order item
    • setName

      void setName(String name, Locale locale)
      Sets the localized name of this commerce order item in the language.
      Parameters:
      name - the localized name of this commerce order item
      locale - the locale of the language
    • setName

      void setName(String name, Locale locale, Locale defaultLocale)
      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 item
      locale - the locale of the language
      defaultLocale - the default locale
    • setNameCurrentLanguageId

      void setNameCurrentLanguageId(String languageId)
    • setNameMap

      void setNameMap(Map<Locale,String> nameMap)
      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

      void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
      Sets the localized names of this commerce order item from the map of locales and localized names, and sets the default locale.
      Parameters:
      nameMap - the locales and localized names of this commerce order item
      defaultLocale - 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()
      Returns true if this commerce order item is price manually adjusted.
      Returns:
      true if this commerce order item is price manually adjusted; false otherwise
    • setPriceManuallyAdjusted

      void setPriceManuallyAdjusted(boolean priceManuallyAdjusted)
      Sets whether this commerce order item is price manually adjusted.
      Parameters:
      priceManuallyAdjusted - the price manually adjusted of this commerce order item
    • getPriceOnApplication

      boolean getPriceOnApplication()
      Returns the price on application of this commerce order item.
      Returns:
      the price on application of this commerce order item
    • isPriceOnApplication

      boolean isPriceOnApplication()
      Returns true if this commerce order item is price on application.
      Returns:
      true if this commerce order item is price on application; false otherwise
    • setPriceOnApplication

      void setPriceOnApplication(boolean priceOnApplication)
      Sets whether this commerce order item is price on application.
      Parameters:
      priceOnApplication - the price on application of this commerce order item
    • getPrintedNote

      @AutoEscape String getPrintedNote()
      Returns the printed note of this commerce order item.
      Returns:
      the printed note of this commerce order item
    • setPrintedNote

      void setPrintedNote(String printedNote)
      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

      void setPromoPrice(BigDecimal promoPrice)
      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

      void setPromoPriceWithTaxAmount(BigDecimal promoPriceWithTaxAmount)
      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

      void setQuantity(BigDecimal quantity)
      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

      @AutoEscape String getReplacedSku()
      Returns the replaced sku of this commerce order item.
      Returns:
      the replaced sku of this commerce order item
    • setReplacedSku

      void setReplacedSku(String replacedSku)
      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

      void setRequestedDeliveryDate(Date requestedDeliveryDate)
      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()
      Returns true if this commerce order item is ship separately.
      Returns:
      true if this commerce order item is ship separately; false otherwise
    • setShipSeparately

      void setShipSeparately(boolean shipSeparately)
      Sets whether this commerce order item is ship separately.
      Parameters:
      shipSeparately - the ship separately of this commerce order item
    • getShippable

      boolean getShippable()
      Returns the shippable of this commerce order item.
      Returns:
      the shippable of this commerce order item
    • isShippable

      boolean isShippable()
      Returns true if this commerce order item is shippable.
      Returns:
      true if this commerce order item is shippable; false otherwise
    • setShippable

      void setShippable(boolean shippable)
      Sets whether this commerce order item is shippable.
      Parameters:
      shippable - the shippable of this commerce order item
    • getShippedQuantity

      BigDecimal getShippedQuantity()
      Returns the shipped quantity of this commerce order item.
      Returns:
      the shipped quantity of this commerce order item
    • setShippedQuantity

      void setShippedQuantity(BigDecimal shippedQuantity)
      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

      @AutoEscape String getSku()
      Returns the sku of this commerce order item.
      Returns:
      the sku of this commerce order item
    • setSku

      void setSku(String sku)
      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()
      Returns true if this commerce order item is subscription.
      Returns:
      true if this commerce order item is subscription; false otherwise
    • setSubscription

      void setSubscription(boolean subscription)
      Sets whether this commerce order item is subscription.
      Parameters:
      subscription - the subscription of this commerce order item
    • getSubscriptionLength

      int getSubscriptionLength()
      Returns the subscription length of this commerce order item.
      Returns:
      the subscription length of this commerce order item
    • setSubscriptionLength

      void setSubscriptionLength(int subscriptionLength)
      Sets the subscription length of this commerce order item.
      Parameters:
      subscriptionLength - the subscription length of this commerce order item
    • getSubscriptionType

      @AutoEscape String getSubscriptionType()
      Returns the subscription type of this commerce order item.
      Returns:
      the subscription type of this commerce order item
    • setSubscriptionType

      void setSubscriptionType(String subscriptionType)
      Sets the subscription type of this commerce order item.
      Parameters:
      subscriptionType - the subscription type of this commerce order item
    • getSubscriptionTypeSettings

      @AutoEscape String getSubscriptionTypeSettings()
      Returns the subscription type settings of this commerce order item.
      Returns:
      the subscription type settings of this commerce order item
    • setSubscriptionTypeSettings

      void setSubscriptionTypeSettings(String subscriptionTypeSettings)
      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

      void setUnitOfMeasureIncrementalOrderQuantity(BigDecimal unitOfMeasureIncrementalOrderQuantity)
      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

      @AutoEscape String getUnitOfMeasureKey()
      Returns the unit of measure key of this commerce order item.
      Returns:
      the unit of measure key of this commerce order item
    • setUnitOfMeasureKey

      void setUnitOfMeasureKey(String unitOfMeasureKey)
      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

      void setUnitPrice(BigDecimal unitPrice)
      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

      void setUnitPriceWithTaxAmount(BigDecimal unitPriceWithTaxAmount)
      Sets the unit price with tax amount of this commerce order item.
      Parameters:
      unitPriceWithTaxAmount - the unit price with tax amount of this commerce order item
    • getWeight

      double getWeight()
      Returns the weight of this commerce order item.
      Returns:
      the weight of this commerce order item
    • setWeight

      void setWeight(double weight)
      Sets the weight of this commerce order item.
      Parameters:
      weight - the weight of this commerce order item
    • getWidth

      double getWidth()
      Returns the width of this commerce order item.
      Returns:
      the width of this commerce order item
    • setWidth

      void setWidth(double width)
      Sets the width of this commerce order item.
      Parameters:
      width - the width of this commerce order item
    • getAvailableLanguageIds

      String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel
    • getDefaultLanguageId

      String getDefaultLanguageId()
      Specified by:
      getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel
    • prepareLocalizedFieldsForImport

      void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • prepareLocalizedFieldsForImport

      void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • cloneWithOriginalValues

      CommerceOrderItem cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>
    • toXmlString

      default String toXmlString()