From ed977f627f85c189e9e419abc8b7c5a02339214f Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 29 Apr 2026 05:07:28 +0000 Subject: [PATCH] Update generated code for v2254 and --- CODEGEN_VERSION | 2 +- ...tionCardCreatorCapabilitiesConsumerLead.cs | 7 +++ ...reatorCapabilitiesConsumerLeadDebitCard.cs | 28 ++++++++++++ ...litiesConsumerLeadDebitCardStatusDetail.cs | 31 +++++++++++++ ...uirementsEntryImpactRestrictsCapability.cs | 10 ++--- ...nsTermsOfServiceCardCreatorConsumerLead.cs | 7 +++ ...ServiceCardCreatorConsumerLeadDebitCard.cs | 35 +++++++++++++++ ...rdCreatorConsumerLeadDebitCardBankTerms.cs | 43 +++++++++++++++++++ ...nsumerLeadDebitCardFinancingDisclosures.cs | 43 +++++++++++++++++++ ...ardCreatorConsumerLeadDebitCardPlatform.cs | 43 +++++++++++++++++++ ...uirementsEntryImpactRestrictsCapability.cs | 10 ++--- ...CreatorCapabilityStatusUpdatedEventData.cs | 3 +- ...apabilitiesConsumerLeadDebitCardOptions.cs | 19 ++++++++ ...dCreatorCapabilitiesConsumerLeadOptions.cs | 7 +++ ...orConsumerLeadDebitCardBankTermsOptions.cs | 36 ++++++++++++++++ ...eadDebitCardFinancingDisclosuresOptions.cs | 36 ++++++++++++++++ ...CardCreatorConsumerLeadDebitCardOptions.cs | 35 +++++++++++++++ ...torConsumerLeadDebitCardPlatformOptions.cs | 36 ++++++++++++++++ ...OfServiceCardCreatorConsumerLeadOptions.cs | 7 +++ ...apabilitiesConsumerLeadDebitCardOptions.cs | 19 ++++++++ ...dCreatorCapabilitiesConsumerLeadOptions.cs | 7 +++ ...orConsumerLeadDebitCardBankTermsOptions.cs | 36 ++++++++++++++++ ...eadDebitCardFinancingDisclosuresOptions.cs | 36 ++++++++++++++++ ...CardCreatorConsumerLeadDebitCardOptions.cs | 35 +++++++++++++++ ...torConsumerLeadDebitCardPlatformOptions.cs | 36 ++++++++++++++++ ...OfServiceCardCreatorConsumerLeadOptions.cs | 7 +++ 26 files changed, 602 insertions(+), 12 deletions(-) create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardStatusDetail.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions.cs diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index 0a10ecafbf..c82dcaeaa3 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -3ac0dc357d86c95bbba40ca9818f5eacf4d0a405 \ No newline at end of file +1263d72c2687be8ce737cfb363690b8da0a0d552 \ No newline at end of file diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLead.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLead.cs index a4cb16dbc1..7dd50a115f 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLead.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLead.cs @@ -8,6 +8,13 @@ namespace Stripe.V2.Core [STJS.JsonConverter(typeof(STJStripeEntityConverter))] public class AccountConfigurationCardCreatorCapabilitiesConsumerLead : StripeEntity { + /// + /// Can create consumer issuing debit cards with Lead as BIN sponsor. + /// + [JsonProperty("debit_card")] + [STJS.JsonPropertyName("debit_card")] + public AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard DebitCard { get; set; } + /// /// Can create consumer issuing prepaid cards with Lead as BIN sponsor. /// diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard.cs new file mode 100644 index 0000000000..87100b82a9 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard.cs @@ -0,0 +1,28 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System.Collections.Generic; + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeEntityConverter))] + public class AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard : StripeEntity + { + /// + /// The status of the Capability. + /// One of: active, pending, restricted, or unsupported. + /// + [JsonProperty("status")] + [STJS.JsonPropertyName("status")] + public string Status { get; set; } + + /// + /// Additional details about the capability's status. This value is empty when status + /// is active. + /// + [JsonProperty("status_details")] + [STJS.JsonPropertyName("status_details")] + public List StatusDetails { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardStatusDetail.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardStatusDetail.cs new file mode 100644 index 0000000000..363543e968 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardStatusDetail.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeEntityConverter))] + public class AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardStatusDetail : StripeEntity + { + /// + /// Machine-readable code explaining the reason for the Capability to be in its current + /// status. + /// One of: determining_status, requirements_past_due, + /// requirements_pending_verification, restricted_other, + /// unsupported_business, unsupported_country, or + /// unsupported_entity_type. + /// + [JsonProperty("code")] + [STJS.JsonPropertyName("code")] + public string Code { get; set; } + + /// + /// Machine-readable code explaining how to make the Capability active. + /// One of: contact_stripe, no_resolution, or provide_info. + /// + [JsonProperty("resolution")] + [STJS.JsonPropertyName("resolution")] + public string Resolution { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountFutureRequirementsEntryImpactRestrictsCapability.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountFutureRequirementsEntryImpactRestrictsCapability.cs index 44f1938769..a8b7074734 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountFutureRequirementsEntryImpactRestrictsCapability.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountFutureRequirementsEntryImpactRestrictsCapability.cs @@ -25,11 +25,11 @@ public class AccountFutureRequirementsEntryImpactRestrictsCapability : StripeEnt /// commercial.stripe.charge_card, commercial.stripe.prepaid_card, /// consumer.celtic.revolving_credit_card, /// consumer.cross_river_bank.prepaid_card, consumer.holds_currencies.usd, - /// consumer.lead.prepaid_card, crypto_wallets, eps_payments, - /// financial_addresses.bank_accounts, fpx_payments, - /// gb_bank_transfer_payments, grabpay_payments, holds_currencies.eur, - /// holds_currencies.gbp, holds_currencies.usd, ideal_payments, - /// inbound_transfers.financial_accounts, jcb_payments, + /// consumer.lead.debit_card, consumer.lead.prepaid_card, + /// crypto_wallets, eps_payments, financial_addresses.bank_accounts, + /// fpx_payments, gb_bank_transfer_payments, grabpay_payments, + /// holds_currencies.eur, holds_currencies.gbp, holds_currencies.usd, + /// ideal_payments, inbound_transfers.financial_accounts, jcb_payments, /// jp_bank_transfer_payments, kakao_pay_payments, klarna_payments, /// konbini_payments, kr_card_payments, link_payments, /// mobilepay_payments, multibanco_payments, mx_bank_transfer_payments, diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead.cs index 034b0abe94..c06f40ae30 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead.cs @@ -16,6 +16,13 @@ public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead : [STJS.JsonPropertyName("apple_pay")] public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePay ApplePay { get; set; } + /// + /// Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor. + /// + [JsonProperty("debit_card")] + [STJS.JsonPropertyName("debit_card")] + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard DebitCard { get; set; } + /// /// Terms of service acceptances for commercial issuing revolving credit cards with Lead as /// BIN sponsor. diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard.cs new file mode 100644 index 0000000000..5b12fbaf22 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard.cs @@ -0,0 +1,35 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeEntityConverter))] + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard : StripeEntity + { + /// + /// Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("bank_terms")] + [STJS.JsonPropertyName("bank_terms")] + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing debit cards with + /// Lead as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] + [STJS.JsonPropertyName("financing_disclosures")] + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("platform")] + [STJS.JsonPropertyName("platform")] + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform Platform { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms.cs new file mode 100644 index 0000000000..8a40689c21 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms.cs @@ -0,0 +1,43 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeEntityConverter))] + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms : StripeEntity + { + /// + /// The time when the Account's representative accepted the terms of service. Represented as + /// a RFC 3339 date & time UTC value in millisecond precision, for example: + /// 2022-09-18T13:22:18.123Z. + /// + [JsonProperty("date")] + [STJS.JsonPropertyName("date")] + public DateTime? Date { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] + [STJS.JsonPropertyName("ip")] + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] + [STJS.JsonPropertyName("url")] + public string Url { get; set; } + + /// + /// The user agent of the browser from which the Account's representative accepted the terms + /// of service. + /// + [JsonProperty("user_agent")] + [STJS.JsonPropertyName("user_agent")] + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures.cs new file mode 100644 index 0000000000..cbb68267b0 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures.cs @@ -0,0 +1,43 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeEntityConverter))] + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures : StripeEntity + { + /// + /// The time when the Account's representative accepted the terms of service. Represented as + /// a RFC 3339 date & time UTC value in millisecond precision, for example: + /// 2022-09-18T13:22:18.123Z. + /// + [JsonProperty("date")] + [STJS.JsonPropertyName("date")] + public DateTime? Date { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] + [STJS.JsonPropertyName("ip")] + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] + [STJS.JsonPropertyName("url")] + public string Url { get; set; } + + /// + /// The user agent of the browser from which the Account's representative accepted the terms + /// of service. + /// + [JsonProperty("user_agent")] + [STJS.JsonPropertyName("user_agent")] + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform.cs new file mode 100644 index 0000000000..4a5d3764a4 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform.cs @@ -0,0 +1,43 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeEntityConverter))] + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform : StripeEntity + { + /// + /// The time when the Account's representative accepted the terms of service. Represented as + /// a RFC 3339 date & time UTC value in millisecond precision, for example: + /// 2022-09-18T13:22:18.123Z. + /// + [JsonProperty("date")] + [STJS.JsonPropertyName("date")] + public DateTime? Date { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] + [STJS.JsonPropertyName("ip")] + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] + [STJS.JsonPropertyName("url")] + public string Url { get; set; } + + /// + /// The user agent of the browser from which the Account's representative accepted the terms + /// of service. + /// + [JsonProperty("user_agent")] + [STJS.JsonPropertyName("user_agent")] + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsCapability.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsCapability.cs index bf4d356b51..fbcf73b4b3 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsCapability.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsCapability.cs @@ -25,11 +25,11 @@ public class AccountRequirementsEntryImpactRestrictsCapability : StripeEntitycommercial.stripe.charge_card, commercial.stripe.prepaid_card, /// consumer.celtic.revolving_credit_card, /// consumer.cross_river_bank.prepaid_card, consumer.holds_currencies.usd, - /// consumer.lead.prepaid_card, crypto_wallets, eps_payments, - /// financial_addresses.bank_accounts, fpx_payments, - /// gb_bank_transfer_payments, grabpay_payments, holds_currencies.eur, - /// holds_currencies.gbp, holds_currencies.usd, ideal_payments, - /// inbound_transfers.financial_accounts, jcb_payments, + /// consumer.lead.debit_card, consumer.lead.prepaid_card, + /// crypto_wallets, eps_payments, financial_addresses.bank_accounts, + /// fpx_payments, gb_bank_transfer_payments, grabpay_payments, + /// holds_currencies.eur, holds_currencies.gbp, holds_currencies.usd, + /// ideal_payments, inbound_transfers.financial_accounts, jcb_payments, /// jp_bank_transfer_payments, kakao_pay_payments, klarna_payments, /// konbini_payments, kr_card_payments, link_payments, /// mobilepay_payments, multibanco_payments, mx_bank_transfer_payments, diff --git a/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventData.cs b/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventData.cs index 6f44b923ce..67925465c9 100644 --- a/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventData.cs +++ b/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventData.cs @@ -17,7 +17,8 @@ public class V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdat /// commercial.fifth_third.charge_card, commercial.lead.prepaid_card, /// commercial.stripe.charge_card, commercial.stripe.prepaid_card, /// consumer.celtic.revolving_credit_card, - /// consumer.cross_river_bank.prepaid_card, or consumer.lead.prepaid_card. + /// consumer.cross_river_bank.prepaid_card, consumer.lead.debit_card, or + /// consumer.lead.prepaid_card. /// [JsonProperty("updated_capability")] [STJS.JsonPropertyName("updated_capability")] diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions.cs new file mode 100644 index 0000000000..5526c7812f --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions.cs @@ -0,0 +1,19 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] + public class AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] + [STJS.JsonPropertyName("requested")] + public bool? Requested { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs index c3822d6bef..a8fbc13d18 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs @@ -8,6 +8,13 @@ namespace Stripe.V2.Core [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] public class AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadOptions : INestedOptions { + /// + /// Can create consumer issuing debit cards with Lead as BIN sponsor. + /// + [JsonProperty("debit_card")] + [STJS.JsonPropertyName("debit_card")] + public AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions DebitCard { get; set; } + /// /// Can create consumer issuing prepaid cards with Lead as BIN sponsor. /// diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions.cs new file mode 100644 index 0000000000..eb1ea93c54 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions.cs @@ -0,0 +1,36 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions : INestedOptions + { + /// + /// The time when the Account's representative accepted the terms of service. Represented as + /// a RFC 3339 date & time UTC value in millisecond precision, for example: + /// 2022-09-18T13:22:18.123Z. + /// + [JsonProperty("date")] + [STJS.JsonPropertyName("date")] + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] + [STJS.JsonPropertyName("ip")] + public string Ip { get; set; } + + /// + /// The user agent of the browser from which the Account's representative accepted the terms + /// of service. + /// + [JsonProperty("user_agent")] + [STJS.JsonPropertyName("user_agent")] + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions.cs new file mode 100644 index 0000000000..e268aea274 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions.cs @@ -0,0 +1,36 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions : INestedOptions + { + /// + /// The time when the Account's representative accepted the terms of service. Represented as + /// a RFC 3339 date & time UTC value in millisecond precision, for example: + /// 2022-09-18T13:22:18.123Z. + /// + [JsonProperty("date")] + [STJS.JsonPropertyName("date")] + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] + [STJS.JsonPropertyName("ip")] + public string Ip { get; set; } + + /// + /// The user agent of the browser from which the Account's representative accepted the terms + /// of service. + /// + [JsonProperty("user_agent")] + [STJS.JsonPropertyName("user_agent")] + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions.cs new file mode 100644 index 0000000000..022c866b1e --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions.cs @@ -0,0 +1,35 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("bank_terms")] + [STJS.JsonPropertyName("bank_terms")] + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing debit cards with + /// Lead as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] + [STJS.JsonPropertyName("financing_disclosures")] + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("platform")] + [STJS.JsonPropertyName("platform")] + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions.cs new file mode 100644 index 0000000000..102448555a --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions.cs @@ -0,0 +1,36 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions : INestedOptions + { + /// + /// The time when the Account's representative accepted the terms of service. Represented as + /// a RFC 3339 date & time UTC value in millisecond precision, for example: + /// 2022-09-18T13:22:18.123Z. + /// + [JsonProperty("date")] + [STJS.JsonPropertyName("date")] + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] + [STJS.JsonPropertyName("ip")] + public string Ip { get; set; } + + /// + /// The user agent of the browser from which the Account's representative accepted the terms + /// of service. + /// + [JsonProperty("user_agent")] + [STJS.JsonPropertyName("user_agent")] + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs index 316a281240..f4b2b229eb 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs @@ -8,6 +8,13 @@ namespace Stripe.V2.Core [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions : INestedOptions { + /// + /// Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor. + /// + [JsonProperty("debit_card")] + [STJS.JsonPropertyName("debit_card")] + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions DebitCard { get; set; } + /// /// Terms of service acceptances for consumer issuing prepaid cards with Lead as BIN /// sponsor. diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions.cs new file mode 100644 index 0000000000..7828156c5a --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions.cs @@ -0,0 +1,19 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] + public class AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] + [STJS.JsonPropertyName("requested")] + public bool? Requested { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs index 7fe652489b..9b9c0faa88 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs @@ -8,6 +8,13 @@ namespace Stripe.V2.Core [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] public class AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadOptions : INestedOptions { + /// + /// Can create consumer issuing debit cards with Lead as BIN sponsor. + /// + [JsonProperty("debit_card")] + [STJS.JsonPropertyName("debit_card")] + public AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions DebitCard { get; set; } + /// /// Can create consumer issuing prepaid cards with Lead as BIN sponsor. /// diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions.cs new file mode 100644 index 0000000000..3d3cd160b9 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions.cs @@ -0,0 +1,36 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions : INestedOptions + { + /// + /// The time when the Account's representative accepted the terms of service. Represented as + /// a RFC 3339 date & time UTC value in millisecond precision, for example: + /// 2022-09-18T13:22:18.123Z. + /// + [JsonProperty("date")] + [STJS.JsonPropertyName("date")] + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] + [STJS.JsonPropertyName("ip")] + public string Ip { get; set; } + + /// + /// The user agent of the browser from which the Account's representative accepted the terms + /// of service. + /// + [JsonProperty("user_agent")] + [STJS.JsonPropertyName("user_agent")] + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions.cs new file mode 100644 index 0000000000..70d0d09758 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions.cs @@ -0,0 +1,36 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions : INestedOptions + { + /// + /// The time when the Account's representative accepted the terms of service. Represented as + /// a RFC 3339 date & time UTC value in millisecond precision, for example: + /// 2022-09-18T13:22:18.123Z. + /// + [JsonProperty("date")] + [STJS.JsonPropertyName("date")] + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] + [STJS.JsonPropertyName("ip")] + public string Ip { get; set; } + + /// + /// The user agent of the browser from which the Account's representative accepted the terms + /// of service. + /// + [JsonProperty("user_agent")] + [STJS.JsonPropertyName("user_agent")] + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions.cs new file mode 100644 index 0000000000..7c7d418162 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions.cs @@ -0,0 +1,35 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("bank_terms")] + [STJS.JsonPropertyName("bank_terms")] + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTermsOptions BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing debit cards with + /// Lead as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] + [STJS.JsonPropertyName("financing_disclosures")] + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosuresOptions FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("platform")] + [STJS.JsonPropertyName("platform")] + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions.cs new file mode 100644 index 0000000000..da9acb8dd7 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions.cs @@ -0,0 +1,36 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; + using STJS = System.Text.Json.Serialization; + + [STJS.JsonConverter(typeof(STJStripeOptionsConverter))] + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatformOptions : INestedOptions + { + /// + /// The time when the Account's representative accepted the terms of service. Represented as + /// a RFC 3339 date & time UTC value in millisecond precision, for example: + /// 2022-09-18T13:22:18.123Z. + /// + [JsonProperty("date")] + [STJS.JsonPropertyName("date")] + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] + [STJS.JsonPropertyName("ip")] + public string Ip { get; set; } + + /// + /// The user agent of the browser from which the Account's representative accepted the terms + /// of service. + /// + [JsonProperty("user_agent")] + [STJS.JsonPropertyName("user_agent")] + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs index cbd1950704..53eabd19df 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs @@ -16,6 +16,13 @@ public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerL [STJS.JsonPropertyName("apple_pay")] public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePayOptions ApplePay { get; set; } + /// + /// Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor. + /// + [JsonProperty("debit_card")] + [STJS.JsonPropertyName("debit_card")] + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardOptions DebitCard { get; set; } + /// /// Terms of service acceptances for consumer issuing prepaid cards with Lead as BIN /// sponsor.