Package | Description |
---|---|
com.broadleafcommerce.cartoperation.service |
Modifier and Type | Method and Description |
---|---|
protected AddItemFailure |
DefaultCartOperationService.buildValidationFailure(@NonNull AddItemRequest addItemRequest,
@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem)
Builds an
AddItemFailure based on the provided AddItemRequest &
CartItem representing an invalid add to cart request |
Modifier and Type | Method and Description |
---|---|
List<AddItemFailure> |
DefaultCartOperationService.BulkCartItemCreationResponse.getAddItemFailures()
All failures that occurred.
|
List<AddItemFailure> |
BulkAddToCartResponse.getAddItemFailures()
All
AddItemFailures that occurred. |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
DefaultItemListAddToCartService.getFailedItemAdditions(List<AddItemFailure> addItemFailures)
Identifies the
ItemListItem ids related to the failed AddItemRequests . |
void |
DefaultCartOperationService.BulkCartItemCreationResponse.setAddItemFailures(List<AddItemFailure> addItemFailures)
All failures that occurred.
|
void |
BulkAddToCartResponse.setAddItemFailures(List<AddItemFailure> addItemFailures)
All
AddItemFailures that occurred. |
Copyright © 2021. All rights reserved.