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

Go to the source code of this file.

Variables

 $product = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Product::class)
 
 $addressData
 
 $billingData
 
 $billingAddress
 
 $shippingAddress = clone $billingAddress
 
 $quote = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Quote\Model\Quote::class)
 
 $payment
 
 $service
 
 $order = $service->submit($quote, ['increment_id' => '100000001'])
 

Variable Documentation

◆ $addressData

$addressData
Initial value:
= [
'region' => 'CA',
'postcode' => '11111',
'lastname' => 'lastname',
'firstname' => 'firstname',
'street' => 'street',
'city' => 'Los Angeles',
'email' => '[email protected]',
'telephone' => '11111111',
'country_id' => 'US',
]

Definition at line 38 of file quote_payment_payflow.php.

◆ $billingAddress

$billingAddress
Initial value:

Definition at line 69 of file quote_payment_payflow.php.

◆ $billingData

$billingData
Initial value:
= [
'address_id' => '',
'firstname' => 'testname',
'lastname' => 'lastname',
'company' => '',
'email' => '[email protected]',
'street' => [0 => 'test1', 1 => ''],
'city' => 'Test',
'region_id' => '1',
'region' => '',
'postcode' => '9001',
'country_id' => 'US',
'telephone' => '11111111',
'fax' => '',
'confirm_password' => '',
'save_in_address_book' => '1',
'use_for_shipping' => '1',
]

Definition at line 50 of file quote_payment_payflow.php.

◆ $order

$order = $service->submit($quote, ['increment_id' => '100000001'])

Definition at line 112 of file quote_payment_payflow.php.

◆ $payment

$payment
Initial value:

Definition at line 102 of file quote_payment_payflow.php.

◆ $product

$product = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Product::class)

Definition at line 16 of file quote_payment_payflow.php.

◆ $quote

$quote = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Quote\Model\Quote::class)

Definition at line 81 of file quote_payment_payflow.php.

◆ $service

$service
Initial value:
->create(\Magento\Quote\Api\CartManagementInterface::class)

Definition at line 110 of file quote_payment_payflow.php.

◆ $shippingAddress

$shippingAddress = clone $billingAddress

Definition at line 75 of file quote_payment_payflow.php.