Interface StagedOrderSetCustomerGroupAction

All Superinterfaces:
ResourceUpdateAction<StagedOrderUpdateAction>, StagedOrderUpdateAction

public interface StagedOrderSetCustomerGroupAction extends StagedOrderUpdateAction

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

     StagedOrderSetCustomerGroupAction stagedOrderSetCustomerGroupAction = StagedOrderSetCustomerGroupAction.builder()