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 booleanbooleanList<com.broadleafcommerce.order.common.domain.Adjustment>List<com.broadleafcommerce.order.common.domain.CampaignRef>com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStatejavax.money.CurrencyUnitList<com.broadleafcommerce.order.client.domain.OrderFulfillment>getId()getName()com.broadleafcommerce.order.client.domain.OrdergetOrder()List<com.broadleafcommerce.order.client.domain.OrderItem>List<com.broadleafcommerce.order.client.domain.OrderItem>com.broadleafcommerce.order.client.domain.OrderPricingList<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>inthashCode()voidsetAccountHierarchy(List<String> accountHierarchy) voidsetAccountId(String accountId) voidsetAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> adjustments) voidsetApproverEmail(String approverEmail) voidsetAttributeChoices(Map<String, com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices) voidsetAttributes(Map<String, Object> attributes) voidsetCampaignRefs(List<com.broadleafcommerce.order.common.domain.CampaignRef> campaignRefs) voidsetCartCreateDate(Instant cartCreateDate) voidvoidsetCartType(String cartType) voidsetCheckoutRequestId(String checkoutRequestId) voidsetConsolidatedPaymentDistributionSummaries(List<String> consolidatedPaymentDistributionSummaries) voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) voidsetCurrency(javax.money.CurrencyUnit currency) voidsetCustomerId(String customerId) voidsetCustomerName(String customerName) voidsetEmailAddress(String emailAddress) voidsetFulfillments(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments) voidvoidsetInternalAttributes(Map<String, Object> internalAttributes) voidvoidvoidsetOfferCodes(List<String> offerCodes) voidsetOrder(com.broadleafcommerce.order.client.domain.Order order) voidsetOrderItems(List<com.broadleafcommerce.order.client.domain.OrderItem> orderItems) voidsetOrderNumber(String orderNumber) voidsetOrderPricing(com.broadleafcommerce.order.client.domain.OrderPricing orderPricing) voidsetPaymentDistributionDetails(List<com.broadleafcommerce.order.client.domain.payment.PaymentDistributionDetail> paymentDistributionDetails) voidsetRootAccountId(String rootAccountId) voidvoidsetSubmitDate(Instant submitDate) voidsetVouchers(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:
getContextStatein 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:
setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-