Uses of Class
com.broadleafcommerce.cartoperation.web.endpoint.domain.AddItemRequest
-
-
Uses of AddItemRequest in com.broadleafcommerce.cartoperation.domain
Methods in com.broadleafcommerce.cartoperation.domain that return AddItemRequest Modifier and Type Method Description AddItemRequest
CartCreationRequest. getAddItemRequest()
The initialAddItemRequest
to populate the cart.Methods in com.broadleafcommerce.cartoperation.domain with parameters of type AddItemRequest Modifier and Type Method Description void
CartCreationRequest. setAddItemRequest(AddItemRequest addItemRequest)
The initialAddItemRequest
to populate the cart.Constructors in com.broadleafcommerce.cartoperation.domain with parameters of type AddItemRequest Constructor Description CartCreationRequest(AddItemRequest addItemRequest)
CartCreationRequest(AddItemRequest addItemRequest, PriceCartRequest priceCartRequest)
-
Uses of AddItemRequest in com.broadleafcommerce.cartoperation.service
Methods in com.broadleafcommerce.cartoperation.service that return AddItemRequest Modifier and Type Method Description protected AddItemRequest
DefaultCartOperationService. buildAddItemRequest(com.broadleafcommerce.promotion.offer.client.web.context.info.FreeGiftItem freeGiftItem)
Builds anAddItemRequest
from the givenFreeGiftItem
.AddItemRequest
AddItemFailure. getAddItemRequest()
The add item request that failedMethods in com.broadleafcommerce.cartoperation.service that return types with arguments of type AddItemRequest Modifier and Type Method Description protected List<AddItemRequest>
DefaultItemListAddToCartService. buildAddItemRequests(org.springframework.data.domain.Page<com.broadleafcommerce.cart.client.domain.ItemListItem> itemPage, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Responsible for creating AddItemRequests based on the provided ItemListItem pageList<AddItemRequest>
DefaultCartOperationService.BulkCartItemCreationResponse. getSuccessfulRequests()
All requests that were successfully processed.Methods in com.broadleafcommerce.cartoperation.service with parameters of type AddItemRequest Modifier and Type Method Description com.broadleafcommerce.cart.client.domain.Cart
CartOperationService. addItemToCart(com.broadleafcommerce.cart.client.domain.Cart cart, AddItemRequest addItemRequest, boolean price, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Adds a single item to the providedCart
based on the providedAddItemRequest
.com.broadleafcommerce.cart.client.domain.Cart
DefaultCartOperationService. addItemToCart(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull AddItemRequest addItemRequest, boolean price, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
com.broadleafcommerce.cart.client.domain.Cart
CartOperationService. addToCart(AddItemRequest addItemRequest, com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.order.common.domain.CustomerRef customerRef, boolean allowPriceCart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Deprecated.com.broadleafcommerce.cart.client.domain.Cart
DefaultCartOperationService. addToCart(@NonNull AddItemRequest addItemRequest, 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 com.broadleafcommerce.cart.client.domain.CartItem
DefaultCartOperationService. buildCartItem(@NonNull AddItemRequest addItemRequest, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Deprecated.protected com.broadleafcommerce.cart.client.domain.CartItem
DefaultCartOperationService. buildCartItem(@NonNull AddItemRequest addItemRequest, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, javax.money.CurrencyUnit currencyUnit, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Populates a new cart item from theAddItemRequest
.protected AddItemFailure
DefaultCartOperationService. buildValidationFailure(@NonNull AddItemRequest addItemRequest, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem)
Builds anAddItemFailure
based on the providedAddItemRequest
&CartItem
representing an invalid add to cart requestprotected com.broadleafcommerce.cart.client.domain.CartItem
DefaultCartOperationService. createCartItem(@NonNull AddItemRequest addItemRequest)
Deprecated.protected com.broadleafcommerce.cart.client.domain.CartItem
DefaultCartOperationService. createCartItem(@NonNull AddItemRequest addItemRequest, javax.money.CurrencyUnit currencyUnit)
Creates aCartItem
based on the providedAddItemRequest
protected com.broadleafcommerce.cart.client.domain.Cart
DefaultCartOperationService. createItemAndAddToCart(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull AddItemRequest addItemRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected com.broadleafcommerce.cart.client.domain.Cart
DefaultCartOperationService. createItemAndAddToCart(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull AddItemRequest addItemRequest, javax.money.CurrencyUnit currencyUnit, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Creates a new item and adds it to the providedCart
.protected com.broadleafcommerce.cart.client.domain.CartItem
DefaultCartOperationService. populateFromRequest(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull AddItemRequest addItemRequest)
Deprecated.protected com.broadleafcommerce.cart.client.domain.CartItem
DefaultCartOperationService. populateFromRequest(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull AddItemRequest addItemRequest, javax.money.CurrencyUnit currencyUnit)
Populates the cart item fields based on the request.void
AddItemFailure. setAddItemRequest(AddItemRequest addItemRequest)
The add item request that failedMethod parameters in com.broadleafcommerce.cartoperation.service with type arguments of type AddItemRequest Modifier and Type Method Description 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 providedCart
.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)
protected DefaultCartOperationService.BulkCartItemCreationResponse
DefaultCartOperationService. buildCartItems(@NonNull Collection<AddItemRequest> addItemRequests, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Deprecated.protected DefaultCartOperationService.BulkCartItemCreationResponse
DefaultCartOperationService. buildCartItems(@NonNull Collection<AddItemRequest> addItemRequests, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, javax.money.CurrencyUnit currencyUnit, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Populates new cart items from theAddItemRequests
.BulkAddToCartResponse
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.BulkAddToCartResponse
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
.void
DefaultCartOperationService.BulkCartItemCreationResponse. setSuccessfulRequests(List<AddItemRequest> successfulRequests)
All requests that were successfully processed.protected com.broadleafcommerce.cart.client.domain.Cart
DefaultCartOperationService. updateCartAttributes(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull List<AddItemRequest> successfulAddItemRequests)
Update cart attributes based on the successfulAddItemRequests
-
Uses of AddItemRequest in com.broadleafcommerce.cartoperation.web.endpoint
Methods in com.broadleafcommerce.cartoperation.web.endpoint with parameters of type AddItemRequest Modifier and Type Method Description com.broadleafcommerce.cart.client.domain.Cart
ManageCartEndpoint. addItemToCart(String cartId, AddItemRequest addItemRequest, boolean price, Integer cartVersion, String guestToken, com.broadleafcommerce.order.common.domain.CustomerRef customer, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
com.broadleafcommerce.cart.client.domain.Cart
CartOperationEndpoint. addToCart(com.broadleafcommerce.cart.client.domain.Cart cart, AddItemRequest addItemRequest, com.broadleafcommerce.order.common.domain.CustomerRef customerRef, boolean price, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Deprecated.Method parameters in com.broadleafcommerce.cartoperation.web.endpoint with type arguments of type AddItemRequest Modifier and Type Method Description BulkAddToCartResponse
ManageCartEndpoint. 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)
BulkAddToCartResponse
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. -
Uses of AddItemRequest in com.broadleafcommerce.cartoperation.web.endpoint.domain
Methods in com.broadleafcommerce.cartoperation.web.endpoint.domain that return types with arguments of type AddItemRequest Modifier and Type Method Description List<AddItemRequest>
AddItemRequest. getDependentCartItems()
A list of additionalAddItemRequests
that should be processed as dependent items of the resulting parent item of this currentAddItemRequest
.Method parameters in com.broadleafcommerce.cartoperation.web.endpoint.domain with type arguments of type AddItemRequest Modifier and Type Method Description void
AddItemRequest. setDependentCartItems(List<AddItemRequest> dependentCartItems)
A list of additionalAddItemRequests
that should be processed as dependent items of the resulting parent item of this currentAddItemRequest
.
-