gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: Fill missing data.


From: gnunet
Subject: [libeufin] branch master updated: Fill missing data.
Date: Tue, 24 Mar 2020 15:46:15 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 2a01dc0  Fill missing data.
2a01dc0 is described below

commit 2a01dc0254512e8cab98f512e591ed4b564e5220
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Mar 24 15:46:04 2020 +0100

    Fill missing data.
---
 .../tech/libeufin/sandbox/EbicsProtocolBackend.kt  | 30 +++++++++++++++-------
 1 file changed, 21 insertions(+), 9 deletions(-)

diff --git 
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index 69bb144..ddce681 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -208,18 +208,31 @@ fun buildCamtString(history: 
SizedIterable<BankTransactionEntity>, type: Int): S
 
                     element("Acct") {
                         // mandatory account identifier
-                        element("Id/IBAN")
-                        element("Ccy")
-                        element("Ownr/Nm")
+                        element("Id/IBAN") {
+                            text("OWNER IBAN")
+                        }
+                        element("Ccy") {
+                            text("EUR")
+                        }
+                        element("Ownr/Nm") {
+                            text("Max Mustermann")
+                        }
                         element("Svcr/FinInstn") {
-                            element("BIC")
-                            element("Nm")
+                            element("BIC") {
+                                text("XY")
+                            }
+                            element("Nm") {
+                                text("Libeufin Bank")
+                            }
                             element("Othr") {
-                                element("Id")
-                                element("Issr")
+                                element("Id") {
+                                    text("0")
+                                }
+                                element("Issr") {
+                                    text("XY")
+                                }
                             }
                         }
-
                     }
                     element("Bal") {
                         element("Tp/CdOrPrtry/Cd") {
@@ -243,7 +256,6 @@ fun buildCamtString(history: 
SizedIterable<BankTransactionEntity>, type: Int): S
                             now.toDashedDate()
                         }
                     }
-
                     element("Bal") {
                         element("Tp/CdOrPrtry/Cd") {
                             /* CLBD stands for "Closing booked balance", and it

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]