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 shipping method on a quote, and estimate shipping costs based on different address types (full address, estimate address, or customer address ID).
It's the primary service for handling all shipping method operations during checkout.
Public Methods
- get()
- getList()
- set()
- apply()
- estimateByAddress()
- estimateByExtendedAddress()
- estimateByAddressId()