chromium/third_party/blink/renderer/modules/payments/payment_method_change_event.idl

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://w3c.github.io/payment-request/#paymentmethodchangeevent-interface

[
    RuntimeEnabled=PaymentMethodChangeEvent,
    SecureContext,
    Exposed=Window
] interface PaymentMethodChangeEvent : PaymentRequestUpdateEvent {
    [CallWith=ScriptState] constructor(DOMString type, optional PaymentMethodChangeEventInit eventInitDict = {});
    readonly attribute DOMString methodName;
    [CallWith=ScriptState] readonly attribute object? methodDetails;
};