Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
VoidHandler.php
Go to the documentation of this file.
1 <?php
7 
9 
11 {
18  protected function setTransactionId(Payment $orderPayment, \Braintree\Transaction $transaction)
19  {
20  return;
21  }
22 
28  protected function shouldCloseTransaction()
29  {
30  return true;
31  }
32 
40  protected function shouldCloseParentTransaction(Payment $orderPayment)
41  {
42  return true;
43  }
44 }
$transaction
setTransactionId(Payment $orderPayment, \Braintree\Transaction $transaction)
Definition: VoidHandler.php:18
shouldCloseParentTransaction(Payment $orderPayment)
Definition: VoidHandler.php:40