Log in
Model

Request

Magento\Shipping\Model\Shipment\Request

What it does

This class serves as a data transfer object (DTO) for shipment requests sent to shipping carriers.

Developers use it to structure and pass shipment information (shipper details, recipient details, package weight, shipping method) when creating shipping labels or requesting shipping rates from carrier APIs.

It provides magic getter/setter methods for all shipment-related data fields.