Class CustomerSetDefaultShippingAddressActionImpl

java.lang.Object
com.commercetools.api.models.customer.CustomerSetDefaultShippingAddressActionImpl
All Implemented Interfaces:
CustomerSetDefaultShippingAddressAction, CustomerUpdateAction, ResourceUpdateAction<CustomerUpdateAction>, io.vrap.rmf.base.client.ModelBase

public class CustomerSetDefaultShippingAddressActionImpl extends Object implements CustomerSetDefaultShippingAddressAction, io.vrap.rmf.base.client.ModelBase

Sets the default shipping address from addresses. The action adds the id of the specified address to the shippingAddressIds if not contained already. Either addressId or addressKey is required.

If the Tax Category of the Cart ShippingInfo is missing the TaxRate matching country and state given in the shippingAddress of that Cart, a MissingTaxRateForCountry error is returned.