@ProviderType public interface CommerceOrder extends CommerceOrderModel, com.liferay.portal.kernel.model.PersistedModel
CommerceOrderModel,
com.liferay.commerce.model.impl.CommerceOrderImpl,
com.liferay.commerce.model.impl.CommerceOrderModelImpl| 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 |
|---|---|
CommerceAddress |
getBillingAddress() |
java.lang.String |
getClassName() |
long |
getClassPK() |
com.liferay.commerce.currency.model.CommerceCurrency |
getCommerceCurrency() |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems() |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long cpInstanceId) |
CommercePaymentMethod |
getCommercePaymentMethod() |
CommerceShippingMethod |
getCommerceShippingMethod() |
long |
getCustomerId() |
java.lang.String |
getCustomerName() |
com.liferay.portal.kernel.model.Organization |
getOrderOrganization() |
com.liferay.portal.kernel.model.User |
getOrderUser() |
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() |
void |
setShippingDiscounts(CommerceDiscountValue commerceDiscountValue) |
void |
setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue) |
void |
setTotalDiscounts(CommerceDiscountValue commerceDiscountValue) |
clone, compareTo, getAdvanceStatus, getBillingAddressId, getCommerceCurrencyId, getCommerceOrderId, getCommercePaymentMethodId, getCommerceShippingMethodId, getCompanyId, getCreateDate, getExpandoBridge, getExternalReferenceCode, getGroupId, getModifiedDate, getOrderOrganizationId, getOrderStatus, getOrderUserId, getOrderUserUuid, getPaymentStatus, getPrimaryKey, getPrimaryKeyObj, getPurchaseOrderNumber, getShippingAddressId, getShippingAmount, getShippingDiscountAmount, getShippingDiscountPercentageLevel1, getShippingDiscountPercentageLevel2, getShippingDiscountPercentageLevel3, getShippingDiscountPercentageLevel4, getShippingOptionName, getSiteGroupId, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSubtotal, getSubtotalDiscountAmount, getSubtotalDiscountPercentageLevel1, getSubtotalDiscountPercentageLevel2, getSubtotalDiscountPercentageLevel3, getSubtotalDiscountPercentageLevel4, getTaxAmount, getTotal, getTotalDiscountAmount, getTotalDiscountPercentageLevel1, getTotalDiscountPercentageLevel2, getTotalDiscountPercentageLevel3, getTotalDiscountPercentageLevel4, getUserId, getUserName, getUserUuid, getUuid, hashCode, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isInactive, isIncomplete, isNew, isPending, isScheduled, setAdvanceStatus, setBillingAddressId, setCachedModel, setCommerceCurrencyId, setCommerceOrderId, setCommercePaymentMethodId, setCommerceShippingMethodId, setCompanyId, setCreateDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExternalReferenceCode, setGroupId, setModifiedDate, setNew, setOrderOrganizationId, setOrderStatus, setOrderUserId, setOrderUserUuid, setPaymentStatus, setPrimaryKey, setPrimaryKeyObj, setPurchaseOrderNumber, setShippingAddressId, setShippingAmount, setShippingDiscountAmount, setShippingDiscountPercentageLevel1, setShippingDiscountPercentageLevel2, setShippingDiscountPercentageLevel3, setShippingDiscountPercentageLevel4, setShippingOptionName, setSiteGroupId, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setSubtotal, setSubtotalDiscountAmount, setSubtotalDiscountPercentageLevel1, setSubtotalDiscountPercentageLevel2, setSubtotalDiscountPercentageLevel3, setSubtotalDiscountPercentageLevel4, setTaxAmount, setTotal, setTotalDiscountAmount, setTotalDiscountPercentageLevel1, setTotalDiscountPercentageLevel2, setTotalDiscountPercentageLevel3, setTotalDiscountPercentageLevel4, 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
CommerceAddress getBillingAddress() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getClassName()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionlong getClassPK()
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)
CommercePaymentMethod getCommercePaymentMethod() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionlong getCustomerId()
java.lang.String getCustomerName()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.model.Organization getOrderOrganization()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.model.User getOrderUser()
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()
void setShippingDiscounts(CommerceDiscountValue commerceDiscountValue)
void setSubtotalDiscounts(CommerceDiscountValue commerceDiscountValue)
void setTotalDiscounts(CommerceDiscountValue commerceDiscountValue)