Model
Config
Magento\InstantPurchase\Model\Config
What it does
This class manages configuration settings for Magento 2's Instant Purchase feature.
Developers use it to check if the instant purchase functionality is enabled for a specific store and to retrieve the customizable button text that appears on product pages.
It acts as a centralized accessor for instant purchase-related store configuration values.
Public Methods
- isModuleEnabled()
- getButtonText()