diff options
Diffstat (limited to 'sandbox/src/main/kotlin/tech/libeufin')
-rw-r--r-- | sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 7 |
1 files 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 |