| 1 |
<?php |
| 2 |
/** |
| 3 |
* Charitable Stripe Gateway Processor interface. |
| 4 |
* |
| 5 |
* @package Charitable Stripe/Interfaces/Charitable_Stripe_Gateway_Processor |
| 6 |
* @author David Bisset |
| 7 |
* @copyright Copyright (c) 2021-2022, WP Charitable LLC |
| 8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 9 |
* @since 1.3.0 |
| 10 |
* @version 1.3.0 |
| 11 |
*/ |
| 12 |
|
| 13 |
if ( ! defined( 'ABSPATH' ) ) { |
| 14 |
exit; |
| 15 |
} |
| 16 |
|
| 17 |
if ( ! interface_exists( 'Charitable_Stripe_Gateway_Processor_Interface' ) ) : |
| 18 |
|
| 19 |
/** |
| 20 |
* Charitable_Stripe_Gateway_Processor interface. |
| 21 |
* |
| 22 |
* @since 1.3.0 |
| 23 |
*/ |
| 24 |
interface Charitable_Stripe_Gateway_Processor_Interface { |
| 25 |
|
| 26 |
/** |
| 27 |
* Run the processor. |
| 28 |
* |
| 29 |
* @since 1.3.0 |
| 30 |
* |
| 31 |
* @return boolean |
| 32 |
*/ |
| 33 |
public function run(); |
| 34 |
} |
| 35 |
|
| 36 |
endif; |
| 37 |
|