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 Details

    • OrderWithFulfillmentsAndReturns

      public OrderWithFulfillmentsAndReturns()
    • OrderWithFulfillmentsAndReturns

      public OrderWithFulfillmentsAndReturns(com.broadleafcommerce.order.client.domain.Order order, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments, List<com.broadleafcommerce.order.client.domain.ReturnAuthorization> returnAuthorizations)
  • Method Details

    • getOrder

      public com.broadleafcommerce.order.client.domain.Order getOrder()
    • getFulfillments

      public List<com.broadleafcommerce.order.client.domain.OrderFulfillment> 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCartType

      public String getCartType()
    • getOwnerIdentifier

      public String getOwnerIdentifier()
      Specified by:
      getOwnerIdentifier in interface com.broadleafcommerce.data.tracking.core.policy.Owned
    • getCurrency

      public javax.money.CurrencyUnit getCurrency()
    • setCurrency

      public void setCurrency(javax.money.CurrencyUnit currency)
    • getOrderItemsWithDependentItems

      public List<com.broadleafcommerce.order.client.domain.OrderItem> getOrderItemsWithDependentItems()
    • getId

      public String getId()
    • getCartId

      public String getCartId()
    • getName

      public String getName()
    • getStatus

      public String getStatus()
    • getApproverEmail

      public String getApproverEmail()
    • getCustomerId

      public String getCustomerId()
    • getCustomerName

      public String getCustomerName()
    • getEmailAddress

      public String getEmailAddress()
    • getAccountId

      public String getAccountId()
    • getRootAccountId

      public String getRootAccountId()
    • getAccountHierarchy

      public List<String> getAccountHierarchy()
    • getOrderNumber

      public String getOrderNumber()
    • getCartCreateDate

      public Instant getCartCreateDate()
    • getCheckoutRequestId

      public String getCheckoutRequestId()
    • getSubmitDate

      public Instant getSubmitDate()
    • getLocale

      public Locale getLocale()
    • getOrderPricing

      public com.broadleafcommerce.order.client.domain.OrderPricing getOrderPricing()
    • getPaymentDistributionDetails

      public List<com.broadleafcommerce.order.client.domain.payment.PaymentDistributionDetail> getPaymentDistributionDetails()
    • getOrderItems

      public List<com.broadleafcommerce.order.client.domain.OrderItem> getOrderItems()
    • getAdjustments

      public List<com.broadleafcommerce.order.common.domain.Adjustment> getAdjustments()
    • getOfferCodes

      public List<String> getOfferCodes()
    • getVouchers

      public List<com.broadleafcommerce.order.common.domain.Voucher> getVouchers()
    • getCampaignRefs

      public List<com.broadleafcommerce.order.common.domain.CampaignRef> getCampaignRefs()
    • getAttributes

      public Map<String,Object> getAttributes()
    • getInternalAttributes

      public Map<String,Object> getInternalAttributes()
    • getAttributeChoices

      public Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue> getAttributeChoices()
    • getContextState

      public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
      Specified by:
      getContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
    • setId

      public void setId(String id)
    • setCartId

      public void setCartId(String cartId)
    • setName

      public void setName(String name)
    • setCartType

      public void setCartType(String cartType)
    • setStatus

      public void setStatus(String status)
    • setApproverEmail

      public void setApproverEmail(String approverEmail)
    • setCustomerId

      public void setCustomerId(String customerId)
    • setCustomerName

      public void setCustomerName(String customerName)
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
    • setAccountId

      public void setAccountId(String accountId)
    • setRootAccountId

      public void setRootAccountId(String rootAccountId)
    • setAccountHierarchy

      public void setAccountHierarchy(List<String> accountHierarchy)
    • setOrderNumber

      public void setOrderNumber(String orderNumber)
    • setCartCreateDate

      public void setCartCreateDate(Instant cartCreateDate)
    • setCheckoutRequestId

      public void setCheckoutRequestId(String checkoutRequestId)
    • setSubmitDate

      public void setSubmitDate(Instant submitDate)
    • setLocale

      public void setLocale(Locale locale)
    • 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

      public void setOrderItems(List<com.broadleafcommerce.order.client.domain.OrderItem> orderItems)
    • setAdjustments

      public void setAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> adjustments)
    • setOfferCodes

      public void setOfferCodes(List<String> offerCodes)
    • setVouchers

      public void setVouchers(List<com.broadleafcommerce.order.common.domain.Voucher> vouchers)
    • setCampaignRefs

      public void setCampaignRefs(List<com.broadleafcommerce.order.common.domain.CampaignRef> campaignRefs)
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
    • setInternalAttributes

      public void setInternalAttributes(Map<String,Object> internalAttributes)
    • setAttributeChoices

      public void setAttributeChoices(Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices)
    • setContextState

      public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
      Specified by:
      setContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware