gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: Include forgotten elements.


From: gnunet
Subject: [libeufin] branch master updated: Include forgotten elements.
Date: Mon, 23 Mar 2020 19:54:40 +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 79288db  Include forgotten elements.
79288db is described below

commit 79288db585d4119c608dfba5337b17a36311c081
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Mar 23 19:54:20 2020 +0100

    Include forgotten elements.
---
 .../kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt   | 14 +++++---------
 1 file changed, 5 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 f8e8d21..4d51192 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -146,10 +146,7 @@ fun buildCamtString(history: 
SizedIterable<BankTransactionEntity>, type: Int): S
             attribute("xmlns:schemaLocation", 
"urn:iso:std:iso:20022:tech:xsd:camt.053.001.02 camt.053.001.02.xsd")
             element("BkToCstmrStmt") {
                 element("GrpHdr") {
-                    element("MsgId") {
-                        // unique identifier for a message
-                        text("id under group header")
-                    }
+                    element("MsgId")
                     element("CreDtTm")
                     element("MsgPgntn") {
                         element("PgNb")
@@ -196,7 +193,7 @@ fun buildCamtString(history: 
SizedIterable<BankTransactionEntity>, type: Int): S
                         element("CdtDbtInd") {
                             // CRDT or DBIT here
                         }
-                        element("Dt") {
+                        element("Dt/Dt") {
                             // date of this balance
                         }
                     }
@@ -215,9 +212,7 @@ fun buildCamtString(history: 
SizedIterable<BankTransactionEntity>, type: Int): S
                         element("CdtDbtInd") {
                             // CRDT or DBIT here
                         }
-                        element("Dt") {
-                            // date of this balance
-                        }
+                        element("Dt/Dt")
                     }
                     history.forEach {
                         element("Ntry") {
@@ -232,6 +227,7 @@ fun buildCamtString(history: 
SizedIterable<BankTransactionEntity>, type: Int): S
                             }
                             element("BookDt/Dt") // date of the booking
                             element("ValDt/Dt") // date of assets' actual 
(un)availability
+                            element("AcctSvcrRef")
                             element("BkTxCd") {
                                 /*  "Set of elements used to fully identify 
the type of underlying
                                  *   transaction resulting in an entry".  */
@@ -290,7 +286,7 @@ fun buildCamtString(history: 
SizedIterable<BankTransactionEntity>, type: Int): S
             }
         }
     }
-}   
+}
 
 /**
  * Builds CAMT response.

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



reply via email to

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