Skip to content

Commit d7e1fcb

Browse files
committed
Codegen for openapi v148
1 parent add78f5 commit d7e1fcb

6 files changed

+36
-8
lines changed

OPENAPI_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v147
1+
v148

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

+8
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,14 @@ public class AccountCapabilities : StripeEntity<AccountCapabilities>
156156
[JsonProperty("legacy_payments")]
157157
public string LegacyPayments { get; set; }
158158

159+
/// <summary>
160+
/// The status of the link_payments capability of the account, or whether the account can
161+
/// directly process Link charges.
162+
/// One of: <c>active</c>, <c>inactive</c>, or <c>pending</c>.
163+
/// </summary>
164+
[JsonProperty("link_payments")]
165+
public string LinkPayments { get; set; }
166+
159167
/// <summary>
160168
/// The status of the OXXO payments capability of the account, or whether the account can
161169
/// directly process OXXO charges.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// File generated from our OpenAPI spec
2+
namespace Stripe
3+
{
4+
using Newtonsoft.Json;
5+
6+
public class AccountCapabilitiesLinkPaymentsOptions : INestedOptions
7+
{
8+
/// <summary>
9+
/// Passing true requests the capability for the account, if it is not already requested. A
10+
/// requested capability may not immediately become active. Any requirements to activate the
11+
/// capability are returned in the <c>requirements</c> arrays.
12+
/// </summary>
13+
[JsonProperty("requested")]
14+
public bool? Requested { get; set; }
15+
}
16+
}

src/Stripe.net/Services/Accounts/AccountCapabilitiesOptions.cs

+6
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ public class AccountCapabilitiesOptions : INestedOptions
119119
[JsonProperty("legacy_payments")]
120120
public AccountCapabilitiesLegacyPaymentsOptions LegacyPayments { get; set; }
121121

122+
/// <summary>
123+
/// The link_payments capability.
124+
/// </summary>
125+
[JsonProperty("link_payments")]
126+
public AccountCapabilitiesLinkPaymentsOptions LinkPayments { get; set; }
127+
122128
/// <summary>
123129
/// The oxxo_payments capability.
124130
/// </summary>

src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,9 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions, IHasMetadata
130130
public Dictionary<string, string> Metadata { get; set; }
131131

132132
/// <summary>
133-
/// If a subscription schedule will create prorations when transitioning to this phase.
134-
/// Possible values are <c>create_prorations</c> or <c>none</c>, and the default value is
135-
/// <c>create_prorations</c>. See <a
136-
/// href="https://stripe.com/docs/billing/subscriptions/prorations">Prorations</a>.
133+
/// Whether the subscription schedule will create <a
134+
/// href="https://stripe.com/docs/billing/subscriptions/prorations">prorations</a> when
135+
/// transitioning to this phase. The default value is <c>create_prorations</c>.
137136
/// One of: <c>always_invoice</c>, <c>create_prorations</c>, or <c>none</c>.
138137
/// </summary>
139138
[JsonProperty("proration_behavior")]

src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleUpdateOptions.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ public class SubscriptionScheduleUpdateOptions : BaseOptions, IHasMetadata
4242
public List<SubscriptionSchedulePhaseOptions> Phases { get; set; }
4343

4444
/// <summary>
45-
/// If the update changes the current phase, indicates if the changes should be prorated.
46-
/// Possible values are <c>create_prorations</c> or <c>none</c>, and the default value is
47-
/// <c>create_prorations</c>.
45+
/// If the update changes the current phase, indicates whether the changes should be
46+
/// prorated. The default value is <c>create_prorations</c>.
4847
/// One of: <c>always_invoice</c>, <c>create_prorations</c>, or <c>none</c>.
4948
/// </summary>
5049
[JsonProperty("proration_behavior")]

0 commit comments

Comments
 (0)