Uses of Class
com.broadleafcommerce.cartoperation.service.BulkAddToCartResponse
Package
Description
-
Uses of BulkAddToCartResponse in com.broadleafcommerce.cartoperation.service
Modifier and TypeMethodDescriptionprotected BulkAddToCartResponse
DefaultItemListAddToCartService.addItemsToCart
(com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.order.common.domain.CustomerRef customerRef, org.springframework.data.domain.Page<com.broadleafcommerce.cart.client.domain.ItemListItem> itemPage, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Responsible for adding the provided ItemListItem page to the cartCartOperationService.addManyItemsToCart
(com.broadleafcommerce.cart.client.domain.Cart cart, Collection<AddItemRequest> addItemRequests, boolean price, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Adds one or more items to the providedCart
.DefaultCartOperationService.addManyItemsToCart
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Collection<AddItemRequest> addItemRequests, boolean price, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartOperationService.bulkAddToCart
(Collection<AddItemRequest> addItemRequests, com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.order.common.domain.CustomerRef customerRef, boolean shouldPriceCart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.DefaultCartOperationService.bulkAddToCart
(@NonNull Collection<AddItemRequest> addItemRequests, com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.order.common.domain.CustomerRef customerRef, boolean allowPriceCart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected BulkAddToCartResponse
DefaultCartOperationService.createItemsAndAddToCart
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, Collection<AddItemRequest> addItemRequests, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates new items and adds them to the providedCart
.protected BulkAddToCartResponse
DefaultCartOperationService.newBulkAddToCartResponse()
Instantiates a newBulkAddToCartResponse
using theTypeFactory
.Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.cart.client.domain.Cart
DefaultCartOperationService.createItemsAndAddToCart
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull List<AddItemRequest> addItemRequests, @NonNull BulkAddToCartResponse bulkAddToCartResponse, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Create and add the items from the givenAddItemRequests
to the givenCart
. -
Uses of BulkAddToCartResponse in com.broadleafcommerce.cartoperation.web.endpoint
Modifier and TypeMethodDescriptionManageCartEndpoint.addManyItemsToCart
(String cartId, List<AddItemRequest> addItemRequests, boolean price, Integer cartVersion, String guestToken, com.broadleafcommerce.order.common.domain.CustomerRef customer, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartOperationEndpoint.bulkAddItemsToCart
(com.broadleafcommerce.cart.client.domain.Cart cart, Collection<AddItemRequest> addItemRequests, com.broadleafcommerce.order.common.domain.CustomerRef customerRef, boolean price, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.
CartOperationService.addManyItemsToCart(Cart, Collection, boolean, ContextInfo)