| 1 |
<?php |
| 2 |
/** |
| 3 |
* Integration: Interface |
| 4 |
* |
| 5 |
* @package SimplePay |
| 6 |
* @subpackage Core |
| 7 |
* @copyright Copyright (c) 2022, Sandhills Development, LLC |
| 8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 9 |
* @since 4.4.3 |
| 10 |
*/ |
| 11 |
|
| 12 |
namespace SimplePay\Core\Integration; |
| 13 |
|
| 14 |
/** |
| 15 |
* IntegrationInterface interface. |
| 16 |
* |
| 17 |
* @since 4.4.3 |
| 18 |
*/ |
| 19 |
interface IntegrationInterface { |
| 20 |
|
| 21 |
/** |
| 22 |
* Returns the integration ID. |
| 23 |
* |
| 24 |
* @since 4.4.3 |
| 25 |
* |
| 26 |
* @return string |
| 27 |
*/ |
| 28 |
public function get_id(); |
| 29 |
|
| 30 |
/** |
| 31 |
* Determines if the integration is active. |
| 32 |
* |
| 33 |
* @since 4.4.3 |
| 34 |
* |
| 35 |
* @return bool |
| 36 |
*/ |
| 37 |
public function is_active(); |
| 38 |
|
| 39 |
} |
| 40 |
|