What is the \Magento\Shipping\Model\Carrier\CarrierInterface::getAllowedMethods() method for?

Interface

Usage

It is used to list a shipping carrier’s shipping methods.

See also: