Model
AvailablePaymentMethods
Magento\QuoteGraphQl\Model\Resolver\AvailablePaymentMethods
What it does
This GraphQL resolver retrieves available payment methods for a shopping cart in Magento 2's GraphQL API.
Developers use this class when implementing the cart query to display payment options to customers, with special handling for free products that only show the free payment method when combined with free shipping.
Public Methods
- resolve()