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

Go to the source code of this file.

Variables

 $addressData = require(__DIR__ . '/address_data.php')
 
 $objManager = Bootstrap::getObjectManager()
 
 $billingAddress
 
 $shippingAddress = clone $billingAddress
 
 $payment = $objManager->create(Payment::class)
 
 $order = $objManager->create(Order::class)
 

Variable Documentation

◆ $addressData

$addressData = require(__DIR__ . '/address_data.php')

Definition at line 13 of file order_hostedpro.php.

◆ $billingAddress

$billingAddress
Initial value:
->create(Address::class, ['data' => $addressData])
->setAddressType('billing')
$addressData
$objManager

Definition at line 16 of file order_hostedpro.php.

◆ $objManager

$objManager = Bootstrap::getObjectManager()

Definition at line 14 of file order_hostedpro.php.

◆ $order

$order = $objManager->create(Order::class)

Definition at line 29 of file order_hostedpro.php.

◆ $payment

$payment = $objManager->create(Payment::class)

Definition at line 25 of file order_hostedpro.php.

◆ $shippingAddress

$shippingAddress = clone $billingAddress

Definition at line 20 of file order_hostedpro.php.