GetCustomerGroupName
Magento\CustomerGraphQl\Model\GetCustomerGroupName
What it does
This model retrieves the customer group name (code) by its ID, ensuring the group is valid for a specific website.
It checks if the group is excluded from the given website and returns an empty array if excluded, or returns the group name if allowed.
Developers would use this when working with GraphQL queries that need to display customer group information specific to a website context.
Public Methods
- execute()