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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $quoteShippingAddress = $objectManager->create(\Magento\Quote\Model\Quote\Address::class)
 
 $accountManagement = $objectManager->create(\Magento\Customer\Api\AccountManagementInterface::class)
 
 $customerRepository = $objectManager->create(\Magento\Customer\Api\CustomerRepositoryInterface::class)
 
 $customer = $customerRepository->getById(1)
 
 $addressRepository = $objectManager->create(\Magento\Customer\Api\AddressRepositoryInterface::class)
 
 $quote = $objectManager->create(\Magento\Quote\Model\Quote::class)
 

Variable Documentation

◆ $accountManagement

$accountManagement = $objectManager->create(\Magento\Customer\Api\AccountManagementInterface::class)

Definition at line 17 of file quote_with_address.php.

◆ $addressRepository

$addressRepository = $objectManager->create(\Magento\Customer\Api\AddressRepositoryInterface::class)

Definition at line 24 of file quote_with_address.php.

◆ $customer

$customer = $customerRepository->getById(1)

Definition at line 21 of file quote_with_address.php.

◆ $customerRepository

$customerRepository = $objectManager->create(\Magento\Customer\Api\CustomerRepositoryInterface::class)

Definition at line 20 of file quote_with_address.php.

◆ $objectManager

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 11 of file quote_with_address.php.

◆ $quote

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

Definition at line 28 of file quote_with_address.php.

◆ $quoteShippingAddress

$quoteShippingAddress = $objectManager->create(\Magento\Quote\Model\Quote\Address::class)

Definition at line 14 of file quote_with_address.php.