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

Add DataExports endpoints #137

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

martinfobian
Copy link

Reason for change

Missing DataExport methods/endpoint.

Code changes

  • Added endpoint for DataExport and added to client.
  • Added entity class with properties from API docs (https://docs.almapay.com/reference/data-export)
  • Added data property to response class, since downloading the generated report file is not a JSON response and needs access to the "raw" response data.

How to test

Call methods create, fetch and download on the DataExports endpoint, check responses and generated file output.

Checklist for authors and reviewers

Have not written tests yet, since I don't have access to the internal docs and tools. Feel free to amend or give guidance on how to proceed. Thanks.

@martinfobian martinfobian requested a review from a team as a code owner September 24, 2024 11:12
Copy link

sonarcloud bot commented Sep 24, 2024

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

Successfully merging this pull request may close these issues.

2 participants