| // 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/browser-payment-api/specs/paymentrequest.html#shippingaddress-interface |
| // https://github.com/w3c/browser-payment-api/issues/6 |
| |
| [ |
| RuntimeEnabled=PaymentRequest, |
| GarbageCollected, |
| ] interface ShippingAddress { |
| readonly attribute DOMString regionCode; |
| readonly attribute sequence<DOMString> addressLine; |
| readonly attribute DOMString administrativeArea; |
| readonly attribute DOMString locality; |
| readonly attribute DOMString dependentLocality; |
| readonly attribute DOMString postalCode; |
| readonly attribute DOMString sortingCode; |
| readonly attribute DOMString languageCode; |
| readonly attribute DOMString organization; |
| readonly attribute DOMString recipient; |
| }; |