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

Go to the source code of this file.

Variables

 $objectManager = Bootstrap::getObjectManager()
 
 $customerRepository = $objectManager->create(CustomerRepositoryInterface::class)
 
 $customer = $customerRepository->get('[email protected]')
 
 $product = $objectManager->create(Product::class)
 
 $stockItem = $objectManager->create(StockItemInterface::class)
 
 $extensionAttributes = $product->getExtensionAttributes()
 
 $productRepository = $objectManager->create(ProductRepositoryInterface::class)
 
 $billingAddress = $objectManager->create(Address::class)
 
 $quote = $objectManager->create(Quote::class)
 
 $item = $objectManager->create(Item::class)
 
 $quoteRepository = $objectManager->create(CartRepositoryInterface::class)
 

Variable Documentation

◆ $billingAddress

$billingAddress = $objectManager->create(Address::class)

Definition at line 55 of file virtual_quote_with_empty_billing_address.php.

◆ $customer

$customer = $customerRepository->get('[email protected]')

Definition at line 29 of file virtual_quote_with_empty_billing_address.php.

◆ $customerRepository

$customerRepository = $objectManager->create(CustomerRepositoryInterface::class)

Definition at line 28 of file virtual_quote_with_empty_billing_address.php.

◆ $extensionAttributes

$extensionAttributes = $product->getExtensionAttributes()

Definition at line 48 of file virtual_quote_with_empty_billing_address.php.

◆ $item

$item = $objectManager->create(Item::class)

Definition at line 66 of file virtual_quote_with_empty_billing_address.php.

◆ $objectManager

$objectManager = Bootstrap::getObjectManager()

Definition at line 25 of file virtual_quote_with_empty_billing_address.php.

◆ $product

$product = $objectManager->create(Product::class)

Definition at line 32 of file virtual_quote_with_empty_billing_address.php.

◆ $productRepository

$productRepository = $objectManager->create(ProductRepositoryInterface::class)

Definition at line 52 of file virtual_quote_with_empty_billing_address.php.

◆ $quote

$quote = $objectManager->create(Quote::class)

Definition at line 59 of file virtual_quote_with_empty_billing_address.php.

◆ $quoteRepository

$quoteRepository = $objectManager->create(CartRepositoryInterface::class)

Definition at line 74 of file virtual_quote_with_empty_billing_address.php.

◆ $stockItem

$stockItem = $objectManager->create(StockItemInterface::class)

Definition at line 45 of file virtual_quote_with_empty_billing_address.php.