Fix compilation problems.

This commit is contained in:
langfr
2024-11-23 14:05:23 +00:00
parent e9f9655b76
commit 35f8ff4253
3 changed files with 24 additions and 8 deletions

View File

@@ -9,12 +9,12 @@ public class DirectDebit implements IZUGFeRDTradeSettlementDebit {
/** /**
* Debited account identifier (BT-91) * Debited account identifier (BT-91)
*/ */
protected final String IBAN; protected String IBAN;
/** /**
* Mandate reference identifier (BT-89) * Mandate reference identifier (BT-89)
*/ */
protected final String mandate; protected String mandate;
/** /**
* bean constructor * bean constructor
@@ -42,8 +42,18 @@ public class DirectDebit implements IZUGFeRDTradeSettlementDebit {
return this.IBAN; return this.IBAN;
} }
public DirectDebit setIBAN(String iBAN) {
this.IBAN = iBAN;
return this;
}
@Override @Override
public String getMandate() { public String getMandate() {
return this.mandate; return this.mandate;
} }
public DirectDebit setMandate(String mandate) {
this.mandate = mandate;
return this;
}
} }

View File

@@ -21,7 +21,7 @@ public class FileAttachment {
this.mimetype = mimetype; this.mimetype = mimetype;
this.relation = relation; this.relation = relation;
this.data = data; this.data = data;
description = "Additional file attachment"; this.description = "Additional file attachment";
} }
public String getDescription() { public String getDescription() {
@@ -68,8 +68,4 @@ public class FileAttachment {
this.data = data; this.data = data;
return this; return this;
} }
} }

View File

@@ -59,10 +59,20 @@ public class IncludedNote {
return content; return content;
} }
public IncludedNote setContent(String content) {
this.content = content;
return this;
}
public SubjectCode getSubjectCode() { public SubjectCode getSubjectCode() {
return subjectCode; return subjectCode;
} }
public IncludedNote setSubjectCode(SubjectCode subjectCode) {
this.subjectCode = subjectCode;
return this;
}
public String toCiiXml(){ public String toCiiXml(){
String result = INCLUDE_START + CONTENT_START + String result = INCLUDE_START + CONTENT_START +
XMLTools.encodeXML(getContent() )+ CONTENT_END; XMLTools.encodeXML(getContent() )+ CONTENT_END;