Class DefaultCartOperationService.UpdateItemRequestPopulationResult
java.lang.Object
com.broadleafcommerce.cartoperation.service.DefaultCartOperationService.UpdateItemRequestPopulationResult
- Enclosing class:
- DefaultCartOperationService
Represents the result from
DefaultCartOperationService.populateFromUpdateItemRequest(Cart, CartItem, UpdateItemRequest, ContextInfo).- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanList<com.broadleafcommerce.cart.client.domain.CartItem>Any new dependent items added.IDs of any dependents removed.inthashCode()booleanWhether the cart needs to be revalidated after updates are applied.voidsetAddedDependents(List<com.broadleafcommerce.cart.client.domain.CartItem> addedDependents) Any new dependent items added.voidsetDependentsRemoved(Set<String> dependentsRemoved) IDs of any dependents removed.voidsetRevalidationRequired(boolean revalidationRequired) Whether the cart needs to be revalidated after updates are applied.toString()
-
Constructor Details
-
UpdateItemRequestPopulationResult
public UpdateItemRequestPopulationResult()
-
-
Method Details
-
isRevalidationRequired
public boolean isRevalidationRequired()Whether the cart needs to be revalidated after updates are applied. -
getAddedDependents
Any new dependent items added. -
getDependentsRemoved
IDs of any dependents removed. -
setRevalidationRequired
public void setRevalidationRequired(boolean revalidationRequired) Whether the cart needs to be revalidated after updates are applied. -
setAddedDependents
public void setAddedDependents(List<com.broadleafcommerce.cart.client.domain.CartItem> addedDependents) Any new dependent items added. -
setDependentsRemoved
IDs of any dependents removed. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-