summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-01 23:11:26 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-01 23:11:26 +0530
commitec6251dc560372d35e1a40fbad786dc74fd5a378 (patch)
treec3d29a4586fcd342001a106018e02e6d93c20d7c /core
parent7eec2ab58910547375ae415f7741b217d8e6cac0 (diff)
downloaddocs-ec6251dc560372d35e1a40fbad786dc74fd5a378.tar.gz
docs-ec6251dc560372d35e1a40fbad786dc74fd5a378.tar.bz2
docs-ec6251dc560372d35e1a40fbad786dc74fd5a378.zip
amount
Diffstat (limited to 'core')
-rw-r--r--core/api-bank-access.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/api-bank-access.rst b/core/api-bank-access.rst
index 215c516..d7ad027 100644
--- a/core/api-bank-access.rst
+++ b/core/api-bank-access.rst
@@ -45,11 +45,15 @@ name and account password, at least in the GNU Taler demo bank implementation.
.. ts:def:: BankAccountBalanceResponse
interface BankAccountBalanceResponse {
- // Current amount; can be debit.
- balance: Amount;
+ // Current amount, interpretation depends
+ // on the credit_debit_indicator.
+ amount: Amount;
// Indicates whether the amount refers to a debit or credit value.
credit_debit_indicator: string; // "credit" and "debit" values allowed.
+
+ // DEPRECATED: Alias for "amount", will be removed soon.
+ balance: Amount;
}