Package | Description |
---|---|
com.broadleafcommerce.cartoperation.service | |
com.broadleafcommerce.cartoperation.web.endpoint |
Modifier and Type | Method and Description |
---|---|
protected BulkAddToCartResponse |
DefaultItemListAddToCartService.addItemsToCart(com.broadleafcommerce.cart.client.domain.Cart cart,
@NonNull com.broadleafcommerce.cart.client.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 cart
|
BulkAddToCartResponse |
CartOperationService.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 provided
Cart . |
BulkAddToCartResponse |
DefaultCartOperationService.addManyItemsToCart(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart,
@NonNull Collection<AddItemRequest> addItemRequests,
boolean price,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) |
BulkAddToCartResponse |
CartOperationService.bulkAddToCart(Collection<AddItemRequest> addItemRequests,
com.broadleafcommerce.cart.client.domain.Cart cart,
com.broadleafcommerce.cart.client.domain.CustomerRef customerRef,
boolean shouldPriceCart,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Deprecated.
|
BulkAddToCartResponse |
DefaultCartOperationService.bulkAddToCart(@NonNull Collection<AddItemRequest> addItemRequests,
com.broadleafcommerce.cart.client.domain.Cart cart,
com.broadleafcommerce.cart.client.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 provided
Cart . |
protected BulkAddToCartResponse |
DefaultCartOperationService.newBulkAddToCartResponse()
Instantiates a new
BulkAddToCartResponse using the TypeFactory . |
Modifier and Type | Method and Description |
---|---|
BulkAddToCartResponse |
ManageCartEndpoint.addManyItemsToCart(String cartId,
List<AddItemRequest> addItemRequests,
boolean price,
Integer cartVersion,
String guestToken,
com.broadleafcommerce.cart.client.domain.CustomerRef customer,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) |
BulkAddToCartResponse |
CartOperationEndpoint.bulkAddItemsToCart(com.broadleafcommerce.cart.client.domain.Cart cart,
Collection<AddItemRequest> addItemRequests,
com.broadleafcommerce.cart.client.domain.CustomerRef customerRef,
boolean price,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Deprecated.
|
Copyright © 2021. All rights reserved.