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

19 add orderby #21

Merged
merged 7 commits into from
May 12, 2024
Merged

19 add orderby #21

merged 7 commits into from
May 12, 2024

Conversation

b24io-sdk
Copy link
Collaborator

No description provided.

B24io added 7 commits May 9, 2024 18:26
Rearranged the parameters of 'createAdminRoleServiceBuilder' for better arrangement. Expanded the functions of 'Admin/Contacts/Contacts' and 'Admin/Transactions' to include ordering. Added additional functionalities to 'Core/Command' and 'Core/ApiClient' to accommodate item ordering. Also, made updates to .gitignore and added exceptions for better error handling.
This commit involves the addition of a 'Versions' section in the README.md displaying SDK and PHP versions used, corrections in the order of entities in the implementation of 'Card' strings, and adjustments in the transactions service. It also introduces a new feature that allows users to add new cards, with essential parameters being the card balance, card status, and card percentage. Efficiency in code has been improved through the replacement of several for loops with the more efficient list method, and cleaner code has been achieved through corrections in punctuations in the README.md file. All changes have been documented in the changelog.
The `Fabric` module has been replaced with `IntegrationTestsContextBuilder` in both `CoreTest.php` and `ApiClientTest.php` test suites. This change in test modules enhances the process of setting up the core and the API client before tests are run.
Improved integration testing in admin services for contacts and cards. Added ordering functionality in the list method of both services via 'ItemsOrder' argument. This change also involved updating the available sorting parameters in the README file. Additionally, the Fabric.php file was replaced with IntegrationTestsContextBuilder.php for test setup. Tests and services were also updated to reflect these changes.
The .env file for integration tests has been updated with added values for log file
An ItemsOrder class has been added to support ordering in card fetching functions across different files. The following ordering options are available: creation date, modification date, and balance. The README.md and CHANGELOG.md files have been updated to reflect these changes, and a test for the CardsFetcher class has been added.
This commit adds `count` function to `Contacts` class to get the total number of contacts. It also adds `ContactsFetcher` class for bulk reading of contacts. Changes include necessary tests and updated README.
@b24io-sdk b24io-sdk added the enhancement New feature or request label May 12, 2024
@b24io-sdk b24io-sdk self-assigned this May 12, 2024
@b24io-sdk b24io-sdk linked an issue May 12, 2024 that may be closed by this pull request
2 tasks
@b24io-sdk b24io-sdk merged commit 800a797 into master May 12, 2024
3 checks passed
@b24io-sdk b24io-sdk deleted the 19-add-orderby branch May 12, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

Add orderBy and orderDirection for cards and contacts list methods
1 participant