summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/payments/payment_handler_response.idl
blob: 6f17e0d6e2acd907b4ba970e050f1da5f1d2098a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2017 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/payment-handler/#paymenthandlerresponse-dictionary

dictionary PaymentHandlerResponse {
    DOMString methodName;
    object details;
    [RuntimeEnabled=PaymentHandlerHandlesShippingAndContact] DOMString? payerName;
    [RuntimeEnabled=PaymentHandlerHandlesShippingAndContact] DOMString? payerEmail;
    [RuntimeEnabled=PaymentHandlerHandlesShippingAndContact] DOMString? payerPhone;
    [RuntimeEnabled=PaymentHandlerHandlesShippingAndContact] PaymentAddressInit shippingAddress;
    [RuntimeEnabled=PaymentHandlerHandlesShippingAndContact] DOMString? shippingOption;
};