Class CartSetCustomerGroupActionImpl

java.lang.Object
com.commercetools.api.models.cart.CartSetCustomerGroupActionImpl
All Implemented Interfaces:
CartSetCustomerGroupAction, CartUpdateAction, ResourceUpdateAction<CartUpdateAction>, io.vrap.rmf.base.client.ModelBase

public class CartSetCustomerGroupActionImpl extends Object implements CartSetCustomerGroupAction, io.vrap.rmf.base.client.ModelBase

This update action can only be used if a Customer is not assigned to a Cart. If a Customer is already assigned, the Cart has the same Customer Group as the assigned Customer.

Setting the Customer Group also updates the LineItem prices according to the Customer Group.