Log in
Model

PaymentConfigRequest

Magento\PaymentServicesPaypal\Model\Api\PaymentConfigRequest

What it does

This class serves as the API request handler for retrieving PayPal payment configuration settings in Magento 2.

Developers use it to fetch payment method configurations for different payment types (Apple Pay, Google Pay, Smart Buttons, Hosted Fields) at specific store locations.

It's typically called by frontend components or API endpoints that need to display or initialize PayPal payment options.

Public Methods

  • getConfig()
  • getApplePayConfig()
  • getGooglePayConfig()
  • getSmartButtonsConfig()
  • getHostedFieldsConfig()