Log in
Interface

PaymentSdkParamsInterface

Magento\PaymentServicesPaypal\Api\Data\PaymentSdkParamsInterface

What it does

This interface defines the contract for payment SDK parameters used in PayPal payment integration.

Developers use this to retrieve and set the payment SDK code and associated configuration parameters needed to initialize and configure the PayPal payment SDK on the frontend.

It's primarily used when rendering payment forms and managing PayPal SDK initialization data.

Public Methods

  • getCode()
  • setCode()
  • getParams()
  • setParams()