Interface
PaymentConfigRequestInterface
Magento\PaymentServicesPaypal\Api\PaymentConfigRequestInterface
What it does
This interface defines methods for retrieving PayPal payment configuration settings for different payment methods (Apple Pay, Google Pay, Smart Buttons, and Hosted Fields) based on SDK location.
Developers implement this interface to provide payment configuration data to the frontend, enabling proper initialization and display of PayPal payment options throughout the checkout process.
Public Methods
- getConfig()
- getApplePayConfig()
- getGooglePayConfig()
- getSmartButtonsConfig()
- getHostedFieldsConfig()