gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: EBICS HTD server side.


From: gnunet
Subject: [libeufin] branch master updated: EBICS HTD server side.
Date: Sun, 16 Apr 2023 22:45:17 +0200

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

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new bf7d9774 EBICS HTD server side.
bf7d9774 is described below

commit bf7d97746fb4448bbff63a109c529dc22ac136df
Author: MS <ms@taler.net>
AuthorDate: Sun Apr 16 22:43:42 2023 +0200

    EBICS HTD server side.
    
    Filling the account holder name with the
    expected value taken from the customer profile.
---
 .../src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt  | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git 
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index d02ff7c3..e2c9abf5 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -1021,15 +1021,12 @@ fun receiveEbicsXmlInternal(xmlData: String): Document {
 
 private fun makePartnerInfo(subscriber: EbicsSubscriberEntity): 
EbicsTypes.PartnerInfo {
     val bankAccount = getBankAccountFromSubscriber(subscriber)
+    val customerProfile = getCustomer(bankAccount.label)
     return EbicsTypes.PartnerInfo().apply {
         this.accountInfoList = listOf(
             EbicsTypes.AccountInfo().apply {
                 this.id = bankAccount.label
-                /**
-                 * FIXME:
-                 * This value waits to be extracted from the DemobankCustomer 
type.
-                 */
-                this.accountHolder = "Account Holder"
+                this.accountHolder = customerProfile.name ?: "Never Given"
                 this.accountNumberList = listOf(
                     EbicsTypes.GeneralAccountNumber().apply {
                         this.international = true

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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