Package com.liferay.commerce.model
Class CommerceOrderItemWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderItem>
com.liferay.commerce.model.CommerceOrderItemWrapper
- All Implemented Interfaces:
CommerceOrderItem,CommerceOrderItemModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.LocalizedModel,com.liferay.portal.kernel.model.ModelWrapper<CommerceOrderItem>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel,Serializable,Cloneable,Comparable<CommerceOrderItem>
public class CommerceOrderItemWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderItem>
implements CommerceOrderItem, com.liferay.portal.kernel.model.ModelWrapper<CommerceOrderItem>
This class is a wrapper for CommerceOrderItem.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.commerce.model.CommerceOrderItem
COMMERCE_ORDER_ITEM_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.commerce.product.model.CPInstancecom.liferay.commerce.product.model.CPMeasurementUnitcom.liferay.commerce.product.model.CProductString[]longReturns the commerce inventory booked quantity ID of this commerce order item.longReturns the commerce order ID of this commerce order item.longReturns the commerce order item ID of this commerce order item.longReturns the commerce price list ID of this commerce order item.longReturns the company ID of this commerce order item.com.liferay.commerce.product.model.CPDefinitionlongcom.liferay.commerce.product.model.CPInstanceDeprecated.As of Athanasius (7.3.x)longReturns the cp instance ID of this commerce order item.longReturns the cp measurement unit ID of this commerce order item.com.liferay.commerce.product.model.CProductDeprecated.As of Athanasius (7.3.x)longReturns the c product ID of this commerce order item.Returns the create date of this commerce order item.longReturns the customer commerce order item ID of this commerce order item.Returns the delivery group name of this commerce order item.longReturns the delivery max subscription cycles of this commerce order item.intReturns the delivery subscription length of this commerce order item.Returns the delivery subscription type of this commerce order item.Returns the delivery subscription type settings of this commerce order item.doublegetDepth()Returns the depth of this commerce order item.Returns the discount amount of this commerce order item.com.liferay.commerce.currency.model.CommerceMoneybooleanReturns the discount manually adjusted of this commerce order item.Returns the discount percentage level1 of this commerce order item.Returns the discount percentage level1 with tax amount of this commerce order item.Returns the discount percentage level2 of this commerce order item.Returns the discount percentage level2 with tax amount of this commerce order item.Returns the discount percentage level3 of this commerce order item.Returns the discount percentage level3 with tax amount of this commerce order item.Returns the discount percentage level4 of this commerce order item.Returns the discount percentage level4 with tax amount of this commerce order item.Returns the discount with tax amount of this commerce order item.com.liferay.commerce.currency.model.CommerceMoneyReturns the external reference code of this commerce order item.Returns the final price of this commerce order item.com.liferay.commerce.currency.model.CommerceMoneyReturns the final price with tax amount of this commerce order item.com.liferay.commerce.currency.model.CommerceMoneybooleanReturns the free shipping of this commerce order item.longReturns the group ID of this commerce order item.doubleReturns the height of this commerce order item.getJson()Returns the json of this commerce order item.booleanReturns the manually adjusted of this commerce order item.longReturns the max subscription cycles of this commerce order item.Returns the modified date of this commerce order item.longReturns the mvcc version of this commerce order item.getName()Returns the name of this commerce order item.Returns the localized name of this commerce order item in the language.Returns the localized name of this commerce order item in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this commerce order item in the language.Returns the localized name of this commerce order item in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized names of this commerce order item.longlongReturns the parent commerce order item ID of this commerce order item.booleanReturns the price manually adjusted of this commerce order item.booleanReturns the price on application of this commerce order item.longReturns the primary key of this commerce order item.Returns the printed note of this commerce order item.Returns the promo price of this commerce order item.com.liferay.commerce.currency.model.CommerceMoneyReturns the promo price with tax amount of this commerce order item.com.liferay.commerce.currency.model.CommerceMoneyReturns the quantity of this commerce order item.longReturns the replaced cp instance ID of this commerce order item.Returns the replaced sku of this commerce order item.Returns the requested delivery date of this commerce order item.booleanReturns the shippable of this commerce order item.Returns the shipped quantity of this commerce order item.longReturns the shipping address ID of this commerce order item.doubleReturns the shipping extra price of this commerce order item.booleanReturns the ship separately of this commerce order item.getSku()Returns the sku of this commerce order item.com.liferay.exportimport.kernel.lar.StagedModelTypebooleanReturns the subscription of this commerce order item.intReturns the subscription length of this commerce order item.Returns the subscription type of this commerce order item.Returns the subscription type settings of this commerce order item.Returns the unit of measure incremental order quantity of this commerce order item.Returns the unit of measure key of this commerce order item.Returns the unit price of this commerce order item.com.liferay.commerce.currency.model.CommerceMoneyReturns the unit price with tax amount of this commerce order item.com.liferay.commerce.currency.model.CommerceMoneylongReturns the user ID of this commerce order item.Returns the user name of this commerce order item.Returns the user uuid of this commerce order item.getUuid()Returns the uuid of this commerce order item.doubleReturns the weight of this commerce order item.doublegetWidth()Returns the width of this commerce order item.booleanbooleanReturnstrueif this commerce order item is discount manually adjusted.booleanReturnstrueif this commerce order item is free shipping.booleanReturnstrueif this commerce order item is manually adjusted.booleanReturnstrueif this commerce order item is price manually adjusted.booleanReturnstrueif this commerce order item is price on application.booleanReturnstrueif this commerce order item is shippable.booleanReturnstrueif this commerce order item is ship separately.booleanReturnstrueif this commerce order item is subscription.voidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId) Sets the commerce inventory booked quantity ID of this commerce order item.voidsetCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce order item.voidsetCommerceOrderItemId(long commerceOrderItemId) Sets the commerce order item ID of this commerce order item.voidsetCommercePriceListId(long commercePriceListId) Sets the commerce price list ID of this commerce order item.voidsetCompanyId(long companyId) Sets the company ID of this commerce order item.voidsetCPInstanceId(long CPInstanceId) Sets the cp instance ID of this commerce order item.voidsetCPMeasurementUnitId(long CPMeasurementUnitId) Sets the cp measurement unit ID of this commerce order item.voidsetCProductId(long CProductId) Sets the c product ID of this commerce order item.voidsetCreateDate(Date createDate) Sets the create date of this commerce order item.voidsetCustomerCommerceOrderItemId(long customerCommerceOrderItemId) Sets the customer commerce order item ID of this commerce order item.voidsetDeliveryGroupName(String deliveryGroupName) Sets the delivery group name of this commerce order item.voidsetDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this commerce order item.voidsetDeliverySubscriptionLength(int deliverySubscriptionLength) Sets the delivery subscription length of this commerce order item.voidsetDeliverySubscriptionType(String deliverySubscriptionType) Sets the delivery subscription type of this commerce order item.voidsetDeliverySubscriptionTypeSettings(String deliverySubscriptionTypeSettings) Sets the delivery subscription type settings of this commerce order item.voidsetDepth(double depth) Sets the depth of this commerce order item.voidsetDiscountAmount(BigDecimal discountAmount) Sets the discount amount of this commerce order item.voidsetDiscountManuallyAdjusted(boolean discountManuallyAdjusted) Sets whether this commerce order item is discount manually adjusted.voidsetDiscountPercentageLevel1(BigDecimal discountPercentageLevel1) Sets the discount percentage level1 of this commerce order item.voidsetDiscountPercentageLevel1WithTaxAmount(BigDecimal discountPercentageLevel1WithTaxAmount) Sets the discount percentage level1 with tax amount of this commerce order item.voidsetDiscountPercentageLevel2(BigDecimal discountPercentageLevel2) Sets the discount percentage level2 of this commerce order item.voidsetDiscountPercentageLevel2WithTaxAmount(BigDecimal discountPercentageLevel2WithTaxAmount) Sets the discount percentage level2 with tax amount of this commerce order item.voidsetDiscountPercentageLevel3(BigDecimal discountPercentageLevel3) Sets the discount percentage level3 of this commerce order item.voidsetDiscountPercentageLevel3WithTaxAmount(BigDecimal discountPercentageLevel3WithTaxAmount) Sets the discount percentage level3 with tax amount of this commerce order item.voidsetDiscountPercentageLevel4(BigDecimal discountPercentageLevel4) Sets the discount percentage level4 of this commerce order item.voidsetDiscountPercentageLevel4WithTaxAmount(BigDecimal discountPercentageLevel4WithTaxAmount) Sets the discount percentage level4 with tax amount of this commerce order item.voidsetDiscountWithTaxAmount(BigDecimal discountWithTaxAmount) Sets the discount with tax amount of this commerce order item.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this commerce order item.voidsetFinalPrice(BigDecimal finalPrice) Sets the final price of this commerce order item.voidsetFinalPriceWithTaxAmount(BigDecimal finalPriceWithTaxAmount) Sets the final price with tax amount of this commerce order item.voidsetFreeShipping(boolean freeShipping) Sets whether this commerce order item is free shipping.voidsetGroupId(long groupId) Sets the group ID of this commerce order item.voidsetHeight(double height) Sets the height of this commerce order item.voidSets the json of this commerce order item.voidsetManuallyAdjusted(boolean manuallyAdjusted) Sets whether this commerce order item is manually adjusted.voidsetMaxSubscriptionCycles(long maxSubscriptionCycles) Sets the max subscription cycles of this commerce order item.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce order item.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce order item.voidSets the name of this commerce order item.voidSets the localized name of this commerce order item in the language.voidSets the localized name of this commerce order item in the language, and sets the default locale.voidsetNameCurrentLanguageId(String languageId) voidsetNameMap(Map<Locale, String> nameMap) Sets the localized names of this commerce order item from the map of locales and localized names.voidsetNameMap(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this commerce order item from the map of locales and localized names, and sets the default locale.voidsetParentCommerceOrderItemId(long parentCommerceOrderItemId) Sets the parent commerce order item ID of this commerce order item.voidsetPriceManuallyAdjusted(boolean priceManuallyAdjusted) Sets whether this commerce order item is price manually adjusted.voidsetPriceOnApplication(boolean priceOnApplication) Sets whether this commerce order item is price on application.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce order item.voidsetPrintedNote(String printedNote) Sets the printed note of this commerce order item.voidsetPromoPrice(BigDecimal promoPrice) Sets the promo price of this commerce order item.voidsetPromoPriceWithTaxAmount(BigDecimal promoPriceWithTaxAmount) Sets the promo price with tax amount of this commerce order item.voidsetQuantity(BigDecimal quantity) Sets the quantity of this commerce order item.voidsetReplacedCPInstanceId(long replacedCPInstanceId) Sets the replaced cp instance ID of this commerce order item.voidsetReplacedSku(String replacedSku) Sets the replaced sku of this commerce order item.voidsetRequestedDeliveryDate(Date requestedDeliveryDate) Sets the requested delivery date of this commerce order item.voidsetShippable(boolean shippable) Sets whether this commerce order item is shippable.voidsetShippedQuantity(BigDecimal shippedQuantity) Sets the shipped quantity of this commerce order item.voidsetShippingAddressId(long shippingAddressId) Sets the shipping address ID of this commerce order item.voidsetShippingExtraPrice(double shippingExtraPrice) Sets the shipping extra price of this commerce order item.voidsetShipSeparately(boolean shipSeparately) Sets whether this commerce order item is ship separately.voidSets the sku of this commerce order item.voidsetSubscription(boolean subscription) Sets whether this commerce order item is subscription.voidsetSubscriptionLength(int subscriptionLength) Sets the subscription length of this commerce order item.voidsetSubscriptionType(String subscriptionType) Sets the subscription type of this commerce order item.voidsetSubscriptionTypeSettings(String subscriptionTypeSettings) Sets the subscription type settings of this commerce order item.voidsetUnitOfMeasureIncrementalOrderQuantity(BigDecimal unitOfMeasureIncrementalOrderQuantity) Sets the unit of measure incremental order quantity of this commerce order item.voidsetUnitOfMeasureKey(String unitOfMeasureKey) Sets the unit of measure key of this commerce order item.voidsetUnitPrice(BigDecimal unitPrice) Sets the unit price of this commerce order item.voidsetUnitPriceWithTaxAmount(BigDecimal unitPriceWithTaxAmount) Sets the unit price with tax amount of this commerce order item.voidsetUserId(long userId) Sets the user ID of this commerce order item.voidsetUserName(String userName) Sets the user name of this commerce order item.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce order item.voidSets the uuid of this commerce order item.voidsetWeight(double weight) Sets the weight of this commerce order item.voidsetWidth(double width) Sets the width of this commerce order item.protected CommerceOrderItemWrapperwrap(CommerceOrderItem commerceOrderItem) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceOrderItemWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>- Specified by:
cloneWithOriginalValuesin interfaceCommerceOrderItemModel
-
fetchCPInstance
public com.liferay.commerce.product.model.CPInstance fetchCPInstance()- Specified by:
fetchCPInstancein interfaceCommerceOrderItem
-
fetchCPMeasurementUnit
public com.liferay.commerce.product.model.CPMeasurementUnit fetchCPMeasurementUnit()- Specified by:
fetchCPMeasurementUnitin interfaceCommerceOrderItem
-
fetchCProduct
public com.liferay.commerce.product.model.CProduct fetchCProduct()- Specified by:
fetchCProductin interfaceCommerceOrderItem
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceCommerceOrderItemModel- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getChildCommerceOrderItems
- Specified by:
getChildCommerceOrderItemsin interfaceCommerceOrderItem
-
getCommerceInventoryBookedQuantityId
public long getCommerceInventoryBookedQuantityId()Returns the commerce inventory booked quantity ID of this commerce order item.- Specified by:
getCommerceInventoryBookedQuantityIdin interfaceCommerceOrderItemModel- Returns:
- the commerce inventory booked quantity ID of this commerce order item
-
getCommerceOrder
- Specified by:
getCommerceOrderin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderId
public long getCommerceOrderId()Returns the commerce order ID of this commerce order item.- Specified by:
getCommerceOrderIdin interfaceCommerceOrderItemModel- Returns:
- the commerce order ID of this commerce order item
-
getCommerceOrderItemId
public long getCommerceOrderItemId()Returns the commerce order item ID of this commerce order item.- Specified by:
getCommerceOrderItemIdin interfaceCommerceOrderItemModel- Returns:
- the commerce order item ID of this commerce order item
-
getCommercePriceListId
public long getCommercePriceListId()Returns the commerce price list ID of this commerce order item.- Specified by:
getCommercePriceListIdin interfaceCommerceOrderItemModel- Returns:
- the commerce price list ID of this commerce order item
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce order item.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCommerceOrderItemModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this commerce order item
-
getCPDefinition
public com.liferay.commerce.product.model.CPDefinition getCPDefinition() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCPDefinitionin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionId
public long getCPDefinitionId()- Specified by:
getCPDefinitionIdin interfaceCommerceOrderItem
-
getCPInstance
@Deprecated public com.liferay.commerce.product.model.CPInstance getCPInstance() throws com.liferay.portal.kernel.exception.PortalExceptionDeprecated.As of Athanasius (7.3.x)- Specified by:
getCPInstancein interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPInstanceId
public long getCPInstanceId()Returns the cp instance ID of this commerce order item.- Specified by:
getCPInstanceIdin interfaceCommerceOrderItemModel- Returns:
- the cp instance ID of this commerce order item
-
getCPMeasurementUnitId
public long getCPMeasurementUnitId()Returns the cp measurement unit ID of this commerce order item.- Specified by:
getCPMeasurementUnitIdin interfaceCommerceOrderItemModel- Returns:
- the cp measurement unit ID of this commerce order item
-
getCProduct
@Deprecated public com.liferay.commerce.product.model.CProduct getCProduct() throws com.liferay.portal.kernel.exception.PortalExceptionDeprecated.As of Athanasius (7.3.x)- Specified by:
getCProductin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCProductId
public long getCProductId()Returns the c product ID of this commerce order item.- Specified by:
getCProductIdin interfaceCommerceOrderItemModel- Returns:
- the c product ID of this commerce order item
-
getCreateDate
Returns the create date of this commerce order item.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCommerceOrderItemModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this commerce order item
-
getCustomerCommerceOrderItemId
public long getCustomerCommerceOrderItemId()Returns the customer commerce order item ID of this commerce order item.- Specified by:
getCustomerCommerceOrderItemIdin interfaceCommerceOrderItemModel- Returns:
- the customer commerce order item ID of this commerce order item
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceCommerceOrderItemModel- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDeliveryGroupName
Returns the delivery group name of this commerce order item.- Specified by:
getDeliveryGroupNamein interfaceCommerceOrderItemModel- Returns:
- the delivery group name of this commerce order item
-
getDeliveryMaxSubscriptionCycles
public long getDeliveryMaxSubscriptionCycles()Returns the delivery max subscription cycles of this commerce order item.- Specified by:
getDeliveryMaxSubscriptionCyclesin interfaceCommerceOrderItemModel- Returns:
- the delivery max subscription cycles of this commerce order item
-
getDeliverySubscriptionLength
public int getDeliverySubscriptionLength()Returns the delivery subscription length of this commerce order item.- Specified by:
getDeliverySubscriptionLengthin interfaceCommerceOrderItemModel- Returns:
- the delivery subscription length of this commerce order item
-
getDeliverySubscriptionType
Returns the delivery subscription type of this commerce order item.- Specified by:
getDeliverySubscriptionTypein interfaceCommerceOrderItemModel- Returns:
- the delivery subscription type of this commerce order item
-
getDeliverySubscriptionTypeSettings
Returns the delivery subscription type settings of this commerce order item.- Specified by:
getDeliverySubscriptionTypeSettingsin interfaceCommerceOrderItemModel- Returns:
- the delivery subscription type settings of this commerce order item
-
getDepth
public double getDepth()Returns the depth of this commerce order item.- Specified by:
getDepthin interfaceCommerceOrderItemModel- Returns:
- the depth of this commerce order item
-
getDiscountAmount
Returns the discount amount of this commerce order item.- Specified by:
getDiscountAmountin interfaceCommerceOrderItemModel- Returns:
- the discount amount of this commerce order item
-
getDiscountAmountMoney
public com.liferay.commerce.currency.model.CommerceMoney getDiscountAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getDiscountAmountMoneyin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDiscountManuallyAdjusted
public boolean getDiscountManuallyAdjusted()Returns the discount manually adjusted of this commerce order item.- Specified by:
getDiscountManuallyAdjustedin interfaceCommerceOrderItemModel- Returns:
- the discount manually adjusted of this commerce order item
-
getDiscountPercentageLevel1
Returns the discount percentage level1 of this commerce order item.- Specified by:
getDiscountPercentageLevel1in interfaceCommerceOrderItemModel- Returns:
- the discount percentage level1 of this commerce order item
-
getDiscountPercentageLevel1WithTaxAmount
Returns the discount percentage level1 with tax amount of this commerce order item.- Specified by:
getDiscountPercentageLevel1WithTaxAmountin interfaceCommerceOrderItemModel- Returns:
- the discount percentage level1 with tax amount of this commerce order item
-
getDiscountPercentageLevel2
Returns the discount percentage level2 of this commerce order item.- Specified by:
getDiscountPercentageLevel2in interfaceCommerceOrderItemModel- Returns:
- the discount percentage level2 of this commerce order item
-
getDiscountPercentageLevel2WithTaxAmount
Returns the discount percentage level2 with tax amount of this commerce order item.- Specified by:
getDiscountPercentageLevel2WithTaxAmountin interfaceCommerceOrderItemModel- Returns:
- the discount percentage level2 with tax amount of this commerce order item
-
getDiscountPercentageLevel3
Returns the discount percentage level3 of this commerce order item.- Specified by:
getDiscountPercentageLevel3in interfaceCommerceOrderItemModel- Returns:
- the discount percentage level3 of this commerce order item
-
getDiscountPercentageLevel3WithTaxAmount
Returns the discount percentage level3 with tax amount of this commerce order item.- Specified by:
getDiscountPercentageLevel3WithTaxAmountin interfaceCommerceOrderItemModel- Returns:
- the discount percentage level3 with tax amount of this commerce order item
-
getDiscountPercentageLevel4
Returns the discount percentage level4 of this commerce order item.- Specified by:
getDiscountPercentageLevel4in interfaceCommerceOrderItemModel- Returns:
- the discount percentage level4 of this commerce order item
-
getDiscountPercentageLevel4WithTaxAmount
Returns the discount percentage level4 with tax amount of this commerce order item.- Specified by:
getDiscountPercentageLevel4WithTaxAmountin interfaceCommerceOrderItemModel- Returns:
- the discount percentage level4 with tax amount of this commerce order item
-
getDiscountWithTaxAmount
Returns the discount with tax amount of this commerce order item.- Specified by:
getDiscountWithTaxAmountin interfaceCommerceOrderItemModel- Returns:
- the discount with tax amount of this commerce order item
-
getDiscountWithTaxAmountMoney
public com.liferay.commerce.currency.model.CommerceMoney getDiscountWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getDiscountWithTaxAmountMoneyin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExternalReferenceCode
Returns the external reference code of this commerce order item.- Specified by:
getExternalReferenceCodein interfaceCommerceOrderItemModel- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this commerce order item
-
getFinalPrice
Returns the final price of this commerce order item.- Specified by:
getFinalPricein interfaceCommerceOrderItemModel- Returns:
- the final price of this commerce order item
-
getFinalPriceMoney
public com.liferay.commerce.currency.model.CommerceMoney getFinalPriceMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getFinalPriceMoneyin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFinalPriceWithTaxAmount
Returns the final price with tax amount of this commerce order item.- Specified by:
getFinalPriceWithTaxAmountin interfaceCommerceOrderItemModel- Returns:
- the final price with tax amount of this commerce order item
-
getFinalPriceWithTaxAmountMoney
public com.liferay.commerce.currency.model.CommerceMoney getFinalPriceWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getFinalPriceWithTaxAmountMoneyin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFreeShipping
public boolean getFreeShipping()Returns the free shipping of this commerce order item.- Specified by:
getFreeShippingin interfaceCommerceOrderItemModel- Returns:
- the free shipping of this commerce order item
-
getGroupId
public long getGroupId()Returns the group ID of this commerce order item.- Specified by:
getGroupIdin interfaceCommerceOrderItemModel- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this commerce order item
-
getHeight
public double getHeight()Returns the height of this commerce order item.- Specified by:
getHeightin interfaceCommerceOrderItemModel- Returns:
- the height of this commerce order item
-
getJson
Returns the json of this commerce order item.- Specified by:
getJsonin interfaceCommerceOrderItemModel- Returns:
- the json of this commerce order item
-
getManuallyAdjusted
public boolean getManuallyAdjusted()Returns the manually adjusted of this commerce order item.- Specified by:
getManuallyAdjustedin interfaceCommerceOrderItemModel- Returns:
- the manually adjusted of this commerce order item
-
getMaxSubscriptionCycles
public long getMaxSubscriptionCycles()Returns the max subscription cycles of this commerce order item.- Specified by:
getMaxSubscriptionCyclesin interfaceCommerceOrderItemModel- Returns:
- the max subscription cycles of this commerce order item
-
getModifiedDate
Returns the modified date of this commerce order item.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCommerceOrderItemModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this commerce order item
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce order item.- Specified by:
getMvccVersionin interfaceCommerceOrderItemModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce order item
-
getName
Returns the name of this commerce order item.- Specified by:
getNamein interfaceCommerceOrderItemModel- Returns:
- the name of this commerce order item
-
getName
Returns the localized name of this commerce order item in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCommerceOrderItemModel- Parameters:
locale- the locale of the language- Returns:
- the localized name of this commerce order item
-
getName
Returns the localized name of this commerce order item in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCommerceOrderItemModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this commerce order item. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this commerce order item in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCommerceOrderItemModel- Parameters:
languageId- the ID of the language- Returns:
- the localized name of this commerce order item
-
getName
Returns the localized name of this commerce order item in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCommerceOrderItemModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this commerce order item
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageIdin interfaceCommerceOrderItemModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValuein interfaceCommerceOrderItemModel
-
getNameMap
Returns a map of the locales and localized names of this commerce order item.- Specified by:
getNameMapin interfaceCommerceOrderItemModel- Returns:
- the locales and localized names of this commerce order item
-
getParentCommerceOrderItemCPDefinitionId
public long getParentCommerceOrderItemCPDefinitionId()- Specified by:
getParentCommerceOrderItemCPDefinitionIdin interfaceCommerceOrderItem
-
getParentCommerceOrderItemId
public long getParentCommerceOrderItemId()Returns the parent commerce order item ID of this commerce order item.- Specified by:
getParentCommerceOrderItemIdin interfaceCommerceOrderItemModel- Returns:
- the parent commerce order item ID of this commerce order item
-
getPriceManuallyAdjusted
public boolean getPriceManuallyAdjusted()Returns the price manually adjusted of this commerce order item.- Specified by:
getPriceManuallyAdjustedin interfaceCommerceOrderItemModel- Returns:
- the price manually adjusted of this commerce order item
-
getPriceOnApplication
public boolean getPriceOnApplication()Returns the price on application of this commerce order item.- Specified by:
getPriceOnApplicationin interfaceCommerceOrderItemModel- Returns:
- the price on application of this commerce order item
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce order item.- Specified by:
getPrimaryKeyin interfaceCommerceOrderItemModel- Returns:
- the primary key of this commerce order item
-
getPrintedNote
Returns the printed note of this commerce order item.- Specified by:
getPrintedNotein interfaceCommerceOrderItemModel- Returns:
- the printed note of this commerce order item
-
getPromoPrice
Returns the promo price of this commerce order item.- Specified by:
getPromoPricein interfaceCommerceOrderItemModel- Returns:
- the promo price of this commerce order item
-
getPromoPriceMoney
public com.liferay.commerce.currency.model.CommerceMoney getPromoPriceMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getPromoPriceMoneyin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPromoPriceWithTaxAmount
Returns the promo price with tax amount of this commerce order item.- Specified by:
getPromoPriceWithTaxAmountin interfaceCommerceOrderItemModel- Returns:
- the promo price with tax amount of this commerce order item
-
getPromoPriceWithTaxAmountMoney
public com.liferay.commerce.currency.model.CommerceMoney getPromoPriceWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getPromoPriceWithTaxAmountMoneyin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getQuantity
Returns the quantity of this commerce order item.- Specified by:
getQuantityin interfaceCommerceOrderItemModel- Returns:
- the quantity of this commerce order item
-
getReplacedCPInstanceId
public long getReplacedCPInstanceId()Returns the replaced cp instance ID of this commerce order item.- Specified by:
getReplacedCPInstanceIdin interfaceCommerceOrderItemModel- Returns:
- the replaced cp instance ID of this commerce order item
-
getReplacedSku
Returns the replaced sku of this commerce order item.- Specified by:
getReplacedSkuin interfaceCommerceOrderItemModel- Returns:
- the replaced sku of this commerce order item
-
getRequestedDeliveryDate
Returns the requested delivery date of this commerce order item.- Specified by:
getRequestedDeliveryDatein interfaceCommerceOrderItemModel- Returns:
- the requested delivery date of this commerce order item
-
getShippable
public boolean getShippable()Returns the shippable of this commerce order item.- Specified by:
getShippablein interfaceCommerceOrderItemModel- Returns:
- the shippable of this commerce order item
-
getShippedQuantity
Returns the shipped quantity of this commerce order item.- Specified by:
getShippedQuantityin interfaceCommerceOrderItemModel- Returns:
- the shipped quantity of this commerce order item
-
getShippingAddressId
public long getShippingAddressId()Returns the shipping address ID of this commerce order item.- Specified by:
getShippingAddressIdin interfaceCommerceOrderItemModel- Returns:
- the shipping address ID of this commerce order item
-
getShippingExtraPrice
public double getShippingExtraPrice()Returns the shipping extra price of this commerce order item.- Specified by:
getShippingExtraPricein interfaceCommerceOrderItemModel- Returns:
- the shipping extra price of this commerce order item
-
getShipSeparately
public boolean getShipSeparately()Returns the ship separately of this commerce order item.- Specified by:
getShipSeparatelyin interfaceCommerceOrderItemModel- Returns:
- the ship separately of this commerce order item
-
getSku
Returns the sku of this commerce order item.- Specified by:
getSkuin interfaceCommerceOrderItemModel- Returns:
- the sku of this commerce order item
-
getSubscription
public boolean getSubscription()Returns the subscription of this commerce order item.- Specified by:
getSubscriptionin interfaceCommerceOrderItemModel- Returns:
- the subscription of this commerce order item
-
getSubscriptionLength
public int getSubscriptionLength()Returns the subscription length of this commerce order item.- Specified by:
getSubscriptionLengthin interfaceCommerceOrderItemModel- Returns:
- the subscription length of this commerce order item
-
getSubscriptionType
Returns the subscription type of this commerce order item.- Specified by:
getSubscriptionTypein interfaceCommerceOrderItemModel- Returns:
- the subscription type of this commerce order item
-
getSubscriptionTypeSettings
Returns the subscription type settings of this commerce order item.- Specified by:
getSubscriptionTypeSettingsin interfaceCommerceOrderItemModel- Returns:
- the subscription type settings of this commerce order item
-
getUnitOfMeasureIncrementalOrderQuantity
Returns the unit of measure incremental order quantity of this commerce order item.- Specified by:
getUnitOfMeasureIncrementalOrderQuantityin interfaceCommerceOrderItemModel- Returns:
- the unit of measure incremental order quantity of this commerce order item
-
getUnitOfMeasureKey
Returns the unit of measure key of this commerce order item.- Specified by:
getUnitOfMeasureKeyin interfaceCommerceOrderItemModel- Returns:
- the unit of measure key of this commerce order item
-
getUnitPrice
Returns the unit price of this commerce order item.- Specified by:
getUnitPricein interfaceCommerceOrderItemModel- Returns:
- the unit price of this commerce order item
-
getUnitPriceMoney
public com.liferay.commerce.currency.model.CommerceMoney getUnitPriceMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getUnitPriceMoneyin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUnitPriceWithTaxAmount
Returns the unit price with tax amount of this commerce order item.- Specified by:
getUnitPriceWithTaxAmountin interfaceCommerceOrderItemModel- Returns:
- the unit price with tax amount of this commerce order item
-
getUnitPriceWithTaxAmountMoney
public com.liferay.commerce.currency.model.CommerceMoney getUnitPriceWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getUnitPriceWithTaxAmountMoneyin interfaceCommerceOrderItem- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserId
public long getUserId()Returns the user ID of this commerce order item.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCommerceOrderItemModel- Returns:
- the user ID of this commerce order item
-
getUserName
Returns the user name of this commerce order item.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCommerceOrderItemModel- Returns:
- the user name of this commerce order item
-
getUserUuid
Returns the user uuid of this commerce order item.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCommerceOrderItemModel- Returns:
- the user uuid of this commerce order item
-
getUuid
Returns the uuid of this commerce order item.- Specified by:
getUuidin interfaceCommerceOrderItemModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this commerce order item
-
getWeight
public double getWeight()Returns the weight of this commerce order item.- Specified by:
getWeightin interfaceCommerceOrderItemModel- Returns:
- the weight of this commerce order item
-
getWidth
public double getWidth()Returns the width of this commerce order item.- Specified by:
getWidthin interfaceCommerceOrderItemModel- Returns:
- the width of this commerce order item
-
hasParentCommerceOrderItem
public boolean hasParentCommerceOrderItem()- Specified by:
hasParentCommerceOrderItemin interfaceCommerceOrderItem
-
isDiscountManuallyAdjusted
public boolean isDiscountManuallyAdjusted()Returnstrueif this commerce order item is discount manually adjusted.- Specified by:
isDiscountManuallyAdjustedin interfaceCommerceOrderItemModel- Returns:
trueif this commerce order item is discount manually adjusted;falseotherwise
-
isFreeShipping
public boolean isFreeShipping()Returnstrueif this commerce order item is free shipping.- Specified by:
isFreeShippingin interfaceCommerceOrderItemModel- Returns:
trueif this commerce order item is free shipping;falseotherwise
-
isManuallyAdjusted
public boolean isManuallyAdjusted()Returnstrueif this commerce order item is manually adjusted.- Specified by:
isManuallyAdjustedin interfaceCommerceOrderItemModel- Returns:
trueif this commerce order item is manually adjusted;falseotherwise
-
isPriceManuallyAdjusted
public boolean isPriceManuallyAdjusted()Returnstrueif this commerce order item is price manually adjusted.- Specified by:
isPriceManuallyAdjustedin interfaceCommerceOrderItemModel- Returns:
trueif this commerce order item is price manually adjusted;falseotherwise
-
isPriceOnApplication
public boolean isPriceOnApplication()Returnstrueif this commerce order item is price on application.- Specified by:
isPriceOnApplicationin interfaceCommerceOrderItemModel- Returns:
trueif this commerce order item is price on application;falseotherwise
-
isShippable
public boolean isShippable()Returnstrueif this commerce order item is shippable.- Specified by:
isShippablein interfaceCommerceOrderItemModel- Returns:
trueif this commerce order item is shippable;falseotherwise
-
isShipSeparately
public boolean isShipSeparately()Returnstrueif this commerce order item is ship separately.- Specified by:
isShipSeparatelyin interfaceCommerceOrderItemModel- Returns:
trueif this commerce order item is ship separately;falseotherwise
-
isSubscription
public boolean isSubscription()Returnstrueif this commerce order item is subscription.- Specified by:
isSubscriptionin interfaceCommerceOrderItemModel- Returns:
trueif this commerce order item is subscription;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfaceCommerceOrderItemModel- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImportin interfaceCommerceOrderItemModel- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCommerceInventoryBookedQuantityId
public void setCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId) Sets the commerce inventory booked quantity ID of this commerce order item.- Specified by:
setCommerceInventoryBookedQuantityIdin interfaceCommerceOrderItemModel- Parameters:
commerceInventoryBookedQuantityId- the commerce inventory booked quantity ID of this commerce order item
-
setCommerceOrderId
public void setCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce order item.- Specified by:
setCommerceOrderIdin interfaceCommerceOrderItemModel- Parameters:
commerceOrderId- the commerce order ID of this commerce order item
-
setCommerceOrderItemId
public void setCommerceOrderItemId(long commerceOrderItemId) Sets the commerce order item ID of this commerce order item.- Specified by:
setCommerceOrderItemIdin interfaceCommerceOrderItemModel- Parameters:
commerceOrderItemId- the commerce order item ID of this commerce order item
-
setCommercePriceListId
public void setCommercePriceListId(long commercePriceListId) Sets the commerce price list ID of this commerce order item.- Specified by:
setCommercePriceListIdin interfaceCommerceOrderItemModel- Parameters:
commercePriceListId- the commerce price list ID of this commerce order item
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce order item.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCommerceOrderItemModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this commerce order item
-
setCPInstanceId
public void setCPInstanceId(long CPInstanceId) Sets the cp instance ID of this commerce order item.- Specified by:
setCPInstanceIdin interfaceCommerceOrderItemModel- Parameters:
CPInstanceId- the cp instance ID of this commerce order item
-
setCPMeasurementUnitId
public void setCPMeasurementUnitId(long CPMeasurementUnitId) Sets the cp measurement unit ID of this commerce order item.- Specified by:
setCPMeasurementUnitIdin interfaceCommerceOrderItemModel- Parameters:
CPMeasurementUnitId- the cp measurement unit ID of this commerce order item
-
setCProductId
public void setCProductId(long CProductId) Sets the c product ID of this commerce order item.- Specified by:
setCProductIdin interfaceCommerceOrderItemModel- Parameters:
CProductId- the c product ID of this commerce order item
-
setCreateDate
Sets the create date of this commerce order item.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCommerceOrderItemModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this commerce order item
-
setCustomerCommerceOrderItemId
public void setCustomerCommerceOrderItemId(long customerCommerceOrderItemId) Sets the customer commerce order item ID of this commerce order item.- Specified by:
setCustomerCommerceOrderItemIdin interfaceCommerceOrderItemModel- Parameters:
customerCommerceOrderItemId- the customer commerce order item ID of this commerce order item
-
setDeliveryGroupName
Sets the delivery group name of this commerce order item.- Specified by:
setDeliveryGroupNamein interfaceCommerceOrderItemModel- Parameters:
deliveryGroupName- the delivery group name of this commerce order item
-
setDeliveryMaxSubscriptionCycles
public void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this commerce order item.- Specified by:
setDeliveryMaxSubscriptionCyclesin interfaceCommerceOrderItemModel- Parameters:
deliveryMaxSubscriptionCycles- the delivery max subscription cycles of this commerce order item
-
setDeliverySubscriptionLength
public void setDeliverySubscriptionLength(int deliverySubscriptionLength) Sets the delivery subscription length of this commerce order item.- Specified by:
setDeliverySubscriptionLengthin interfaceCommerceOrderItemModel- Parameters:
deliverySubscriptionLength- the delivery subscription length of this commerce order item
-
setDeliverySubscriptionType
Sets the delivery subscription type of this commerce order item.- Specified by:
setDeliverySubscriptionTypein interfaceCommerceOrderItemModel- Parameters:
deliverySubscriptionType- the delivery subscription type of this commerce order item
-
setDeliverySubscriptionTypeSettings
Sets the delivery subscription type settings of this commerce order item.- Specified by:
setDeliverySubscriptionTypeSettingsin interfaceCommerceOrderItemModel- Parameters:
deliverySubscriptionTypeSettings- the delivery subscription type settings of this commerce order item
-
setDepth
public void setDepth(double depth) Sets the depth of this commerce order item.- Specified by:
setDepthin interfaceCommerceOrderItemModel- Parameters:
depth- the depth of this commerce order item
-
setDiscountAmount
Sets the discount amount of this commerce order item.- Specified by:
setDiscountAmountin interfaceCommerceOrderItemModel- Parameters:
discountAmount- the discount amount of this commerce order item
-
setDiscountManuallyAdjusted
public void setDiscountManuallyAdjusted(boolean discountManuallyAdjusted) Sets whether this commerce order item is discount manually adjusted.- Specified by:
setDiscountManuallyAdjustedin interfaceCommerceOrderItemModel- Parameters:
discountManuallyAdjusted- the discount manually adjusted of this commerce order item
-
setDiscountPercentageLevel1
Sets the discount percentage level1 of this commerce order item.- Specified by:
setDiscountPercentageLevel1in interfaceCommerceOrderItemModel- Parameters:
discountPercentageLevel1- the discount percentage level1 of this commerce order item
-
setDiscountPercentageLevel1WithTaxAmount
public void setDiscountPercentageLevel1WithTaxAmount(BigDecimal discountPercentageLevel1WithTaxAmount) Sets the discount percentage level1 with tax amount of this commerce order item.- Specified by:
setDiscountPercentageLevel1WithTaxAmountin interfaceCommerceOrderItemModel- Parameters:
discountPercentageLevel1WithTaxAmount- the discount percentage level1 with tax amount of this commerce order item
-
setDiscountPercentageLevel2
Sets the discount percentage level2 of this commerce order item.- Specified by:
setDiscountPercentageLevel2in interfaceCommerceOrderItemModel- Parameters:
discountPercentageLevel2- the discount percentage level2 of this commerce order item
-
setDiscountPercentageLevel2WithTaxAmount
public void setDiscountPercentageLevel2WithTaxAmount(BigDecimal discountPercentageLevel2WithTaxAmount) Sets the discount percentage level2 with tax amount of this commerce order item.- Specified by:
setDiscountPercentageLevel2WithTaxAmountin interfaceCommerceOrderItemModel- Parameters:
discountPercentageLevel2WithTaxAmount- the discount percentage level2 with tax amount of this commerce order item
-
setDiscountPercentageLevel3
Sets the discount percentage level3 of this commerce order item.- Specified by:
setDiscountPercentageLevel3in interfaceCommerceOrderItemModel- Parameters:
discountPercentageLevel3- the discount percentage level3 of this commerce order item
-
setDiscountPercentageLevel3WithTaxAmount
public void setDiscountPercentageLevel3WithTaxAmount(BigDecimal discountPercentageLevel3WithTaxAmount) Sets the discount percentage level3 with tax amount of this commerce order item.- Specified by:
setDiscountPercentageLevel3WithTaxAmountin interfaceCommerceOrderItemModel- Parameters:
discountPercentageLevel3WithTaxAmount- the discount percentage level3 with tax amount of this commerce order item
-
setDiscountPercentageLevel4
Sets the discount percentage level4 of this commerce order item.- Specified by:
setDiscountPercentageLevel4in interfaceCommerceOrderItemModel- Parameters:
discountPercentageLevel4- the discount percentage level4 of this commerce order item
-
setDiscountPercentageLevel4WithTaxAmount
public void setDiscountPercentageLevel4WithTaxAmount(BigDecimal discountPercentageLevel4WithTaxAmount) Sets the discount percentage level4 with tax amount of this commerce order item.- Specified by:
setDiscountPercentageLevel4WithTaxAmountin interfaceCommerceOrderItemModel- Parameters:
discountPercentageLevel4WithTaxAmount- the discount percentage level4 with tax amount of this commerce order item
-
setDiscountWithTaxAmount
Sets the discount with tax amount of this commerce order item.- Specified by:
setDiscountWithTaxAmountin interfaceCommerceOrderItemModel- Parameters:
discountWithTaxAmount- the discount with tax amount of this commerce order item
-
setExternalReferenceCode
Sets the external reference code of this commerce order item.- Specified by:
setExternalReferenceCodein interfaceCommerceOrderItemModel- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this commerce order item
-
setFinalPrice
Sets the final price of this commerce order item.- Specified by:
setFinalPricein interfaceCommerceOrderItemModel- Parameters:
finalPrice- the final price of this commerce order item
-
setFinalPriceWithTaxAmount
Sets the final price with tax amount of this commerce order item.- Specified by:
setFinalPriceWithTaxAmountin interfaceCommerceOrderItemModel- Parameters:
finalPriceWithTaxAmount- the final price with tax amount of this commerce order item
-
setFreeShipping
public void setFreeShipping(boolean freeShipping) Sets whether this commerce order item is free shipping.- Specified by:
setFreeShippingin interfaceCommerceOrderItemModel- Parameters:
freeShipping- the free shipping of this commerce order item
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this commerce order item.- Specified by:
setGroupIdin interfaceCommerceOrderItemModel- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this commerce order item
-
setHeight
public void setHeight(double height) Sets the height of this commerce order item.- Specified by:
setHeightin interfaceCommerceOrderItemModel- Parameters:
height- the height of this commerce order item
-
setJson
Sets the json of this commerce order item.- Specified by:
setJsonin interfaceCommerceOrderItemModel- Parameters:
json- the json of this commerce order item
-
setManuallyAdjusted
public void setManuallyAdjusted(boolean manuallyAdjusted) Sets whether this commerce order item is manually adjusted.- Specified by:
setManuallyAdjustedin interfaceCommerceOrderItemModel- Parameters:
manuallyAdjusted- the manually adjusted of this commerce order item
-
setMaxSubscriptionCycles
public void setMaxSubscriptionCycles(long maxSubscriptionCycles) Sets the max subscription cycles of this commerce order item.- Specified by:
setMaxSubscriptionCyclesin interfaceCommerceOrderItemModel- Parameters:
maxSubscriptionCycles- the max subscription cycles of this commerce order item
-
setModifiedDate
Sets the modified date of this commerce order item.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCommerceOrderItemModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this commerce order item
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce order item.- Specified by:
setMvccVersionin interfaceCommerceOrderItemModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce order item
-
setName
Sets the name of this commerce order item.- Specified by:
setNamein interfaceCommerceOrderItemModel- Parameters:
name- the name of this commerce order item
-
setName
Sets the localized name of this commerce order item in the language.- Specified by:
setNamein interfaceCommerceOrderItemModel- Parameters:
name- the localized name of this commerce order itemlocale- the locale of the language
-
setName
Sets the localized name of this commerce order item in the language, and sets the default locale.- Specified by:
setNamein interfaceCommerceOrderItemModel- Parameters:
name- the localized name of this commerce order itemlocale- the locale of the languagedefaultLocale- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageIdin interfaceCommerceOrderItemModel
-
setNameMap
Sets the localized names of this commerce order item from the map of locales and localized names.- Specified by:
setNameMapin interfaceCommerceOrderItemModel- Parameters:
nameMap- the locales and localized names of this commerce order item
-
setNameMap
Sets the localized names of this commerce order item from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMapin interfaceCommerceOrderItemModel- Parameters:
nameMap- the locales and localized names of this commerce order itemdefaultLocale- the default locale
-
setParentCommerceOrderItemId
public void setParentCommerceOrderItemId(long parentCommerceOrderItemId) Sets the parent commerce order item ID of this commerce order item.- Specified by:
setParentCommerceOrderItemIdin interfaceCommerceOrderItemModel- Parameters:
parentCommerceOrderItemId- the parent commerce order item ID of this commerce order item
-
setPriceManuallyAdjusted
public void setPriceManuallyAdjusted(boolean priceManuallyAdjusted) Sets whether this commerce order item is price manually adjusted.- Specified by:
setPriceManuallyAdjustedin interfaceCommerceOrderItemModel- Parameters:
priceManuallyAdjusted- the price manually adjusted of this commerce order item
-
setPriceOnApplication
public void setPriceOnApplication(boolean priceOnApplication) Sets whether this commerce order item is price on application.- Specified by:
setPriceOnApplicationin interfaceCommerceOrderItemModel- Parameters:
priceOnApplication- the price on application of this commerce order item
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce order item.- Specified by:
setPrimaryKeyin interfaceCommerceOrderItemModel- Parameters:
primaryKey- the primary key of this commerce order item
-
setPrintedNote
Sets the printed note of this commerce order item.- Specified by:
setPrintedNotein interfaceCommerceOrderItemModel- Parameters:
printedNote- the printed note of this commerce order item
-
setPromoPrice
Sets the promo price of this commerce order item.- Specified by:
setPromoPricein interfaceCommerceOrderItemModel- Parameters:
promoPrice- the promo price of this commerce order item
-
setPromoPriceWithTaxAmount
Sets the promo price with tax amount of this commerce order item.- Specified by:
setPromoPriceWithTaxAmountin interfaceCommerceOrderItemModel- Parameters:
promoPriceWithTaxAmount- the promo price with tax amount of this commerce order item
-
setQuantity
Sets the quantity of this commerce order item.- Specified by:
setQuantityin interfaceCommerceOrderItemModel- Parameters:
quantity- the quantity of this commerce order item
-
setReplacedCPInstanceId
public void setReplacedCPInstanceId(long replacedCPInstanceId) Sets the replaced cp instance ID of this commerce order item.- Specified by:
setReplacedCPInstanceIdin interfaceCommerceOrderItemModel- Parameters:
replacedCPInstanceId- the replaced cp instance ID of this commerce order item
-
setReplacedSku
Sets the replaced sku of this commerce order item.- Specified by:
setReplacedSkuin interfaceCommerceOrderItemModel- Parameters:
replacedSku- the replaced sku of this commerce order item
-
setRequestedDeliveryDate
Sets the requested delivery date of this commerce order item.- Specified by:
setRequestedDeliveryDatein interfaceCommerceOrderItemModel- Parameters:
requestedDeliveryDate- the requested delivery date of this commerce order item
-
setShippable
public void setShippable(boolean shippable) Sets whether this commerce order item is shippable.- Specified by:
setShippablein interfaceCommerceOrderItemModel- Parameters:
shippable- the shippable of this commerce order item
-
setShippedQuantity
Sets the shipped quantity of this commerce order item.- Specified by:
setShippedQuantityin interfaceCommerceOrderItemModel- Parameters:
shippedQuantity- the shipped quantity of this commerce order item
-
setShippingAddressId
public void setShippingAddressId(long shippingAddressId) Sets the shipping address ID of this commerce order item.- Specified by:
setShippingAddressIdin interfaceCommerceOrderItemModel- Parameters:
shippingAddressId- the shipping address ID of this commerce order item
-
setShippingExtraPrice
public void setShippingExtraPrice(double shippingExtraPrice) Sets the shipping extra price of this commerce order item.- Specified by:
setShippingExtraPricein interfaceCommerceOrderItemModel- Parameters:
shippingExtraPrice- the shipping extra price of this commerce order item
-
setShipSeparately
public void setShipSeparately(boolean shipSeparately) Sets whether this commerce order item is ship separately.- Specified by:
setShipSeparatelyin interfaceCommerceOrderItemModel- Parameters:
shipSeparately- the ship separately of this commerce order item
-
setSku
Sets the sku of this commerce order item.- Specified by:
setSkuin interfaceCommerceOrderItemModel- Parameters:
sku- the sku of this commerce order item
-
setSubscription
public void setSubscription(boolean subscription) Sets whether this commerce order item is subscription.- Specified by:
setSubscriptionin interfaceCommerceOrderItemModel- Parameters:
subscription- the subscription of this commerce order item
-
setSubscriptionLength
public void setSubscriptionLength(int subscriptionLength) Sets the subscription length of this commerce order item.- Specified by:
setSubscriptionLengthin interfaceCommerceOrderItemModel- Parameters:
subscriptionLength- the subscription length of this commerce order item
-
setSubscriptionType
Sets the subscription type of this commerce order item.- Specified by:
setSubscriptionTypein interfaceCommerceOrderItemModel- Parameters:
subscriptionType- the subscription type of this commerce order item
-
setSubscriptionTypeSettings
Sets the subscription type settings of this commerce order item.- Specified by:
setSubscriptionTypeSettingsin interfaceCommerceOrderItemModel- Parameters:
subscriptionTypeSettings- the subscription type settings of this commerce order item
-
setUnitOfMeasureIncrementalOrderQuantity
public void setUnitOfMeasureIncrementalOrderQuantity(BigDecimal unitOfMeasureIncrementalOrderQuantity) Sets the unit of measure incremental order quantity of this commerce order item.- Specified by:
setUnitOfMeasureIncrementalOrderQuantityin interfaceCommerceOrderItemModel- Parameters:
unitOfMeasureIncrementalOrderQuantity- the unit of measure incremental order quantity of this commerce order item
-
setUnitOfMeasureKey
Sets the unit of measure key of this commerce order item.- Specified by:
setUnitOfMeasureKeyin interfaceCommerceOrderItemModel- Parameters:
unitOfMeasureKey- the unit of measure key of this commerce order item
-
setUnitPrice
Sets the unit price of this commerce order item.- Specified by:
setUnitPricein interfaceCommerceOrderItemModel- Parameters:
unitPrice- the unit price of this commerce order item
-
setUnitPriceWithTaxAmount
Sets the unit price with tax amount of this commerce order item.- Specified by:
setUnitPriceWithTaxAmountin interfaceCommerceOrderItemModel- Parameters:
unitPriceWithTaxAmount- the unit price with tax amount of this commerce order item
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce order item.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCommerceOrderItemModel- Parameters:
userId- the user ID of this commerce order item
-
setUserName
Sets the user name of this commerce order item.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCommerceOrderItemModel- Parameters:
userName- the user name of this commerce order item
-
setUserUuid
Sets the user uuid of this commerce order item.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCommerceOrderItemModel- Parameters:
userUuid- the user uuid of this commerce order item
-
setUuid
Sets the uuid of this commerce order item.- Specified by:
setUuidin interfaceCommerceOrderItemModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this commerce order item
-
setWeight
public void setWeight(double weight) Sets the weight of this commerce order item.- Specified by:
setWeightin interfaceCommerceOrderItemModel- Parameters:
weight- the weight of this commerce order item
-
setWidth
public void setWidth(double width) Sets the width of this commerce order item.- Specified by:
setWidthin interfaceCommerceOrderItemModel- Parameters:
width- the width of this commerce order item
-
toXmlString
- Specified by:
toXmlStringin interfaceCommerceOrderItemModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderItem>
-