Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() | |
$addressData = include __DIR__ . '/../../../Magento/Sales/_files/address_data.php' | |
$billingAddress = $objectManager->create(\Magento\Sales\Model\Order\Address::class, ['data' => $addressData]) | |
$shippingAddress = clone $billingAddress | |
$payment = $objectManager->create(\Magento\Sales\Model\Order\Payment::class) | |
$product = $objectManager->create(\Magento\Catalog\Model\Product::class) | |
$repository = $objectManager->create(\Magento\Catalog\Model\ProductRepository::class) | |
$optionValuesByType | |
$requestInfo = ['options' => []] | |
$productOptions = $product->getOptions() | |
$orderItem = $objectManager->create(\Magento\Sales\Model\Order\Item::class) | |
$order = $objectManager->create(\Magento\Sales\Model\Order::class) | |
$addressData = include __DIR__ . '/../../../Magento/Sales/_files/address_data.php' |
Definition at line 11 of file order_item_with_product_and_custom_options.php.
$billingAddress = $objectManager->create(\Magento\Sales\Model\Order\Address::class, ['data' => $addressData]) |
Definition at line 13 of file order_item_with_product_and_custom_options.php.
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() |
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
Definition at line 9 of file order_item_with_product_and_custom_options.php.
$optionValuesByType |
Definition at line 27 of file order_item_with_product_and_custom_options.php.
$order = $objectManager->create(\Magento\Sales\Model\Order::class) |
Definition at line 59 of file order_item_with_product_and_custom_options.php.
$orderItem = $objectManager->create(\Magento\Sales\Model\Order\Item::class) |
Definition at line 49 of file order_item_with_product_and_custom_options.php.
$payment = $objectManager->create(\Magento\Sales\Model\Order\Payment::class) |
Definition at line 19 of file order_item_with_product_and_custom_options.php.
$product = $objectManager->create(\Magento\Catalog\Model\Product::class) |
Definition at line 23 of file order_item_with_product_and_custom_options.php.
$productOptions = $product->getOptions() |
Definition at line 43 of file order_item_with_product_and_custom_options.php.
$repository = $objectManager->create(\Magento\Catalog\Model\ProductRepository::class) |
Definition at line 24 of file order_item_with_product_and_custom_options.php.
$requestInfo = ['options' => []] |
Definition at line 42 of file order_item_with_product_and_custom_options.php.
$shippingAddress = clone $billingAddress |
Definition at line 16 of file order_item_with_product_and_custom_options.php.