Class CartApprovalProcessResponse
java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.domain.approval.CartApprovalProcessResponse
- All Implemented Interfaces:
Serializable
DTO for communicating the result of the cart approval flow, such as request cart for approval or
rejecting a cart.
- Author:
- Kyrylo Boiko (kboiko2)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMiscellaneous attributes that can be set to this response in order to provide more information on validation failures.com.broadleafcommerce.cart.client.domain.CartgetCart()The most up-to-date cart.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.voidsetCart(com.broadleafcommerce.cart.client.domain.Cart cart) The most up-to-date cart.toString()
-
Constructor Details
-
CartApprovalProcessResponse
public CartApprovalProcessResponse()
-
-
Method Details
-
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart()The most up-to-date cart.- Returns:
- The most up-to-date cart.
-
getAdditionalAttributes
Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.- Returns:
- Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.
-
setCart
public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart) The most up-to-date cart.- Parameters:
cart- The most up-to-date cart.
-
setAdditionalAttributes
Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.- Parameters:
additionalAttributes- Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-