Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/cartforge.co/vendor/paypal/module-braintree-core/Model/Adminhtml/Source/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/cartforge.co/vendor/paypal/module-braintree-core/Model/Adminhtml/Source/LpmMethods.php
<?php
declare(strict_types=1);

namespace PayPal\Braintree\Model\Adminhtml\Source;

use PayPal\Braintree\Model\Lpm\Config;
use Magento\Framework\Data\OptionSourceInterface;

/**
 * Provide options for backend config.
 */
class LpmMethods implements OptionSourceInterface
{
    /**
     * Return array of options as value-label pairs
     *
     * @return array Format: array(array('value' => '<value>', 'label' => '<label>'), ...)
     */
    public function toOptionArray(): array
    {
        return [
            ['value' => Config::VALUE_BANCONTACT, 'label' => __('Bancontact')],
            ['value' => Config::VALUE_EPS, 'label' => __('EPS')],
            ['value' => Config::VALUE_GIROPAY, 'label' => __('giropay')],
            ['value' => Config::VALUE_IDEAL, 'label' => __('iDeal')],
            ['value' => Config::VALUE_SOFORT, 'label' => __('Klarna Pay Now / SOFORT')],
            ['value' => Config::VALUE_MYBANK, 'label' => __('MyBank')],
            ['value' => Config::VALUE_P24, 'label' => __('P24')],
            ['value' => Config::VALUE_SEPA, 'label' => __('SEPA/ELV Direct Debit')]
        ];
    }
}

Spamworldpro Mini