| Total Complexity | 4 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Coverage | 68.42% |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class Integration extends AbstractIntegration { |
||
| 23 | /** |
||
| 24 | * Integration constructor. |
||
| 25 | */ |
||
| 26 | 1 | public function __construct() { |
|
| 27 | 1 | $this->id = 'adyen'; |
|
| 28 | 1 | $this->name = 'Adyen'; |
|
| 29 | 1 | $this->provider = 'adyen'; |
|
| 30 | 1 | $this->url = 'https://www.adyen.com/'; |
|
| 31 | 1 | $this->dashboard_url = array( |
|
| 32 | 1 | __( 'test', 'pronamic_ideal' ) => 'https://ca-test.adyen.com/ca/ca/login.shtml', |
|
| 33 | 1 | __( 'live', 'pronamic_ideal' ) => 'https://ca-live.adyen.com/ca/ca/login.shtml', |
|
| 34 | ); |
||
| 35 | |||
| 36 | // Notifications. |
||
| 37 | 1 | $notifications = new NotificationsController(); |
|
| 38 | |||
| 39 | 1 | $notifications->setup(); |
|
| 40 | 1 | } |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Get config factory class. |
||
| 44 | * |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | 1 | public function get_config_factory_class() { |
|
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Get settings class. |
||
| 53 | * |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function get_settings_class() { |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Get required settings for this integration. |
||
| 62 | * |
||
| 63 | * @link https://github.com/wp-premium/gravityforms/blob/1.9.16/includes/fields/class-gf-field-multiselect.php#L21-L42 |
||
| 64 | * @since 1.1.6 |
||
| 65 | * @return array |
||
| 66 | */ |
||
| 67 | public function get_settings() { |
||
| 73 | } |
||
| 74 | } |
||
| 75 |