@ProviderType public interface CommerceOrder extends CommerceOrderModel, com.liferay.portal.kernel.model.PersistedModel
CommerceOrderModel
Modifier and Type | Field and Description |
---|---|
static com.liferay.portal.kernel.util.Accessor<CommerceOrder,java.lang.Long> |
COMMERCE_ORDER_ID_ACCESSOR |
Modifier and Type | Method and Description |
---|---|
com.liferay.account.model.AccountEntry |
getAccountEntry() |
CommerceAddress |
getBillingAddress() |
java.lang.String |
getCommerceAccountName() |
com.liferay.commerce.currency.model.CommerceCurrency |
getCommerceCurrency() |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems() |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long cpInstanceId) |
int |
getCommerceOrderItemsCount(long cpInstanceId) |
CommerceShippingMethod |
getCommerceShippingMethod() |
long |
getScopeGroupId() |
CommerceAddress |
getShippingAddress() |
com.liferay.commerce.currency.model.CommerceMoney |
getShippingMoney() |
com.liferay.commerce.currency.model.CommerceMoney |
getShippingWithTaxAmountMoney() |
com.liferay.commerce.currency.model.CommerceMoney |
getSubtotalMoney() |
com.liferay.commerce.currency.model.CommerceMoney |
getSubtotalWithTaxAmountMoney() |
com.liferay.commerce.currency.model.CommerceMoney |
getTotalMoney() |
com.liferay.commerce.currency.model.CommerceMoney |
getTotalWithTaxAmountMoney() |
boolean |
isB2B() |
boolean |
isEmpty() |
boolean |
isGuestOrder() |
boolean |
isOpen() |
boolean |
isSubscription() |
boolean |
isSubscriptionOrder() |
void |
setShippingDiscounts(CommerceDiscountValue commerceDiscountValue) |
void |
setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue) |
void |
setTotalDiscounts(CommerceDiscountValue commerceDiscountValue) |
cloneWithOriginalValues, getAdvanceStatus, getBillingAddressId, getCommerceAccountId, getCommerceCurrencyId, getCommerceOrderId, getCommerceOrderTypeId, getCommercePaymentMethodKey, getCommerceShippingMethodId, getCompanyId, getCouponCode, getCreateDate, getDeliveryCommerceTermEntryDescription, getDeliveryCommerceTermEntryId, getDeliveryCommerceTermEntryName, getExternalReferenceCode, getGroupId, getLastPriceUpdateDate, getManuallyAdjusted, getModifiedDate, getMvccVersion, getOrderDate, getOrderStatus, getPaymentCommerceTermEntryDescription, getPaymentCommerceTermEntryId, getPaymentCommerceTermEntryName, getPaymentStatus, getPrimaryKey, getPrintedNote, getPurchaseOrderNumber, getRequestedDeliveryDate, 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, setAdvanceStatus, setBillingAddressId, setCommerceAccountId, setCommerceCurrencyId, setCommerceOrderId, setCommerceOrderTypeId, setCommercePaymentMethodKey, setCommerceShippingMethodId, setCompanyId, setCouponCode, setCreateDate, setDeliveryCommerceTermEntryDescription, setDeliveryCommerceTermEntryId, setDeliveryCommerceTermEntryName, setExternalReferenceCode, setGroupId, setLastPriceUpdateDate, setManuallyAdjusted, setModifiedDate, setMvccVersion, setOrderDate, setOrderStatus, setPaymentCommerceTermEntryDescription, setPaymentCommerceTermEntryId, setPaymentCommerceTermEntryName, setPaymentStatus, setPrimaryKey, setPrintedNote, setPurchaseOrderNumber, setRequestedDeliveryDate, 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, toXmlString
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
clone, getStagedModelType
static final com.liferay.portal.kernel.util.Accessor<CommerceOrder,java.lang.Long> COMMERCE_ORDER_ID_ACCESSOR
com.liferay.account.model.AccountEntry getAccountEntry() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceAddress getBillingAddress() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getCommerceAccountName() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<CommerceOrderItem> getCommerceOrderItems()
java.util.List<CommerceOrderItem> getCommerceOrderItems(long cpInstanceId)
int getCommerceOrderItemsCount(long cpInstanceId)
CommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
long getScopeGroupId() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceAddress getShippingAddress() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.commerce.currency.model.CommerceMoney getShippingMoney() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.commerce.currency.model.CommerceMoney getShippingWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.commerce.currency.model.CommerceMoney getSubtotalMoney() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.commerce.currency.model.CommerceMoney getSubtotalWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.commerce.currency.model.CommerceMoney getTotalMoney() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.commerce.currency.model.CommerceMoney getTotalWithTaxAmountMoney() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean isB2B() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean isEmpty()
boolean isGuestOrder() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean isOpen()
boolean isSubscription()
boolean isSubscriptionOrder()
void setShippingDiscounts(CommerceDiscountValue commerceDiscountValue)
void setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue)
void setTotalDiscounts(CommerceDiscountValue commerceDiscountValue)