Model
MerchantCacheService
Magento\PaymentServicesBase\Model\MerchantCacheService
What it does
This class manages caching of merchant scope data for payment services across different environments.
Developers use it to store and retrieve merchant configuration scopes (like website/store associations) to avoid repeated API calls, improving performance.
The cache automatically expires after 1 hour and can be manually cleared when merchant settings change.
Public Methods
- loadScopesFromCache()
- saveScopesToCache()
- cleanScopesFromCache()