blob: 58901857b347a260cebf591f39871590e67fb89e [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/payment-request/#paymentaddress-interface
[
RuntimeEnabled=PaymentRequest,
SecureContext,
Exposed=Window
] interface PaymentAddress {
serializer = {attribute};
readonly attribute DOMString city;
readonly attribute DOMString country;
readonly attribute DOMString dependentLocality;
[MeasureAs=PaymentAddressLanguageCode] readonly attribute DOMString languageCode;
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;
};