Class StagedOrderChangeLineItemQuantityActionImpl

java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderChangeLineItemQuantityActionImpl
All Implemented Interfaces:
StagedOrderChangeLineItemQuantityAction, StagedOrderUpdateAction, ResourceUpdateAction<StagedOrderUpdateAction>, io.vrap.rmf.base.client.ModelBase

public class StagedOrderChangeLineItemQuantityActionImpl extends Object implements StagedOrderChangeLineItemQuantityAction, io.vrap.rmf.base.client.ModelBase

When multiple shipping addresses are set for a Line Item, use the Remove LineItem and Add LineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Line Item quantity should be distributed over the sub-quantities, the shippingDetails field is kept in its current state to avoid data loss.

To change the Line Item quantity and shipping details together, use this update action in combination with the Set LineItem ShippingDetails update action in a single Order update command.

The LineItem price is updated as described in LineItem Price selection.