Interface
InvoiceCreationArgumentsInterface
Magento\Sales\Api\Data\InvoiceCreationArgumentsInterface
What it does
This interface defines the contract for passing additional creation arguments when generating invoices in Magento 2.
Developers use this interface to extend invoice creation functionality with custom data through extension attributes, allowing third-party modules to add their own parameters to the invoice creation process without modifying core code.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()