callApiGet('organizations'); return array_map([Organisation::class, 'fromApiResult'], $organisations->data); } $organisation = $this->callApiGet("organizations/{$uuId}"); return [Organisation::fromApiResult($organisation)]; } public function getUsers(string $organisationUuId): array { $result = $this->callApiGet("/organizations/{$organisationUuId}/users"); return array_map([User::class, 'fromApiResult'], $result->data); } public function getBillingAddresses(): array { $result = $this->callApiGet('billing-addresses'); return array_map([BillingAddress::class, 'fromApiResult'], $result->data); } }