Class CartHistoryResponse

java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.domain.CartHistoryResponse
All Implemented Interfaces:
Serializable

public class CartHistoryResponse extends Object implements Serializable
A DTO object is used for returning the cart with hydrated payments if requested.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • CartHistoryResponse

      public CartHistoryResponse()
  • Method Details

    • getCart

      public com.broadleafcommerce.cart.client.domain.Cart getCart()
    • getPayments

      public List<PaymentSummary> getPayments()
      The payments for this cart.
    • setCart

      public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart)
    • setPayments

      public void setPayments(List<PaymentSummary> payments)
      The payments for this cart.
    • 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
    • getQuantity

      public int getQuantity()
    • isAnonymous

      public boolean isAnonymous()
    • setCurrency

      public void setCurrency(javax.money.CurrencyUnit currencyUnit)
    • getCurrency

      public javax.money.CurrencyUnit getCurrency()
    • getCartItemsWithDependentItems

      public List<com.broadleafcommerce.cart.client.domain.CartItem> getCartItemsWithDependentItems()
    • getId

      public String getId()
    • getName

      public String getName()
    • getType

      public String getType()
    • getStatus

      public String getStatus()
    • getCustomerRef

      public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()
    • getApprovalRequestedDate

      public Instant getApprovalRequestedDate()
    • getApproverEmail

      public String getApproverEmail()
    • getEmailAddress

      public String getEmailAddress()
    • getOrderNumber

      public String getOrderNumber()
    • getCreateDate

      public Instant getCreateDate()
    • getSubmitDate

      public Instant getSubmitDate()
    • getLocale

      public Locale getLocale()
    • getCartPricing

      public com.broadleafcommerce.cart.client.domain.CartPricing getCartPricing()
    • getCartItems

      public List<com.broadleafcommerce.cart.client.domain.CartItem> getCartItems()
    • getFulfillmentGroups

      public List<com.broadleafcommerce.cart.client.domain.FulfillmentGroup> getFulfillmentGroups()
    • 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()
    • getAssignedSalesRepId

      public String getAssignedSalesRepId()
    • getAssignedSalesRepEmail

      public String getAssignedSalesRepEmail()
    • getAttributes

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

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

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

      public Map<String,Instant> getCheckoutSubmissions()
    • isPriced

      public boolean isPriced()
    • isTaxEstimated

      public boolean isTaxEstimated()
    • getVersion

      public Integer getVersion()
    • getCartAlerts

      public List<com.broadleafcommerce.cart.client.domain.CartAlert> getCartAlerts()
    • getLastCatalogReprice

      public Instant getLastCatalogReprice()
    • getExpirationDate

      public Instant getExpirationDate()
    • getLastUpdatedAudit

      public com.broadleafcommerce.cart.client.domain.CartActionAudit getLastUpdatedAudit()
    • getContextState

      public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
    • setId

      public void setId(String id)
    • setName

      public void setName(String name)
    • setType

      public void setType(String type)
    • setStatus

      public void setStatus(String status)
    • setCustomerRef

      public void setCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef)
    • setApprovalRequestedDate

      public void setApprovalRequestedDate(Instant approvalRequestedDate)
    • setApproverEmail

      public void setApproverEmail(String approverEmail)
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
    • setOrderNumber

      public void setOrderNumber(String orderNumber)
    • setCreateDate

      public void setCreateDate(Instant createDate)
    • setSubmitDate

      public void setSubmitDate(Instant submitDate)
    • setLocale

      public void setLocale(Locale locale)
    • setCartPricing

      public void setCartPricing(com.broadleafcommerce.cart.client.domain.CartPricing cartPricing)
    • setCartItems

      public void setCartItems(List<com.broadleafcommerce.cart.client.domain.CartItem> cartItems)
    • setFulfillmentGroups

      public void setFulfillmentGroups(List<com.broadleafcommerce.cart.client.domain.FulfillmentGroup> fulfillmentGroups)
    • 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)
    • setAssignedSalesRepId

      public void setAssignedSalesRepId(String assignedSalesRepId)
    • setAssignedSalesRepEmail

      public void setAssignedSalesRepEmail(String assignedSalesRepEmail)
    • 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)
    • setCheckoutSubmissions

      public void setCheckoutSubmissions(Map<String,Instant> checkoutSubmissions)
    • setPriced

      public void setPriced(boolean isPriced)
    • setTaxEstimated

      public void setTaxEstimated(boolean isTaxEstimated)
    • setVersion

      public void setVersion(Integer version)
    • setCartAlerts

      public void setCartAlerts(List<com.broadleafcommerce.cart.client.domain.CartAlert> cartAlerts)
    • setLastCatalogReprice

      public void setLastCatalogReprice(Instant lastCatalogReprice)
    • setExpirationDate

      public void setExpirationDate(Instant expirationDate)
    • setLastUpdatedAudit

      public void setLastUpdatedAudit(com.broadleafcommerce.cart.client.domain.CartActionAudit lastUpdatedAudit)
    • setContextState

      public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)