lib/Braintree/IdealPaymentGateway.php
public function find($idealPaymentId)
    {
        try {
            $path = $this->_config->merchantPath() . '/ideal_payments/' . $idealPaymentId;
            $response = $this->_http->get($path);
            return IdealPayment::factory($response['idealPayment']);
        } catch (Exception\NotFound $e) {
            throw new Exception\NotFound(
                'iDEAL Payment with id ' . $idealPaymentId . ' not found'
            );
        }
    }
public function find($idealPaymentId)
    {
        try {
            $path = $this->_config->merchantPath() . '/ideal_payments/' . $idealPaymentId;
            $response = $this->_http->get($path);
            return IdealPayment::factory($response['idealPayment']);
        } catch (Exception\NotFound $e) {
            throw new Exception\NotFound(
                'iDEAL Payment with id ' . $idealPaymentId . ' not found'
            );
        }
    }
public function find ( $ idealPaymentId ) { try { $ path = $ this -> _config -> merchantPath ( ) . '/ideal_payments/' . $ idealPaymentId ; $ response = $ this -> _http -> get ( $ path ) ; return IdealPayment :: factory ( $ response [ 'idealPayment' ] ) ; } catch ( Exception \ NotFound $ e ) { throw new Exception \ NotFound ( 'iDEAL Payment with id ' . $ idealPaymentId . ' not found' ) ; } }
find an IdealPayment by id

@access public
@param string $idealPaymentId
@return IdealPayment
@throws Exception\NotFound
find an IdealPayment by id