blob: 9337eeb33ee6045396cf4680a64ab201e6e60687 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#paymentresponse-interface
[
RuntimeEnabled=PaymentRequest,
GarbageCollected,
] interface PaymentResponse {
readonly attribute DOMString methodName;
[CallWith=ScriptState, RaisesException] readonly attribute object details;
[CallWith=ScriptState] Promise<void> complete(boolean success);
};