commit dc5fda177230a133c80b4b477c4d6a381c65ee11
parent c65d3ce777a735dc7f13cdab5b2326722bb035f1
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 24 Mar 2020 16:51:44 +0100
fill with pseudo-valid details
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -209,7 +209,7 @@ fun buildCamtString(history: SizedIterable<BankTransactionEntity>, type: Int): S
element("Acct") {
// mandatory account identifier
element("Id/IBAN") {
- text("OWNER IBAN")
+ text("GB33BUKB20201555555555")
}
element("Ccy") {
text("EUR")
@@ -365,18 +365,18 @@ fun buildCamtString(history: SizedIterable<BankTransactionEntity>, type: Int): S
text("Max Mustermann")
}
element("DbtrAcct/Id/IBAN") {
- text("DEBITOR'S IBAN")
+ text("GB33BUKB20201555555555")
}
element("Cdtr/Nm") {
text("Lina Musterfrau")
}
element("CdtrAcct/Id/IBAN") {
- text("CREDITOR'S IBAN")
+ text("DE75512108001245126199")
}
}
element("RltdAgts") {
element("CdtrAgt/FinInstnId/BIC") {
- text("CREDITOR'S BIC")
+ text("SOGEDEFF")
}
}
element("RmtInf/Ustrd") {
diff --git a/util/src/main/kotlin/time.kt b/util/src/main/kotlin/time.kt
@@ -5,7 +5,6 @@ import java.time.ZoneId
import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter
-
fun DateTime.toZonedString(): String {
val dateFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME
val instant = java.time.Instant.ofEpochMilli(this.millis)
@@ -15,4 +14,4 @@ fun DateTime.toZonedString(): String {
fun DateTime.toDashedDate(): String {
return this.toString("Y-MM-dd")
-}
+}
+\ No newline at end of file