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-payment
Model
Source
Invoice.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Payment\Model\Source
;
7
16
class
Invoice
implements
\Magento\Framework\Option\ArrayInterface
17
{
21
public
function
toOptionArray
()
22
{
23
return
[
24
[
25
'value'
=>
\Magento\Payment\Model\Method\AbstractMethod::ACTION_AUTHORIZE_CAPTURE
,
26
'label'
=>
__
(
'Yes'
),
27
],
28
[
'value'
=>
''
,
'label'
=>
__
(
'No'
)]
29
];
30
}
31
}
Magento\Payment\Model\Source
Definition:
Cctype.php:6
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Payment\Model\Source\Invoice
Definition:
Invoice.php:16
Magento\Payment\Model\Source\Invoice\toOptionArray
toOptionArray()
Definition:
Invoice.php:21
Magento\Payment\Model\MethodInterface\ACTION_AUTHORIZE_CAPTURE
const ACTION_AUTHORIZE_CAPTURE
Definition:
MethodInterface.php:25