W3C home > Mailing lists > Public > public-payments-wg@w3.org > January 2016

Re: [webpayments] PROPOSAL: Use strings to represent currency and amount per ISO20022 (#57)

From: Adrian Hope-Bailie <notifications@github.com>
Date: Fri, 29 Jan 2016 02:23:41 -0800
To: w3c/webpayments <webpayments@noreply.github.com>
Message-ID: <w3c/webpayments/issues/57/176682683@github.com>
The group resolved to adopt this format for amounts but with the following amends:
* Drop points 7 and 8 (processing instructions)
* Amend 6 to remove length restriction (and therefor allow other currency identifiers such as URLs)

RESOLVED as follows:

Use formatting rules for amounts in the Web Payments WG specifications as follows:
 1. Amounts MUST be represented as an object.
 1. The amount object MUST have at least two named properties: "currency" and "amount".
 1. The value of the amount property MUST be a string consisting only of numeric digits.
 1. The value of the amount property MAY contain a single dot to denote separation of the fractional suffix from the rest of the amount.
 1. If present, the dot MUST NOT be the first character of the amount.
 1. The value of the currency property MUST be expressed as a string

Reply to this email directly or view it on GitHub:
Received on Friday, 29 January 2016 10:24:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:43:13 UTC