Model
GroupRepository
Magento\Customer\Model\ResourceModel\GroupRepository
What it does
This repository class manages CRUD operations for Magento 2 customer groups.
Developers use it to programmatically create, read, update, and delete customer groups, including managing their tax class associations and validating group data before persistence.
It serves as the primary service layer interface for customer group management throughout the system.
Public Methods
- save()
- getById()
- getList()
- delete()
- deleteById()