Skip to content

Conversation

@StuartFerguson
Copy link
Member

This commit introduces new features and enhancements to the Merchant Statement processing system. Key changes include:

  • Added tests in MerchantStatementForDateAggregateTests.cs for validating creation, transaction addition, and handling of deposits and withdrawals.
  • Modified AddDailySummaryRecord in MerchantStatementAggregate.cs to support additional parameters for deposits and withdrawals.
  • Introduced new methods in MerchantStatementForDateAggregate.cs for handling deposits and withdrawals, including event handling.
  • Updated MerchantStatementDomainService.cs to include methods for adding deposits and withdrawals, accommodating new data types.
  • Added new command records in MerchantStatementCommands.cs for deposits and withdrawals.
  • Enhanced tests in MerchantStatementDomainEventHandlerTests.cs to ensure correct processing of deposit and withdrawal events.
  • Updated TestData.cs to include new entities for deposits and withdrawals.
  • Modified MediatorRegistry.cs to register handlers for new deposit and withdrawal commands.
  • Updated appsettings.json to include new event types for deposits and withdrawals.
  • Conducted general code cleanup for clarity and maintainability, utilizing the Shouldly library for assertions in tests.
    Fixes Record Merchant Deposits and Withdrawals on Statement #798

This commit introduces new features and enhancements to the Merchant Statement processing system. Key changes include:

- Added tests in MerchantStatementForDateAggregateTests.cs for validating creation, transaction addition, and handling of deposits and withdrawals.
- Modified AddDailySummaryRecord in MerchantStatementAggregate.cs to support additional parameters for deposits and withdrawals.
- Introduced new methods in MerchantStatementForDateAggregate.cs for handling deposits and withdrawals, including event handling.
- Updated MerchantStatementDomainService.cs to include methods for adding deposits and withdrawals, accommodating new data types.
- Added new command records in MerchantStatementCommands.cs for deposits and withdrawals.
- Enhanced tests in MerchantStatementDomainEventHandlerTests.cs to ensure correct processing of deposit and withdrawal events.
- Updated TestData.cs to include new entities for deposits and withdrawals.
- Modified MediatorRegistry.cs to register handlers for new deposit and withdrawal commands.
- Updated appsettings.json to include new event types for deposits and withdrawals.
- Conducted general code cleanup for clarity and maintainability, utilizing the Shouldly library for assertions in tests.
@StuartFerguson StuartFerguson merged commit d400ae5 into master May 19, 2025
9 checks passed
@github-actions github-actions bot deleted the task/#798_add_deposits_and_withdrwals_to_statements branch July 19, 2025 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Record Merchant Deposits and Withdrawals on Statement

2 participants