Interface CartSetCustomerGroupAction

All Superinterfaces:
CartUpdateAction, ResourceUpdateAction<CartUpdateAction>

public interface CartSetCustomerGroupAction extends CartUpdateAction

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.


Example to create an instance using the builder pattern

     CartSetCustomerGroupAction cartSetCustomerGroupAction = CartSetCustomerGroupAction.builder()
             .build()