ReceiptItem.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 ReceiptItem
18  {
22  public ReceiptItem() { }
23 
27  public ReceiptItem(string title = default(string), string subtitle = default(string), string text = default(string), CardImage image = default(CardImage), string price = default(string), string quantity = default(string), CardAction tap = default(CardAction))
28  {
29  Title = title;
30  Subtitle = subtitle;
31  Text = text;
32  Image = image;
33  Price = price;
34  Quantity = quantity;
35  Tap = tap;
36  }
37 
41  [JsonProperty(PropertyName = "title")]
42  public string Title { get; set; }
43 
48  [JsonProperty(PropertyName = "subtitle")]
49  public string Subtitle { get; set; }
50 
55  [JsonProperty(PropertyName = "text")]
56  public string Text { get; set; }
57 
61  [JsonProperty(PropertyName = "image")]
62  public CardImage Image { get; set; }
63 
67  [JsonProperty(PropertyName = "price")]
68  public string Price { get; set; }
69 
73  [JsonProperty(PropertyName = "quantity")]
74  public string Quantity { get; set; }
75 
79  [JsonProperty(PropertyName = "tap")]
80  public CardAction Tap { get; set; }
81 
82  }
83 }
An item on a receipt card
Definition: ReceiptItem.cs:17
ReceiptItem()
Initializes a new instance of the ReceiptItem class.
Definition: ReceiptItem.cs:22
ReceiptItem(string title=default(string), string subtitle=default(string), string text=default(string), CardImage image=default(CardImage), string price=default(string), string quantity=default(string), CardAction tap=default(CardAction))
Initializes a new instance of the ReceiptItem class.
Definition: ReceiptItem.cs:27