Class StagedOrderSetCustomerGroupActionImpl

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

public class StagedOrderSetCustomerGroupActionImpl extends Object implements StagedOrderSetCustomerGroupAction, 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.