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

Go to the source code of this file.

Variables

 $objectManager = BootstrapHelper::getObjectManager()
 
 $addressData = include __DIR__ . '/address_data.php'
 
 $billingAddress = $objectManager->create(OrderAddress::class, ['data' => $addressData])
 
 $shippingAddress = clone $billingAddress
 
 $payment = $objectManager->create(OrderPayment::class)
 
 $orderItem = $objectManager->create(OrderItem::class)
 
 $order = $objectManager->create(Order::class)
 

Variable Documentation

◆ $addressData

$addressData = include __DIR__ . '/address_data.php'

Definition at line 28 of file order_fixture_store.php.

◆ $billingAddress

$billingAddress = $objectManager->create(OrderAddress::class, ['data' => $addressData])

Definition at line 30 of file order_fixture_store.php.

◆ $objectManager

$objectManager = BootstrapHelper::getObjectManager()

Definition at line 19 of file order_fixture_store.php.

◆ $order

$order = $objectManager->create(Order::class)

Definition at line 44 of file order_fixture_store.php.

◆ $orderItem

$orderItem = $objectManager->create(OrderItem::class)

Definition at line 40 of file order_fixture_store.php.

◆ $payment

$payment = $objectManager->create(OrderPayment::class)

Definition at line 36 of file order_fixture_store.php.

◆ $shippingAddress

$shippingAddress = clone $billingAddress

Definition at line 33 of file order_fixture_store.php.