Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
invoice_with_bundle.php File Reference

Go to the source code of this file.

Variables

 $objectManager = ObjectManager::getInstance()
 
 $invoiceService = $objectManager->get(InvoiceService::class)
 
 $invoice = $invoiceService->prepareInvoice($order)
 
 $invoiceRepository = $objectManager->get(InvoiceRepositoryInterface::class)
 
 $itemFactory = $objectManager->get(ItemFactory::class)
 
 $itemRepository = $objectManager->get(InvoiceItemRepositoryInterface::class)
 

Variable Documentation

◆ $invoice

$invoice = $invoiceService->prepareInvoice($order)

Definition at line 21 of file invoice_with_bundle.php.

◆ $invoiceRepository

$invoiceRepository = $objectManager->get(InvoiceRepositoryInterface::class)

Definition at line 26 of file invoice_with_bundle.php.

◆ $invoiceService

$invoiceService = $objectManager->get(InvoiceService::class)

Definition at line 20 of file invoice_with_bundle.php.

◆ $itemFactory

$itemFactory = $objectManager->get(ItemFactory::class)

Definition at line 30 of file invoice_with_bundle.php.

◆ $itemRepository

$itemRepository = $objectManager->get(InvoiceItemRepositoryInterface::class)

Definition at line 32 of file invoice_with_bundle.php.

◆ $objectManager

$objectManager = ObjectManager::getInstance()

Definition at line 17 of file invoice_with_bundle.php.