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

Alternativa funcional com fluent design #251

Open
vhs94 opened this issue Aug 5, 2023 · 0 comments
Open

Alternativa funcional com fluent design #251

vhs94 opened this issue Aug 5, 2023 · 0 comments

Comments

@vhs94
Copy link

vhs94 commented Aug 5, 2023

Já que esse repo foi descontinuado, decidi montar uma alternativa open-source funcional (em csharp).

Estou usando design fluent, Seria legal ter alguém usando pra ter uns insights sobre possíveis melhorias :)

  • Exemplo, criando e pagando ordem com cartao de credito:
var creditCardOrder = await client
    .ForOrder()
    .WithReferenceId("ref-id")
    .WithNotificationUrl("https://my.url")
    .WithCreditCard()
    .AddCharge(new ChargeByCreditCardWriteDto())
    .CreateAsync()

link do repo: https://github.com/vhs94/pagseguro-net-sdk

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

1 participant