Skip to content

Commit 845996d

Browse files
Merge pull request #3297 from stripe/latest-codegen-private-preview
Update generated code for private-preview
2 parents c5f65e0 + 49483f2 commit 845996d

314 files changed

Lines changed: 9470 additions & 699 deletions

File tree

Some content is hidden

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

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c250368ba89214c80bc8de3e4fc5d2094c5502cc
1+
529796460735eb8ef64a29787291f1b4d4b29f1c

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2153
1+
v2160

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 = "2025-12-15.preview";
6+
public const string Current = "2026-01-28.preview";
77
}
88
}

src/Stripe.net/Constants/EventTypes.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,11 @@ public static class EventTypes
602602
/// </summary>
603603
public const string IdentityVerificationSessionVerified = "identity.verification_session.verified";
604604

605+
/// <summary>
606+
/// Occurs when an InvoicePayment is detached from an invoice.
607+
/// </summary>
608+
public const string InvoicePaymentDetached = "invoice_payment.detached";
609+
605610
/// <summary>
606611
/// Occurs when an InvoicePayment is successfully paid.
607612
/// </summary>

src/Stripe.net/Entities/AccountSessions/AccountSessionComponents.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ public class AccountSessionComponents : StripeEntity<AccountSessionComponents>
2020
#endif
2121
public AccountSessionComponentsAccountOnboarding AccountOnboarding { get; set; }
2222

23+
/// <summary>
24+
/// Configuration for the <a
25+
/// href="https://stripe.com/connect/supported-embedded-components/agentic-commerce-settings/">agentic
26+
/// commerce settings</a> embedded component.
27+
/// </summary>
28+
[JsonProperty("agentic_commerce_settings")]
29+
#if NET6_0_OR_GREATER
30+
[STJS.JsonPropertyName("agentic_commerce_settings")]
31+
#endif
32+
public AccountSessionComponentsAgenticCommerceSettings AgenticCommerceSettings { get; set; }
33+
2334
[JsonProperty("balances")]
2435
#if NET6_0_OR_GREATER
2536
[STJS.JsonPropertyName("balances")]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// File generated from our OpenAPI spec
2+
namespace Stripe
3+
{
4+
using Newtonsoft.Json;
5+
#if NET6_0_OR_GREATER
6+
using STJS = System.Text.Json.Serialization;
7+
#endif
8+
9+
public class AccountSessionComponentsAgenticCommerceSettings : StripeEntity<AccountSessionComponentsAgenticCommerceSettings>
10+
{
11+
/// <summary>
12+
/// Whether the embedded component is enabled.
13+
/// </summary>
14+
[JsonProperty("enabled")]
15+
#if NET6_0_OR_GREATER
16+
[STJS.JsonPropertyName("enabled")]
17+
#endif
18+
public bool Enabled { get; set; }
19+
20+
[JsonProperty("features")]
21+
#if NET6_0_OR_GREATER
22+
[STJS.JsonPropertyName("features")]
23+
#endif
24+
public AccountSessionComponentsAgenticCommerceSettingsFeatures Features { get; set; }
25+
}
26+
}
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
3+
{
4+
public class AccountSessionComponentsAgenticCommerceSettingsFeatures : StripeEntity<AccountSessionComponentsAgenticCommerceSettingsFeatures>
5+
{
6+
}
7+
}

src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ public class AccountSessionComponentsBalancesFeatures : StripeEntity<AccountSess
4545
public bool ExternalAccountCollection { get; set; }
4646

4747
/// <summary>
48-
/// Whether to allow creation of instant payouts. Defaults to <c>true</c> when
49-
/// <c>controller.losses.payments</c> is set to <c>stripe</c> for the account, otherwise
50-
/// <c>false</c>.
48+
/// Whether to allow creation of instant payouts. The default value is <c>enabled</c> when
49+
/// Stripe is responsible for negative account balances, and <c>use_dashboard_rules</c>
50+
/// otherwise.
5151
/// </summary>
5252
[JsonProperty("instant_payouts")]
5353
#if NET6_0_OR_GREATER

src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsInstantPayoutsPromotionFeatures.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public class AccountSessionComponentsInstantPayoutsPromotionFeatures : StripeEnt
3434
public bool ExternalAccountCollection { get; set; }
3535

3636
/// <summary>
37-
/// Whether to allow creation of instant payouts. Defaults to <c>true</c> when
38-
/// <c>controller.losses.payments</c> is set to <c>stripe</c> for the account, otherwise
39-
/// <c>false</c>.
37+
/// Whether to allow creation of instant payouts. The default value is <c>enabled</c> when
38+
/// Stripe is responsible for negative account balances, and <c>use_dashboard_rules</c>
39+
/// otherwise.
4040
/// </summary>
4141
[JsonProperty("instant_payouts")]
4242
#if NET6_0_OR_GREATER

src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ public class AccountSessionComponentsPayoutsFeatures : StripeEntity<AccountSessi
4545
public bool ExternalAccountCollection { get; set; }
4646

4747
/// <summary>
48-
/// Whether to allow creation of instant payouts. Defaults to <c>true</c> when
49-
/// <c>controller.losses.payments</c> is set to <c>stripe</c> for the account, otherwise
50-
/// <c>false</c>.
48+
/// Whether to allow creation of instant payouts. The default value is <c>enabled</c> when
49+
/// Stripe is responsible for negative account balances, and <c>use_dashboard_rules</c>
50+
/// otherwise.
5151
/// </summary>
5252
[JsonProperty("instant_payouts")]
5353
#if NET6_0_OR_GREATER

0 commit comments

Comments
 (0)