Log in
Model

PaymentConfigResponse

Magento\PaymentServicesPaypal\Model\Api\PaymentConfigResponse

What it does

This class serves as a data transfer object (DTO) for payment configuration responses in PayPal Payment Services.

It encapsulates configuration settings for multiple payment methods including Apple Pay, Google Pay, hosted credit card fields, and PayPal Smart Buttons.

Developers use this class to retrieve and set payment method configurations when integrating PayPal payment options into their Magento store.

Public Methods

  • getApplePay()
  • setApplePay()
  • getGooglePay()
  • setGooglePay()
  • getHostedFields()
  • setHostedFields()
  • getSmartButtons()
  • setSmartButtons()