Re: [w3c/payment-request] WIP: add constructor to PaymentAddress (#654)

marcoscaceres commented on this pull request.



> +            </li>
+            <li>If <var>details</var>["<a>organization</a>"] is present, set
+            <var>address</var>.<a>[[\organization]]</a> to the result of
+            trimming <var>details</var>["<a>organization</a>"].
+            </li>
+            <li>If <var>details</var>["<a>recipient</a>"] is present, set <var>
+              address</var>.<a>[[\recipient]]</a> to the result of trimming
+              <var>details</var>["<a>recipient</a>"].
+            </li>
+            <li>Return <var>address</var>.
+            </li>
+          </ol>
+        </section>
+        <section>
+          <h2>
+            Creating a <code>PaymentAddress</code>

Yeah, we might need to merge them... one is supposed to impose order when contracting from user input (should rename this section more clearly), while the other is for calling the constructor from script. 

-- 
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/654#discussion_r152145890

Received on Tuesday, 21 November 2017 00:01:12 UTC