Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getFullReport with pure REGON no. #95

Open
pitsail opened this issue Sep 9, 2020 · 2 comments
Open

getFullReport with pure REGON no. #95

pitsail opened this issue Sep 9, 2020 · 2 comments

Comments

@pitsail
Copy link

pitsail commented Sep 9, 2020

As in the subject.

Maybe i'm missing something, but cannot find a way to get full report with REGON no. and report type as parameters.
There is no problem when i provide result of getBy[anything] instead of REGON no.
Is there a way to get full report with REGON no.?

Version is current 5.x.

@Qrzysio
Copy link

Qrzysio commented Sep 27, 2020

Not working? Dump what you get.

    public function getByRegon(string $regon): array
    {
        return $this->search(SearchType::REGON, $regon);
    }

@pitsail
Copy link
Author

pitsail commented Sep 29, 2020

getByRegon (or anything) is working.

What i need is to:

getFullReport( searchReport, reportName )

but with regon number as first parameter.

I know the method expects it to be searchReport object, and i'm geting full report when i provide a fe. getByRegon(s) as first parameter.
I wonder how to get, lets say, BIR11OsPrawna report without calling getByRegon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants