Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-braintree
Gateway
Response
VoidHandler.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Braintree\Gateway\Response
;
7
8
use
Magento\Sales\Model\Order\Payment
;
9
10
class
VoidHandler
extends
TransactionIdHandler
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
$transaction
Definition:
partial_invoice.php:43
Magento\Braintree\Gateway\Response\VoidHandler
Definition:
VoidHandler.php:10
Magento\Braintree\Gateway\Response\VoidHandler\setTransactionId
setTransactionId(Payment $orderPayment, \Braintree\Transaction $transaction)
Definition:
VoidHandler.php:18
Magento\Braintree\Gateway\Response\TransactionIdHandler
Definition:
TransactionIdHandler.php:12
Magento\Braintree\Gateway\Response\VoidHandler\shouldCloseParentTransaction
shouldCloseParentTransaction(Payment $orderPayment)
Definition:
VoidHandler.php:40
Magento\Braintree\Gateway\Response
Definition:
CancelDetailsHandler.php:8
Magento\Braintree\Gateway\Response\VoidHandler\shouldCloseTransaction
shouldCloseTransaction()
Definition:
VoidHandler.php:28
Magento\Sales\Model\Order\Payment\Transaction
Definition:
Transaction.php:24
Magento\Sales\Model\Order\Payment
Definition:
RepositoryTest.php:6
Magento\Sales\Model\Order\Payment
Definition:
Payment.php:28