Package com.liferay.commerce.model
Interface CommerceOrder
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceOrder>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,CommerceOrderModel,Comparable<CommerceOrder>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,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,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Implementing Classes:
CommerceOrderWrapper
@ProviderType
public interface CommerceOrder
extends CommerceOrderModel, com.liferay.portal.kernel.model.PersistedModel
The extended model interface for the CommerceOrder service. Represents a row in the "CommerceOrder" 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<CommerceOrder,Long> -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.account.model.AccountEntryList<com.liferay.portal.kernel.repository.model.FileEntry>getAttachmentFileEntries(int start, int end) intcom.liferay.commerce.currency.model.CommerceCurrencygetCommerceOrderItems(long cpInstanceId) intgetCommerceOrderItemsCount(long cpInstanceId) intcom.liferay.portal.kernel.repository.model.FoldergetFolder(com.liferay.portal.kernel.repository.LocalRepository localRepository) com.liferay.portal.kernel.repository.LocalRepositorylongcom.liferay.commerce.currency.model.CommerceMoneycom.liferay.commerce.currency.model.CommerceMoneycom.liferay.commerce.currency.model.CommerceMoneycom.liferay.commerce.currency.model.CommerceMoneyintcom.liferay.commerce.currency.model.CommerceMoneycom.liferay.commerce.currency.model.CommerceMoneybooleanisB2B()booleanisEmpty()booleanbooleanisOpen()booleanisQuote()booleanbooleanvoidsetShippingDiscounts(CommerceDiscountValue commerceDiscountValue) voidsetSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue) voidsetTotalDiscounts(CommerceDiscountValue commerceDiscountValue) Methods 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.CommerceOrderModel
cloneWithOriginalValues, getAdvanceStatus, getBillingAddressId, getCommerceAccountId, getCommerceCurrencyCode, getCommerceOrderId, getCommerceOrderTypeId, getCommercePaymentMethodKey, getCommerceShippingMethodId, getCompanyId, getCouponCode, getCreateDate, getDeliveryCommerceTermEntryDescription, getDeliveryCommerceTermEntryId, getDeliveryCommerceTermEntryName, getExternalReferenceCode, getGroupId, getLastPriceUpdateDate, getManuallyAdjusted, getModifiedDate, getMvccVersion, getName, getOrderDate, getOrderStatus, getPaymentCommerceTermEntryDescription, getPaymentCommerceTermEntryId, getPaymentCommerceTermEntryName, getPaymentStatus, getPrimaryKey, getPrintedNote, getPurchaseOrderNumber, getRequestedDeliveryDate, getShippable, getShippingAddressId, getShippingAmount, getShippingDiscountAmount, getShippingDiscountPercentageLevel1, getShippingDiscountPercentageLevel1WithTaxAmount, getShippingDiscountPercentageLevel2, getShippingDiscountPercentageLevel2WithTaxAmount, getShippingDiscountPercentageLevel3, getShippingDiscountPercentageLevel3WithTaxAmount, getShippingDiscountPercentageLevel4, getShippingDiscountPercentageLevel4WithTaxAmount, getShippingDiscountWithTaxAmount, getShippingOptionName, getShippingWithTaxAmount, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSubtotal, getSubtotalDiscountAmount, getSubtotalDiscountPercentageLevel1, getSubtotalDiscountPercentageLevel1WithTaxAmount, getSubtotalDiscountPercentageLevel2, getSubtotalDiscountPercentageLevel2WithTaxAmount, getSubtotalDiscountPercentageLevel3, getSubtotalDiscountPercentageLevel3WithTaxAmount, getSubtotalDiscountPercentageLevel4, getSubtotalDiscountPercentageLevel4WithTaxAmount, getSubtotalDiscountWithTaxAmount, getSubtotalWithTaxAmount, getTaxAmount, getTotal, getTotalDiscountAmount, getTotalDiscountPercentageLevel1, getTotalDiscountPercentageLevel1WithTaxAmount, getTotalDiscountPercentageLevel2, getTotalDiscountPercentageLevel2WithTaxAmount, getTotalDiscountPercentageLevel3, getTotalDiscountPercentageLevel3WithTaxAmount, getTotalDiscountPercentageLevel4, getTotalDiscountPercentageLevel4WithTaxAmount, getTotalDiscountWithTaxAmount, getTotalWithTaxAmount, getTransactionId, getUserId, getUserName, getUserUuid, getUuid, isApproved, isDenied, isDraft, isExpired, isInactive, isIncomplete, isManuallyAdjusted, isPending, isScheduled, isShippable, setAdvanceStatus, setBillingAddressId, setCommerceAccountId, setCommerceCurrencyCode, setCommerceOrderId, setCommerceOrderTypeId, setCommercePaymentMethodKey, setCommerceShippingMethodId, setCompanyId, setCouponCode, setCreateDate, setDeliveryCommerceTermEntryDescription, setDeliveryCommerceTermEntryId, setDeliveryCommerceTermEntryName, setExternalReferenceCode, setGroupId, setLastPriceUpdateDate, setManuallyAdjusted, setModifiedDate, setMvccVersion, setName, setOrderDate, setOrderStatus, setPaymentCommerceTermEntryDescription, setPaymentCommerceTermEntryId, setPaymentCommerceTermEntryName, setPaymentStatus, setPrimaryKey, setPrintedNote, setPurchaseOrderNumber, setRequestedDeliveryDate, setShippable, setShippingAddressId, setShippingAmount, setShippingDiscountAmount, setShippingDiscountPercentageLevel1, setShippingDiscountPercentageLevel1WithTaxAmount, setShippingDiscountPercentageLevel2, setShippingDiscountPercentageLevel2WithTaxAmount, setShippingDiscountPercentageLevel3, setShippingDiscountPercentageLevel3WithTaxAmount, setShippingDiscountPercentageLevel4, setShippingDiscountPercentageLevel4WithTaxAmount, setShippingDiscountWithTaxAmount, setShippingOptionName, setShippingWithTaxAmount, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setSubtotal, setSubtotalDiscountAmount, setSubtotalDiscountPercentageLevel1, setSubtotalDiscountPercentageLevel1WithTaxAmount, setSubtotalDiscountPercentageLevel2, setSubtotalDiscountPercentageLevel2WithTaxAmount, setSubtotalDiscountPercentageLevel3, setSubtotalDiscountPercentageLevel3WithTaxAmount, setSubtotalDiscountPercentageLevel4, setSubtotalDiscountPercentageLevel4WithTaxAmount, setSubtotalDiscountWithTaxAmount, setSubtotalWithTaxAmount, setTaxAmount, setTotal, setTotalDiscountAmount, setTotalDiscountPercentageLevel1, setTotalDiscountPercentageLevel1WithTaxAmount, setTotalDiscountPercentageLevel2, setTotalDiscountPercentageLevel2WithTaxAmount, setTotalDiscountPercentageLevel3, setTotalDiscountPercentageLevel3WithTaxAmount, setTotalDiscountPercentageLevel4, setTotalDiscountPercentageLevel4WithTaxAmount, setTotalDiscountWithTaxAmount, setTotalWithTaxAmount, setTransactionId, setUserId, setUserName, setUserUuid, setUuid, 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_ID_ACCESSOR
-
-
Method Details
-
getAccountEntry
com.liferay.account.model.AccountEntry getAccountEntry() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentFileEntries
List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentFileEntriesCount
int getAttachmentFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingAddress
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAccountName
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCurrency
com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItems
List<CommerceOrderItem> getCommerceOrderItems() -
getCommerceOrderItems
-
getCommerceOrderItemsCount
int getCommerceOrderItemsCount(long cpInstanceId) -
getCommerceShippingMethod
CommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCustomerCommerceOrderIds
-
getCustomerCommerceOrderIdsCount
int getCustomerCommerceOrderIdsCount() -
getFolder
com.liferay.portal.kernel.repository.model.Folder getFolder(com.liferay.portal.kernel.repository.LocalRepository localRepository) -
getLocalRepository
com.liferay.portal.kernel.repository.LocalRepository getLocalRepository() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getScopeGroupId
long getScopeGroupId() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingAddress
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingMoney
com.liferay.commerce.currency.model.CommerceMoney getShippingMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingWithTaxAmountMoney
com.liferay.commerce.currency.model.CommerceMoney getShippingWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSubtotalMoney
com.liferay.commerce.currency.model.CommerceMoney getSubtotalMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSubtotalWithTaxAmountMoney
com.liferay.commerce.currency.model.CommerceMoney getSubtotalWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSupplierCommerceOrderIds
-
getSupplierCommerceOrderIdsCount
int getSupplierCommerceOrderIdsCount() -
getTotalMoney
com.liferay.commerce.currency.model.CommerceMoney getTotalMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTotalWithTaxAmountMoney
com.liferay.commerce.currency.model.CommerceMoney getTotalWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isB2B
boolean isB2B() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isEmpty
boolean isEmpty() -
isGuestOrder
boolean isGuestOrder() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isOpen
boolean isOpen() -
isQuote
boolean isQuote() -
isSubscription
boolean isSubscription() -
isSubscriptionOrder
boolean isSubscriptionOrder() -
setShippingDiscounts
-
setSubtotalDiscounts
-
setTotalDiscounts
-