Log in
Interface

ShippingMethodManagementInterface

Magento\Quote\Api\ShippingMethodManagementInterface

What it does

This interface defines the contract for managing shipping methods in Magento 2 quotes/carts.

Developers use this to estimate shipping costs based on an address or retrieve available shipping methods for a cart.

It's commonly used during checkout to display shipping options to customers or in custom modules that need to calculate shipping rates programmatically.

Public Methods

  • estimateByAddress()
  • estimateByAddressId()
  • getList()