taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 77587b2cd5769e3445f289a74a685f4a92fb6482
parent d803410f63f6957727835ee8f2d9fd98a6c9a3e8
Author: Florian Dold <florian.dold@gmail.com>
Date:   Mon, 18 Jan 2016 01:14:21 +0100

markup

Diffstat:
Mapi-common.rst | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/api-common.rst b/api-common.rst @@ -42,7 +42,7 @@ These objects are described in detail in :ref:`Signatures`. .. _`tsref-type-Amount`: - .. code-block: tsref + .. code-block:: tsref interface Amount { // name of the currency using either a three-character ISO 4217 currency @@ -62,10 +62,6 @@ These objects are described in detail in :ref:`Signatures`. fraction: number; } - * `currency`: name of the currency using either a three-character ISO 4217 currency code, or a regional currency identifier starting with a "*" followed by at most 10 characters. ISO 4217 exponents in the name are not supported, although the "fraction" is corresponds to an ISO 4217 exponent of 6. - * `value`: unsigned 32 bit value in the currency, note that "1" here would correspond to 1 EUR or 1 USD, depending on `currency`, not 1 cent. - * `fraction`: unsigned 32 bit fractional value to be added to `value` representing an additional currency fraction, in units of one millionth (10\ :superscript:`-6`) of the base currency value. For example, a fraction of 500,000 would correspond to 50 cents. - -------------- General errors