Model
RegionInformation
Magento\Directory\Model\Data\RegionInformation
What it does
This is a data transfer object (DTO) that represents region/state information within a country, such as California or Texas.
Developers use this class to pass region data between different layers of the application, particularly in API responses and when working with address information where you need to handle region ID, code, and name.
Public Methods
- getId()
- setId()
- getCode()
- setCode()
- getName()
- setName()
- getExtensionAttributes()
- setExtensionAttributes()