-
Notifications
You must be signed in to change notification settings - Fork 573
/
Copy pathChargePaymentMethodDetailsCard.cs
121 lines (105 loc) · 4.73 KB
/
ChargePaymentMethodDetailsCard.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
// File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;
public class ChargePaymentMethodDetailsCard : StripeEntity<ChargePaymentMethodDetailsCard>
{
/// <summary>
/// Card brand. Can be <c>amex</c>, <c>diners</c>, <c>discover</c>, <c>jcb</c>,
/// <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or <c>unknown</c>.
/// </summary>
[JsonProperty("brand")]
public string Brand { get; set; }
/// <summary>
/// Check results by Card networks on Card address and CVC at time of payment.
/// </summary>
[JsonProperty("checks")]
public ChargePaymentMethodDetailsCardChecks Checks { get; set; }
/// <summary>
/// Two-letter ISO code representing the country of the card. You could use this attribute
/// to get a sense of the international breakdown of cards you've collected.
/// </summary>
[JsonProperty("country")]
public string Country { get; set; }
/// <summary>
/// A high-level description of the type of cards issued in this range. (For internal use
/// only and not typically available in standard API requests.).
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
/// <summary>
/// Two-digit number representing the card's expiration month.
/// </summary>
[JsonProperty("exp_month")]
public long ExpMonth { get; set; }
/// <summary>
/// Four-digit number representing the card's expiration year.
/// </summary>
[JsonProperty("exp_year")]
public long ExpYear { get; set; }
/// <summary>
/// Uniquely identifies this particular card number. You can use this attribute to check
/// whether two customers who’ve signed up with you are using the same card number, for
/// example. For payment methods that tokenize card information (Apple Pay, Google Pay), the
/// tokenized number might be provided instead of the underlying card number.
///
/// <em>Starting May 1, 2021, card fingerprint in India for Connect will change to allow two
/// fingerprints for the same card --- one for India and one for the rest of the world.</em>.
/// </summary>
[JsonProperty("fingerprint")]
public string Fingerprint { get; set; }
/// <summary>
/// Card funding type. Can be <c>credit</c>, <c>debit</c>, <c>prepaid</c>, or
/// <c>unknown</c>.
/// </summary>
[JsonProperty("funding")]
public string Funding { get; set; }
/// <summary>
/// Issuer identification number of the card. (For internal use only and not typically
/// available in standard API requests.).
/// </summary>
[JsonProperty("iin")]
public string Iin { get; set; }
/// <summary>
/// Installment details for this payment (Mexico only).
///
/// For more information, see the <a
/// href="https://stripe.com/docs/payments/installments">installments integration guide</a>.
/// </summary>
[JsonProperty("installments")]
public ChargePaymentMethodDetailsCardInstallments Installments { get; set; }
/// <summary>
/// The name of the card's issuing bank. (For internal use only and not typically available
/// in standard API requests.).
/// </summary>
[JsonProperty("issuer")]
public string Issuer { get; set; }
/// <summary>
/// The last four digits of the card.
/// </summary>
[JsonProperty("last4")]
public string Last4 { get; set; }
/// <summary>
/// True if this payment was marked as MOTO and out of scope for SCA.
/// </summary>
[JsonProperty("moto")]
public bool? Moto { get; set; }
/// <summary>
/// Identifies which network this charge was processed on. Can be <c>amex</c>,
/// <c>cartes_bancaires</c>, <c>diners</c>, <c>discover</c>, <c>interac</c>, <c>jcb</c>,
/// <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or <c>unknown</c>.
/// </summary>
[JsonProperty("network")]
public string Network { get; set; }
/// <summary>
/// Populated if this transaction used 3D Secure authentication.
/// </summary>
[JsonProperty("three_d_secure")]
public ChargePaymentMethodDetailsCardThreeDSecure ThreeDSecure { get; set; }
/// <summary>
/// If this Card is part of a card wallet, this contains the details of the card wallet.
/// </summary>
[JsonProperty("wallet")]
public ChargePaymentMethodDetailsCardWallet Wallet { get; set; }
}
}