Merge pull request #1003 from meparis/fix/issue-1001-IncludedNote-SubjectCode-PMD-AAB

Fix #1001 : IncludedNote SubjectCode PMD AAB
This commit is contained in:
Jochen Staerk
2026-02-04 13:05:11 +01:00
committed by GitHub
2 changed files with 21 additions and 2 deletions

View File

@@ -64,6 +64,14 @@ public class IncludedNote {
return new IncludedNote(content, SubjectCode.AAK);
}
public static IncludedNote paymentTermNote(String content) {
return new IncludedNote(content, SubjectCode.AAB);
}
public static IncludedNote paymentDetailRemittanceInformationNote(String content) {
return new IncludedNote(content, SubjectCode.PMD);
}
public static IncludedNote unspecifiedNote(String content) {
return new IncludedNote(content, null);
}

View File

@@ -44,5 +44,16 @@ public enum SubjectCode {
/**
* Payment information
*/
PMT
PMT,
/**
* Payment detail/remittance information
*/
PMD,
/**
* Payment term
*/
AAB
}