Package | Description |
---|---|
io.sphere.sdk.carts |
Provides model classes and builders for carts.
|
io.sphere.sdk.carts.commands.updateactions |
Provides the possible operations which can be performed on update commands for carts.
|
io.sphere.sdk.orderedits.commands.stagedactions | |
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
io.sphere.sdk.orders.commands.updateactions |
Provides the possible operations which can be performed on update commands for orders.
|
Modifier and Type | Method and Description |
---|---|
default Optional<CustomLineItem> |
CartLike.findCustomLineItem(String customLineItemId)
Searches for custom line items by ID of a custom line item.
|
List<CustomLineItem> |
Cart.getCustomLineItems()
The custom line items of this cart.
|
List<CustomLineItem> |
CartLike.getCustomLineItems()
Custom goods, fees or discounts added to the cart.
|
Modifier and Type | Method and Description |
---|---|
static RemoveCustomLineItem |
RemoveCustomLineItem.of(CustomLineItem customLineItem) |
static UpdateAction<Cart> |
ChangeCustomLineItemQuantity.of(CustomLineItem lineItem,
long quantity) |
static UpdateAction<Cart> |
ChangeCustomLineItemMoney.of(CustomLineItem lineItem,
javax.money.MonetaryAmount money) |
Modifier and Type | Method and Description |
---|---|
static RemoveCustomLineItem |
RemoveCustomLineItem.of(CustomLineItem customLineItem) |
Modifier and Type | Method and Description |
---|---|
List<CustomLineItem> |
Order.getCustomLineItems() |
Modifier and Type | Method and Description |
---|---|
static UpdateAction<Order> |
TransitionCustomLineItemState.of(CustomLineItem lineItem,
long quantity,
Referenceable<State> fromState,
Referenceable<State> toState) |
static UpdateAction<Order> |
TransitionCustomLineItemState.of(CustomLineItem lineItem,
long quantity,
Referenceable<State> fromState,
Referenceable<State> toState,
ZonedDateTime actualTransitionDate) |
static ImportCustomLineItemState |
ImportCustomLineItemState.of(CustomLineItem CustomLineItem,
Set<ItemState> itemState) |