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
Model
Adminhtml
Source
PaymentAction.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Braintree\Model\Adminhtml\Source
;
7
8
use
Magento\Framework\Option\ArrayInterface
;
9
use
Magento\Payment\Model\MethodInterface
;
10
14
class
PaymentAction
implements
ArrayInterface
15
{
21
public
function
toOptionArray
()
22
{
23
return
[
24
[
25
'value'
=>
MethodInterface::ACTION_AUTHORIZE
,
26
'label'
=>
__
(
'Authorize'
),
27
],
28
[
29
'value'
=>
MethodInterface::ACTION_AUTHORIZE_CAPTURE
,
30
'label'
=>
__
(
'Authorize and Capture'
),
31
]
32
];
33
}
34
}
Magento\Braintree\Model\Adminhtml\Source\PaymentAction
Definition:
PaymentAction.php:14
Magento\Braintree\Model\Adminhtml\Source
Definition:
CcType.php:6
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Payment\Model\MethodInterface
Definition:
MethodInterface.php:16
Magento\Payment\Model\MethodInterface\ACTION_AUTHORIZE_CAPTURE
const ACTION_AUTHORIZE_CAPTURE
Definition:
MethodInterface.php:25
Magento\Braintree\Model\Adminhtml\Source\PaymentAction\toOptionArray
toOptionArray()
Definition:
PaymentAction.php:21
Magento\Payment\Model\MethodInterface\ACTION_AUTHORIZE
const ACTION_AUTHORIZE
Definition:
MethodInterface.php:23