Add device management functionality to merchant system#112
Merged
StuartFerguson merged 1 commit intomainfrom May 22, 2025
Merged
Add device management functionality to merchant system#112StuartFerguson merged 1 commit intomainfrom
StuartFerguson merged 1 commit intomainfrom
Conversation
This commit introduces new models, commands, and UI components for device management within the merchant management system. Key changes include: - Added test cases in `ApiClientTests.cs` to verify device assignment, contract creation, and deposit functionality. - Updated `IApiClient` interface and implemented device assignment in `ApiClient`. - Created new models: `AssignDeviceToMerchantModel` and `AddMerchantDeviceRequest`. - Enhanced `ModelFactory` to convert device assignment models for API requests. - Updated UI components to include dialogs for adding devices, with event handling for device assignment. - Added integration tests to validate the new device management features. - Updated `MerchantPageEvents` to include device assignment events. Overall, the code structure remains intact while expanding the application's capabilities.
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.
This commit introduces new models, commands, and UI components for device management within the merchant management system. Key changes include:
ApiClientTests.csto verify device assignment, contract creation, and deposit functionality.IApiClientinterface and implemented device assignment inApiClient.AssignDeviceToMerchantModelandAddMerchantDeviceRequest.ModelFactoryto convert device assignment models for API requests.MerchantPageEventsto include device assignment events.Overall, the code structure remains intact while expanding the application's capabilities.
Fixes #77