Skip to content

Conversation

@StuartFerguson
Copy link
Member

  • Added new test cases for daily summary records and statement generation.
  • Implemented AddDailySummaryRecord method in MerchantStatementAggregate.
  • Updated PlayEvent to handle StatementSummaryForDateEvent.
  • Refactored GenerateStatement to validate summaries before generation.
  • Enhanced MerchantStatementRequestHandler to process GenerateMerchantStatementCommand.
  • Updated TestData to include StatementCreateDate for request construction.
  • Changed project debug type from None to Full.
  • Registered GenerateMerchantStatementCommand in MediatorRegistry.
  • Cleaned up commented-out code for better readability.

Fixes #780

- Added new test cases for daily summary records and statement generation.
- Implemented `AddDailySummaryRecord` method in `MerchantStatementAggregate`.
- Updated `PlayEvent` to handle `StatementSummaryForDateEvent`.
- Refactored `GenerateStatement` to validate summaries before generation.
- Enhanced `MerchantStatementRequestHandler` to process `GenerateMerchantStatementCommand`.
- Updated `TestData` to include `StatementCreateDate` for request construction.
- Changed project debug type from `None` to `Full`.
- Registered `GenerateMerchantStatementCommand` in `MediatorRegistry`.
- Cleaned up commented-out code for better readability.
@StuartFerguson StuartFerguson merged commit d338bd6 into master May 8, 2025
9 checks passed
@github-actions github-actions bot deleted the task/#780_refactor_statement_generation branch July 7, 2025 02:03
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.

Refactor Statement Generation Method

2 participants