Log in
Interface

SpecificationInterface

Magento\Payment\Model\Checks\SpecificationInterface

What it does

This interface defines a contract for payment method specification checks in Magento 2.

Developers implement this interface to create custom validators that determine whether a specific payment method can be used for a given quote, such as checking currency compatibility, cart total limits, or customer group restrictions.

Public Methods

  • isApplicable()