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

public class QuoteProcessRequest extends Object implements Serializable
Request DTO used for providing information for the quote flows, such as submitting, editing, or publishing a quote
Author:
Kyrylo Boiko (kboiko2)
See Also:
  • Constructor Details

    • QuoteProcessRequest

      public QuoteProcessRequest()
  • Method Details

    • getCartId

      public String getCartId()
      The id of the Cart that the request is for
    • getCart

      public com.broadleafcommerce.cart.client.domain.Cart getCart()
      The Cart that the request is for.

      This is resolved by the system based on getCartId().

    • getTargetQuoteStatus

      public String getTargetQuoteStatus()
      The target quote status to change into.
    • getCustomerRef

      public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()
      The CustomerRef representing the currently authenticated user
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Miscellaneous attributes that can be added to this request in order to provide more information.
      Returns:
      Miscellaneous attributes that can be added to this request in order to provide more information.
    • setCartId

      public void setCartId(String cartId)
      The id of the Cart that the request is for
    • setCart

      public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart)
      The Cart that the request is for.

      This is resolved by the system based on getCartId().

    • setTargetQuoteStatus

      public void setTargetQuoteStatus(String targetQuoteStatus)
      The target quote status to change into.
    • setCustomerRef

      public void setCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef)
      The CustomerRef representing the currently authenticated user
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Miscellaneous attributes that can be added to this request in order to provide more information.
      Parameters:
      additionalAttributes - Miscellaneous attributes that can be added to this request in order to provide more information.
    • 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