PluginProbe
seQura / trunk
seQura vtrunk
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 / Constants / interface-constants.php

interface-constants.php in seQura trunk, at src/Services/Constants/interface-constants.php

97 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Constants Interface
4 *
5 * @package SeQura/WC
6 * @subpackage SeQura/WC/Services
7 */
8
9 namespace SeQura\WC\Services\Constants;
10
11 /**
12 * Provides methods access application Constants.
13 */
14 interface Interface_Constants {
15
16 /**
17 * Get the integration name.
18 */
19 public function get_integration_name(): string;
20
21 /**
22 * Get the plugin directory path.
23 */
24 public function get_plugin_dir_path(): string;
25 /**
26 * Get the plugin file path.
27 */
28 public function get_plugin_file_path(): string;
29 /**
30 * Get the plugin log file path.
31 */
32 public function get_plugin_log_file_path(): string;
33 /**
34 * Get the plugin basename.
35 */
36 public function get_plugin_basename(): string;
37 /**
38 * Get the plugin directory URL.
39 */
40 public function get_plugin_dir_url(): string;
41 /**
42 * Get the plugin rest namespace.
43 */
44 public function get_plugin_rest_namespace(): string;
45 /**
46 * Get the plugin rest version.
47 */
48 public function get_woocommerce_data(): array;
49 /**
50 * Get the plugin rest version.
51 */
52 public function get_plugin_data(): array;
53 /**
54 * Get the plugin environment data.
55 */
56 public function get_environment_data(): array;
57 /**
58 * Get the plugin templates path.
59 */
60 public function get_plugin_templates_path(): string;
61 /**
62 * Get the plugin assets path.
63 */
64 public function get_plugin_assets_path(): string;
65 /**
66 * Get the plugin assets URL.
67 */
68 public function get_plugin_assets_url(): string;
69
70 /**
71 * Hook for adding order indexes.
72 */
73 public function get_hook_add_order_indexes(): string;
74
75 /**
76 * Get payment gateway ID
77 *
78 * @return string
79 */
80 public function get_payment_gateway_id(): string;
81
82 /**
83 * Get IPN webhook identifier
84 */
85 public function get_ipn_webhook(): string;
86
87 /**
88 * Get return URL webhook identifier
89 */
90 public function get_return_webhook(): string;
91
92 /**
93 * Get event webhook identifier
94 */
95 public function get_event_webhook(): string;
96 }
97