minor corrections

This commit is contained in:
jstaerk
2024-11-19 15:55:26 +01:00
parent cd74292200
commit e9f9655b76
4 changed files with 28 additions and 5 deletions

View File

@@ -32,9 +32,10 @@ If you set up a Maven project, you can reference the mustang artifact like this:
```xml
<dependency>
<groupId>org.mustangproject</groupId>
<artifactId>library</artifactId>
<version>2.14.0</version>
<groupId>org.mustangproject</groupId>
<artifactId>validator</artifactId>
<version>2.15.0</version>
<classifier>shaded</classifier>
</dependency>
```

View File

@@ -16,6 +16,13 @@ public class DirectDebit implements IZUGFeRDTradeSettlementDebit {
*/
protected final String mandate;
/**
* bean constructor
*/
public DirectDebit() {
}
/***
* constructor for normal use :-)
* @param IBAN the IBAN as string

View File

@@ -8,6 +8,14 @@ public class FileAttachment {
protected String description;
protected byte[] data;
/***
* bean contructor
*/
public FileAttachment() {
}
public FileAttachment(String filename, String mimetype, String relation, byte[] data) {
this.filename = filename;
this.mimetype = mimetype;

View File

@@ -4,8 +4,8 @@ package org.mustangproject;
* A grouping of business terms to indicate accounting-relevant free texts including a qualification of these.
*/
public class IncludedNote {
private final String content;
private final SubjectCode subjectCode;
private String content;
private SubjectCode subjectCode;
private static final String INCLUDE_START = "<ram:IncludedNote>";
private static final String INCLUDE_END = "</ram:IncludedNote>";
@@ -19,6 +19,13 @@ public class IncludedNote {
this.subjectCode = subjectCode;
}
/**
* bean constructor
*/
public IncludedNote() {
}
public static IncludedNote generalNote(String content) {
return new IncludedNote(content, SubjectCode.AAI);
}