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]) | |
$shippingAddress = clone $billingAddress | |
$payment = $objectManager->create(Payment::class) | |
$orderItem1 = $objectManager->create(Item::class) | |
$orderItem2 = $objectManager->create(Item::class) | |
$orderAmount = 100 | |
$customerEmail = $billingAddress->getEmail() | |
$order = $objectManager->create(Order::class) | |
$orderRepository = $objectManager->get(OrderRepositoryInterface::class) | |
$orderAmount2 = 50 | |
$payment2 = $objectManager->create(Payment::class) | |
$order2 = $objectManager->create(Order::class) | |
$addressData = include __DIR__ . '/../../../Magento/Sales/_files/address_data.php' |
Definition at line 17 of file order_with_customer_and_two_simple_products.php.
$billingAddress = $objectManager->create(Address::class, ['data' => $addressData]) |
Definition at line 21 of file order_with_customer_and_two_simple_products.php.
$customerEmail = $billingAddress->getEmail() |
Definition at line 63 of file order_with_customer_and_two_simple_products.php.
$objectManager = Bootstrap::getObjectManager() |
Definition at line 19 of file order_with_customer_and_two_simple_products.php.
$order = $objectManager->create(Order::class) |
Definition at line 66 of file order_with_customer_and_two_simple_products.php.
$order2 = $objectManager->create(Order::class) |
Definition at line 99 of file order_with_customer_and_two_simple_products.php.
$orderAmount = 100 |
Definition at line 62 of file order_with_customer_and_two_simple_products.php.
$orderAmount2 = 50 |
Definition at line 95 of file order_with_customer_and_two_simple_products.php.
$orderItem1 = $objectManager->create(Item::class) |
Definition at line 40 of file order_with_customer_and_two_simple_products.php.
$orderItem2 = $objectManager->create(Item::class) |
Definition at line 51 of file order_with_customer_and_two_simple_products.php.
$orderRepository = $objectManager->get(OrderRepositoryInterface::class) |
Definition at line 92 of file order_with_customer_and_two_simple_products.php.
$payment = $objectManager->create(Payment::class) |
Definition at line 32 of file order_with_customer_and_two_simple_products.php.
$payment2 = $objectManager->create(Payment::class) |
Definition at line 96 of file order_with_customer_and_two_simple_products.php.
$shippingAddress = clone $billingAddress |
Definition at line 24 of file order_with_customer_and_two_simple_products.php.