| Package | Description |
|---|---|
| io.sphere.sdk.carts |
Provides model classes and builders for carts.
|
| io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CustomLineItem
A custom line item is a generic item that can be added to the cart but is not bound to a product.
|
interface |
LineItem
A line item is a snapshot of a product variant at the time it was added to the cart.
|
| Modifier and Type | Method and Description |
|---|---|
static DeliveryItem |
DeliveryItem.of(LineItemLike lineItem) |
static DeliveryItem |
DeliveryItem.of(LineItemLike lineItem,
Long quantity) |