public static function main()
 {
     $options = array('page' => 1, 'maxPageResults' => 1, 'initialDate' => '2014-11-23T00:00', 'finalDate' => '2014-12-02T10:00');
     try {
         /*
          * #### Credentials #####
          * Replace the parameters below with your credentials
          * You can also get your credentials from a config file. See an example:
          * $credentials = PagSeguroConfig::getApplicationCredentials()
          */
         $credentials = new PagSeguroApplicationCredentials("appId", "appKey");
         $authorization = PagSeguroAuthorizationSearchService::searchAuthorizations($credentials, $options);
         self::printAuthorization($authorization);
     } catch (PagSeguroServiceException $e) {
         die($e->getMessage());
     }
 }