Uses of Class
org.broadleafcommerce.core.order.service.exception.UpdateCartException
Packages that use UpdateCartException
-
Uses of UpdateCartException in org.broadleafcommerce.core.order.service
Methods in org.broadleafcommerce.core.order.service that throw UpdateCartExceptionModifier and TypeMethodDescriptionOrderService.addItemFromNamedOrder(Order namedOrder, OrderItem orderItem, int quantity, boolean priceOrder) This method performs the same function as addItemFromNamedOrder(Order, OrderItem, boolean) except that instead of adding all of the quantity from the named order to the cart, it will only add/move the specific quantity requested.OrderServiceImpl.addItemFromNamedOrder(Order namedOrder, OrderItem item, int quantity, boolean priceOrder) OrderService.updateItemQuantity(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) Initiates the updateItem workflow that will attempt to update the item quantity for the specified OrderItem in the given Order.OrderServiceImpl.updateItemQuantity(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) OrderService.updateProductOptionsForItem(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) Since required product option can be added after the item is in the cart, we use this method to apply product option on an existing item in the cart.OrderServiceImpl.updateProductOptionsForItem(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder)