/** * @see https://developer.gocardless.com/pro/#customers-get-a-single-customer * * @param $id * * @return Customer */ public function getCustomer($id) { $response = $this->get(self::CUSTOMERS, [], $id); return Customer::fromArray($response); }
/** * @return Customer */ protected function get_full_customer() { return Customer::fromArray($this->full_customer_details()); }