Composite
Magento\Payment\Model\Checks\Composite
What it does
This class acts as a composite specification pattern implementation that validates whether a payment method can be used with a quote by running multiple validation checks.
It combines several payment method specifications using AND logic - all checks must pass for the payment method to be considered applicable.
Developers use this to register and execute multiple payment validation rules (like country restrictions, minimum order amounts, or customer group checks) in a single operation.
Public Methods
- isApplicable()