Log in
Model

TotalMinMax

Magento\Payment\Model\Checks\TotalMinMax

What it does

This class validates whether a payment method can be used based on the order's minimum and maximum total amount restrictions.

Developers use this class to enforce payment method availability rules, such as allowing certain payment methods only for orders within a specific price range.

It's part of Magento's payment method specification pattern that determines if a payment method should be displayed at checkout.

Public Methods

  • isApplicable()