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 ReceiptCard. |
| ReceiptCard(String, IList<Fact>, IList<ReceiptItem>, CardAction, String, String, String, IList<CardAction>) |
Initializes a new instance of ReceiptCard. |
ReceiptCard()
Initializes a new instance of ReceiptCard.
public ReceiptCard();
Public Sub New ()
Applies to
ReceiptCard(String, IList<Fact>, IList<ReceiptItem>, CardAction, String, String, String, IList<CardAction>)
Initializes a new instance of ReceiptCard.
public ReceiptCard(string title = default, System.Collections.Generic.IList<Microsoft.Agents.Core.Models.Fact> facts = default, System.Collections.Generic.IList<Microsoft.Agents.Core.Models.ReceiptItem> items = default, Microsoft.Agents.Core.Models.CardAction tap = default, string total = default, string tax = default, string vat = default, System.Collections.Generic.IList<Microsoft.Agents.Core.Models.CardAction> buttons = default);
new Microsoft.Agents.Core.Models.ReceiptCard : string * System.Collections.Generic.IList<Microsoft.Agents.Core.Models.Fact> * System.Collections.Generic.IList<Microsoft.Agents.Core.Models.ReceiptItem> * Microsoft.Agents.Core.Models.CardAction * string * string * string * System.Collections.Generic.IList<Microsoft.Agents.Core.Models.CardAction> -> Microsoft.Agents.Core.Models.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
A clickable action.
- 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.