addressLine
只读特性在
PaymentAddress
interface is an array of
DOMString
objects, each specifying a line of the address that is not covered by one of the other properties of
PaymentAddress
.
These lines may include the street name, house number, apartment number, rural delivery route, descriptive instructions, or post office box.
var paymentAddressLines = PaymentAddress.addressLine;
An array of
DOMString
objects, each containing one line of the address. For example, the
addressLine
array for the Mozilla Space in London would have the following entries:
| 索引 | addressLine[] value |
|---|---|
| 0 | Metal Box Factory |
| 1 | Suite 441, 4th floor |
| 2 | 30 Great Guildford Street |
These, combined with additional values for other properties of the
PaymentAddress
, would represent the full address, which is:
Mozilla
Metal Box Factory
Suite 441, 4th floor
30 Great Guildford Street
London SE1 0HS
United Kingdom
| 规范 | 状态 | 注释 |
|---|---|---|
|
支付请求 API
The definition of 'PaymentAddress.addressLine' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
addressLine
|
Chrome
61
Disabled
|
Edge 15 |
Firefox
56
注意事项
Disabled
|
IE 不支持 No | Opera 不支持 No | Safari Yes | WebView Android 不支持 No |
Chrome Android
53
Disabled
|
Firefox Android
56
注意事项
Disabled
|
Opera Android 不支持 No | Safari iOS Yes | Samsung Internet Android 不支持 No |
完整支持
不支持
见实现注意事项。
用户必须明确启用此特征。
PaymentAddress