summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/payments/payment_method_change_response.idl
blob: 46100b01d76e9f6d2256c49ce50f7847ec8ac3f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2019 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/#dom-paymentmethodchangeresponse
// Todo(sahel): Change the link to the updated spec. crbug.com/984694
// Todo(sahel): Rename PaymentMethodChangeResponse to
// PaymentRequestDetailsUpdate which is a more generic name. crbug.com/984694

dictionary PaymentMethodChangeResponse {
  DOMString error;
  PaymentCurrencyAmount total;
  FrozenArray<PaymentDetailsModifier> modifiers;
  FrozenArray<PaymentShippingOption> shippingOptions;
  object paymentMethodErrors;
  AddressErrors shippingAddressErrors;
};