Class MyCartSetShippingAddressActionImpl

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

public class MyCartSetShippingAddressActionImpl extends Object implements MyCartSetShippingAddressAction, io.vrap.rmf.base.client.ModelBase

Setting the shipping address also sets the TaxRate of Line Items and calculates the TaxedPrice.

If a matching price cannot be found for the given shipping address during Line Item Price selection, a MissingTaxRateForCountry error is returned.

If you want to allow shipping to states inside a country that are not explicitly covered by a TaxRate, set the countryTaxRateFallbackEnabled field to true in the CartsConfiguration by using the Change CountryTaxRateFallbackEnabled update action.