forked from stripe/stripe-dotnet
/
InvoiceUpcomingInvoiceItemOption.cs
41 lines (31 loc) · 1.13 KB
/
InvoiceUpcomingInvoiceItemOption.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class InvoiceUpcomingInvoiceItemOption : INestedOptions, IHasMetadata
{
[JsonProperty("amount")]
public long? Amount { get; set; }
[JsonProperty("currency")]
public string Currency { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("discountable")]
public bool? Discountable { get; set; }
[JsonProperty("invoiceitem")]
public string InvoiceItemId { get; set; }
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
[JsonProperty("period")]
public InvoiceItemPeriodOptions Period { get; set; }
[JsonProperty("quantity")]
public long? Quantity { get; set; }
/// <summary>
/// Ids of the tax rates to apply to this invoice item.
/// </summary>
[JsonProperty("tax_rates")]
public List<string> TaxRates { get; set; }
[JsonProperty("unit_amount")]
public long? UnitAmount { get; set; }
}
}