public function getAuthentications( ThreeDSecure\Authentications $authentications,$enrollmentlookup )
    {
       $authentications->setRequiredFields(array('id'));
            $authentications->checkRequiredFields();
            $fields = array();
            if ($enrollmentlookup)
            {
                $fields[]= 'enrollmentchecks';
            }
            $queryStr = array();
            if ($fields)
            {
                $queryStr['fields'] = join(',', $fields);
            }
 
            $request = new Request(array(
                'method' => Request::GET,
                'uri' => $this->prepareURI("/authentications/".$authentications->id),
                'queryStr' => $queryStr
            ));
 
            $response = $this->client->processRequest($request);
            return new ThreeDSecure\Authentications($response);
    }
public function getAuthentications( ThreeDSecure\Authentications $authentications,$enrollmentlookup )
    {
       $authentications->setRequiredFields(array('id'));
            $authentications->checkRequiredFields();
            $fields = array();
            if ($enrollmentlookup)
            {
                $fields[]= 'enrollmentchecks';
            }
            $queryStr = array();
            if ($fields)
            {
                $queryStr['fields'] = join(',', $fields);
            }
 
            $request = new Request(array(
                'method' => Request::GET,
                'uri' => $this->prepareURI("/authentications/".$authentications->id),
                'queryStr' => $queryStr
            ));
 
            $response = $this->client->processRequest($request);
            return new ThreeDSecure\Authentications($response);
    }
public function getAuthentications ( ThreeDSecure \ Authentications $ authentications , $ enrollmentlookup ) { $ authentications -> setRequiredFields ( array ( 'id' ) ) ; $ authentications -> checkRequiredFields ( ) ; $ fields = array ( ) ; if ( $ enrollmentlookup ) { $ fields [ ] = 'enrollmentchecks' ; } $ queryStr = array ( ) ; if ( $ fields ) { $ queryStr [ 'fields' ] = join ( ',' , $ fields ) ; } $ request = new Request ( array ( 'method' => Request :: GET , 'uri' => $ this -> prepareURI ( "/authentications/" . $ authentications -> id ) , 'queryStr' => $ queryStr ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; return new ThreeDSecure \ Authentications ( $ response ) ; }
Look Up an Authentication and Corresponding Enrollment Check
@param \Paysafe\ThreeDSecure\Authentications $authentications
@return \Paysafe\ThreeDSecure\Authentications
@throws PaysafeException
Look Up an Authentication and Corresponding Enrollment Check