OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // https://w3c.github.io/webpayments-payment-apps-api/#payment-instrument |
| 6 |
| 7 dictionary PaymentInstrument { |
| 8 required DOMString name; |
| 9 // TODO(zino): PaymentInstrument should have icons attribute. |
| 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; |
| 15 object capabilities; |
| 16 }; |
OLD | NEW |