Package | Description |
---|---|
io.sphere.sdk.orderedits.commands.stagedactions |
Modifier and Type | Method and Description |
---|---|
static RemoveLineItem |
RemoveLineItem.of(LineItem lineItem) |
static RemoveLineItem |
RemoveLineItem.of(LineItem lineItem,
Long quantity) |
static RemoveLineItem |
RemoveLineItem.of(String lineItemId) |
static RemoveLineItem |
RemoveLineItem.of(String lineItemId,
Long quantity) |
static RemoveLineItem |
RemoveLineItem.of(String lineItemId,
Long quantity,
javax.money.MonetaryAmount externalPrice,
ExternalLineItemTotalPrice externalTotalPrice,
ItemShippingDetailsDraft shippingDetailsToRemove)
Creates a new object initialized with the given values.
|
static RemoveLineItem |
RemoveLineItem.ofLineItemAndExternalPrice(LineItem lineItem,
Long quantity,
javax.money.MonetaryAmount externalPrice) |
static RemoveLineItem |
RemoveLineItem.ofLineItemAndExternalPrice(String lineItemId,
Long quantity,
javax.money.MonetaryAmount externalPrice) |
static RemoveLineItem |
RemoveLineItem.ofLineItemAndExternalTotalPrice(LineItem lineItem,
Long quantity,
ExternalLineItemTotalPrice externalTotalPrice) |
static RemoveLineItem |
RemoveLineItem.ofLineItemAndExternalTotalPrice(String lineItemId,
Long quantity,
ExternalLineItemTotalPrice externalTotalPrice) |
RemoveLineItem |
RemoveLineItem.withExternalPrice(javax.money.MonetaryAmount externalPrice)
Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object.
|
RemoveLineItem |
RemoveLineItem.withExternalTotalPrice(ExternalLineItemTotalPrice externalTotalPrice)
Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object.
|
RemoveLineItem |
RemoveLineItem.withQuantity(Long quantity)
Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object.
|
RemoveLineItem |
RemoveLineItem.withShippingDetailsToRemove(ItemShippingDetailsDraft shippingDetailsToRemove)
Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object.
|