/** * Get a specific bill * * @param string $id The id of the bill to fetch * * @return object The bill object matching the id requested */ public function bill($id) { return GoCardless_Bill::find_with_client($this, $id); }
/** * Get a specific bill * * @param string $id The id of the bill to fetch * * @return object The bill object matching the id requested */ public function bill($id) { if (!isset($this->account_details['access_token'])) { throw new GoCardless_ClientException('Access token missing'); } return GoCardless_Bill::find_with_client($this, $id); }