Class ResolveCartRequest
java.lang.Object
com.broadleafcommerce.cartoperation.domain.resolution.ResolveCartRequest
A DTO used for passing data for
Cart resolution.- Author:
- Sunny Yu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanA map to hold additional data.The cart id used to resolve the cart.The version of the cart.com.broadleafcommerce.order.common.domain.CustomerRefTheCustomerRefrepresenting the currently authenticated user.The flow that this cart resolution is for.inthashCode()booleanWhether the resolvedCartshould be repriced if the pricing is stale.voidsetAdditionalData(Map<String, Object> additionalData) A map to hold additional data.voidThe cart id used to resolve the cart.voidsetCartVersion(Integer cartVersion) The version of the cart.voidsetCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRefrepresenting the currently authenticated user.voidsetRepriceCartOnResolve(boolean repriceCartOnResolve) Whether the resolvedCartshould be repriced if the pricing is stale.voidsetWorkflow(String workflow) The flow that this cart resolution is for.toString()
-
Constructor Details
-
ResolveCartRequest
public ResolveCartRequest()
-
-
Method Details
-
getCartId
The cart id used to resolve the cart. -
getCartVersion
The version of the cart. -
getCustomerRef
public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()TheCustomerRefrepresenting the currently authenticated user. -
getWorkflow
The flow that this cart resolution is for.This is useful for validation for when a cart can be read or updated depending on its status and the workflow.
- See Also:
-
isRepriceCartOnResolve
public boolean isRepriceCartOnResolve()Whether the resolvedCartshould be repriced if the pricing is stale. -
getAdditionalData
A map to hold additional data. -
setCartId
The cart id used to resolve the cart. -
setCartVersion
The version of the cart. -
setCustomerRef
public void setCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRefrepresenting the currently authenticated user. -
setWorkflow
The flow that this cart resolution is for.This is useful for validation for when a cart can be read or updated depending on its status and the workflow.
- See Also:
-
setRepriceCartOnResolve
public void setRepriceCartOnResolve(boolean repriceCartOnResolve) Whether the resolvedCartshould be repriced if the pricing is stale. -
setAdditionalData
A map to hold additional data. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-