forked from stripe/stripe-dotnet
/
AccountCardOptions.cs
53 lines (38 loc) · 1.41 KB
/
AccountCardOptions.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
42
43
44
45
46
47
48
49
50
51
52
53
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class AccountCardOptions : INestedOptions, IHasMetadata
{
[JsonProperty("object")]
internal string Object => "card";
[JsonProperty("currency")]
public string Currency { get; set; }
[JsonProperty("default_for_currency")]
public bool? DefaultForCurrency { get; set; }
[JsonProperty("exp_month")]
public long? ExpMonth { get; set; }
[JsonProperty("exp_year")]
public long? ExpYear { get; set; }
[JsonProperty("number")]
public string Number { get; set; }
[JsonProperty("address_city")]
public string AddressCity { get; set; }
[JsonProperty("address_country")]
public string AddressCountry { get; set; }
[JsonProperty("address_line1")]
public string AddressLine1 { get; set; }
[JsonProperty("address_line2")]
public string AddressLine2 { get; set; }
[JsonProperty("address_state")]
public string AddressState { get; set; }
[JsonProperty("address_zip")]
public string AddressZip { get; set; }
[JsonProperty("cvc")]
public string Cvc { get; set; }
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
}
}