You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to check if the object that you trying to obtain the ID is correct. When you try to get information after a query, for example, it's necessary to iterate an array. You can see an example in our test files of how we get the ID: https://github.com/starkbank/sdk-php/blob/master/tests/transaction.php
The ID it's not necessary in the constructor.
If you have any more questions, please do not hesitate to ask.
Yeah, the field is coming when I run the code, but I'm saying that my IDE/Editor thinks this property does not exists and paint red the line as if my code is wrong.
It's not an issue for him not to be named within the class because, due to dynamic creation, PHP can identify and use the parameter. It's not a problem that should affect functionality, and if you have any doubts about how to access the ID, check other resources within the library for examples, like this one:
However, I appreciate the feedback, and we will make a change in the SDKs, adding the ID to all resources, not just within the Transaction.
Once we make the change, I'll notify you here. Thanks.
The transaction ID field does not exists on Transaction class of SDK:
The text was updated successfully, but these errors were encountered: