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

@@ -63,7 +63,15 @@ public class IncludedNote {
public static IncludedNote discountBonusNote(String content) { public static IncludedNote discountBonusNote(String content) {
return new IncludedNote(content, SubjectCode.AAK); 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) { public static IncludedNote unspecifiedNote(String content) {
return new IncludedNote(content, null); return new IncludedNote(content, null);
} }

View File

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