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

Go to the source code of this file.

Variables

 $objectManager = Bootstrap::getObjectManager()
 
 $transactionBuilder = $objectManager->create(TransactionBuilder::class)
 
 $transaction
 
 $transactionRepository = $objectManager->create(TransactionRepositoryInterface::class)
 
 $orderItem = $objectManager->create(Item::class)
 
 $totalAmount = $product->getPrice()
 
 $orderRepository = $objectManager->get(OrderRepositoryInterface::class)
 

Variable Documentation

◆ $objectManager

$objectManager = Bootstrap::getObjectManager()

Definition at line 19 of file order_express_payment_action_order.php.

◆ $orderItem

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

Definition at line 32 of file order_express_payment_action_order.php.

◆ $orderRepository

$orderRepository = $objectManager->get(OrderRepositoryInterface::class)

Definition at line 53 of file order_express_payment_action_order.php.

◆ $totalAmount

$totalAmount = $product->getPrice()

Definition at line 43 of file order_express_payment_action_order.php.

◆ $transaction

$transaction
Initial value:
->setOrder($order)
->setTransactionId(1)
->build(Transaction::TYPE_ORDER)
$order
Definition: order.php:55
$payment
Definition: order.php:17

Definition at line 23 of file order_express_payment_action_order.php.

◆ $transactionBuilder

$transactionBuilder = $objectManager->create(TransactionBuilder::class)

Definition at line 22 of file order_express_payment_action_order.php.

◆ $transactionRepository

$transactionRepository = $objectManager->create(TransactionRepositoryInterface::class)

Definition at line 28 of file order_express_payment_action_order.php.