PluginProbe
seQura / 3.0.5
seQura v3.0.5
4.3.4 4.3.3 4.3.2 4.3.1 trunk 2.0.0 2.0.10 2.0.11 2.0.12 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 3.0.0 3.0.2 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 4.0.0 All 30 releases
sequra / src / Services / Payment / interface-payment-service.php

interface-payment-service.php in seQura 3.0.5, at src/Services/Payment/interface-payment-service.php

48 lines 823 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Payment service interface
4 *
5 * @package SeQura/WC
6 * @subpackage SeQura/WC/Services
7 */
8
9 namespace SeQura\WC\Services\Payment;
10
11 /**
12 * Handle use cases related to payments
13 */
14 interface Interface_Payment_Service {
15
16 /**
17 * Get payment gateway ID
18 *
19 * @return string
20 */
21 public function get_payment_gateway_id(): string;
22
23 /**
24 * Get current merchant ID
25 */
26 public function get_merchant_id(): ?string;
27
28 /**
29 * Sign the string using HASH_ALGO and merchant's password
30 */
31 public function sign( string $message ): string;
32
33 /**
34 * Get IPN webhook identifier
35 */
36 public function get_ipn_webhook(): string;
37
38 /**
39 * Get return URL webhook identifier
40 */
41 public function get_return_webhook(): string;
42
43 /**
44 * Get event webhook identifier
45 */
46 public function get_event_webhook(): string;
47 }
48