Model
Carrier
Magento\Dhl\Model\Carrier
What it does
This class handles all DHL shipping integration functionality in Magento 2, including calculating shipping rates, creating shipping labels, and tracking shipments.
Developers use this class when implementing or customizing DHL shipping methods, processing international/domestic shipments, or integrating with DHL's API for rate quotes and label generation.
Public Methods
- collectRates()
- getResult()
- setRequest()
- getAllowedMethods()
- getCode()
- getDhlProducts()
- getDhlProductTitle()
- proccessAdditionalValidation()
- processAdditionalValidation()
- getContainerTypes()
- getTracking()
- requestToShipment()