gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] 01/02: comments


From: gnunet
Subject: [libeufin] 01/02: comments
Date: Sun, 14 Jun 2020 15:36:28 +0200

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

dold pushed a commit to branch master
in repository libeufin.

commit 78376f7a2505f39633b2bf58f1d4a4c851106b99
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Sun Jun 14 19:05:26 2020 +0530

    comments
---
 nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
index f5aab03..9aac051 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
@@ -43,6 +43,10 @@ import java.sql.Connection
 object TalerRequestedPayments : LongIdTable() {
     val preparedPayment = reference("payment", PreparedPaymentsTable)
     val requestUId = text("request_uid")
+
+    /**
+     * Amount in the Taler amount format.
+     */
     val amount = text("amount")
     val exchangeBaseUrl = text("exchange_base_url")
     val wtid = text("wtid")
@@ -170,7 +174,15 @@ object PreparedPaymentsTable : IdTable<String>() {
     /** the UUID representing this payment in the system */
     override val id = text("id").entityId()
     val paymentId = long("paymentId")
+
+    /**
+     * Time when the payment initiation was created.
+     */
     val preparationDate = long("preparationDate")
+
+    /**
+     * First time that this payment request has been submitted successfully.
+     */
     val submissionDate = long("submissionDate").nullable()
     val sum = amount("sum")
     val currency = varchar("currency", length = 3).default("EUR")
@@ -183,7 +195,10 @@ object PreparedPaymentsTable : IdTable<String>() {
     val debitorBic = text("debitorBic")
     val debitorName = text("debitorName").nullable()
 
-    /* Indicates whether the PAIN message was sent to the bank. */
+    /**
+     * Indicates whether the PAIN message was sent to the bank.
+     * FIXME(dold): Overlap with submissionDate?!
+     */
     val submitted = bool("submitted").default(false)
 }
 

-- 
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]