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

Dúvida - asyncGetLastApprovedTransaction #7

Open
hrossi opened this issue Apr 7, 2021 · 2 comments
Open

Dúvida - asyncGetLastApprovedTransaction #7

hrossi opened this issue Apr 7, 2021 · 2 comments

Comments

@hrossi
Copy link

hrossi commented Apr 7, 2021

Ao utilizar o método asyncGetLastApprovedTransaction, no callback de onRequestedLastTransaction temos um parâmetro PlugPagTransactionResult.

Como identificar, com base no PlugPagTransactionResult se a transação retornada foi estornada ou não?

@hrossi
Copy link
Author

hrossi commented May 30, 2021

@ibagliotti, vi que vc gerou um release... vcs dão suporte a esse wrapper? tiram dúvidas?

@lucasvillaverde
Copy link

Se não me engano classes do tipo PlugPagTransactionResult tem um atributo result (Int) que você pode comparar com PlugPag.RET_OK (Int)

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