Log in
Model

Packaging

Magento\Shipping\Model\Order\Pdf\Packaging

What it does

This class generates PDF documents for shipping package labels and slips in Magento 2.

Developers would use this when they need to create printable packaging documents that include package details, dimensions, weights, contents, and items being shipped.

It's primarily used in the admin panel when processing shipments and creating shipping documentation.

Public Methods

  • getPdf()