What is the \Magento\Shipping\Model\Carrier\AbstractCarrierInterface::collectRates() method for?

Interface

Usage

It is used to list a shipping method’s rates.

See also: