Model
GroupRepository
Magento\Customer\Model\ResourceModel\GroupRepository
What it does
This class manages CRUD (Create, Read, Update, Delete) operations for customer groups in Magento 2.
Developers use it to programmatically create, retrieve, update, or delete customer groups, including managing their tax class associations.
It's the primary service layer for customer group data access and implements the GroupRepositoryInterface for standardized API operations.
Public Methods
- save()
- getById()
- getList()
- delete()
- deleteById()