ConfigContract.php
21 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Ollyo\PaymentHub\Contracts\Payment; |
| 4 | |
| 5 | use Ollyo\PaymentHub\Contracts\Config\RepositoryContract; |
| 6 | |
| 7 | interface ConfigContract |
| 8 | { |
| 9 | public function getMode(): string; |
| 10 | public function getSecretKey(): string; |
| 11 | public function getPublicKey(): string; |
| 12 | public function createConfig(): void; |
| 13 | public function updateConfig($key, $value = null): void; |
| 14 | public function toRepository(): RepositoryContract; |
| 15 | public function getSuccessUrl(): string; |
| 16 | public function getCancelUrl(): string; |
| 17 | public function getWebhookUrl(): string; |
| 18 | public function getTitle(): string; |
| 19 | public function getAdditionalInformation(): string; |
| 20 | public function getName(): string; |
| 21 | } |