Log in
Interface

CountryInformationAcquirerInterface

Magento\Directory\Api\CountryInformationAcquirerInterface

What it does

This interface defines methods for retrieving country and region information in Magento 2.

Developers use this to fetch all available countries or get detailed information about a specific country by its ID, including its regions/states.

It's commonly used in checkout, address forms, or any feature requiring geographical data.

Public Methods

  • getCountriesInfo()
  • getCountryInfo()