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
Http
TransferFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Braintree\Gateway\Http
;
7
8
use
Magento\Payment\Gateway\Http\TransferBuilder
;
9
use
Magento\Payment\Gateway\Http\TransferFactoryInterface
;
10
use
Magento\Payment\Gateway\Http\TransferInterface
;
11
use
Magento\Payment\Gateway\ConfigInterface
;
12
13
class
TransferFactory
implements
TransferFactoryInterface
14
{
18
private
$transferBuilder;
19
23
public
function
__construct
(
24
TransferBuilder
$transferBuilder
25
) {
26
$this->transferBuilder = $transferBuilder;
27
}
28
35
public
function
create
(array
$request
)
36
{
37
return
$this->transferBuilder
38
->setBody(
$request
)
39
->build();
40
}
41
}
Magento\Payment\Gateway\Http\TransferFactoryInterface
Definition:
TransferFactoryInterface.php:14
Magento\Braintree\Gateway\Http\TransferFactory
Definition:
TransferFactory.php:13
Magento\Payment\Gateway\ConfigInterface
Definition:
ConfigInterface.php:14
Magento\Payment\Gateway\Http\TransferBuilder
Definition:
TransferBuilder.php:13
Magento\Braintree\Gateway\Http\TransferFactory\__construct
__construct(TransferBuilder $transferBuilder)
Definition:
TransferFactory.php:23
$request
$request
Definition:
quote_with_configurable_product_last_variation.php:22
Magento\Payment\Gateway\Http\TransferInterface
Definition:
TransferInterface.php:14
Magento\Braintree\Gateway\Http\TransferFactory\create
create(array $request)
Definition:
TransferFactory.php:35
Magento\Braintree\Gateway\Http