Skip to content

Commit 938d23d

Browse files
committed
Fix #1126 IncludedNote SubjectCode ACB, INV
1 parent 7a28c24 commit 938d23d

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

library/src/main/java/org/mustangproject/IncludedNote.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ public static IncludedNote paymentDetailRemittanceInformationNote(String content
7272
return new IncludedNote(content, SubjectCode.PMD);
7373
}
7474

75+
public static IncludedNote additionalInformationNote(String content) {
76+
return new IncludedNote(content, SubjectCode.ACB);
77+
}
78+
79+
public static IncludedNote invoiceInstructionNote(String content) {
80+
return new IncludedNote(content, SubjectCode.INV);
81+
}
82+
7583
public static IncludedNote unspecifiedNote(String content) {
7684
return new IncludedNote(content, null);
7785
}

library/src/main/java/org/mustangproject/SubjectCode.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,14 @@ public enum SubjectCode {
5353
/**
5454
* Payment term
5555
*/
56-
AAB
57-
56+
AAB,
57+
/**
58+
* Additional information
59+
*/
60+
ACB,
61+
/**
62+
* Invoice instruction
63+
*/
64+
INV
5865

5966
}

0 commit comments

Comments
 (0)