diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-18 01:14:21 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-18 01:14:21 +0100 |
commit | 77587b2cd5769e3445f289a74a685f4a92fb6482 (patch) | |
tree | 7db7683b8c10602cd92bf2b3e823af5ac2bc534c | |
parent | d803410f63f6957727835ee8f2d9fd98a6c9a3e8 (diff) | |
download | docs-77587b2cd5769e3445f289a74a685f4a92fb6482.tar.gz docs-77587b2cd5769e3445f289a74a685f4a92fb6482.tar.bz2 docs-77587b2cd5769e3445f289a74a685f4a92fb6482.zip |
markup
-rw-r--r-- | api-common.rst | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/api-common.rst b/api-common.rst index 3ab82f09..db23732c 100644 --- 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 |