Interface
GroupInterface
Magento\Customer\Api\Data\GroupInterface
What it does
This interface defines the contract for customer group data objects in Magento 2.
Developers use it to get and set customer group properties like ID, code, and associated tax class information.
It's commonly used when working with customer segmentation, pricing rules, and tax calculations that vary by customer group.
Public Methods
- getId()
- setId()
- getCode()
- setCode()
- getTaxClassId()
- setTaxClassId()
- getTaxClassName()
- setTaxClassName()
- getExtensionAttributes()
- setExtensionAttributes()