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

Go to the source code of this file.

Variables

if(empty($quote)) $data
 
 $objectManager = Bootstrap::getObjectManager()
 
 $address = $objectManager->create(AddressInterface::class, ['data' => $data])
 

Variable Documentation

◆ $address

$address = $objectManager->create(AddressInterface::class, ['data' => $data])

Definition at line 37 of file billing_address.php.

◆ $data

if (empty( $quote)) $data
Initial value:
= [
'firstname' => 'Jonh',
'lastname' => 'Doe',
'telephone' => '0333-233-221',
'street' => ['Third Division 1'],
'city' => 'New York',
'region' => 'NY',
'postcode' => 10029,
'country_id' => 'US',
'email' => '[email protected]',
'address_type' => 'billing',
]

Definition at line 20 of file billing_address.php.

◆ $objectManager

$objectManager = Bootstrap::getObjectManager()

Definition at line 34 of file billing_address.php.