Interface
ShippingMethodManagementInterface
Magento\Quote\Model\ShippingMethodManagementInterface
What it does
This interface defines the contract for managing shipping methods on shopping carts in Magento 2.
Developers use this to set a specific carrier and shipping method for a cart, or retrieve the currently selected shipping method.
It's commonly used during checkout processes or when building custom shipping selection functionality.
Public Methods
- set()
- get()