| Package | Description |
|---|---|
| org.broadleafcommerce.core.order.service | |
| org.broadleafcommerce.core.order.service.legacy |
| Modifier and Type | Method and Description |
|---|---|
Order |
OrderServiceImpl.addItemFromNamedOrder(Order namedOrder,
OrderItem item,
int quantity,
boolean priceOrder) |
Order |
OrderService.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.
|
Order |
OrderServiceImpl.updateItemQuantity(Long orderId,
OrderItemRequestDTO orderItemRequestDTO,
boolean priceOrder) |
Order |
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.
|
Order |
OrderServiceImpl.updateProductOptionsForItem(Long orderId,
OrderItemRequestDTO orderItemRequestDTO,
boolean priceOrder) |
Order |
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.
|
| Modifier and Type | Method and Description |
|---|---|
Order |
LegacyCartServiceImpl.updateItemQuantity(Long orderId,
OrderItemRequestDTO orderItemRequestDTO,
boolean priceOrder)
Deprecated.
|
Copyright © 2015. All Rights Reserved.