Model
CurrencyInformation
Magento\Directory\Model\Data\CurrencyInformation
What it does
This data model class stores and manages comprehensive currency information for a Magento store, including base currency code/symbol, display currency code/symbol, available currencies, and exchange rates.
Developers use this class when working with the Directory API to retrieve or set currency configuration data, particularly in multi-currency store implementations or when integrating with currency-related services.
Public Methods
- getBaseCurrencyCode()
- setBaseCurrencyCode()
- getBaseCurrencySymbol()
- setBaseCurrencySymbol()
- getDefaultDisplayCurrencyCode()
- setDefaultDisplayCurrencyCode()
- getDefaultDisplayCurrencySymbol()
- setDefaultDisplayCurrencySymbol()
- getAvailableCurrencyCodes()
- setAvailableCurrencyCodes()
- getExchangeRates()
- setExchangeRates()
- getExtensionAttributes()
- setExtensionAttributes()