Conversation
dili91
commented
Apr 12, 2024
Comment on lines
144
to
154
| Arguments.of( | ||
| ZonedDateTime.of(LocalDate.of(2021, 3, 1), LocalTime.MIN, ZoneId.of("UTC")), | ||
| ZonedDateTime.of(LocalDate.of(2022, 3, 1), LocalTime.MIN, ZoneId.of("UTC"))), | ||
| ZonedDateTime.of(LocalDate.of(2024, 2, 1), LocalTime.MIN, ZoneId.of("UTC")), | ||
| ZonedDateTime.of(LocalDate.of(2024, 3, 1), LocalTime.MIN, ZoneId.of("UTC"))), | ||
| Arguments.of( | ||
| ZonedDateTime.of(LocalDate.of(2021, 3, 1), LocalTime.MIN, ZoneId.of("Europe/Paris")), | ||
| ZonedDateTime.of(LocalDate.of(2022, 3, 1), LocalTime.MIN, ZoneId.of("Europe/Paris"))), | ||
| Arguments.of(ZonedDateTime.parse("2021-03-01T00:00:00Z"), ZonedDateTime.parse("2022-03-01T00:00:00Z"))); | ||
| ZonedDateTime.of(LocalDate.of(2024, 2, 1), LocalTime.MIN, ZoneId.of("Europe/Paris")), | ||
| ZonedDateTime.of(LocalDate.of(2024, 3, 1), LocalTime.MIN, ZoneId.of("Europe/Paris"))), | ||
| Arguments.of(ZonedDateTime.parse("2024-02-01T00:00:00Z"), ZonedDateTime.parse("2024-03-01T00:00:00Z"))); | ||
| } |
Contributor
Author
There was a problem hiding this comment.
I'm changing these defaults from and to values because pagination works only on more recent transactions.
tl-luca-baggi
approved these changes
Apr 15, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds support for paginating merchant accounts transactions.
If not enabled at their client setting already, clients created before December 2023 have to explicitly opt-in with the help of an HTTP header as described on our public API documentation.
To do so, when using the Java library, those clients can use a new overload of the
listTransactionsAPI accepts an extra headers parameter:Clients created from December 2023 onwards can use the existing, simpler variation of the
listTransactionsAPI:Important
Note that for clients created before December 2023 that do not explicitly opt-in for the pagination feature, the use of the cursor
queryparameter will be ineffective, and thepaginationobject in returned responses will be always null.Type of change
Please select multiple options if required.
Checklist: