PluginProbe
HyperPay Payments / 5.3.0
HyperPay Payments v5.3.0
6.6.0 trunk 1.7 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.1.0 2.2.0 2.3.0 2.3.1 2.3.2 2.3.3 3.0.0 3.0.5 4.0.0 4.0.2 All 34 releases
hyperpay-gateways / src / Brands / CreditCard.php

CreditCard.php in HyperPay Payments 5.3.0, at src/Brands/CreditCard.php

48 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Hyperpay\Gateways\Brands;
3
4 use Hyperpay\Gateways\App\DefaultGateway;
5 use Hyperpay\Gateways\Main;
6 use WC_Order;
7
8 class CreditCard extends DefaultGateway
9 {
10 /**
11 * should be lower case and unique
12 * @var string $id
13 */
14 public $id = 'hyperpay';
15
16 /**
17 * The title which appear next to gateway on setting page
18 * @var string $method_title
19 */
20 public $method_title = 'Hyperpay Gateway';
21
22 /**
23 * Description of gateways which will appear next to title
24 * @var string $method_description
25 */
26 public $method_description = 'Hyperpay Plugin for Woocommerce';
27
28 /**
29 *
30 * the Brands supported by the gateway
31 * @var array $supported_brands
32 */
33 protected $supported_brands = [
34 'VISA' => 'Visa',
35 'MASTER' => 'Master Card',
36 'AMEX' => 'American Express',
37 'JCB' => 'Japan Credit Bureau'
38 ];
39
40 public function __construct()
41 {
42 parent::__construct();
43 $this->blackBins = require_once(Main::ROOT_PATH . '/App/blackBins.php');
44 }
45
46
47 }
48