# give/4.16.8.1/src/PaymentGateways/PaymentGateway.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.8.1. 56 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.8.1/code/src/PaymentGateways/PaymentGateway.php
- Raw: https://pluginprobe.com/plugins/give/4.16.8.1/raw/src/PaymentGateways/PaymentGateway.php
- Modified: 2022-01-20T06:45:44+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/give/4.16.8.1/code/src/PaymentGateways/PaymentGateway.php#L10-L20`.

```php
<?php

namespace Give\PaymentGateways;

/**
 * Interface PaymentGateway
 *
 * For use when defining a Payment Gateway. This gives the basic configurations needed to register
 * the gateway with GiveWP.
 *
 * @since 2.9.0
 */
interface PaymentGateway
{
    /**
     * Returns a unique ID for the gateway
     *
     * @return string
     * @since 2.9.0
     *
     */
    public function getId();

    /**
     * Returns a human-readable name for the gateway
     *
     * @return string
     * @since 2.9.0
     *
     */
    public function getName();

    /**
     * Returns a human-readable label for use when a donor selects a payment method to use
     *
     * @return string
     * @since 2.9.0
     *
     */
    public function getPaymentMethodLabel();

    /**
     * Get payment gateway options
     *
     * @return array
     */
    public function getOptions();

    /**
     * Bootstrap payment gateway
     *
     * @since 2.9.0
     */
    public function boot();
}

```
