OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://w3c.github.io/webpayments-payment-apps-api/#idl-def-paymentapprequest | 5 // https://w3c.github.io/webpayments-payment-apps-api/#idl-def-paymentapprequest |
6 | 6 |
| 7 // TODO(zino): Once the spec issue is resolved, we should apply the changes. |
| 8 // Please see https://github.com/w3c/payment-handler/pull/162 |
7 dictionary PaymentAppRequest { | 9 dictionary PaymentAppRequest { |
8 DOMString origin; | 10 DOMString topLevelOrigin; |
| 11 DOMString paymentRequestOrigin; |
| 12 DOMString paymentRequestId; |
9 sequence<PaymentMethodData> methodData; | 13 sequence<PaymentMethodData> methodData; |
10 PaymentItem total; | 14 PaymentItem total; |
11 sequence<PaymentDetailsModifier> modifiers; | 15 sequence<PaymentDetailsModifier> modifiers; |
12 DOMString optionId; | 16 DOMString instrumentKey; |
13 }; | 17 }; |
OLD | NEW |