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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMiscellaneous attributes that can be added to this request in order to provide more information.com.broadleafcommerce.cart.client.domain.CartgetCart()TheCartthat the request is for.The id of theCartthat the request is forcom.broadleafcommerce.order.common.domain.CustomerRefTheCustomerRefrepresenting the currently authenticated userThe target quote status to change into.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be added to this request in order to provide more information.voidsetCart(com.broadleafcommerce.cart.client.domain.Cart cart) TheCartthat the request is for.voidThe id of theCartthat the request is forvoidsetCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRefrepresenting the currently authenticated uservoidsetTargetQuoteStatus(String targetQuoteStatus) The target quote status to change into.toString()
-
Constructor Details
-
QuoteProcessRequest
public QuoteProcessRequest()
-
-
Method Details
-
getCartId
The id of theCartthat the request is for -
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart()TheCartthat 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()TheCustomerRefrepresenting 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 theCartthat the request is for -
setCart
public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart) TheCartthat 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) TheCustomerRefrepresenting 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
-