Class CartStatusValidationRequest
java.lang.Object
com.broadleafcommerce.cartoperation.domain.status.CartStatusValidationRequest
A DTO used for passing data for validation related to the
Cart
status.- Author:
- Sunny Yu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A map to hold additional data.com.broadleafcommerce.cart.client.domain.Cart
getCart()
TheCart
that is being validatedcom.broadleafcommerce.order.common.domain.CustomerRef
TheCustomerRef
representing the currently authenticated user.The flow being executed for the cart.int
hashCode()
void
setAdditionalData
(Map<String, Object> additionalData) A map to hold additional data.void
setCart
(com.broadleafcommerce.cart.client.domain.Cart cart) TheCart
that is being validatedvoid
setCustomerRef
(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRef
representing the currently authenticated user.void
setWorkflow
(String workflow) The flow being executed for the cart.toString()
-
Constructor Details
-
CartStatusValidationRequest
public CartStatusValidationRequest()
-
-
Method Details
-
getCurrentCartStatus
-
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart()TheCart
that is being validated -
getWorkflow
The flow being executed for the cart.- See Also:
-
getCustomerRef
public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()TheCustomerRef
representing the currently authenticated user. -
getAdditionalData
A map to hold additional data. -
setCart
public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart) TheCart
that is being validated -
setWorkflow
The flow being executed for the cart.- See Also:
-
setCustomerRef
public void setCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRef
representing the currently authenticated user. -
setAdditionalData
A map to hold additional data. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-