Model
ShippingMethodManagement
Magento\Quote\Model\ShippingMethodManagement
What it does
This class manages shipping methods for shopping carts in Magento 2.
Developers use it to retrieve available shipping methods, set a customer's chosen shipping method, and estimate shipping costs based on delivery addresses.
It's commonly used during checkout to display shipping options and calculate rates before order completion.
Public Methods
- get()
- getList()
- set()
- apply()
- estimateByAddress()
- estimateByExtendedAddress()
- estimateByAddressId()