Re: [w3c/browser-payment-api] Is 'currencySystem' required? (#408)

It might be correct. Because it's not nullable and it has default value. So, the value is always set as something. So, we can say the value is always required. (But we can change the string clearer.)

Also, according to IDL spec[1], the currency system (non-nullable DOMString) will be resolved as follows:
currencySystem: null -> "null"
currencySystem: undefined -> "urn:iso:std:iso:4217" (default value)

[1] https://heycam.github.io/webidl/#idl-DOMString

-- 
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/408#issuecomment-274496128

Received on Monday, 23 January 2017 14:07:22 UTC