Class CartApprovalProcessResponse
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.web.endpoint.domain.approval.CartApprovalProcessResponse
-
- All Implemented Interfaces:
Serializable
public class CartApprovalProcessResponse extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CartApprovalProcessResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<String,Object>
getAdditionalAttributes()
Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.com.broadleafcommerce.cart.client.domain.Cart
getCart()
The most up-to-date cart.int
hashCode()
void
setAdditionalAttributes(Map<String,Object> additionalAttributes)
Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.void
setCart(com.broadleafcommerce.cart.client.domain.Cart cart)
The most up-to-date cart.String
toString()
-
-
-
Method Detail
-
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart()
The most up-to-date cart.- Returns:
- The most up-to-date cart.
-
getAdditionalAttributes
public Map<String,Object> 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
public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
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.
-
canEqual
protected boolean canEqual(Object other)
-
-