Log in
Interface

SetShippingMethodsOnCartInterface

Magento\QuoteGraphQl\Model\Cart\SetShippingMethodsOnCartInterface

What it does

This interface defines a contract for setting shipping methods on a shopping cart through GraphQL.

Developers implement this interface when creating custom logic to assign shipping methods to quotes, such as handling specific shipping carriers or business rules.

It serves as an extension point for customizing how shipping methods are applied to carts in GraphQL operations.

Public Methods

  • execute()