PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
give / src / PaymentGateways / PaymentGateway.php

PaymentGateway.php in GiveWP – Donation Plugin and Fundraising Platform 4.16.9, at src/PaymentGateways/PaymentGateway.php

56 lines 983 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Give\PaymentGateways;
4
5 /**
6 * Interface PaymentGateway
7 *
8 * For use when defining a Payment Gateway. This gives the basic configurations needed to register
9 * the gateway with GiveWP.
10 *
11 * @since 2.9.0
12 */
13 interface PaymentGateway
14 {
15 /**
16 * Returns a unique ID for the gateway
17 *
18 * @return string
19 * @since 2.9.0
20 *
21 */
22 public function getId();
23
24 /**
25 * Returns a human-readable name for the gateway
26 *
27 * @return string
28 * @since 2.9.0
29 *
30 */
31 public function getName();
32
33 /**
34 * Returns a human-readable label for use when a donor selects a payment method to use
35 *
36 * @return string
37 * @since 2.9.0
38 *
39 */
40 public function getPaymentMethodLabel();
41
42 /**
43 * Get payment gateway options
44 *
45 * @return array
46 */
47 public function getOptions();
48
49 /**
50 * Bootstrap payment gateway
51 *
52 * @since 2.9.0
53 */
54 public function boot();
55 }
56