@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
NOTE FOR DEVELOPERS:
Never modify this interface directly.
|
| Modifier and Type | Method and Description |
|---|---|
CommerceAddress |
getBillingAddress() |
com.liferay.commerce.account.model.CommerceAccount |
getCommerceAccount() |
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 |
getSubtotalMoney() |
com.liferay.commerce.currency.model.CommerceMoney |
getTotalMoney() |
boolean |
isB2B() |
boolean |
isEmpty() |
boolean |
isGuestOrder() |
boolean |
isOpen() |
boolean |
isSubscription() |
boolean |
isSubscriptionOrder() |
void |
setShippingDiscounts(CommerceDiscountValue commerceDiscountValue) |
void |
setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue) |
void |
setTotalDiscounts(CommerceDiscountValue commerceDiscountValue) |
clone, compareTo, getAdvanceStatus, getBillingAddressId, getCommerceAccountId, getCommerceCurrencyId, getCommerceOrderId, getCommercePaymentMethodKey, getCommerceShippingMethodId, getCompanyId, getCouponCode, getCreateDate, getExpandoBridge, getExternalReferenceCode, getGroupId, getLastPriceUpdateDate, getModifiedDate, getOrderStatus, getPaymentStatus, getPrimaryKey, getPrimaryKeyObj, getPrintedNote, getPurchaseOrderNumber, getRequestedDeliveryDate, getShippingAddressId, getShippingAmount, getShippingDiscountAmount, getShippingDiscountPercentageLevel1, getShippingDiscountPercentageLevel2, getShippingDiscountPercentageLevel3, getShippingDiscountPercentageLevel4, getShippingOptionName, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSubtotal, getSubtotalDiscountAmount, getSubtotalDiscountPercentageLevel1, getSubtotalDiscountPercentageLevel2, getSubtotalDiscountPercentageLevel3, getSubtotalDiscountPercentageLevel4, getTaxAmount, getTotal, getTotalDiscountAmount, getTotalDiscountPercentageLevel1, getTotalDiscountPercentageLevel2, getTotalDiscountPercentageLevel3, getTotalDiscountPercentageLevel4, getTransactionId, getUserId, getUserName, getUserUuid, getUuid, hashCode, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isInactive, isIncomplete, isNew, isPending, isScheduled, setAdvanceStatus, setBillingAddressId, setCachedModel, setCommerceAccountId, setCommerceCurrencyId, setCommerceOrderId, setCommercePaymentMethodKey, setCommerceShippingMethodId, setCompanyId, setCouponCode, setCreateDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExternalReferenceCode, setGroupId, setLastPriceUpdateDate, setModifiedDate, setNew, setOrderStatus, setPaymentStatus, setPrimaryKey, setPrimaryKeyObj, setPrintedNote, setPurchaseOrderNumber, setRequestedDeliveryDate, setShippingAddressId, setShippingAmount, setShippingDiscountAmount, setShippingDiscountPercentageLevel1, setShippingDiscountPercentageLevel2, setShippingDiscountPercentageLevel3, setShippingDiscountPercentageLevel4, setShippingOptionName, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setSubtotal, setSubtotalDiscountAmount, setSubtotalDiscountPercentageLevel1, setSubtotalDiscountPercentageLevel2, setSubtotalDiscountPercentageLevel3, setSubtotalDiscountPercentageLevel4, setTaxAmount, setTotal, setTotalDiscountAmount, setTotalDiscountPercentageLevel1, setTotalDiscountPercentageLevel2, setTotalDiscountPercentageLevel3, setTotalDiscountPercentageLevel4, setTransactionId, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesstatic final com.liferay.portal.kernel.util.Accessor<CommerceOrder,java.lang.Long> COMMERCE_ORDER_ID_ACCESSOR
com.liferay.commerce.model.impl.CommerceOrderImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.CommerceAddress getBillingAddress() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.commerce.account.model.CommerceAccount getCommerceAccount()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getCommerceAccountName()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.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.PortalExceptionlong getScopeGroupId()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceAddress getShippingAddress() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.commerce.currency.model.CommerceMoney getShippingMoney()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.commerce.currency.model.CommerceMoney getSubtotalMoney()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.commerce.currency.model.CommerceMoney getTotalMoney()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionboolean isB2B()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionboolean isEmpty()
boolean isGuestOrder()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionboolean isOpen()
boolean isSubscription()
boolean isSubscriptionOrder()
void setShippingDiscounts(CommerceDiscountValue commerceDiscountValue)
void setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue)
void setTotalDiscounts(CommerceDiscountValue commerceDiscountValue)