1 | <?php |
||
2 | /** |
||
3 | * Copyright © Getnet. All rights reserved. |
||
4 | * |
||
5 | * @author Bruno Elisei <[email protected]> |
||
6 | * See LICENSE for license details. |
||
7 | */ |
||
8 | |||
9 | namespace Getnet\PaymentMagento\Model\Adminhtml\Source; |
||
10 | |||
11 | use Magento\Payment\Model\Method\AbstractMethod; |
||
12 | |||
13 | /** |
||
14 | * Class Payment Action Boleto - Adds payment action to boleto. |
||
15 | */ |
||
16 | class PaymentActionBoleto implements \Magento\Framework\Option\ArrayInterface |
||
0 ignored issues
–
show
|
|||
17 | { |
||
18 | /** |
||
19 | * To Options Array. |
||
20 | * |
||
21 | * @return array |
||
22 | */ |
||
23 | public function toOptionArray(): array |
||
24 | { |
||
25 | return [ |
||
26 | [ |
||
27 | 'value' => AbstractMethod::ACTION_ORDER, |
||
28 | 'label' => __('Order'), |
||
29 | ], |
||
30 | ]; |
||
31 | } |
||
32 | } |
||
33 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.