Interface
InvoiceCreationArgumentsInterface
Magento\Sales\Api\Data\InvoiceCreationArgumentsInterface
What it does
This interface defines the contract for passing additional arguments when creating an invoice in Magento 2.
Developers use this to extend invoice creation functionality by adding custom data through extension attributes, allowing third-party modules to inject additional information during the invoice creation process without modifying core code.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()