Log in
Model

CanUseInternal

Magento\Payment\Model\Checks\CanUseInternal

What it does

This class checks whether a payment method can be used in the Magento admin area when creating orders.

Developers use this as part of the payment method validation chain to determine if a payment method is allowed for backend/admin order creation.

It implements the specification pattern to validate payment methods before they are displayed or used in admin order workflows.

Public Methods

  • isApplicable()