gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: clarify amounts in transactions API


From: gnunet
Subject: [taler-docs] branch master updated: clarify amounts in transactions API
Date: Mon, 18 May 2020 15:22:08 +0200

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

torsten-grote pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 16466dd  clarify amounts in transactions API
16466dd is described below

commit 16466dd547243332ad1284827f34369442e1bc3c
Author: Torsten Grote <address@hidden>
AuthorDate: Mon May 18 10:21:13 2020 -0300

    clarify amounts in transactions API
---
 taler-wallet.rst | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/taler-wallet.rst b/taler-wallet.rst
index 0308e57..ce36900 100644
--- a/taler-wallet.rst
+++ b/taler-wallet.rst
@@ -230,6 +230,7 @@ Transactions are all operations or events that are 
affecting the balance.
       amountRaw: Amount;
 
       // Amount that actually was (or will be) added to the wallet's balance.
+      // Should always be shown as a positive amount.
       amountEffective: Amount;
     }
 
@@ -248,6 +249,7 @@ Transactions are all operations or events that are 
affecting the balance.
       amountRaw: Amount;
 
       // Amount that was paid, including deposit, wire and refresh fees.
+      // Should always be shown as a negative amount.
       amountEffective: Amount;
     }
 
@@ -310,7 +312,8 @@ Transactions are all operations or events that are 
affecting the balance.
       // Amount that has been refunded by the merchant
       amountRaw: Amount;
 
-      // Amount will be added to the wallet's balance after fees and refreshing
+      // Amount will be added to the wallet's balance after fees and 
refreshing.
+      // Should always be shown as a positive amount.
       amountEffective: Amount;
     }
 
@@ -331,7 +334,8 @@ Transactions are all operations or events that are 
affecting the balance.
       // Raw amount of the tip, without extra fees that apply
       amountRaw: Amount;
 
-      // Amount will be (or was) added to the wallet's balance after fees and 
refreshing
+      // Amount will be (or was) added to the wallet's balance after fees and 
refreshing.
+      // Should always be shown as a positive amount.
       amountEffective: Amount;
     }
 
@@ -365,7 +369,8 @@ Transactions are all operations or events that are 
affecting the balance.
       // Raw amount that is refreshed
       amountRaw: Amount;
 
-      // Amount that will be paid as fees for the refresh
+      // Amount that will be paid as fees for the refresh.
+      // Should always be shown as a negative amount.
       amountEffective: Amount;
     }
 

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



reply via email to

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