Class ConsolidatedOrder
java.lang.Object
com.broadleafcommerce.order.domain.ConsolidatedOrder
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
,Serializable
public class ConsolidatedOrder
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ContextStateAware
Combined domain representing an order and its relations.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConsolidatedOrder
(com.broadleafcommerce.order.client.domain.Order order, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments, List<String> consolidatedPaymentDistributionSummaries) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
List<com.broadleafcommerce.order.common.domain.Adjustment>
List<com.broadleafcommerce.order.common.domain.CampaignRef>
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
javax.money.CurrencyUnit
List<com.broadleafcommerce.order.client.domain.OrderFulfillment>
getId()
getName()
com.broadleafcommerce.order.client.domain.Order
getOrder()
List<com.broadleafcommerce.order.client.domain.OrderItem>
List<com.broadleafcommerce.order.client.domain.OrderItem>
com.broadleafcommerce.order.client.domain.OrderPricing
List<com.broadleafcommerce.order.client.domain.payment.PaymentDistributionDetail>
The estimated recurring adjustments total for the first period discounted for all items grouped by their recurring period type.The estimated recurring subtotal for the first period discounted for all items grouped by their recurring period type.The estimated recurring total for the first period discounted for all items grouped by their recurring period type.List<com.broadleafcommerce.order.common.domain.Voucher>
int
hashCode()
void
setAccountHierarchy
(List<String> accountHierarchy) void
setAccountId
(String accountId) void
setAdjustments
(List<com.broadleafcommerce.order.common.domain.Adjustment> adjustments) void
setApproverEmail
(String approverEmail) void
setAttributeChoices
(Map<String, com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices) void
setAttributes
(Map<String, Object> attributes) void
setCampaignRefs
(List<com.broadleafcommerce.order.common.domain.CampaignRef> campaignRefs) void
setCartCreateDate
(Instant cartCreateDate) void
void
setCartType
(String cartType) void
setCheckoutRequestId
(String checkoutRequestId) void
setConsolidatedPaymentDistributionSummaries
(List<String> consolidatedPaymentDistributionSummaries) void
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) void
setCurrency
(javax.money.CurrencyUnit currency) void
setCustomerId
(String customerId) void
setCustomerName
(String customerName) void
setEmailAddress
(String emailAddress) void
setFulfillments
(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments) void
void
setInternalAttributes
(Map<String, Object> internalAttributes) void
void
void
setOfferCodes
(List<String> offerCodes) void
setOrder
(com.broadleafcommerce.order.client.domain.Order order) void
setOrderItems
(List<com.broadleafcommerce.order.client.domain.OrderItem> orderItems) void
setOrderNumber
(String orderNumber) void
setOrderPricing
(com.broadleafcommerce.order.client.domain.OrderPricing orderPricing) void
setPaymentDistributionDetails
(List<com.broadleafcommerce.order.client.domain.payment.PaymentDistributionDetail> paymentDistributionDetails) void
setRootAccountId
(String rootAccountId) void
void
setSubmitDate
(Instant submitDate) void
setVouchers
(List<com.broadleafcommerce.order.common.domain.Voucher> vouchers) toString()
-
Constructor Details
-
ConsolidatedOrder
public ConsolidatedOrder() -
ConsolidatedOrder
-
-
Method Details
-
getRecurringSubtotals
The estimated recurring subtotal for the first period discounted for all items grouped by their recurring period type.- Since:
- Order Service 2.1.0, Release Train 2.2.0
-
getRecurringAdjustmentsTotals
The estimated recurring adjustments total for the first period discounted for all items grouped by their recurring period type.- Since:
- Order Service 2.1.0, Release Train 2.2.0
-
getRecurringTotals
The estimated recurring total for the first period discounted for all items grouped by their recurring period type.- Since:
- Order Service 2.1.0, Release Train 2.2.0
-
getOrder
public com.broadleafcommerce.order.client.domain.Order getOrder() -
getFulfillments
-
getConsolidatedPaymentDistributionSummaries
-
setOrder
public void setOrder(com.broadleafcommerce.order.client.domain.Order order) -
setFulfillments
public void setFulfillments(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments) -
setConsolidatedPaymentDistributionSummaries
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getCartType
-
getOwnerIdentifier
-
getCurrency
public javax.money.CurrencyUnit getCurrency() -
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency) -
getOrderItemsWithDependentItems
-
getId
-
getCartId
-
getName
-
getStatus
-
getApproverEmail
-
getCustomerId
-
getCustomerName
-
getEmailAddress
-
getAccountId
-
getRootAccountId
-
getAccountHierarchy
-
getOrderNumber
-
getCartCreateDate
-
getCheckoutRequestId
-
getSubmitDate
-
getLocale
-
getOrderPricing
public com.broadleafcommerce.order.client.domain.OrderPricing getOrderPricing() -
getPaymentDistributionDetails
public List<com.broadleafcommerce.order.client.domain.payment.PaymentDistributionDetail> getPaymentDistributionDetails() -
getOrderItems
-
getAdjustments
-
getOfferCodes
-
getVouchers
-
getCampaignRefs
-
getAttributes
-
getInternalAttributes
-
getAttributeChoices
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-
setId
-
setCartId
-
setName
-
setCartType
-
setStatus
-
setApproverEmail
-
setCustomerId
-
setCustomerName
-
setEmailAddress
-
setAccountId
-
setRootAccountId
-
setAccountHierarchy
-
setOrderNumber
-
setCartCreateDate
-
setCheckoutRequestId
-
setSubmitDate
-
setLocale
-
setOrderPricing
public void setOrderPricing(com.broadleafcommerce.order.client.domain.OrderPricing orderPricing) -
setPaymentDistributionDetails
public void setPaymentDistributionDetails(List<com.broadleafcommerce.order.client.domain.payment.PaymentDistributionDetail> paymentDistributionDetails) -
setOrderItems
-
setAdjustments
-
setOfferCodes
-
setVouchers
-
setCampaignRefs
public void setCampaignRefs(List<com.broadleafcommerce.order.common.domain.CampaignRef> campaignRefs) -
setAttributes
-
setInternalAttributes
-
setAttributeChoices
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) - Specified by:
setContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-