[Bug 24903] Credit info interface
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 5 15:48:39 CET 2009
http://bugs.freedesktop.org/show_bug.cgi?id=24903
--- Comment #4 from Mikhail Zabaluev <mikhail.zabaluev at nokia.com> 2009-11-05 06:48:38 PST ---
The structure is defined as follows:
<tp:struct name="Currency_Amount"
array-name="Currency_Amount_Struct">
<tp:member type="i" name="Amount">
<tp:docstring>
Expressed as a fixed point number with decimal scale defined by the
Scale property.
E.g. a Amount value of 1234 with Scale of 2 represents 12.34
in the currency unit given by the value Currency.
</tp:docstring>
</tp:member>
<tp:member type="u" name="Scale">
<tp:docstring>
The decimal scale for the fixed point value of the Amount property,
defining the number of rightmost decimal digits from the integer
value, which form the fractional part of the resulting currently
value.
</tp:docstring>
</tp:member>
<tp:member type="s" name="Currency">
<tp:docstring>
Currency string that should be used when displaying amount.
E.g. "EUR", "USD", or "JPY".
</tp:docstring>
</tp:member>
</tp:struct>
The interface members now look as follows:
readable property AccountBalance: CurrencyAmount
signal BalanceChanged: CurrencyAmount
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list