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