Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PaymentAction.php
Go to the documentation of this file.
1 <?php
7 
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 }
__()
Definition: __.php:13