blob: 01e2a3e5645c8611a3ddab7a5e1f86b2a12c3bc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// 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 {
[CallWith=ScriptState, ImplementedAs=toJSONForBinding] object toJSON();
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;
};
|