| 1 | <?php |
||
| 5 | class Configuration { |
||
| 6 | private $environments_uri = array('sandbox' => 'https://sandbox.boletosimples.com.br/api/v1/', 'production' => 'https://boletosimples.com.br/api/v1/'); |
||
| 7 | public $environment = null; |
||
| 8 | public $application_id = null; |
||
| 9 | public $application_secret = null; |
||
| 10 | public $access_token = null; |
||
| 11 | |||
| 12 | 29 | public function __construct($params = array()) { |
|
| 23 | |||
| 24 | 30 | public function userAgent() { |
|
| 27 | |||
| 28 | 3 | public function hasAccessToken() { |
|
| 31 | |||
| 32 | 32 | public function baseUri() { |
|
| 35 | |||
| 36 | } |