Log in
Model

ItemCreation

Magento\Sales\Model\Order\Invoice\ItemCreation

What it does

This class represents the data structure for creating invoice line items when generating an invoice for an order.

Developers use this class to specify which order items to include in an invoice and their quantities, typically when programmatically creating invoices through the Magento API or during custom invoice generation processes.

Public Methods

  • getOrderItemId()
  • setOrderItemId()
  • getQty()
  • setQty()
  • getExtensionAttributes()
  • setExtensionAttributes()