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/payment-handler/#paymentrequesteventinit-dictionary |
6 | 6 |
7 // TODO(zino): Once the spec issue is resolved, we should apply the changes. | 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 | 8 // Please see https://github.com/w3c/payment-handler/pull/162 |
9 dictionary PaymentAppRequest { | 9 dictionary PaymentRequestEventInit { |
10 DOMString topLevelOrigin; | 10 DOMString topLevelOrigin; |
11 DOMString paymentRequestOrigin; | 11 DOMString paymentRequestOrigin; |
12 DOMString paymentRequestId; | 12 DOMString paymentRequestId; |
13 sequence<PaymentMethodData> methodData; | 13 sequence<PaymentMethodData> methodData; |
14 PaymentItem total; | 14 PaymentItem total; |
15 sequence<PaymentDetailsModifier> modifiers; | 15 sequence<PaymentDetailsModifier> modifiers; |
16 DOMString instrumentKey; | 16 DOMString instrumentKey; |
17 }; | 17 }; |
OLD | NEW |