gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: uncomment raw transactions table


From: gnunet
Subject: [libeufin] branch master updated: uncomment raw transactions table
Date: Wed, 25 Mar 2020 19:44:37 +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 291fffb  uncomment raw transactions table
291fffb is described below

commit 291fffb89df9e291cde8d4d68ca1640b70c5b342
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Mar 25 19:43:42 2020 +0100

    uncomment raw transactions table
---
 nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt | 65 ++++++++-----------------
 1 file changed, 21 insertions(+), 44 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
index f57d167..5ad345a 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
@@ -13,50 +13,27 @@ import java.sql.Connection
 const val ID_MAX_LENGTH = 50
 
 
-//object EbicsRawBankTransactionsTable : IdTable<Long>() {
-//    override val id = 
EbicsSubscribersTable.long("id").entityId().primaryKey()
-//
-//    val nexusSubscriber = reference("subscriber", EbicsSubscribersTable)
-//
-//    /**
-//     * How did we learn about this transaction?  C52 / C53 / C54
-//     */
-//    val sourceType = text("sourceType")
-//
-//    val sourceFileName = text("sourceFileName")
-//
-//
-//
-//    /**
-//     * "Subject" of the SEPA transaction
-//     */
-//    val unstructuredRemittanceInformation = 
text("unstructuredRemittanceInformation")
-//
-//    /**
-//     * Is it a credit or debit transaction?
-//     */
-//    val transactionType = text("transactionType")
-//
-//    val currency = text("currency")
-//
-//    val amount = text("amount")
-//
-//    val creditorIban = text("creditorIban")
-//
-//    val debitorIban = text("creditorIban")
-//}
-//
-//
-///**
-// * This table gets populated by the HTD request.
-// *
-// * It stores which subscriber has access to which bank accounts via EBICS.
-// *
-// * When making a payment, we need to refer to one of these accounts
-// */
-//object EbicsBankAccountsTable {
-//
-//}
+object EbicsRawBankTransactionsTable : IdTable<Long>() {
+    override val id = EbicsSubscribersTable.long("id").entityId().primaryKey()
+    val nexusSubscriber = reference("subscriber", EbicsSubscribersTable)
+    /**
+     * How did we learn about this transaction?  C52 / C53 / C54
+     */
+    val sourceType = text("sourceType")
+    val sourceFileName = text("sourceFileName")
+    /**
+     * "Subject" of the SEPA transaction
+     */
+    val unstructuredRemittanceInformation = 
text("unstructuredRemittanceInformation")
+    /**
+     * Is it a credit or debit transaction?
+     */
+    val transactionType = text("transactionType")
+    val currency = text("currency")
+    val amount = text("amount")
+    val creditorIban = text("creditorIban")
+    val debitorIban = text("creditorIban")
+}
 
 object Pain001Table : IntIdTableWithAmount() {
     val msgId = long("msgId").uniqueIndex().autoIncrement()

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



reply via email to

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