Model
Creditmemo
Magento\Sales\Model\Order\Pdf\Creditmemo
What it does
This class generates PDF documents for credit memos in Magento 2.
Developers use this class when they need to create printable credit memo PDFs that include order details, product items, totals, and store branding.
It's automatically invoked when merchants or customers request to view or download credit memo PDFs from the admin panel or storefront.
Public Methods
- getPdf()
- newPage()