Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$addressData = include __DIR__ . '/../../../Magento/Sales/_files/address_data.php' | |
$objectManager = Bootstrap::getObjectManager() | |
$billingAddress = $objectManager->create(Address::class, ['data' => $addressData]) | |
$payment = $objectManager->create(Payment::class) | |
$orderItem1 = $objectManager->create(Item::class) | |
$orderAmount = 100 | |
$customerEmail = $billingAddress->getEmail() | |
$order = $objectManager->create(Order::class) | |
$orderRepository = $objectManager->get(OrderRepositoryInterface::class) | |
$addressData = include __DIR__ . '/../../../Magento/Sales/_files/address_data.php' |
Definition at line 16 of file order_with_guest_and_virtual_product.php.
$billingAddress = $objectManager->create(Address::class, ['data' => $addressData]) |
Definition at line 20 of file order_with_guest_and_virtual_product.php.
$customerEmail = $billingAddress->getEmail() |
Definition at line 43 of file order_with_guest_and_virtual_product.php.
$objectManager = Bootstrap::getObjectManager() |
Definition at line 18 of file order_with_guest_and_virtual_product.php.
$order = $objectManager->create(Order::class) |
Definition at line 46 of file order_with_guest_and_virtual_product.php.
$orderAmount = 100 |
Definition at line 42 of file order_with_guest_and_virtual_product.php.
$orderItem1 = $objectManager->create(Item::class) |
Definition at line 32 of file order_with_guest_and_virtual_product.php.
$orderRepository = $objectManager->get(OrderRepositoryInterface::class) |
Definition at line 67 of file order_with_guest_and_virtual_product.php.
$payment = $objectManager->create(Payment::class) |
Definition at line 24 of file order_with_guest_and_virtual_product.php.