Package com.liferay.commerce.model
Interface CommerceOrderItem
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceOrderItem>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,CommerceOrderItemModel,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,com.liferay.portal.kernel.model.PersistedModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel
- All Known Implementing Classes:
CommerceOrderItemWrapper
@ProviderType
public interface CommerceOrderItem
extends CommerceOrderItemModel, com.liferay.portal.kernel.model.PersistedModel
The extended model interface for the CommerceOrderItem service. Represents a row in the "CommerceOrderItem" database table, with each column mapped to a property of this class.
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.liferay.portal.kernel.util.Accessor<CommerceOrderItem,Long> -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.commerce.product.model.CPInstancecom.liferay.commerce.product.model.CPMeasurementUnitcom.liferay.commerce.product.model.CProductcom.liferay.commerce.product.model.CPDefinitionlongcom.liferay.commerce.product.model.CPInstanceDeprecated.As of Athanasius (7.3.x)com.liferay.commerce.product.model.CProductDeprecated.As of Athanasius (7.3.x)com.liferay.commerce.currency.model.CommerceMoneycom.liferay.commerce.currency.model.CommerceMoneycom.liferay.commerce.currency.model.CommerceMoneycom.liferay.commerce.currency.model.CommerceMoneylongcom.liferay.commerce.currency.model.CommerceMoneycom.liferay.commerce.currency.model.CommerceMoneycom.liferay.commerce.currency.model.CommerceMoneycom.liferay.commerce.currency.model.CommerceMoneybooleanMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface com.liferay.commerce.model.CommerceOrderItemModel
cloneWithOriginalValues, getAvailableLanguageIds, getCommerceInventoryBookedQuantityId, getCommerceOrderId, getCommerceOrderItemId, getCommercePriceListId, getCompanyId, getCPInstanceId, getCPMeasurementUnitId, getCProductId, getCreateDate, getCustomerCommerceOrderItemId, getDefaultLanguageId, getDeliveryGroupName, getDeliveryMaxSubscriptionCycles, getDeliverySubscriptionLength, getDeliverySubscriptionType, getDeliverySubscriptionTypeSettings, getDepth, getDiscountAmount, getDiscountManuallyAdjusted, getDiscountPercentageLevel1, getDiscountPercentageLevel1WithTaxAmount, getDiscountPercentageLevel2, getDiscountPercentageLevel2WithTaxAmount, getDiscountPercentageLevel3, getDiscountPercentageLevel3WithTaxAmount, getDiscountPercentageLevel4, getDiscountPercentageLevel4WithTaxAmount, getDiscountWithTaxAmount, getExternalReferenceCode, getFinalPrice, getFinalPriceWithTaxAmount, getFreeShipping, getGroupId, getHeight, getJson, getManuallyAdjusted, getMaxSubscriptionCycles, getModifiedDate, getMvccVersion, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getParentCommerceOrderItemId, getPriceManuallyAdjusted, getPriceOnApplication, getPrimaryKey, getPrintedNote, getPromoPrice, getPromoPriceWithTaxAmount, getQuantity, getReplacedCPInstanceId, getReplacedSku, getRequestedDeliveryDate, getShippable, getShippedQuantity, getShippingAddressId, getShippingExtraPrice, getShipSeparately, getSku, getSubscription, getSubscriptionLength, getSubscriptionType, getSubscriptionTypeSettings, getUnitOfMeasureIncrementalOrderQuantity, getUnitOfMeasureKey, getUnitPrice, getUnitPriceWithTaxAmount, getUserId, getUserName, getUserUuid, getUuid, getWeight, getWidth, isDiscountManuallyAdjusted, isFreeShipping, isManuallyAdjusted, isPriceManuallyAdjusted, isPriceOnApplication, isShippable, isShipSeparately, isSubscription, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setCommerceInventoryBookedQuantityId, setCommerceOrderId, setCommerceOrderItemId, setCommercePriceListId, setCompanyId, setCPInstanceId, setCPMeasurementUnitId, setCProductId, setCreateDate, setCustomerCommerceOrderItemId, setDeliveryGroupName, setDeliveryMaxSubscriptionCycles, setDeliverySubscriptionLength, setDeliverySubscriptionType, setDeliverySubscriptionTypeSettings, setDepth, setDiscountAmount, setDiscountManuallyAdjusted, setDiscountPercentageLevel1, setDiscountPercentageLevel1WithTaxAmount, setDiscountPercentageLevel2, setDiscountPercentageLevel2WithTaxAmount, setDiscountPercentageLevel3, setDiscountPercentageLevel3WithTaxAmount, setDiscountPercentageLevel4, setDiscountPercentageLevel4WithTaxAmount, setDiscountWithTaxAmount, setExternalReferenceCode, setFinalPrice, setFinalPriceWithTaxAmount, setFreeShipping, setGroupId, setHeight, setJson, setManuallyAdjusted, setMaxSubscriptionCycles, setModifiedDate, setMvccVersion, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setParentCommerceOrderItemId, setPriceManuallyAdjusted, setPriceOnApplication, setPrimaryKey, setPrintedNote, setPromoPrice, setPromoPriceWithTaxAmount, setQuantity, setReplacedCPInstanceId, setReplacedSku, setRequestedDeliveryDate, setShippable, setShippedQuantity, setShippingAddressId, setShippingExtraPrice, setShipSeparately, setSku, setSubscription, setSubscriptionLength, setSubscriptionType, setSubscriptionTypeSettings, setUnitOfMeasureIncrementalOrderQuantity, setUnitOfMeasureKey, setUnitPrice, setUnitPriceWithTaxAmount, setUserId, setUserName, setUserUuid, setUuid, setWeight, setWidth, toXmlStringMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.PersistedModel
persistMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Field Details
-
COMMERCE_ORDER_ITEM_ID_ACCESSOR
static final com.liferay.portal.kernel.util.Accessor<CommerceOrderItem,Long> COMMERCE_ORDER_ITEM_ID_ACCESSOR
-
-
Method Details
-
fetchCPInstance
com.liferay.commerce.product.model.CPInstance fetchCPInstance() -
fetchCPMeasurementUnit
com.liferay.commerce.product.model.CPMeasurementUnit fetchCPMeasurementUnit() -
fetchCProduct
com.liferay.commerce.product.model.CProduct fetchCProduct() -
getChildCommerceOrderItems
List<CommerceOrderItem> getChildCommerceOrderItems() -
getCommerceOrder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinition
com.liferay.commerce.product.model.CPDefinition getCPDefinition() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionId
long getCPDefinitionId() -
getCPInstance
@Deprecated com.liferay.commerce.product.model.CPInstance getCPInstance() throws com.liferay.portal.kernel.exception.PortalExceptionDeprecated.As of Athanasius (7.3.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCProduct
@Deprecated com.liferay.commerce.product.model.CProduct getCProduct() throws com.liferay.portal.kernel.exception.PortalExceptionDeprecated.As of Athanasius (7.3.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDiscountAmountMoney
com.liferay.commerce.currency.model.CommerceMoney getDiscountAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDiscountWithTaxAmountMoney
com.liferay.commerce.currency.model.CommerceMoney getDiscountWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFinalPriceMoney
com.liferay.commerce.currency.model.CommerceMoney getFinalPriceMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFinalPriceWithTaxAmountMoney
com.liferay.commerce.currency.model.CommerceMoney getFinalPriceWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getParentCommerceOrderItemCPDefinitionId
long getParentCommerceOrderItemCPDefinitionId() -
getPromoPriceMoney
com.liferay.commerce.currency.model.CommerceMoney getPromoPriceMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPromoPriceWithTaxAmountMoney
com.liferay.commerce.currency.model.CommerceMoney getPromoPriceWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUnitPriceMoney
com.liferay.commerce.currency.model.CommerceMoney getUnitPriceMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUnitPriceWithTaxAmountMoney
com.liferay.commerce.currency.model.CommerceMoney getUnitPriceWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasParentCommerceOrderItem
boolean hasParentCommerceOrderItem()
-