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

Go to the source code of this file.

Variables

 $order = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Sales\Model\Order::class)
 
 $orderItems = $order->getItems()
 
 $orderItem = array_values($orderItems)[0]
 
 $invoiceItem = $objectManager->create(\Magento\Sales\Api\Data\InvoiceItemCreationInterface::class)
 
 $invoiceOrder = $objectManager->create(\Magento\Sales\Api\InvoiceOrderInterface::class)
 
 $shipmentItem = $objectManager->create(\Magento\Sales\Api\Data\ShipmentItemCreationInterface::class)
 
 $shipOrder = $objectManager->create(\Magento\Sales\Api\ShipOrderInterface::class)
 

Variable Documentation

◆ $invoiceItem

$invoiceItem = $objectManager->create(\Magento\Sales\Api\Data\InvoiceItemCreationInterface::class)

Definition at line 38 of file order_shipping.php.

◆ $invoiceOrder

$invoiceOrder = $objectManager->create(\Magento\Sales\Api\InvoiceOrderInterface::class)

Definition at line 42 of file order_shipping.php.

◆ $order

$order = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Sales\Model\Order::class)

Definition at line 10 of file order_shipping.php.

◆ $orderItem

$orderItem = array_values($orderItems)[0]

Definition at line 35 of file order_shipping.php.

◆ $orderItems

$orderItems = $order->getItems()

Definition at line 33 of file order_shipping.php.

◆ $shipmentItem

$shipmentItem = $objectManager->create(\Magento\Sales\Api\Data\ShipmentItemCreationInterface::class)

Definition at line 46 of file order_shipping.php.

◆ $shipOrder

$shipOrder = $objectManager->create(\Magento\Sales\Api\ShipOrderInterface::class)

Definition at line 50 of file order_shipping.php.