1 | <?php |
||
2 | |||
3 | namespace Pronamic\WordPress\Pay\Gateways\TargetPay; |
||
4 | |||
5 | use Pronamic\WordPress\Pay\Gateways\Common\AbstractIntegration; |
||
6 | |||
7 | /** |
||
8 | * Title: TargetPay integration |
||
9 | * Description: |
||
10 | * Copyright: 2005-2019 Pronamic |
||
11 | * Company: Pronamic |
||
12 | * |
||
13 | * @author Remco Tolsma |
||
14 | * @version 2.0.0 |
||
15 | * @since 1.0.0 |
||
16 | */ |
||
17 | class Integration extends AbstractIntegration { |
||
18 | public function __construct() { |
||
19 | $this->id = 'targetpay-ideal'; |
||
20 | $this->name = 'TargetPay - iDEAL'; |
||
21 | $this->product_url = __( 'https://www.targetpay.com/info/ideal?setlang=en', 'pronamic_ideal' ); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
22 | $this->dashboard_url = 'https://www.targetpay.com/login'; |
||
23 | $this->provider = 'targetpay'; |
||
24 | } |
||
25 | |||
26 | public function get_config_factory_class() { |
||
27 | return __NAMESPACE__ . '\ConfigFactory'; |
||
28 | } |
||
29 | |||
30 | public function get_settings_class() { |
||
31 | return __NAMESPACE__ . '\Settings'; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Get required settings for this integration. |
||
36 | * |
||
37 | * @see https://github.com/wp-premium/gravityforms/blob/1.9.16/includes/fields/class-gf-field-multiselect.php#L21-L42 |
||
38 | * @since 1.0.7 |
||
39 | * @return array |
||
40 | */ |
||
41 | public function get_settings() { |
||
42 | $settings = parent::get_settings(); |
||
43 | |||
44 | $settings[] = 'targetpay'; |
||
45 | |||
46 | return $settings; |
||
47 | } |
||
48 | } |
||
49 |