Interface
InvoiceManagementInterface
Magento\Sales\Api\InvoiceManagementInterface
What it does
This interface defines the contract for managing invoice operations in Magento 2.
Developers use this to capture payment on invoices, retrieve invoice comments, send invoice notification emails to customers, and void invoices that need to be cancelled.
It provides the core functionality for invoice lifecycle management after an order has been placed.
Public Methods
- setCapture()
- getCommentsList()
- notify()
- setVoid()