# charitable/1.6.22/includes/interfaces/interface-charitable-gateway.php

Charitable – Donation &amp; Fundraising Platform (Donation Forms, Recurring Donations &amp; Fundraising Campaigns), version 1.6.22. 39 lines.

- Page: https://pluginprobe.com/plugins/charitable/1.6.22/code/includes/interfaces/interface-charitable-gateway.php
- Raw: https://pluginprobe.com/plugins/charitable/1.6.22/raw/includes/interfaces/interface-charitable-gateway.php
- Modified: 2019-01-09T04:02:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/charitable/1.6.22/code/includes/interfaces/interface-charitable-gateway.php#L10-L20`.

```php
<?php
/**
 * Charitable Gateway interface.
 *
 * This defines a strict interface that gateways must implement.
 *
 * @package   Charitable/Interfaces/Charitable_Gateway_Interface
 * @author    Eric Daams
 * @copyright Copyright (c) 2019, Studio 164a
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since     1.0.0
 * @version   1.2.0
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! interface_exists( 'Charitable_Gateway_Interface' ) ) :

	/**
	 * Charitable_Gateway_Interface interface.
	 *
	 * @since   1.2.0
	 */
	interface Charitable_Gateway_Interface {
		/**
		 * Return the gateway ID.
		 *
		 * @since  1.0.0
		 *
		 * @return string
		 */
		public static function get_gateway_id();
	}

endif;

```
