Class QuoteProcessRequest
java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.domain.quote.QuoteProcessRequest
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Miscellaneous attributes that can be added to this request in order to provide more information.com.broadleafcommerce.cart.client.domain.Cart
getCart()
TheCart
that the request is for.The id of theCart
that the request is forcom.broadleafcommerce.order.common.domain.CustomerRef
TheCustomerRef
representing the currently authenticated userThe target quote status to change into.int
hashCode()
void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be added to this request in order to provide more information.void
setCart
(com.broadleafcommerce.cart.client.domain.Cart cart) TheCart
that the request is for.void
The id of theCart
that the request is forvoid
setCustomerRef
(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRef
representing the currently authenticated uservoid
setTargetQuoteStatus
(String targetQuoteStatus) The target quote status to change into.toString()
-
Constructor Details
-
QuoteProcessRequest
public QuoteProcessRequest()
-
-
Method Details
-
getCartId
The id of theCart
that the request is for -
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart()TheCart
that the request is for.This is resolved by the system based on
getCartId()
. -
getTargetQuoteStatus
The target quote status to change into. -
getCustomerRef
public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()TheCustomerRef
representing the currently authenticated user -
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
The id of theCart
that the request is for -
setCart
public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart) TheCart
that the request is for.This is resolved by the system based on
getCartId()
. -
setTargetQuoteStatus
The target quote status to change into. -
setCustomerRef
public void setCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRef
representing the currently authenticated user -
setAdditionalAttributes
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-