Interface
InvoiceManagementInterface
Magento\Sales\Api\InvoiceManagementInterface
What it does
This interface defines the contract for managing Magento 2 invoices, including operations like capturing payment, voiding invoices, retrieving comments, and sending invoice notifications to customers.
Developers use this interface when they need to programmatically interact with invoices, such as processing payments, managing invoice lifecycle, or integrating with external payment systems.
Public Methods
- setCapture()
- getCommentsList()
- notify()
- setVoid()