Bug 1885602 - Part 5: Implement navigating to the SUMO help topic from the menu heade...
[gecko.git] / dom / webidl / BasicCardPayment.webidl
blob2531c5601c089156aa304efa4fd1975a211115d0
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * The origin of this WebIDL file is
7  *   https://www.w3.org/TR/payment-method-basic-card/
8  */
10 [GenerateInit]
11 dictionary BasicCardRequest {
12   sequence<DOMString> supportedNetworks = [];
13   boolean requestSecurityCode = true;
16 [GenerateConversionToJS]
17 dictionary BasicCardResponse {
18            DOMString cardholderName = "";
19   required DOMString cardNumber;
20            DOMString expiryMonth = "";
21            DOMString expiryYear = "";
22            DOMString cardSecurityCode = "";
23            PaymentAddress? billingAddress = null;
26 [GenerateConversionToJS]
27 dictionary BasicCardChangeDetails {
28   PaymentAddress? billingAddress = null;
31 [GenerateInit]
32 dictionary BasicCardErrors {
33   DOMString cardNumber;
34   DOMString cardholderName;
35   DOMString cardSecurityCode;
36   DOMString expiryMonth;
37   DOMString expiryYear;
38   AddressErrors billingAddress;