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>

I'm going to change this algo to use an `AddressInit` dictionary instead. The algorithm will also take an optional "excludeList", which will exclude dictionary members as per #648. That should solve for `onpaymentaddress` privacy issues. 

-- 
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_r154267777

Received on Friday, 1 December 2017 04:53:17 UTC