Skip to content

Commit 5bd34f9

Browse files
Update generated code (#3025)
* Update generated code for v1328 * Update generated code for v1332 * Update generated code for v1341 * Update generated code for v1347 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <[email protected]>
1 parent 55ac148 commit 5bd34f9

File tree

109 files changed

+776
-290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+776
-290
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1319
1+
v1347

src/Stripe.net/Constants/ApiVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ namespace Stripe
33
{
44
internal class ApiVersion
55
{
6-
public const string Current = "2024-10-28.acacia";
6+
public const string Current = "2024-11-20.acacia";
77
}
88
}

src/Stripe.net/Constants/FilePurpose.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ public static class FilePurpose
1919

2020
public const string FinanceReportRun = "finance_report_run";
2121

22+
public const string FinancialAccountStatement = "financial_account_statement";
23+
2224
public const string IdentityDocument = "identity_document";
2325

2426
public const string IdentityDocumentDownloadable = "identity_document_downloadable";

src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ public class AccountFutureRequirements : StripeEntity<AccountFutureRequirements>
3434
public List<string> CurrentlyDue { get; set; }
3535

3636
/// <summary>
37-
/// This is typed as a string for consistency with <c>requirements.disabled_reason</c>.
37+
/// This is typed as an enum for consistency with <c>requirements.disabled_reason</c>.
38+
/// One of: <c>action_required.requested_capabilities</c>, <c>listed</c>, <c>other</c>,
39+
/// <c>platform_paused</c>, <c>rejected.fraud</c>, <c>rejected.incomplete_verification</c>,
40+
/// <c>rejected.listed</c>, <c>rejected.other</c>, <c>rejected.platform_fraud</c>,
41+
/// <c>rejected.platform_other</c>, <c>rejected.platform_terms_of_service</c>,
42+
/// <c>rejected.terms_of_service</c>, <c>requirements.past_due</c>,
43+
/// <c>requirements.pending_verification</c>, or <c>under_review</c>.
3844
/// </summary>
3945
[JsonProperty("disabled_reason")]
4046
public string DisabledReason { get; set; }

src/Stripe.net/Entities/Accounts/AccountRequirements.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ public class AccountRequirements : StripeEntity<AccountRequirements>
3333
public List<string> CurrentlyDue { get; set; }
3434

3535
/// <summary>
36-
/// If the account is disabled, this string describes why. <a
36+
/// If the account is disabled, this enum describes why. <a
3737
/// href="https://stripe.com/docs/connect/handling-api-verification">Learn more about
38-
/// handling verification issues</a>. Can be <c>action_required.requested_capabilities</c>,
39-
/// <c>requirements.past_due</c>, <c>requirements.pending_verification</c>, <c>listed</c>,
38+
/// handling verification issues</a>.
39+
/// One of: <c>action_required.requested_capabilities</c>, <c>listed</c>, <c>other</c>,
4040
/// <c>platform_paused</c>, <c>rejected.fraud</c>, <c>rejected.incomplete_verification</c>,
41-
/// <c>rejected.listed</c>, <c>rejected.other</c>, <c>rejected.terms_of_service</c>,
42-
/// <c>under_review</c>, or <c>other</c>.
41+
/// <c>rejected.listed</c>, <c>rejected.other</c>, <c>rejected.platform_fraud</c>,
42+
/// <c>rejected.platform_other</c>, <c>rejected.platform_terms_of_service</c>,
43+
/// <c>rejected.terms_of_service</c>, <c>requirements.past_due</c>,
44+
/// <c>requirements.pending_verification</c>, or <c>under_review</c>.
4345
/// </summary>
4446
[JsonProperty("disabled_reason")]
4547
public string DisabledReason { get; set; }

src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Stripe.Billing
1212
///
1313
/// Related guide: <a
1414
/// href="https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits">Billing
15-
/// credits</a> end.
15+
/// credits</a>.
1616
/// </summary>
1717
public class CreditGrant : StripeEntity<CreditGrant>, IHasId, IHasMetadata, IHasObject
1818
{
@@ -35,8 +35,8 @@ public class CreditGrant : StripeEntity<CreditGrant>, IHasId, IHasMetadata, IHas
3535
public CreditGrantApplicabilityConfig ApplicabilityConfig { get; set; }
3636

3737
/// <summary>
38-
/// The category of this credit grant. This is for tracking purposes and will not be
39-
/// displayed to the customer.
38+
/// The category of this credit grant. This is for tracking purposes and isn't displayed to
39+
/// the customer.
4040
/// One of: <c>paid</c>, or <c>promotional</c>.
4141
/// </summary>
4242
[JsonProperty("category")]
@@ -53,7 +53,7 @@ public class CreditGrant : StripeEntity<CreditGrant>, IHasId, IHasMetadata, IHas
5353

5454
/// <summary>
5555
/// (ID of the Customer)
56-
/// ID of the customer to whom the billing credits are granted.
56+
/// ID of the customer receiving the billing credits.
5757
/// </summary>
5858
[JsonIgnore]
5959
public string CustomerId
@@ -64,7 +64,7 @@ public string CustomerId
6464

6565
/// <summary>
6666
/// (Expanded)
67-
/// ID of the customer to whom the billing credits are granted.
67+
/// ID of the customer receiving the billing credits.
6868
///
6969
/// For more information, see the <a href="https://stripe.com/docs/expand">expand documentation</a>.
7070
/// </summary>
@@ -81,16 +81,15 @@ public Customer Customer
8181
#endregion
8282

8383
/// <summary>
84-
/// The time when the billing credits become effective i.e when they are eligible to be
85-
/// used.
84+
/// The time when the billing credits become effective—when they're eligible for use.
8685
/// </summary>
8786
[JsonProperty("effective_at")]
8887
[JsonConverter(typeof(UnixDateTimeConverter))]
8988
public DateTime? EffectiveAt { get; set; }
9089

9190
/// <summary>
92-
/// The time when the billing credits will expire. If not present, the billing credits will
93-
/// never expire.
91+
/// The time when the billing credits expire. If not present, the billing credits don't
92+
/// expire.
9493
/// </summary>
9594
[JsonProperty("expires_at")]
9695
[JsonConverter(typeof(UnixDateTimeConverter))]

src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScope.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Stripe.Billing
66
public class CreditGrantApplicabilityConfigScope : StripeEntity<CreditGrantApplicabilityConfigScope>
77
{
88
/// <summary>
9-
/// The price type to which credit grants can apply to. We currently only support
9+
/// The price type for which credit grants can apply. We currently only support the
1010
/// <c>metered</c> price type. This refers to prices that have a <a
1111
/// href="https://docs.stripe.com/api/billing/meter">Billing Meter</a> attached to them.
1212
/// </summary>

src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ public class ChargePaymentMethodDetailsCard : StripeEntity<ChargePaymentMethodDe
2121

2222
/// <summary>
2323
/// Card brand. Can be <c>amex</c>, <c>diners</c>, <c>discover</c>, <c>eftpos_au</c>,
24-
/// <c>jcb</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or <c>unknown</c>.
24+
/// <c>jcb</c>, <c>link</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or
25+
/// <c>unknown</c>.
2526
/// </summary>
2627
[JsonProperty("brand")]
2728
public string Brand { get; set; }
@@ -138,8 +139,8 @@ public class ChargePaymentMethodDetailsCard : StripeEntity<ChargePaymentMethodDe
138139
/// <summary>
139140
/// Identifies which network this charge was processed on. Can be <c>amex</c>,
140141
/// <c>cartes_bancaires</c>, <c>diners</c>, <c>discover</c>, <c>eftpos_au</c>,
141-
/// <c>interac</c>, <c>jcb</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or
142-
/// <c>unknown</c>.
142+
/// <c>interac</c>, <c>jcb</c>, <c>link</c>, <c>mastercard</c>, <c>unionpay</c>,
143+
/// <c>visa</c>, or <c>unknown</c>.
143144
/// </summary>
144145
[JsonProperty("network")]
145146
public string Network { get; set; }

src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ public class ChargePaymentMethodDetailsCardPresent : StripeEntity<ChargePaymentM
1616

1717
/// <summary>
1818
/// Card brand. Can be <c>amex</c>, <c>diners</c>, <c>discover</c>, <c>eftpos_au</c>,
19-
/// <c>jcb</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or <c>unknown</c>.
19+
/// <c>jcb</c>, <c>link</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or
20+
/// <c>unknown</c>.
2021
/// </summary>
2122
[JsonProperty("brand")]
2223
public string Brand { get; set; }
@@ -137,8 +138,8 @@ public class ChargePaymentMethodDetailsCardPresent : StripeEntity<ChargePaymentM
137138
/// <summary>
138139
/// Identifies which network this charge was processed on. Can be <c>amex</c>,
139140
/// <c>cartes_bancaires</c>, <c>diners</c>, <c>discover</c>, <c>eftpos_au</c>,
140-
/// <c>interac</c>, <c>jcb</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or
141-
/// <c>unknown</c>.
141+
/// <c>interac</c>, <c>jcb</c>, <c>link</c>, <c>mastercard</c>, <c>unionpay</c>,
142+
/// <c>visa</c>, or <c>unknown</c>.
142143
/// </summary>
143144
[JsonProperty("network")]
144145
public string Network { get; set; }

src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsInteracPresent.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ public class ChargePaymentMethodDetailsInteracPresent : StripeEntity<ChargePayme
105105
/// <summary>
106106
/// Identifies which network this charge was processed on. Can be <c>amex</c>,
107107
/// <c>cartes_bancaires</c>, <c>diners</c>, <c>discover</c>, <c>eftpos_au</c>,
108-
/// <c>interac</c>, <c>jcb</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or
109-
/// <c>unknown</c>.
108+
/// <c>interac</c>, <c>jcb</c>, <c>link</c>, <c>mastercard</c>, <c>unionpay</c>,
109+
/// <c>visa</c>, or <c>unknown</c>.
110110
/// </summary>
111111
[JsonProperty("network")]
112112
public string Network { get; set; }

src/Stripe.net/Entities/Checkout/Sessions/Session.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ public class Session : StripeEntity<Session>, IHasId, IHasMetadata, IHasObject
3838
[JsonProperty("object")]
3939
public string Object { get; set; }
4040

41+
/// <summary>
42+
/// Settings for price localization with <a
43+
/// href="https://docs.stripe.com/payments/checkout/adaptive-pricing">Adaptive Pricing</a>.
44+
/// </summary>
45+
[JsonProperty("adaptive_pricing")]
46+
public SessionAdaptivePricing AdaptivePricing { get; set; }
47+
4148
/// <summary>
4249
/// When set, provides configuration for actions to take if this Checkout Session expires.
4350
/// </summary>
@@ -502,7 +509,7 @@ public SetupIntent SetupIntent
502509
/// relevant text on the page, such as the submit button. <c>submit_type</c> can only be
503510
/// specified on Checkout Sessions in <c>payment</c> mode. If blank or <c>auto</c>,
504511
/// <c>pay</c> is used.
505-
/// One of: <c>auto</c>, <c>book</c>, <c>donate</c>, or <c>pay</c>.
512+
/// One of: <c>auto</c>, <c>book</c>, <c>donate</c>, <c>pay</c>, or <c>subscribe</c>.
506513
/// </summary>
507514
[JsonProperty("submit_type")]
508515
public string SubmitType { get; set; }
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// File generated from our OpenAPI spec
2+
namespace Stripe.Checkout
3+
{
4+
using Newtonsoft.Json;
5+
6+
public class SessionAdaptivePricing : StripeEntity<SessionAdaptivePricing>
7+
{
8+
/// <summary>
9+
/// Whether Adaptive Pricing is enabled.
10+
/// </summary>
11+
[JsonProperty("enabled")]
12+
public bool Enabled { get; set; }
13+
}
14+
}

src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ public class SessionCustomerDetailsTaxId : StripeEntity<SessionCustomerDetailsTa
1414
/// <c>au_arn</c>, <c>in_gst</c>, <c>no_vat</c>, <c>no_voec</c>, <c>za_vat</c>,
1515
/// <c>ch_vat</c>, <c>mx_rfc</c>, <c>sg_uen</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>ca_bn</c>,
1616
/// <c>hk_br</c>, <c>es_cif</c>, <c>tw_vat</c>, <c>th_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>,
17-
/// <c>jp_trn</c>, <c>li_uid</c>, <c>my_itn</c>, <c>us_ein</c>, <c>kr_brn</c>,
18-
/// <c>ca_qst</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>, <c>ca_pst_sk</c>,
19-
/// <c>my_sst</c>, <c>sg_gst</c>, <c>ae_trn</c>, <c>cl_tin</c>, <c>sa_vat</c>,
20-
/// <c>id_npwp</c>, <c>my_frp</c>, <c>il_vat</c>, <c>ge_vat</c>, <c>ua_vat</c>,
21-
/// <c>is_vat</c>, <c>bg_uic</c>, <c>hu_tin</c>, <c>si_tin</c>, <c>ke_pin</c>,
22-
/// <c>tr_tin</c>, <c>eg_tin</c>, <c>ph_tin</c>, <c>bh_vat</c>, <c>kz_bin</c>,
23-
/// <c>ng_tin</c>, <c>om_vat</c>, <c>de_stn</c>, <c>ch_uid</c>, <c>tz_vat</c>,
24-
/// <c>uz_vat</c>, <c>uz_tin</c>, <c>md_vat</c>, <c>ma_vat</c>, <c>by_tin</c>, or
25-
/// <c>unknown</c>.
17+
/// <c>jp_trn</c>, <c>li_uid</c>, <c>li_vat</c>, <c>my_itn</c>, <c>us_ein</c>,
18+
/// <c>kr_brn</c>, <c>ca_qst</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
19+
/// <c>ca_pst_sk</c>, <c>my_sst</c>, <c>sg_gst</c>, <c>ae_trn</c>, <c>cl_tin</c>,
20+
/// <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>, <c>il_vat</c>, <c>ge_vat</c>,
21+
/// <c>ua_vat</c>, <c>is_vat</c>, <c>bg_uic</c>, <c>hu_tin</c>, <c>si_tin</c>,
22+
/// <c>ke_pin</c>, <c>tr_tin</c>, <c>eg_tin</c>, <c>ph_tin</c>, <c>bh_vat</c>,
23+
/// <c>kz_bin</c>, <c>ng_tin</c>, <c>om_vat</c>, <c>de_stn</c>, <c>ch_uid</c>,
24+
/// <c>tz_vat</c>, <c>uz_vat</c>, <c>uz_tin</c>, <c>md_vat</c>, <c>ma_vat</c>,
25+
/// <c>by_tin</c>, or <c>unknown</c>.
2626
/// One of: <c>ad_nrt</c>, <c>ae_trn</c>, <c>ar_cuit</c>, <c>au_abn</c>, <c>au_arn</c>,
2727
/// <c>bg_uic</c>, <c>bh_vat</c>, <c>bo_tin</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
2828
/// <c>by_tin</c>, <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
@@ -32,13 +32,14 @@ public class SessionCustomerDetailsTaxId : StripeEntity<SessionCustomerDetailsTa
3232
/// <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>hr_oib</c>, <c>hu_tin</c>,
3333
/// <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>is_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>,
3434
/// <c>jp_trn</c>, <c>ke_pin</c>, <c>kr_brn</c>, <c>kz_bin</c>, <c>li_uid</c>,
35-
/// <c>ma_vat</c>, <c>md_vat</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
36-
/// <c>my_sst</c>, <c>ng_tin</c>, <c>no_vat</c>, <c>no_voec</c>, <c>nz_gst</c>,
37-
/// <c>om_vat</c>, <c>pe_ruc</c>, <c>ph_tin</c>, <c>ro_tin</c>, <c>rs_pib</c>,
38-
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
39-
/// <c>si_tin</c>, <c>sv_nit</c>, <c>th_vat</c>, <c>tr_tin</c>, <c>tw_vat</c>,
40-
/// <c>tz_vat</c>, <c>ua_vat</c>, <c>unknown</c>, <c>us_ein</c>, <c>uy_ruc</c>,
41-
/// <c>uz_tin</c>, <c>uz_vat</c>, <c>ve_rif</c>, <c>vn_tin</c>, or <c>za_vat</c>.
35+
/// <c>li_vat</c>, <c>ma_vat</c>, <c>md_vat</c>, <c>mx_rfc</c>, <c>my_frp</c>,
36+
/// <c>my_itn</c>, <c>my_sst</c>, <c>ng_tin</c>, <c>no_vat</c>, <c>no_voec</c>,
37+
/// <c>nz_gst</c>, <c>om_vat</c>, <c>pe_ruc</c>, <c>ph_tin</c>, <c>ro_tin</c>,
38+
/// <c>rs_pib</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
39+
/// <c>sg_uen</c>, <c>si_tin</c>, <c>sv_nit</c>, <c>th_vat</c>, <c>tr_tin</c>,
40+
/// <c>tw_vat</c>, <c>tz_vat</c>, <c>ua_vat</c>, <c>unknown</c>, <c>us_ein</c>,
41+
/// <c>uy_ruc</c>, <c>uz_tin</c>, <c>uz_vat</c>, <c>ve_rif</c>, <c>vn_tin</c>, or
42+
/// <c>za_vat</c>.
4243
/// </summary>
4344
[JsonProperty("type")]
4445
public string Type { get; set; }

src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsBacsDebit.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ namespace Stripe.Checkout
55

66
public class SessionPaymentMethodOptionsBacsDebit : StripeEntity<SessionPaymentMethodOptionsBacsDebit>
77
{
8+
[JsonProperty("mandate_options")]
9+
public SessionPaymentMethodOptionsBacsDebitMandateOptions MandateOptions { get; set; }
10+
811
/// <summary>
912
/// Indicates that you intend to make future payments with this PaymentIntent's payment
1013
/// method.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// File generated from our OpenAPI spec
2+
namespace Stripe.Checkout
3+
{
4+
public class SessionPaymentMethodOptionsBacsDebitMandateOptions : StripeEntity<SessionPaymentMethodOptionsBacsDebitMandateOptions>
5+
{
6+
}
7+
}

src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,39 @@ public class SessionPaymentMethodOptionsCard : StripeEntity<SessionPaymentMethod
88
[JsonProperty("installments")]
99
public SessionPaymentMethodOptionsCardInstallments Installments { get; set; }
1010

11+
/// <summary>
12+
/// Request ability to <a href="https://stripe.com/payments/extended-authorization">capture
13+
/// beyond the standard authorization validity window</a> for this CheckoutSession.
14+
/// One of: <c>if_available</c>, or <c>never</c>.
15+
/// </summary>
16+
[JsonProperty("request_extended_authorization")]
17+
public string RequestExtendedAuthorization { get; set; }
18+
19+
/// <summary>
20+
/// Request ability to <a
21+
/// href="https://stripe.com/payments/incremental-authorization">increment the
22+
/// authorization</a> for this CheckoutSession.
23+
/// One of: <c>if_available</c>, or <c>never</c>.
24+
/// </summary>
25+
[JsonProperty("request_incremental_authorization")]
26+
public string RequestIncrementalAuthorization { get; set; }
27+
28+
/// <summary>
29+
/// Request ability to make <a href="https://stripe.com/payments/multicapture">multiple
30+
/// captures</a> for this CheckoutSession.
31+
/// One of: <c>if_available</c>, or <c>never</c>.
32+
/// </summary>
33+
[JsonProperty("request_multicapture")]
34+
public string RequestMulticapture { get; set; }
35+
36+
/// <summary>
37+
/// Request ability to <a href="https://stripe.com/payments/overcapture">overcapture</a> for
38+
/// this CheckoutSession.
39+
/// One of: <c>if_available</c>, or <c>never</c>.
40+
/// </summary>
41+
[JsonProperty("request_overcapture")]
42+
public string RequestOvercapture { get; set; }
43+
1144
/// <summary>
1245
/// We strongly recommend that you rely on our SCA Engine to automatically prompt your
1346
/// customers for authentication based on risk level and <a

src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsSepaDebit.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ namespace Stripe.Checkout
55

66
public class SessionPaymentMethodOptionsSepaDebit : StripeEntity<SessionPaymentMethodOptionsSepaDebit>
77
{
8+
[JsonProperty("mandate_options")]
9+
public SessionPaymentMethodOptionsSepaDebitMandateOptions MandateOptions { get; set; }
10+
811
/// <summary>
912
/// Indicates that you intend to make future payments with this PaymentIntent's payment
1013
/// method.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// File generated from our OpenAPI spec
2+
namespace Stripe.Checkout
3+
{
4+
public class SessionPaymentMethodOptionsSepaDebitMandateOptions : StripeEntity<SessionPaymentMethodOptionsSepaDebitMandateOptions>
5+
{
6+
}
7+
}

src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ public class ConfirmationTokenPaymentMethodPreviewCard : StripeEntity<Confirmati
77
{
88
/// <summary>
99
/// Card brand. Can be <c>amex</c>, <c>diners</c>, <c>discover</c>, <c>eftpos_au</c>,
10-
/// <c>jcb</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or <c>unknown</c>.
10+
/// <c>jcb</c>, <c>link</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or
11+
/// <c>unknown</c>.
1112
/// </summary>
1213
[JsonProperty("brand")]
1314
public string Brand { get; set; }

src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ public class ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethod
1616

1717
/// <summary>
1818
/// Card brand. Can be <c>amex</c>, <c>diners</c>, <c>discover</c>, <c>eftpos_au</c>,
19-
/// <c>jcb</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or <c>unknown</c>.
19+
/// <c>jcb</c>, <c>link</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or
20+
/// <c>unknown</c>.
2021
/// </summary>
2122
[JsonProperty("brand")]
2223
public string Brand { get; set; }
@@ -137,8 +138,8 @@ public class ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethod
137138
/// <summary>
138139
/// Identifies which network this charge was processed on. Can be <c>amex</c>,
139140
/// <c>cartes_bancaires</c>, <c>diners</c>, <c>discover</c>, <c>eftpos_au</c>,
140-
/// <c>interac</c>, <c>jcb</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or
141-
/// <c>unknown</c>.
141+
/// <c>interac</c>, <c>jcb</c>, <c>link</c>, <c>mastercard</c>, <c>unionpay</c>,
142+
/// <c>visa</c>, or <c>unknown</c>.
142143
/// </summary>
143144
[JsonProperty("network")]
144145
public string Network { get; set; }

src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardPresent.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ public class ConfirmationTokenPaymentMethodPreviewCardPresent : StripeEntity<Con
88
{
99
/// <summary>
1010
/// Card brand. Can be <c>amex</c>, <c>diners</c>, <c>discover</c>, <c>eftpos_au</c>,
11-
/// <c>jcb</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or <c>unknown</c>.
11+
/// <c>jcb</c>, <c>link</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or
12+
/// <c>unknown</c>.
1213
/// </summary>
1314
[JsonProperty("brand")]
1415
public string Brand { get; set; }

0 commit comments

Comments
 (0)