From b25e82b40b71ab5e8d73f552e13340d27d111884 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 28 Jul 2020 23:32:42 +0530 Subject: api docs --- taler-wallet.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'taler-wallet.rst') diff --git a/taler-wallet.rst b/taler-wallet.rst index 82c21821..ecab021e 100644 --- a/taler-wallet.rst +++ b/taler-wallet.rst @@ -107,9 +107,11 @@ Balances are the amounts of digital cash held by the wallet. .. ts:def:: Balance + // Balance for one currency. + // The currency can be derived from any of the + // "Amount" fields, as the currency is present even + // when the amount is zero. interface Balance { - currency?: string; - // The total Amount that is currently available to be spent // including amounts tied up in ongoing refresh operations. These are hidden from the user. // If the user tries to spend coins locked up this way, @@ -591,10 +593,10 @@ Get Withdrawal Details tosAccepted: boolean; // Amount that will be transferred to the exchange. - rawAmount: Amount; + amountRaw: Amount; // Amount that will be added to the user's wallet balance. - effectiveAmount: Amount; + amountEffective: Amount; } Accept Bank-integrated Withdrawal -- cgit v1.2.3