Re: [w3c/browser-payment-api] Change the value of currencySystem to an enum (#521)

In that case why not change the type to be a URL not an enum? Why have an enum if you only have 1 value.

If no currencySystem is provided then it's assumed to be ISO4271. Or make up a URL that indicates ISO4271?

Note that in this case (as opposed to with Payment Method Identifiers) the URN for ISO4271 is a registered URN not something we're inventing for the sake of this spec.

Also note that this has been proposed before and the group didn't like URL's because that meant defining what will be found at that URL.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/browser-payment-api/issues/521#issuecomment-300106882

Received on Tuesday, 9 May 2017 09:12:42 UTC