Skip to content

Commit

Permalink
Update generated code for v1095
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jun 24, 2024
1 parent 7ce4396 commit 725cb85
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1094
v1095
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public class CapabilityFutureRequirements : StripeEntity<CapabilityFutureRequire
/// 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.
/// One of: <c>other</c>, <c>paused.inactivity</c>, <c>pending.onboarding</c>,
/// <c>pending.review</c>, <c>platform_disabled</c>, <c>platform_paused</c>,
/// <c>rejected.inactivity</c>, <c>rejected.other</c>, <c>rejected.unsupported_business</c>,
/// or <c>requirements.fields_needed</c>.
/// </summary>
[JsonProperty("disabled_reason")]
public string DisabledReason { get; set; }
Expand Down
22 changes: 6 additions & 16 deletions src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,13 @@ public class CapabilityRequirements : StripeEntity<CapabilityRequirements>
public List<string> CurrentlyDue { get; set; }

/// <summary>
/// If the capability is disabled, this string describes why. <a
/// Description of why the capability is disabled. <a
/// href="https://stripe.com/docs/connect/handling-api-verification">Learn more about
/// handling verification issues</a>. Can be <c>requirements.fields_needed</c>,
/// <c>pending.onboarding</c>, <c>pending.review</c>, <c>rejected.other</c>,
/// <c>platform_paused</c>, <c>rejected.inactivty</c>, or
/// <c>rejected.unsupported_business</c>.
///
/// <c>rejected.unsupported_business</c> means that the account's business is not supported
/// by the capability. For example, payment methods may restrict the businesses they support
/// in their terms of service, such as in <a
/// href="https://stripe.com/afterpay-clearpay/legal#restricted-businesses">Afterpay
/// Clearpay's terms of service</a>.
///
/// <c>rejected.inactivity</c> means that the capability has been paused for inactivity.
/// This disabled reason currently only applies to the Issuing capability. See <a
/// href="https://support.stripe.com/questions/issuing-managing-inactive-connect-accounts">Issuing:
/// Managing Inactive Connects</a> for more details.
/// handling verification issues</a>.
/// One of: <c>other</c>, <c>paused.inactivity</c>, <c>pending.onboarding</c>,
/// <c>pending.review</c>, <c>platform_disabled</c>, <c>platform_paused</c>,
/// <c>rejected.inactivity</c>, <c>rejected.other</c>, <c>rejected.unsupported_business</c>,
/// or <c>requirements.fields_needed</c>.
/// </summary>
[JsonProperty("disabled_reason")]
public string DisabledReason { get; set; }
Expand Down

0 comments on commit 725cb85

Please sign in to comment.