Re: [w3c/payment-request] Editorial: define create a PaymentAddress algo (#644)

marcoscaceres commented on this pull request.



> +        <ol data-link-for="PaymentAddress">
+          <li>Let <var>address</var> be a new instance of
+          <a>PaymentAddress</a>.
+          </li>
+          <li>Set <var>address</var>.<a>[[\addressLine]]</a> to the result of
+          splitting the user-provided address line into a <a data-cite=
+          "!WEBIDL#dfn-frozen-array-type">frozen array</a>. If none was
+          provided, set it to the empty <a data-cite=
+          "!WEBIDL#dfn-frozen-array-type">frozen array</a>.
+            <aside class="note">
+              How to split an address line is locale dependent and beyond the
+              scope of this specification.
+            </aside>
+          </li>
+          <li>Set <var>address</var>.<a>[[\country]]</a> to the user-provided
+          <a>country</a> as an upper case [[!ISO3166]] alpha-2 code, or to the

good catch. 

-- 
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/payment-request/pull/644#discussion_r149177730

Received on Monday, 6 November 2017 19:27:29 UTC