安全上下文
此特征只可用于
安全上下文
(HTTPS),在某些或所有
支持浏览器
.
PaymentDetailsBase
dictionary is a mixin used by the
PaymentDetailsInit
and
PaymentDetailsUpdate
字典。
It is never directly used by developers and is included here only to be used as the basis for those documents.
displayItems
可选
PaymentItem
objects, each describing one line item for the payment request. These represent the line items on a receipt or invoice.
modifiers
可选
PaymentDetailsModifier
objects, each describing a modifier for particular payment method identifiers. For example, you can use one to adjust the total payment amount based on the selected payment method ("5% cash discount!").
shippingOptions
可选
PaymentShippingOption
objects, each describing one available shipping option from which the user may choose.
The following dictionaries include
PaymentDetailsBase
.
PaymentDetailsInit
PaymentRequest()
构造函数。
PaymentDetailsUpdate
PaymentDetailsUpdateEvent.updateWith()
or by returning it from the optional
detailsUpdate
promise provided to the
PaymentRequest.show()
call that begins the user interaction.
| 规范 | 状态 | 注释 |
|---|---|---|
|
支付请求 API
The definition of 'PaymentDetailsBase' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
PaymentDetailsBase
|
Chrome 61 | Edge ≤18 |
Firefox
55
注意事项
Disabled
|
IE 不支持 No | Opera 不支持 No | Safari ? | WebView Android 不支持 No | Chrome Android 53 |
Firefox Android
55
注意事项
Disabled
|
Opera Android 不支持 No | Safari iOS ? | Samsung Internet Android 6.0 |
displayItems
|
Chrome 61 | Edge ≤18 |
Firefox
55
注意事项
Disabled
|
IE 不支持 No | Opera 不支持 No | Safari ? | WebView Android 不支持 No | Chrome Android 60 |
Firefox Android
55
注意事项
Disabled
|
Opera Android 不支持 No | Safari iOS ? | Samsung Internet Android 8.0 |
modifiers
|
Chrome 61 | Edge ≤18 |
Firefox
55
注意事项
Disabled
|
IE 不支持 No | Opera 不支持 No | Safari ? | WebView Android 不支持 No | Chrome Android 60 |
Firefox Android
55
注意事项
Disabled
|
Opera Android 不支持 No | Safari iOS ? | Samsung Internet Android 8.0 |
shippingOptions
|
Chrome 61 | Edge ≤18 |
Firefox
55
注意事项
Disabled
|
IE 不支持 No | Opera 不支持 No | Safari ? | WebView Android 不支持 No | Chrome Android 60 |
Firefox Android
55
注意事项
Disabled
|
Opera Android 不支持 No | Safari iOS ? | Samsung Internet Android 8.0 |
完整支持
不支持
兼容性未知
见实现注意事项。
用户必须明确启用此特征。
PaymentDetailsBase