Model
ZeroTotal
Magento\Payment\Model\Checks\ZeroTotal
What it does
This class validates whether a payment method can be used based on the order's total amount.
It prevents payment methods (except the 'free' payment method) from being applied to quotes with a zero or near-zero grand total.
Developers use this as part of Magento's payment method validation chain to ensure appropriate payment methods are available during checkout.
Public Methods
- isApplicable()