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

// Copyright 2016 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/#paymentaddress-interface

[
    RuntimeEnabled=PaymentRequest,
    SecureContext,
    Exposed=Window
] interface PaymentAddress {
    [CallWith=ScriptState, ImplementedAs=toJSONForBinding] object toJSON();
    readonly attribute DOMString city;
    readonly attribute DOMString country;
    readonly attribute DOMString dependentLocality;
    readonly attribute DOMString organization;
    readonly attribute DOMString phone;
    readonly attribute DOMString postalCode;
    readonly attribute DOMString recipient;
    readonly attribute DOMString region;
    readonly attribute DOMString sortingCode;
    readonly attribute FrozenArray<DOMString> addressLine;
};