libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 95c75f5f15ad4462d8281f9a0f1ffb1b8f30aa1a
parent 883b422d3b372956d01bd93ae3916fa7afacbdfa
Author: MS <ms@taler.net>
Date:   Thu, 18 Jun 2020 09:41:17 +0200

Adjust comments.

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/Helpers.kt | 7++++---
Mnexus/src/main/kotlin/tech/libeufin/nexus/taler.kt | 12++++++++----
2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Helpers.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Helpers.kt @@ -110,9 +110,10 @@ private fun findDuplicate(bankAccountId: String, acctSvcrRef: String): RawBankTr } } -// retrieves the initiated payment and marks it as "performed -// by the bank". This avoids to submit it again. 'subject' is -// the the A.K.A. unstructured remittance information. +/** + * retrieves the initiated payment and marks it as "performed + * by the bank". This avoids to submit it again. + */ fun markInitiatedAsConfirmed(subject: String, debtorIban: String, rawUuid: Long) { // not introducing a 'transaction {}' block since // this function should be always be invoked from one. diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt @@ -326,7 +326,9 @@ private suspend fun talerTransfer(call: ApplicationCall) { ) } -// /taler/admin/add-incoming +/** + * Serve a /taler/admin/add-incoming + */ private suspend fun talerAddIncoming(call: ApplicationCall, httpClient: HttpClient): Unit { val addIncomingData = call.receive<TalerAdminAddIncoming>() val debtor = parsePayto(addIncomingData.debit_account) @@ -377,9 +379,11 @@ private suspend fun talerAddIncoming(call: ApplicationCall, httpClient: HttpClie ) } -// submits ALL the prepared payments from ALL the Taler facades. -// FIXME(dold): This should not be done here. -// -> why? It crawls the *taler* facade to find payment to submit. +/** + * submits ALL the prepared payments from ALL the Taler facades. + * FIXME(dold): This should not be done here. + * -> why? It crawls the *taler* facade to find payment to submit. + */ suspend fun submitPreparedPaymentsViaEbics(httpClient: HttpClient) { data class EbicsSubmission( val subscriberDetails: EbicsClientSubscriberDetails,