GroupInterface
Magento\Customer\Api\Data\GroupInterface
What it does
This interface defines the contract for Customer Group data objects in Magento 2.
Developers use this interface to work with customer groups, which categorize customers for different pricing, tax rules, and promotions.
It provides methods to manage group properties like ID, code, and associated tax class information, and includes constants for special groups like NOT_LOGGED_IN_ID and CUST_GROUP_ALL.
Public Methods
- getId()
- setId()
- getCode()
- setCode()
- getTaxClassId()
- setTaxClassId()
- getTaxClassName()
- setTaxClassName()
- getExtensionAttributes()
- setExtensionAttributes()