ReceiptCard Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| ReceiptCard() |
Initierar en ny instans av ReceiptCard klassen. |
| ReceiptCard(String, IList<Fact>, IList<ReceiptItem>, CardAction, String, String, String, IList<CardAction>) |
Initierar en ny instans av ReceiptCard klassen. |
ReceiptCard()
ReceiptCard(String, IList<Fact>, IList<ReceiptItem>, CardAction, String, String, String, IList<CardAction>)
Initierar en ny instans av ReceiptCard klassen.
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)
Parametrar
- title
- String
Kortets titel.
- items
- IList<ReceiptItem>
Uppsättning kvittoartiklar.
- tap
- CardAction
Denna åtgärd aktiveras när användaren trycker på kortet.
- total
- String
Totalt belopp som betalats (eller ska betalas).
- tax
- String
Totalt belopp av betald skatt (eller som ska betalas).
- vat
- String
Totalt belopp av moms som betalats (eller ska betalas).
- buttons
- IList<CardAction>
Uppsättning åtgärder som gäller för det aktuella kortet.