Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion library/src/main/java/org/mustangproject/IncludedNote.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,15 @@ public static IncludedNote introductionNote(String content) {
public static IncludedNote discountBonusNote(String content) {
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);
}
Expand Down
13 changes: 12 additions & 1 deletion library/src/main/java/org/mustangproject/SubjectCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,16 @@ public enum SubjectCode {
/**
* Payment information
*/
PMT
PMT,
/**
* Payment detail/remittance information
*/

PMD,
/**
* Payment term
*/
AAB


}