Log in
Model

PaymentAction

Magento\PaymentServicesPaypal\Model\Adminhtml\Source\PaymentAction

What it does

This class provides payment action options for PayPal Payment Services configuration in Magento admin.

It returns an array of available payment actions that administrators can select when configuring the payment method, allowing them to choose between authorizing payments only or authorizing and capturing funds immediately.

Public Methods

  • toOptionArray()