Log in
Model

SelectedPaymentMethod

Magento\QuoteGraphQl\Model\Resolver\SelectedPaymentMethod

What it does

This resolver retrieves the selected payment method details for a shopping cart in GraphQL queries.

Developers use this class when they need to return payment information like payment code, method title, and purchase order number through the GraphQL API for cart queries.

Public Methods

  • resolve()