Model
Packaging
Magento\Shipping\Model\Order\Pdf\Packaging
What it does
This class generates PDF documents for shipping package labels and packing slips in Magento 2.
Developers use it to create printable PDFs that display package details including dimensions, weight, contents, delivery confirmation, and customs information for shipments.
It's typically invoked when merchants need to print package documentation for their orders.
Public Methods
- getPdf()