IReceiptCard interface
向用户显示他们购买或计划购买的内容的丰富收据。
属性
| buttons | 适用于当前卡的操作集。 并非所有通道都支持按钮,允许的按钮数因通道而异。 |
| facts | 向用户显示的其他事实数组(发货费用等)。并非所有事实都会在所有频道上显示。 |
| items | 收据项的数组。 |
| tap | 当用户点击卡片时,将激活此操作。 并非所有频道都支持点击操作。 |
| tax | 已支付的税款总额(或应支付)。 |
| title | 卡片的标题。 |
| total | 支付的总金额(或应支付)。 |
| vat | 已支付的增值税总额(或应支付)。 |
属性详细信息
buttons
facts
items
tap
tax
已支付的税款总额(或应支付)。
tax: string
属性值
string
title
卡片的标题。
title: string
属性值
string
total
支付的总金额(或应支付)。
total: string
属性值
string
vat
已支付的增值税总额(或应支付)。
vat: string
属性值
string