OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebPaymentItem_h |
| 6 #define WebPaymentItem_h |
| 7 |
| 8 #include "public/platform/WebString.h" |
| 9 #include "public/platform/modules/payments/WebPaymentCurrencyAmount.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 // https://w3c.github.io/browser-payment-api/#paymentitem-dictionary |
| 14 struct WebPaymentItem { |
| 15 WebString label; |
| 16 WebPaymentCurrencyAmount amount; |
| 17 bool pending; |
| 18 }; |
| 19 |
| 20 } // namespace blink |
| 21 |
| 22 #endif // WebPaymentItem_h |
OLD | NEW |