original_string: public function getVerifications(CardPayments\Verification $verify = null, CardPayments\Filter $filter = null)
      {
          $queryStr = array();
          if($verify && $verify->merchantRefNum) {
              $queryStr['merchantRefNum'] = $verify->merchantRefNum;
          }
          if($filter) {
              if(isset($filter->limit)) {
                  $queryStr['limit'] = $filter->limit;
              }
              if(isset($filter->offset)) {
                  $queryStr['offset'] = $filter->offset;
              }
              if(isset($filter->startDate)) {
                  $queryStr['startDate'] = $filter->startDate;
              }
              if(isset($filter->endDate)) {
                  $queryStr['endDate'] = $filter->endDate;
              }
          }
          $request = new Request(array(
               'method' => Request::GET,
               'uri' => $this->prepareURI("/verifications"),
               'queryStr' => $queryStr
          ));
  
          $response = $this->client->processRequest($request);
  
          return new CardPayments\Pagerator($this->client, $response, '\Paysafe\CardPayments\Verification');
      }
code: public function getVerifications(CardPayments\Verification $verify = null, CardPayments\Filter $filter = null)
      {
          $queryStr = array();
          if($verify && $verify->merchantRefNum) {
              $queryStr['merchantRefNum'] = $verify->merchantRefNum;
          }
          if($filter) {
              if(isset($filter->limit)) {
                  $queryStr['limit'] = $filter->limit;
              }
              if(isset($filter->offset)) {
                  $queryStr['offset'] = $filter->offset;
              }
              if(isset($filter->startDate)) {
                  $queryStr['startDate'] = $filter->startDate;
              }
              if(isset($filter->endDate)) {
                  $queryStr['endDate'] = $filter->endDate;
              }
          }
          $request = new Request(array(
               'method' => Request::GET,
               'uri' => $this->prepareURI("/verifications"),
               'queryStr' => $queryStr
          ));
  
          $response = $this->client->processRequest($request);
  
          return new CardPayments\Pagerator($this->client, $response, '\Paysafe\CardPayments\Verification');
      }
code_tokens: public function getVerifications ( CardPayments \ Verification $ verify = null , CardPayments \ Filter $ filter = null ) { $ queryStr = array ( ) ; if ( $ verify && $ verify -> merchantRefNum ) { $ queryStr [ 'merchantRefNum' ] = $ verify -> merchantRefNum ; } if ( $ filter ) { if ( isset ( $ filter -> limit ) ) { $ queryStr [ 'limit' ] = $ filter -> limit ; } if ( isset ( $ filter -> offset ) ) { $ queryStr [ 'offset' ] = $ filter -> offset ; } if ( isset ( $ filter -> startDate ) ) { $ queryStr [ 'startDate' ] = $ filter -> startDate ; } if ( isset ( $ filter -> endDate ) ) { $ queryStr [ 'endDate' ] = $ filter -> endDate ; } } $ request = new Request ( array ( 'method' => Request :: GET , 'uri' => $ this -> prepareURI ( "/verifications" ) , 'queryStr' => $ queryStr ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; return new CardPayments \ Pagerator ( $ this -> client , $ response , '\Paysafe\CardPayments\Verification' ) ; }
docstring: Get matching verifications.
  
  @param CardPayments\Verification $verify
  @param CardPayments\Filter $filter
  @return CardPayments\Verification[] iterator
  @throws PaysafeException
docstring_tokens: Get matching verifications .