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

Re: [webpayments] Should list of accepted payment methods be strings or objects? (#37)

From: kevingordonwp <notifications@github.com>
Date: Tue, 05 Jan 2016 02:42:37 -0800
To: w3c/webpayments <webpayments@noreply.github.com>
Cc: webpayments <public-payments-wg@w3.org>
Message-ID: <w3c/webpayments/issues/37/168968393@github.com>
+1 to objects. The object can still contain a parameter (called name?) that is a string of value, "visa", "bitcoin", etc, but being an object will enable additional information to be associated with that payment method. My current thinking is having this an object would be much more preferable.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments/issues/37#issuecomment-168968393
Received on Tuesday, 5 January 2016 10:43:08 UTC

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