OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#shippinga
ddress-interface | 5 // https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#shippinga
ddress-interface |
6 // https://github.com/w3c/browser-payment-api/issues/6 | |
7 | 6 |
8 [ | 7 [ |
9 RuntimeEnabled=PaymentRequest, | 8 RuntimeEnabled=PaymentRequest, |
10 ] interface ShippingAddress { | 9 ] interface ShippingAddress { |
11 readonly attribute DOMString regionCode; | 10 readonly attribute DOMString regionCode; |
12 readonly attribute sequence<DOMString> addressLine; | 11 readonly attribute sequence<DOMString> addressLine; |
13 readonly attribute DOMString administrativeArea; | 12 readonly attribute DOMString administrativeArea; |
14 readonly attribute DOMString locality; | 13 readonly attribute DOMString locality; |
15 readonly attribute DOMString dependentLocality; | 14 readonly attribute DOMString dependentLocality; |
16 readonly attribute DOMString postalCode; | 15 readonly attribute DOMString postalCode; |
17 readonly attribute DOMString sortingCode; | 16 readonly attribute DOMString sortingCode; |
18 readonly attribute DOMString languageCode; | 17 readonly attribute DOMString languageCode; |
19 readonly attribute DOMString organization; | 18 readonly attribute DOMString organization; |
20 readonly attribute DOMString recipient; | 19 readonly attribute DOMString recipient; |
21 }; | 20 }; |
OLD | NEW |