Model
SdkButtonLabel
Magento\PaymentServicesPaypal\Model\Adminhtml\Source\SdkButtonLabel
What it does
This class provides configuration options for PayPal button label types in the Magento admin panel.
Developers use this as a source model in system.xml to populate dropdown menus where merchants can select how their PayPal button should be labeled (e.g., 'PayPal', 'Checkout', 'Buy Now', 'Pay', or 'Installment').
Public Methods
- toOptionArray()