Class MyCartRecalculateActionImpl

java.lang.Object
com.commercetools.api.models.me.MyCartRecalculateActionImpl
All Implemented Interfaces:
MyCartRecalculateAction, MyCartUpdateAction, ResourceUpdateAction<MyCartUpdateAction>, io.vrap.rmf.base.client.ModelBase

public class MyCartRecalculateActionImpl extends Object implements MyCartRecalculateAction, io.vrap.rmf.base.client.ModelBase

This update action does not set any Cart field in particular, but it triggers several Cart updates to bring prices and discounts to the latest state. Those can become stale over time when no Cart updates have been performed for a while and prices on related Products have changed in the meanwhile.

If the priceMode of the Product related to a Line Item is of Embedded ProductPriceMode, the updated price of that LineItem may not correspond to a Price in the variant.prices anymore.