lib/GoCardless/PreAuthorization.php
public static function find_with_client($client, $id) {

    $endpoint = self::$endpoint . '/' . $id;

    return new self($client, $client->request('get', $endpoint));

  }
public static function find_with_client($client, $id) {

    $endpoint = self::$endpoint . '/' . $id;

    return new self($client, $client->request('get', $endpoint));

  }
public static function find_with_client ( $ client , $ id ) { $ endpoint = self :: $ endpoint . '/' . $ id ; return new self ( $ client , $ client -> request ( 'get' , $ endpoint ) ) ; }
Fetch a bill item from the API

@param object $client The client object to use to make the query
@param string $id The id of the bill to fetch

@return object The bill object
Fetch a bill item from the API