Re: [w3c/payment-method-basic-card] better integration with PR API (#52)

marcoscaceres commented on this pull request.



> +          <li>Let <var>networks</var> be an empty <code><a data-cite=
+          "!WEBIDL#idl-DOMString">DOMString</a></code> sequence.
+          </li>
+          <li>Let <var>types</var> be an empty <a>BasicCardType</a> sequence.
+          </li>
+          <li>If <var>request</var>["supportedTypes"] is present, append each
+          item in <var>request</var>["supportedTypes"] to <var>types</var>.
+          </li>
+          <li>If <var>request</var>["supportedNetworks"] is present, append
+          each item in <var>request</var>["supportedNetworks"] to
+          <var>networks</var>.
+          </li>
+          <li>For each <var>card</var> in <var>cards</var>:
+            <ol>
+              <li>If <a>instrument is supported</a> <var>card</var>,
+              <var>networks</var>, <var>types</var> returns true, return true.

https://github.com/w3c/payment-method-basic-card/pull/54

-- 
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-method-basic-card/pull/52#discussion_r186326099

Received on Monday, 7 May 2018 04:50:20 UTC