Skip to content

Commit 2c8fffa

Browse files
author
cleilson pereira
committed
feat: Add PACS.003.001.08 Builder and Integration Tests
- Implemented `Pacs00300108Builder` for constructing and serializing ISO 20022 pacs.003.001.08 messages (FI To FI Customer Direct Debit V08). - Added methods for setting group headers, adding direct debit transactions, and creating payment identification. - Included validation for required fields and transaction counting. - Supports XML generation and serialization capabilities. - Updated `MessageBuilderFactory` to register the new `Pacs00300108Builder` for `MessageType.Pacs00300108`. - Created integration tests for `Pacs00300108Builder` to ensure proper functionality and validation. - Tests include builder creation, basic message construction, required field validation, and transaction counting.
1 parent d24130b commit 2c8fffa

File tree

5 files changed

+588
-2
lines changed

5 files changed

+588
-2
lines changed

Iso20022Library.Application/Builders/MessageBuilderFactory.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public class MessageBuilderFactory
4848
{ MessageType.Pain00700107, () => new Pain00700107Builder() },
4949
{ MessageType.Pain00700108, () => new Pain00700108Builder() },
5050
{ MessageType.Pain00700109, () => new Pain00700109Builder() },
51-
{ MessageType.Pacs00200111, () => new Pacs.Pacs00200111Builder() }
51+
{ MessageType.Pacs00200111, () => new Pacs.Pacs00200111Builder() },
52+
{ MessageType.Pacs00300108, () => new Pacs.Pacs00300108Builder() }
5253
};
5354

5455
/// <summary>

0 commit comments

Comments
 (0)