ReceiptCard Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReceiptCard() |
Initializes a new instance of the ReceiptCard class. |
ReceiptCard(String, IList<Fact>, IList<ReceiptItem>, CardAction, String, String, String, IList<CardAction>) |
Initializes a new instance of the ReceiptCard class. |
ReceiptCard()
Initializes a new instance of the ReceiptCard class.
public ReceiptCard ();
Public Sub New ()
Applies to
ReceiptCard(String, IList<Fact>, IList<ReceiptItem>, CardAction, String, String, String, IList<CardAction>)
Initializes a new instance of the ReceiptCard class.
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)
Parameters
- title
- String
Title of the card.
- items
- IList<ReceiptItem>
Array of Receipt Items.
- tap
- CardAction
This action will be activated when user taps on the card.
- total
- String
Total amount of money paid (or to be paid).
- tax
- String
Total amount of tax paid (or to be paid).
- vat
- String
Total amount of VAT paid (or to be paid).
- buttons
- IList<CardAction>
Set of actions applicable to the current card.