这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
shippingType
只读特性在
PaymentRequest
interface returns one of
"shipping"
,
"delivery"
,
"pickup"
,或
null
if one was not provided by the constructor.
var shippingType = paymentRequest.shippingType
One of
"shipping"
,
"delivery"
,
"pickup"
,或
null
.
| 规范 | 状态 | 注释 |
|---|---|---|
|
支付请求 API
The definition of 'shippingType' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
shippingType
|
Chrome 61 | Edge 15 |
Firefox
55
注意事项
Disabled
|
IE 不支持 No | Opera 不支持 No | Safari 11.1 | WebView Android 不支持 No | Chrome Android 55 |
Firefox Android
55
注意事项
Disabled
|
Opera Android 不支持 No | Safari iOS 11.3 | Samsung Internet Android 6.0 |
完整支持
不支持
见实现注意事项。
用户必须明确启用此特征。
PaymentRequest