| 1 | <?php |
||
| 5 | class Vindi |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * This Package SDK Version. |
||
| 9 | * @var string |
||
| 10 | */ |
||
| 11 | public static $sdkVersion = '1.0.10'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * The base URL for the Vindi API. |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | public static $apiBase = 'https://sandbox-app.vindi.com.br/api/v1/'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The Environment variable name for API Key. |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | public static $apiKeyEnvVar = 'VINDI_API_KEY'; |
||
| 24 | public static $baseApiEnvVar = 'VINDI_API_BASE'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get Vindi API Key from environment. |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | 430 | public function getApiKey() |
|
| 38 | /** |
||
| 39 | * Get CA Bundle Path. |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | 430 | public function getCertPath() |
|
| 46 | } |
||
| 47 |