语言

ReceiptCard 构造函数

定义

重载

ReceiptCard()

初始化 ReceiptCard 类的新实例。

public ReceiptCard();
Public Sub New ()

适用于

ReceiptCard(String, IList<Fact>, IList<ReceiptItem>, CardAction, String, String, String, IList<CardAction>)

初始化 ReceiptCard 类的新实例。

public ReceiptCard(string title = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Fact> facts = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.ReceiptItem> items = default, Microsoft.Bot.Schema.CardAction tap = default, string total = default, string tax = default, string vat = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> buttons = default);
new Microsoft.Bot.Schema.ReceiptCard : string * System.Collections.Generic.IList<Microsoft.Bot.Schema.Fact> * System.Collections.Generic.IList<Microsoft.Bot.Schema.ReceiptItem> * Microsoft.Bot.Schema.CardAction * string * string * string * System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> -> Microsoft.Bot.Schema.ReceiptCard
Public Sub New (Optional title As String = Nothing, Optional facts As IList(Of Fact) = Nothing, Optional items As IList(Of ReceiptItem) = Nothing, Optional tap As CardAction = Nothing, Optional total As String = Nothing, Optional tax As String = Nothing, Optional vat As String = Nothing, Optional buttons As IList(Of CardAction) = Nothing)

参数

title
String

卡片的标题。

facts
IList<Fact>

事实对象数组。

items
IList<ReceiptItem>

收据项目的排列。

tap
CardAction

当用户点击卡片时,将激活此操作。

total
String

已支付(或将支付)的总金额。

tax
String

已缴纳(或待缴纳)的总税款。

vat
String

已支付(或待缴纳)的增值税总额。

buttons
IList<CardAction>

适用于当前卡的操作集。

适用于