Log in
Interface

GuestShippingMethodManagementInterface

Magento\Quote\Model\GuestCart\GuestShippingMethodManagementInterface

What it does

This interface defines operations for managing shipping methods on guest shopping carts (customers not logged in).

Developers use this to set or retrieve shipping methods for guest checkouts, specifying the carrier and method codes.

It's commonly implemented in checkout flows where anonymous users need to select delivery options before completing their purchase.

Public Methods

  • set()
  • get()