PayPalCommerce
5 years ago
PayPalStandard
5 years ago
Stripe
5 years ago
PaymentGateway.php
5 years ago
PaypalSettingPage.php
5 years ago
SettingPage.php
5 years ago
SettingPage.php
45 lines
| 1 | <?php |
| 2 | namespace Give\PaymentGateways; |
| 3 | |
| 4 | /** |
| 5 | * Interface SettingSection |
| 6 | * @package Give\Views\Admin\Settings |
| 7 | * |
| 8 | * @since 2.9.0 |
| 9 | */ |
| 10 | interface SettingPage { |
| 11 | /** |
| 12 | * Provides the section id to be use to render setting page. |
| 13 | * |
| 14 | * @since 2.9.0 |
| 15 | * |
| 16 | * @return string |
| 17 | */ |
| 18 | public function getId(); |
| 19 | |
| 20 | /** |
| 21 | * Provides the section title to be displayed to the user. |
| 22 | * |
| 23 | * @since 2.9.0 |
| 24 | * |
| 25 | * @return string |
| 26 | */ |
| 27 | public function getName(); |
| 28 | |
| 29 | /** |
| 30 | * Provides the section settings to be displayed to the user. |
| 31 | * |
| 32 | * @since 2.9.0 |
| 33 | * |
| 34 | * @return array |
| 35 | */ |
| 36 | public function getSettings(); |
| 37 | |
| 38 | /** |
| 39 | * Boot functionality |
| 40 | * |
| 41 | * @since 2.9.0 |
| 42 | */ |
| 43 | public function boot(); |
| 44 | } |
| 45 |