Log in
Model

SelectedShippingMethod

Magento\QuoteGraphQl\Model\Resolver\ShippingAddress\SelectedShippingMethod

What it does

This GraphQL resolver retrieves the selected shipping method details for a quote's shipping address.

Developers use this class when building GraphQL queries to display the currently selected shipping option, including carrier information, method titles, and pricing (both with and without tax).

It's automatically invoked when the 'selected_shipping_method' field is requested on a cart's shipping address in GraphQL.

Public Methods

  • resolve()