Re: [w3c/browser-payment-api] Should the browser API support the concept of "messages"? (#154)

I'm fine if we need to pull parts of that message out to pass to the browser API because of Web IDL restrictions, ie:

```js
var paymentRequestMessage = {
  acceptablePaymentMethods: [...],
  otherThing: ...
};

var pr = new PaymentRequest(
  paymentRequestMessage.acceptablePaymentMethods,
  {items: ...}, // user-agent only "details"
  {...}, // user-agent only "options"
  paymentRequestMessage); // passed to Payment App unchanged
```

---
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/154#issuecomment-213441582

Received on Friday, 22 April 2016 14:06:16 UTC