@ProviderType public class CommerceOrderImpl extends CommerceOrderBaseImpl
BILLINGADDRESSID_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, CREATEDATE_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, ORDERSTATUS_COLUMN_BITMASK, ORDERUSERID_COLUMN_BITMASK, SESSION_FACTORY, SHIPPINGADDRESSID_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK| Constructor and Description |
|---|
CommerceOrderImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.commerce.model.CommerceAddress |
getBillingAddress() |
java.lang.String |
getClassName() |
long |
getClassPK() |
com.liferay.commerce.currency.model.CommerceCurrency |
getCommerceCurrency() |
java.util.List<com.liferay.commerce.model.CommerceOrderItem> |
getCommerceOrderItems() |
com.liferay.commerce.model.CommercePaymentMethod |
getCommercePaymentMethod() |
com.liferay.commerce.model.CommerceShippingMethod |
getCommerceShippingMethod() |
long |
getCustomerId() |
java.lang.String |
getCustomerName() |
com.liferay.portal.kernel.model.Organization |
getOrderOrganization() |
com.liferay.portal.kernel.model.User |
getOrderUser() |
com.liferay.commerce.model.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(com.liferay.commerce.discount.CommerceDiscountValue commerceDiscountValue) |
void |
setSubtotalDiscounts(com.liferay.commerce.discount.CommerceDiscountValue commerceDiscountValue) |
void |
setTotalDiscounts(com.liferay.commerce.discount.CommerceDiscountValue commerceDiscountValue) |
persistclone, compareTo, equals, getAdvanceStatus, getBillingAddressId, getColumnBitmask, getCommerceCurrencyId, getCommerceOrderId, getCommercePaymentMethodId, getCommerceShippingMethodId, getCompanyId, getCreateDate, getExpandoBridge, getGroupId, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getOrderOrganizationId, getOrderStatus, getOrderUserId, getOrderUserUuid, getOriginalBillingAddressId, getOriginalCompanyId, getOriginalCreateDate, getOriginalGroupId, getOriginalOrderStatus, getOriginalOrderUserId, getOriginalShippingAddressId, getOriginalUserId, getOriginalUuid, getPaymentStatus, getPrimaryKey, getPrimaryKeyObj, getPurchaseOrderNumber, getShippingAddressId, getShippingAmount, getShippingDiscountAmount, getShippingDiscountPercentageLevel1, getShippingDiscountPercentageLevel2, getShippingDiscountPercentageLevel3, getShippingDiscountPercentageLevel4, getShippingOptionName, getSiteGroupId, getStagedModelType, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSubtotal, getSubtotalDiscountAmount, getSubtotalDiscountPercentageLevel1, getSubtotalDiscountPercentageLevel2, getSubtotalDiscountPercentageLevel3, getSubtotalDiscountPercentageLevel4, getTaxAmount, getTotal, getTotalDiscountAmount, getTotalDiscountPercentageLevel1, getTotalDiscountPercentageLevel2, getTotalDiscountPercentageLevel3, getTotalDiscountPercentageLevel4, getUserId, getUserName, getUserUuid, getUuid, hashCode, hasSetModifiedDate, isApproved, isDenied, isDraft, isEntityCacheEnabled, isExpired, isFinderCacheEnabled, isInactive, isIncomplete, isPending, isScheduled, resetOriginalValues, setAdvanceStatus, setBillingAddressId, setCommerceCurrencyId, setCommerceOrderId, setCommercePaymentMethodId, setCommerceShippingMethodId, setCompanyId, setCreateDate, setExpandoBridgeAttributes, setGroupId, setModelAttributes, setModifiedDate, 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, toModel, toModels, toString, toXmlStringgetLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, compareTo, getAdvanceStatus, getBillingAddressId, getCommerceCurrencyId, getCommerceOrderId, getCommercePaymentMethodId, getCommerceShippingMethodId, getCompanyId, getCreateDate, getExpandoBridge, 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, 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, toXmlStringpublic com.liferay.commerce.model.CommerceAddress getBillingAddress()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getClassName()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic long getClassPK()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.commerce.model.CommerceOrderItem> getCommerceOrderItems()
public com.liferay.commerce.model.CommercePaymentMethod getCommercePaymentMethod()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.commerce.model.CommerceShippingMethod getCommerceShippingMethod()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic long getCustomerId()
public java.lang.String getCustomerName()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.Organization getOrderOrganization()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.User getOrderUser()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.commerce.model.CommerceAddress getShippingAddress()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.commerce.currency.model.CommerceMoney getShippingMoney()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.commerce.currency.model.CommerceMoney getSubtotalMoney()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.commerce.currency.model.CommerceMoney getTotalMoney()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean isB2B()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean isEmpty()
public boolean isGuestOrder()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean isOpen()
public void setShippingDiscounts(com.liferay.commerce.discount.CommerceDiscountValue commerceDiscountValue)
public void setSubtotalDiscounts(com.liferay.commerce.discount.CommerceDiscountValue commerceDiscountValue)
public void setTotalDiscounts(com.liferay.commerce.discount.CommerceDiscountValue commerceDiscountValue)