ReceiptCard.cs
1 // Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2 // Changes may cause incorrect behavior and will be lost if the code is
3 // regenerated.
4 
5 namespace Microsoft.Bot.Connector
6 {
7  using System;
8  using System.Linq;
9  using System.Collections.Generic;
10  using Newtonsoft.Json;
11  using Microsoft.Rest;
12  using Microsoft.Rest.Serialization;
13 
17  public partial class ReceiptCard
18  {
22  public ReceiptCard() { }
23 
27  public ReceiptCard(string title = default(string), IList<ReceiptItem> items = default(IList<ReceiptItem>), IList<Fact> facts = default(IList<Fact>), CardAction tap = default(CardAction), string total = default(string), string tax = default(string), string vat = default(string), IList<CardAction> buttons = default(IList<CardAction>))
28  {
29  Title = title;
30  Items = items;
31  Facts = facts;
32  Tap = tap;
33  Total = total;
34  Tax = tax;
35  Vat = vat;
36  Buttons = buttons;
37  }
38 
42  [JsonProperty(PropertyName = "title")]
43  public string Title { get; set; }
44 
48  [JsonProperty(PropertyName = "items")]
49  public IList<ReceiptItem> Items { get; set; }
50 
54  [JsonProperty(PropertyName = "facts")]
55  public IList<Fact> Facts { get; set; }
56 
60  [JsonProperty(PropertyName = "tap")]
61  public CardAction Tap { get; set; }
62 
66  [JsonProperty(PropertyName = "total")]
67  public string Total { get; set; }
68 
72  [JsonProperty(PropertyName = "tax")]
73  public string Tax { get; set; }
74 
78  [JsonProperty(PropertyName = "vat")]
79  public string Vat { get; set; }
80 
84  [JsonProperty(PropertyName = "buttons")]
85  public IList<CardAction> Buttons { get; set; }
86 
87  }
88 }
ReceiptCard()
Initializes a new instance of the ReceiptCard class.
Definition: ReceiptCard.cs:22
ReceiptCard(string title=default(string), IList< ReceiptItem > items=default(IList< ReceiptItem >), IList< Fact > facts=default(IList< Fact >), CardAction tap=default(CardAction), string total=default(string), string tax=default(string), string vat=default(string), IList< CardAction > buttons=default(IList< CardAction >))
Initializes a new instance of the ReceiptCard class.
Definition: ReceiptCard.cs:27