Język

ReceiptCard Konstruktory

Definicja

Przeciążenia

ReceiptCard()

Inicjuje nowe wystąpienie klasy ReceiptCard.

public ReceiptCard();
Public Sub New ()

Dotyczy

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

Inicjuje nowe wystąpienie klasy 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)

Parametry

title
String

Tytuł kartki.

facts
IList<Fact>

Obiekty Array of Fact.

items
IList<ReceiptItem>

Zestaw przedmiotów paragonowych.

tap
CardAction

Akcja ta zostanie aktywowana po stuknięciu przez użytkownika w kartę.

total
String

Całkowita kwota pieniędzy zapłacona (lub do wypłaty).

tax
String

Całkowita kwota zapłaconego podatku (lub do zapłaty).

vat
String

Całkowita kwota zapłaconego (lub do zapłaty) VAT.

buttons
IList<CardAction>

Zestaw akcji odpowiednich dla obecnej karty.

Dotyczy