| 1 |
<?php |
| 2 |
|
| 3 |
namespace Hyperpay\Gateways\Brands; |
| 4 |
|
| 5 |
use Hyperpay\Gateways\App\DefaultGateway; |
| 6 |
use WC_Order; |
| 7 |
|
| 8 |
|
| 9 |
class STCPay extends DefaultGateway |
| 10 |
{ |
| 11 |
|
| 12 |
public $trans_mode = 'EXTERNAL'; |
| 13 |
|
| 14 |
public $server_to_server = false; |
| 15 |
|
| 16 |
/** |
| 17 |
* should be lower case and unique |
| 18 |
* @var string $id |
| 19 |
*/ |
| 20 |
public $id = 'hyperpay_stcpay'; |
| 21 |
|
| 22 |
/** |
| 23 |
* The title which appear next to gateway on setting page |
| 24 |
* @var string $method_title |
| 25 |
*/ |
| 26 |
public $method_title = 'STCPay'; |
| 27 |
|
| 28 |
/** |
| 29 |
* Description of gateways which will appear next to title |
| 30 |
* @var string $method_description |
| 31 |
*/ |
| 32 |
public $method_description = 'STCPay Plugin for Woocommerce'; |
| 33 |
|
| 34 |
|
| 35 |
/** |
| 36 |
* |
| 37 |
* the Brands supported by the gateway |
| 38 |
* @var array $supported_brands |
| 39 |
*/ |
| 40 |
protected $supported_brands = [ |
| 41 |
'STC_PAY' => 'STCPay', |
| 42 |
]; |
| 43 |
|
| 44 |
} |
| 45 |
|