-
Notifications
You must be signed in to change notification settings - Fork 573
/
Copy pathChargePaymentMethodDetailsIdeal.cs
105 lines (93 loc) · 4.37 KB
/
ChargePaymentMethodDetailsIdeal.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
// File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsIdeal : StripeEntity<ChargePaymentMethodDetailsIdeal>
{
/// <summary>
/// The customer's bank. Can be one of <c>abn_amro</c>, <c>asn_bank</c>, <c>bunq</c>,
/// <c>handelsbanken</c>, <c>ing</c>, <c>knab</c>, <c>moneyou</c>, <c>rabobank</c>,
/// <c>regiobank</c>, <c>revolut</c>, <c>sns_bank</c>, <c>triodos_bank</c>, or
/// <c>van_lanschot</c>.
/// One of: <c>abn_amro</c>, <c>asn_bank</c>, <c>bunq</c>, <c>handelsbanken</c>, <c>ing</c>,
/// <c>knab</c>, <c>moneyou</c>, <c>rabobank</c>, <c>regiobank</c>, <c>revolut</c>,
/// <c>sns_bank</c>, <c>triodos_bank</c>, or <c>van_lanschot</c>.
/// </summary>
[JsonProperty("bank")]
public string Bank { get; set; }
/// <summary>
/// The Bank Identifier Code of the customer's bank.
/// One of: <c>ABNANL2A</c>, <c>ASNBNL21</c>, <c>BUNQNL2A</c>, <c>FVLBNL22</c>,
/// <c>HANDNL2A</c>, <c>INGBNL2A</c>, <c>KNABNL2H</c>, <c>MOYONL21</c>, <c>RABONL2U</c>,
/// <c>RBRBNL21</c>, <c>REVOLT21</c>, <c>SNSBNL2A</c>, or <c>TRIONL2U</c>.
/// </summary>
[JsonProperty("bic")]
public string Bic { get; set; }
#region Expandable GeneratedSepaDebit
/// <summary>
/// (ID of the PaymentMethod)
/// The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
/// </summary>
[JsonIgnore]
public string GeneratedSepaDebitId
{
get => this.InternalGeneratedSepaDebit?.Id;
set => this.InternalGeneratedSepaDebit = SetExpandableFieldId(value, this.InternalGeneratedSepaDebit);
}
/// <summary>
/// (Expanded)
/// The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
///
/// For more information, see the <a href="https://stripe.com/docs/expand">expand documentation</a>.
/// </summary>
[JsonIgnore]
public PaymentMethod GeneratedSepaDebit
{
get => this.InternalGeneratedSepaDebit?.ExpandedObject;
set => this.InternalGeneratedSepaDebit = SetExpandableFieldObject(value, this.InternalGeneratedSepaDebit);
}
[JsonProperty("generated_sepa_debit")]
[JsonConverter(typeof(ExpandableFieldConverter<PaymentMethod>))]
internal ExpandableField<PaymentMethod> InternalGeneratedSepaDebit { get; set; }
#endregion
#region Expandable GeneratedSepaDebitMandate
/// <summary>
/// (ID of the Mandate)
/// The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
/// </summary>
[JsonIgnore]
public string GeneratedSepaDebitMandateId
{
get => this.InternalGeneratedSepaDebitMandate?.Id;
set => this.InternalGeneratedSepaDebitMandate = SetExpandableFieldId(value, this.InternalGeneratedSepaDebitMandate);
}
/// <summary>
/// (Expanded)
/// The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
///
/// For more information, see the <a href="https://stripe.com/docs/expand">expand documentation</a>.
/// </summary>
[JsonIgnore]
public Mandate GeneratedSepaDebitMandate
{
get => this.InternalGeneratedSepaDebitMandate?.ExpandedObject;
set => this.InternalGeneratedSepaDebitMandate = SetExpandableFieldObject(value, this.InternalGeneratedSepaDebitMandate);
}
[JsonProperty("generated_sepa_debit_mandate")]
[JsonConverter(typeof(ExpandableFieldConverter<Mandate>))]
internal ExpandableField<Mandate> InternalGeneratedSepaDebitMandate { get; set; }
#endregion
/// <summary>
/// Last four characters of the IBAN.
/// </summary>
[JsonProperty("iban_last4")]
public string IbanLast4 { get; set; }
/// <summary>
/// Owner's verified full name. Values are verified or provided by iDEAL directly (if
/// supported) at the time of authorization or settlement. They cannot be set or mutated.
/// </summary>
[JsonProperty("verified_name")]
public string VerifiedName { get; set; }
}
}