Model
Group
Magento\Customer\Model\Data\Group
What it does
This is a data model class representing a customer group in Magento 2.
Developers use it to work with customer group data like group ID, code, and associated tax class information through standardized getter and setter methods.
It's commonly used when managing customer segmentation, applying tax rules, or handling pricing variations for different customer groups.
Public Methods
- getId()
- getCode()
- getTaxClassId()
- getTaxClassName()
- setId()
- setCode()
- setTaxClassId()
- setTaxClassName()
- getExtensionAttributes()
- setExtensionAttributes()