Class OrderWithFulfillmentsAndReturns
java.lang.Object
com.broadleafcommerce.orderoperation.domain.OrderWithFulfillmentsAndReturns
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
,com.broadleafcommerce.data.tracking.core.policy.Owned
,Serializable
public class OrderWithFulfillmentsAndReturns
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ContextStateAware, com.broadleafcommerce.data.tracking.core.policy.Owned
Combined domain representing an order and its fulfillments.
- See Also:
-
Constructor Summary
ConstructorDescriptionOrderWithFulfillmentsAndReturns
(com.broadleafcommerce.order.client.domain.Order order, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments, List<com.broadleafcommerce.order.client.domain.ReturnAuthorization> returnAuthorizations) -
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>
List<com.broadleafcommerce.order.client.domain.ReturnAuthorization>
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
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
setReturnAuthorizations
(List<com.broadleafcommerce.order.client.domain.ReturnAuthorization> returnAuthorizations) void
setRootAccountId
(String rootAccountId) void
void
setSubmitDate
(Instant submitDate) void
setVouchers
(List<com.broadleafcommerce.order.common.domain.Voucher> vouchers) toString()
-
Constructor Details
-
OrderWithFulfillmentsAndReturns
public OrderWithFulfillmentsAndReturns() -
OrderWithFulfillmentsAndReturns
-
-
Method Details
-
getOrder
public com.broadleafcommerce.order.client.domain.Order getOrder() -
getFulfillments
-
getReturnAuthorizations
public List<com.broadleafcommerce.order.client.domain.ReturnAuthorization> getReturnAuthorizations() -
setOrder
public void setOrder(com.broadleafcommerce.order.client.domain.Order order) -
setFulfillments
public void setFulfillments(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments) -
setReturnAuthorizations
public void setReturnAuthorizations(List<com.broadleafcommerce.order.client.domain.ReturnAuthorization> returnAuthorizations) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getCartType
-
getOwnerIdentifier
- Specified by:
getOwnerIdentifier
in interfacecom.broadleafcommerce.data.tracking.core.policy.Owned
-
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
-