Interface
CountryInterface
Magento\TwoFactorAuth\Api\Data\CountryInterface
What it does
This interface defines the contract for Country data objects used in Magento's two-factor authentication module.
Developers use this when working with country information for SMS-based 2FA, particularly for storing and retrieving country codes, names, and dial codes needed for phone number validation and formatting.
Public Methods
- getId()
- setId()
- getCode()
- setCode()
- getName()
- setName()
- getDialCode()
- setDialCode()
- getExtensionAttributes()
- setExtensionAttributes()