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

Feature/32 add mobile phone node v3 #33

Merged
merged 7 commits into from
Jul 9, 2024

Conversation

b24io-sdk
Copy link
Collaborator

No description provided.

b24io-sdk added 7 commits July 9, 2024 01:55
This commit introduces the VerificationStatus class and its related methods. The class is responsible for managing different verification statuses. Associated unit tests have also been added to validate its functionality. Additionally, a minor change has been made in the ApiClient to ensure the 'context' is always a string.

Signed-off-by: B24io <[email protected]>
This commit integrates mobile phone handling in the card and contact addition process. Both additions of contacts with and without mobile phones are now supported, which are also covered in the new test cases. The mobile phone is also now accounted for in the card verification process. Additionally, HTTP client timeout has been reduced from 60 to 30.

Signed-off-by: B24io <[email protected]>
Method signatures for `Loyalty\SDK\Services\Admin\Contacts::add` are updated to make `$mobilePhone` nullable. The return types of `getById` methods have been changed. Also, data handling in the `MobilePhoneItemResult` class has been improved to better handle instances where the `PhoneNumberUtil` instance is not created. Tests are updated to reflect these changes.

Signed-off-by: B24io <[email protected]>
This commit refactors the test cases within ContactsTest.php file, ensuring better code readability and data integrity checks. Furthermore, adjustments have been also made to property annotations across multiple classes, altering both type definitions and treating PhpDoc types as uncertain. Lastly, the docker-compose file version has been updated to 3.8.

Signed-off-by: B24io <[email protected]>
The incorrect annotation "@var non-empty-string" was removed from FullName.php. This cleanup enhances code readability and adheres to the proper syntax for variable annotation.

Signed-off-by: B24io <[email protected]>
The signature for the method `getById` in the `Cards` service has been changed from `CardItemResult` to `CardResult`. The required changes have been made in the `Cards` class and the associated test. A new class `CardResult` has also been added.

Signed-off-by: B24io <[email protected]>
Signed-off-by: B24io <[email protected]>
@b24io-sdk b24io-sdk added enhancement New feature or request v7.4 labels Jul 9, 2024
@b24io-sdk b24io-sdk temporarily deployed to integration-tests July 9, 2024 19:21 — with GitHub Actions Inactive
@b24io-sdk b24io-sdk temporarily deployed to integration-tests July 9, 2024 19:21 — with GitHub Actions Inactive
@b24io-sdk b24io-sdk merged commit 8468e7a into v3 Jul 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v7.4
Development

Successfully merging this pull request may close these issues.

1 participant