Shipping
Magento\Shipping\Model\Shipping
What it does
This class is the core shipping rate collection service in Magento 2.
Developers use it to gather shipping rates from all available carriers for a quote or address, handling complex scenarios like multi-package shipments, weight limits, and carrier-specific configurations.
It orchestrates the entire rate collection process by calling individual carriers and aggregating their results into a unified response.
Public Methods
- getResult()
- setOrigData()
- resetResult()
- getConfig()
- collectRates()
- collectCarrierRates()
- composePackagesForCarrier()
- collectRatesByAddress()
- setCarrierAvailabilityConfigField()