Skip to content

Commit

Permalink
Update generated code for v1409
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Dec 13, 2024
1 parent 7c44762 commit 4ec386f
Show file tree
Hide file tree
Showing 23 changed files with 53 additions and 151 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1402
v1409
2 changes: 1 addition & 1 deletion src/Stripe.net/Constants/ApiVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ namespace Stripe
{
internal class ApiVersion
{
public const string Current = "2024-12-18.acacia";
public const string Current = "2024-11-20.acacia";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ namespace Stripe
public class AccountSessionComponentsAccountManagementFeatures : StripeEntity<AccountSessionComponentsAccountManagementFeatures>
{
/// <summary>
/// Disables Stripe user authentication for this embedded component. This value can only be
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>.
/// The default value is the opposite of the <c>external_account_collection</c> value. For
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and
/// <c>disable_stripe_user_authentication</c> defaults to false.
/// Disables Stripe user authentication for this embedded component. This feature can only
/// be <c>true</c> for accounts where you’re responsible for collecting updated information
/// when requirements are due or change, like Custom accounts. The default value for this
/// feature is <c>false</c> when <c>external_account_collection</c> is enabled and
/// <c>true</c> otherwise.
/// </summary>
[JsonProperty("disable_stripe_user_authentication")]
public bool DisableStripeUserAuthentication { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ namespace Stripe
public class AccountSessionComponentsAccountOnboardingFeatures : StripeEntity<AccountSessionComponentsAccountOnboardingFeatures>
{
/// <summary>
/// Disables Stripe user authentication for this embedded component. This value can only be
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>.
/// The default value is the opposite of the <c>external_account_collection</c> value. For
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and
/// <c>disable_stripe_user_authentication</c> defaults to false.
/// Disables Stripe user authentication for this embedded component. This feature can only
/// be <c>true</c> for accounts where you’re responsible for collecting updated information
/// when requirements are due or change, like Custom accounts. The default value for this
/// feature is <c>false</c> when <c>external_account_collection</c> is enabled and
/// <c>true</c> otherwise.
/// </summary>
[JsonProperty("disable_stripe_user_authentication")]
public bool DisableStripeUserAuthentication { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ namespace Stripe
public class AccountSessionComponentsBalancesFeatures : StripeEntity<AccountSessionComponentsBalancesFeatures>
{
/// <summary>
/// Disables Stripe user authentication for this embedded component. This value can only be
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>.
/// The default value is the opposite of the <c>external_account_collection</c> value. For
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and
/// <c>disable_stripe_user_authentication</c> defaults to false.
/// Disables Stripe user authentication for this embedded component. This feature can only
/// be <c>true</c> for accounts where you’re responsible for collecting updated information
/// when requirements are due or change, like Custom accounts. The default value for this
/// feature is <c>false</c> when <c>external_account_collection</c> is enabled and
/// <c>true</c> otherwise.
/// </summary>
[JsonProperty("disable_stripe_user_authentication")]
public bool DisableStripeUserAuthentication { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ namespace Stripe
public class AccountSessionComponentsNotificationBannerFeatures : StripeEntity<AccountSessionComponentsNotificationBannerFeatures>
{
/// <summary>
/// Disables Stripe user authentication for this embedded component. This value can only be
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>.
/// The default value is the opposite of the <c>external_account_collection</c> value. For
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and
/// <c>disable_stripe_user_authentication</c> defaults to false.
/// Disables Stripe user authentication for this embedded component. This feature can only
/// be <c>true</c> for accounts where you’re responsible for collecting updated information
/// when requirements are due or change, like Custom accounts. The default value for this
/// feature is <c>false</c> when <c>external_account_collection</c> is enabled and
/// <c>true</c> otherwise.
/// </summary>
[JsonProperty("disable_stripe_user_authentication")]
public bool DisableStripeUserAuthentication { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ namespace Stripe
public class AccountSessionComponentsPayoutsFeatures : StripeEntity<AccountSessionComponentsPayoutsFeatures>
{
/// <summary>
/// Disables Stripe user authentication for this embedded component. This value can only be
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>.
/// The default value is the opposite of the <c>external_account_collection</c> value. For
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and
/// <c>disable_stripe_user_authentication</c> defaults to false.
/// Disables Stripe user authentication for this embedded component. This feature can only
/// be <c>true</c> for accounts where you’re responsible for collecting updated information
/// when requirements are due or change, like Custom accounts. The default value for this
/// feature is <c>false</c> when <c>external_account_collection</c> is enabled and
/// <c>true</c> otherwise.
/// </summary>
[JsonProperty("disable_stripe_user_authentication")]
public bool DisableStripeUserAuthentication { get; set; }
Expand Down
7 changes: 0 additions & 7 deletions src/Stripe.net/Entities/Cards/Card.cs
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,6 @@ public Customer Customer
[JsonProperty("networks")]
public CardNetworks Networks { get; set; }

/// <summary>
/// Status of a card based on the card issuer.
/// One of: <c>regulated</c>, or <c>unregulated</c>.
/// </summary>
[JsonProperty("regulated_status")]
public string RegulatedStatus { get; set; }

/// <summary>
/// For external accounts that are cards, possible values are <c>new</c> and <c>errored</c>.
/// If a payout fails, the status is set to <c>errored</c> and <a
Expand Down
18 changes: 0 additions & 18 deletions src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,27 +152,9 @@ public class ChargePaymentMethodDetailsCard : StripeEntity<ChargePaymentMethodDe
[JsonProperty("network_token")]
public ChargePaymentMethodDetailsCardNetworkToken NetworkToken { get; set; }

/// <summary>
/// This is used by the financial networks to identify a transaction. Visa calls this the
/// Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the
/// Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network
/// Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent
/// the date (MM/DD). This field will be available for successful Visa, Mastercard, or
/// American Express transactions and always null for other card brands.
/// </summary>
[JsonProperty("network_transaction_id")]
public string NetworkTransactionId { get; set; }

[JsonProperty("overcapture")]
public ChargePaymentMethodDetailsCardOvercapture Overcapture { get; set; }

/// <summary>
/// Status of a card based on the card issuer.
/// One of: <c>regulated</c>, or <c>unregulated</c>.
/// </summary>
[JsonProperty("regulated_status")]
public string RegulatedStatus { get; set; }

/// <summary>
/// Populated if this transaction used 3D Secure authentication.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ public class ConfirmationTokenPaymentMethodPreviewCard : StripeEntity<Confirmati
[JsonProperty("networks")]
public ConfirmationTokenPaymentMethodPreviewCardNetworks Networks { get; set; }

/// <summary>
/// Status of a card based on the card issuer.
/// One of: <c>regulated</c>, or <c>unregulated</c>.
/// </summary>
[JsonProperty("regulated_status")]
public string RegulatedStatus { get; set; }

/// <summary>
/// Contains details on how this Card may be used for 3D Secure authentication.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@ public class DisputeEvidenceDetailsEnhancedEligibility : StripeEntity<DisputeEvi
{
[JsonProperty("visa_compelling_evidence_3")]
public DisputeEvidenceDetailsEnhancedEligibilityVisaCompellingEvidence3 VisaCompellingEvidence3 { get; set; }

[JsonProperty("visa_compliance")]
public DisputeEvidenceDetailsEnhancedEligibilityVisaCompliance VisaCompliance { get; set; }
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@ public class DisputeEvidenceEnhancedEvidence : StripeEntity<DisputeEvidenceEnhan
{
[JsonProperty("visa_compelling_evidence_3")]
public DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3 VisaCompellingEvidence3 { get; set; }

[JsonProperty("visa_compliance")]
public DisputeEvidenceEnhancedEvidenceVisaCompliance VisaCompliance { get; set; }
}
}

This file was deleted.

7 changes: 0 additions & 7 deletions src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ public class PaymentMethodCard : StripeEntity<PaymentMethodCard>
[JsonProperty("networks")]
public PaymentMethodCardNetworks Networks { get; set; }

/// <summary>
/// Status of a card based on the card issuer.
/// One of: <c>regulated</c>, or <c>unregulated</c>.
/// </summary>
[JsonProperty("regulated_status")]
public string RegulatedStatus { get; set; }

/// <summary>
/// Contains details on how this Card may be used for 3D Secure authentication.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ namespace Stripe
public class AccountSessionComponentsAccountManagementFeaturesOptions : INestedOptions
{
/// <summary>
/// Disables Stripe user authentication for this embedded component. This value can only be
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>.
/// The default value is the opposite of the <c>external_account_collection</c> value. For
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and
/// <c>disable_stripe_user_authentication</c> defaults to false.
/// Disables Stripe user authentication for this embedded component. This feature can only
/// be <c>true</c> for accounts where you’re responsible for collecting updated information
/// when requirements are due or change, like Custom accounts. The default value for this
/// feature is <c>false</c> when <c>external_account_collection</c> is enabled and
/// <c>true</c> otherwise.
/// </summary>
[JsonProperty("disable_stripe_user_authentication")]
public bool? DisableStripeUserAuthentication { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ namespace Stripe
public class AccountSessionComponentsAccountOnboardingFeaturesOptions : INestedOptions
{
/// <summary>
/// Disables Stripe user authentication for this embedded component. This value can only be
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>.
/// The default value is the opposite of the <c>external_account_collection</c> value. For
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and
/// <c>disable_stripe_user_authentication</c> defaults to false.
/// Disables Stripe user authentication for this embedded component. This feature can only
/// be <c>true</c> for accounts where you’re responsible for collecting updated information
/// when requirements are due or change, like Custom accounts. The default value for this
/// feature is <c>false</c> when <c>external_account_collection</c> is enabled and
/// <c>true</c> otherwise.
/// </summary>
[JsonProperty("disable_stripe_user_authentication")]
public bool? DisableStripeUserAuthentication { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ namespace Stripe
public class AccountSessionComponentsBalancesFeaturesOptions : INestedOptions
{
/// <summary>
/// Disables Stripe user authentication for this embedded component. This value can only be
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>.
/// The default value is the opposite of the <c>external_account_collection</c> value. For
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and
/// <c>disable_stripe_user_authentication</c> defaults to false.
/// Disables Stripe user authentication for this embedded component. This feature can only
/// be <c>true</c> for accounts where you’re responsible for collecting updated information
/// when requirements are due or change, like Custom accounts. The default value for this
/// feature is <c>false</c> when <c>external_account_collection</c> is enabled and
/// <c>true</c> otherwise.
/// </summary>
[JsonProperty("disable_stripe_user_authentication")]
public bool? DisableStripeUserAuthentication { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ namespace Stripe
public class AccountSessionComponentsNotificationBannerFeaturesOptions : INestedOptions
{
/// <summary>
/// Disables Stripe user authentication for this embedded component. This value can only be
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>.
/// The default value is the opposite of the <c>external_account_collection</c> value. For
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and
/// <c>disable_stripe_user_authentication</c> defaults to false.
/// Disables Stripe user authentication for this embedded component. This feature can only
/// be <c>true</c> for accounts where you’re responsible for collecting updated information
/// when requirements are due or change, like Custom accounts. The default value for this
/// feature is <c>false</c> when <c>external_account_collection</c> is enabled and
/// <c>true</c> otherwise.
/// </summary>
[JsonProperty("disable_stripe_user_authentication")]
public bool? DisableStripeUserAuthentication { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ namespace Stripe
public class AccountSessionComponentsPayoutsFeaturesOptions : INestedOptions
{
/// <summary>
/// Disables Stripe user authentication for this embedded component. This value can only be
/// true for accounts where <c>controller.requirement_collection</c> is <c>application</c>.
/// The default value is the opposite of the <c>external_account_collection</c> value. For
/// example, if you don’t set <c>external_account_collection</c>, it defaults to true and
/// <c>disable_stripe_user_authentication</c> defaults to false.
/// Disables Stripe user authentication for this embedded component. This feature can only
/// be <c>true</c> for accounts where you’re responsible for collecting updated information
/// when requirements are due or change, like Custom accounts. The default value for this
/// feature is <c>false</c> when <c>external_account_collection</c> is enabled and
/// <c>true</c> otherwise.
/// </summary>
[JsonProperty("disable_stripe_user_authentication")]
public bool? DisableStripeUserAuthentication { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,5 @@ public class DisputeEvidenceEnhancedEvidenceOptions : INestedOptions
/// </summary>
[JsonProperty("visa_compelling_evidence_3")]
public DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3Options VisaCompellingEvidence3 { get; set; }

/// <summary>
/// Evidence provided for Visa Compliance evidence submission.
/// </summary>
[JsonProperty("visa_compliance")]
public DisputeEvidenceEnhancedEvidenceVisaComplianceOptions VisaCompliance { get; set; }
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata
/// <c>2019-11-05</c>, <c>2019-12-03</c>, <c>2020-03-02</c>, <c>2020-08-27</c>,
/// <c>2022-08-01</c>, <c>2022-11-15</c>, <c>2023-08-16</c>, <c>2023-10-16</c>,
/// <c>2024-04-10</c>, <c>2024-06-20</c>, <c>2024-09-30.acacia</c>,
/// <c>2024-10-28.acacia</c>, <c>2024-11-20.acacia</c>, or <c>2024-12-18.acacia</c>.
/// <c>2024-10-28.acacia</c>, or <c>2024-11-20.acacia</c>.
/// </summary>
[JsonProperty("api_version")]
public string ApiVersion { get; set; }
Expand Down

0 comments on commit 4ec386f

Please sign in to comment.