Skip to content

Commit

Permalink
Update generated code (#2785)
Browse files Browse the repository at this point in the history
* Update generated code for v607

* Update generated code for v608

* Update generated code for v608

* Update generated code for v614

* Update generated code for v617

* Update generated code for v621

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Oct 26, 2023
1 parent e1e3d1d commit 22f509b
Show file tree
Hide file tree
Showing 16 changed files with 33 additions and 25 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v605
v621
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ public class AccountFutureRequirements : StripeEntity<AccountFutureRequirements>
public List<string> CurrentlyDue { get; set; }

/// <summary>
/// This is typed as a string for consistency with <c>requirements.disabled_reason</c>, but
/// it safe to assume <c>future_requirements.disabled_reason</c> is empty because fields in
/// <c>future_requirements</c> will never disable the account.
/// This is typed as a string for consistency with <c>requirements.disabled_reason</c>.
/// </summary>
[JsonProperty("disabled_reason")]
public string DisabledReason { get; set; }
Expand Down
10 changes: 6 additions & 4 deletions src/Stripe.net/Entities/Accounts/AccountRequirements.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ public class AccountRequirements : StripeEntity<AccountRequirements>
public List<string> CurrentlyDue { get; set; }

/// <summary>
/// If the account is disabled, this string describes why. Can be
/// If the account is disabled, this string describes why. <a
/// href="https://stripe.com/docs/connect/handling-api-verification">Learn more about
/// handling verification issues</a>. Can be <c>action_required.requested_capabilities</c>,
/// <c>requirements.past_due</c>, <c>requirements.pending_verification</c>, <c>listed</c>,
/// <c>platform_paused</c>, <c>rejected.fraud</c>, <c>rejected.listed</c>,
/// <c>rejected.terms_of_service</c>, <c>rejected.other</c>, <c>under_review</c>, or
/// <c>other</c>.
/// <c>platform_paused</c>, <c>rejected.fraud</c>, <c>rejected.incomplete_verification</c>,
/// <c>rejected.listed</c>, <c>rejected.other</c>, <c>rejected.terms_of_service</c>,
/// <c>under_review</c>, or <c>other</c>.
/// </summary>
[JsonProperty("disabled_reason")]
public string DisabledReason { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ public class PaymentLinkSubscriptionData : StripeEntity<PaymentLinkSubscriptionD
{
/// <summary>
/// The subscription's description, meant to be displayable to the customer. Use this field
/// to optionally store an explanation of the subscription.
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces
/// and certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down
3 changes: 2 additions & 1 deletion src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ public class QuoteSubscriptionData : StripeEntity<QuoteSubscriptionData>
{
/// <summary>
/// The subscription's description, meant to be displayable to the customer. Use this field
/// to optionally store an explanation of the subscription.
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces
/// and certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public PaymentMethod DefaultPaymentMethod

/// <summary>
/// Subscription description, meant to be displayable to the customer. Use this field to
/// optionally store an explanation of the subscription.
/// optionally store an explanation of the subscription for rendering in Stripe surfaces and
/// certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ public PaymentMethod DefaultPaymentMethod

/// <summary>
/// Subscription description, meant to be displayable to the customer. Use this field to
/// optionally store an explanation of the subscription.
/// optionally store an explanation of the subscription for rendering in Stripe surfaces and
/// certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down
3 changes: 2 additions & 1 deletion src/Stripe.net/Entities/Subscriptions/Subscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ public IPaymentSource DefaultSource

/// <summary>
/// The subscription's description, meant to be displayable to the customer. Use this field
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces.
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces
/// and certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,8 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata
public string StatementDescriptorSuffix { get; set; }

/// <summary>
/// The parameters that you can use to automatically create a Transfer after the payment
/// succeeds. Learn more about the <a
/// href="https://stripe.com/docs/payments/connected-accounts">use case for connected
/// The parameters that you can use to automatically create a Transfer. Learn more about the
/// <a href="https://stripe.com/docs/payments/connected-accounts">use case for connected
/// accounts</a>.
/// </summary>
[JsonProperty("transfer_data")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ public class PaymentIntentPaymentMethodOptionsCardPresentOptions : INestedOption
public bool? RequestExtendedAuthorization { get; set; }

/// <summary>
/// Request ability to <a
/// href="https://stripe.com/docs/payments/incremental-authorization">increment</a> for this
/// PaymentIntent.
/// This field was released by mistake and will be removed in the next major version.
/// One of: <c>if_available</c>, or <c>never</c>.
/// </summary>
[JsonProperty("request_incremental_authorization")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ public class PaymentLinkSubscriptionDataOptions : INestedOptions, IHasMetadata
{
/// <summary>
/// The subscription's description, meant to be displayable to the customer. Use this field
/// to optionally store an explanation of the subscription.
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces
/// and certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ public class QuoteSubscriptionDataOptions : INestedOptions
{
/// <summary>
/// The subscription's description, meant to be displayable to the customer. Use this field
/// to optionally store an explanation of the subscription.
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces
/// and certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public class SubscriptionScheduleDefaultSettingsOptions : INestedOptions

/// <summary>
/// Subscription description, meant to be displayable to the customer. Use this field to
/// optionally store an explanation of the subscription.
/// optionally store an explanation of the subscription for rendering in Stripe surfaces and
/// certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions, IHasMetadata

/// <summary>
/// Subscription description, meant to be displayable to the customer. Use this field to
/// optionally store an explanation of the subscription.
/// optionally store an explanation of the subscription for rendering in Stripe surfaces and
/// certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata

/// <summary>
/// The subscription's description, meant to be displayable to the customer. Use this field
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces.
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces
/// and certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata

/// <summary>
/// The subscription's description, meant to be displayable to the customer. Use this field
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces.
/// to optionally store an explanation of the subscription for rendering in Stripe surfaces
/// and certain local payment methods UIs.
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
Expand Down

0 comments on commit 22f509b

Please sign in to comment.