| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/#payment-instrument | 5 // https://w3c.github.io/payment-handler/#paymentinstrument-dictionary |
| 6 | 6 |
| 7 dictionary PaymentInstrument { | 7 dictionary PaymentInstrument { |
| 8 required DOMString name; | 8 required DOMString name; |
| 9 // TODO(zino): PaymentInstrument should have icons attribute. | 9 sequence<ImageObject> icons; |
| 10 // The spec[1] defines it as a sequence of ImageObject but its definition | |
| 11 // is not clear yet. | |
| 12 // Please see: https://github.com/w3c/webpayments-payment-apps-api/issues/69 | |
| 13 // sequence<ImageObject> icons; | |
| 14 sequence<DOMString> enabledMethods; | 10 sequence<DOMString> enabledMethods; |
| 15 object capabilities; | 11 object capabilities; |
| 16 }; | 12 }; |
| OLD | NEW |