ReceiptCard 构造函数

定义

重载

ReceiptCard()

初始化 ReceiptCard 类的新实例。

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

初始化 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>

Fact 对象的数组。

items
IList<ReceiptItem>

收据项数组。

tap
CardAction

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

total
String

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

tax
String

(或) 缴纳的税款总额。

vat
String

(或) 支付的增值税总额。

buttons
IList<CardAction>

适用于当前卡片的操作集。

适用于