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.Cart version validation strategy.com.broadleafcommerce.order.common.domain.CustomerRefTheCustomerRefrepresenting the currently authenticated user.The flow that this cart resolution is for.inthashCode()booleanWhether payment finalization lock expiration should be enforced for the resolvedCart.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.voidsetCartVersionValidationStrategy(String cartVersionValidationStrategy) Cart version validation strategy.voidsetCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRefrepresenting the currently authenticated user.voidsetEnforcePaymentFinalizationLockExpiration(boolean enforcePaymentFinalizationLockExpiration) Whether payment finalization lock expiration should be enforced for the resolvedCart.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. -
getCartVersionValidationStrategy
Cart version validation strategy.- See Also:
-
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:
-
isEnforcePaymentFinalizationLockExpiration
public boolean isEnforcePaymentFinalizationLockExpiration()Whether payment finalization lock expiration should be enforced for the resolvedCart. -
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. -
setCartVersionValidationStrategy
Cart version validation strategy.- See Also:
-
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:
-
setEnforcePaymentFinalizationLockExpiration
public void setEnforcePaymentFinalizationLockExpiration(boolean enforcePaymentFinalizationLockExpiration) Whether payment finalization lock expiration should be enforced for the resolvedCart. -
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()
-