Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODEGEN_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3ac0dc357d86c95bbba40ca9818f5eacf4d0a405
1263d72c2687be8ce737cfb363690b8da0a0d552
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ namespace Stripe.V2.Core
[STJS.JsonConverter(typeof(STJStripeEntityConverter))]
public class AccountConfigurationCardCreatorCapabilitiesConsumerLead : StripeEntity<AccountConfigurationCardCreatorCapabilitiesConsumerLead>
{
/// <summary>
/// Can create consumer issuing debit cards with Lead as BIN sponsor.
/// </summary>
[JsonProperty("debit_card")]
[STJS.JsonPropertyName("debit_card")]
public AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard DebitCard { get; set; }

/// <summary>
/// Can create consumer issuing prepaid cards with Lead as BIN sponsor.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -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<AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard>
{
/// <summary>
/// The status of the Capability.
/// One of: <c>active</c>, <c>pending</c>, <c>restricted</c>, or <c>unsupported</c>.
/// </summary>
[JsonProperty("status")]
[STJS.JsonPropertyName("status")]
public string Status { get; set; }

/// <summary>
/// Additional details about the capability's status. This value is empty when <c>status</c>
/// is <c>active</c>.
/// </summary>
[JsonProperty("status_details")]
[STJS.JsonPropertyName("status_details")]
public List<AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardStatusDetail> StatusDetails { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -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<AccountConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardStatusDetail>
{
/// <summary>
/// Machine-readable code explaining the reason for the Capability to be in its current
/// status.
/// One of: <c>determining_status</c>, <c>requirements_past_due</c>,
/// <c>requirements_pending_verification</c>, <c>restricted_other</c>,
/// <c>unsupported_business</c>, <c>unsupported_country</c>, or
/// <c>unsupported_entity_type</c>.
/// </summary>
[JsonProperty("code")]
[STJS.JsonPropertyName("code")]
public string Code { get; set; }

/// <summary>
/// Machine-readable code explaining how to make the Capability active.
/// One of: <c>contact_stripe</c>, <c>no_resolution</c>, or <c>provide_info</c>.
/// </summary>
[JsonProperty("resolution")]
[STJS.JsonPropertyName("resolution")]
public string Resolution { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public class AccountFutureRequirementsEntryImpactRestrictsCapability : StripeEnt
/// <c>commercial.stripe.charge_card</c>, <c>commercial.stripe.prepaid_card</c>,
/// <c>consumer.celtic.revolving_credit_card</c>,
/// <c>consumer.cross_river_bank.prepaid_card</c>, <c>consumer.holds_currencies.usd</c>,
/// <c>consumer.lead.prepaid_card</c>, <c>crypto_wallets</c>, <c>eps_payments</c>,
/// <c>financial_addresses.bank_accounts</c>, <c>fpx_payments</c>,
/// <c>gb_bank_transfer_payments</c>, <c>grabpay_payments</c>, <c>holds_currencies.eur</c>,
/// <c>holds_currencies.gbp</c>, <c>holds_currencies.usd</c>, <c>ideal_payments</c>,
/// <c>inbound_transfers.financial_accounts</c>, <c>jcb_payments</c>,
/// <c>consumer.lead.debit_card</c>, <c>consumer.lead.prepaid_card</c>,
/// <c>crypto_wallets</c>, <c>eps_payments</c>, <c>financial_addresses.bank_accounts</c>,
/// <c>fpx_payments</c>, <c>gb_bank_transfer_payments</c>, <c>grabpay_payments</c>,
/// <c>holds_currencies.eur</c>, <c>holds_currencies.gbp</c>, <c>holds_currencies.usd</c>,
/// <c>ideal_payments</c>, <c>inbound_transfers.financial_accounts</c>, <c>jcb_payments</c>,
/// <c>jp_bank_transfer_payments</c>, <c>kakao_pay_payments</c>, <c>klarna_payments</c>,
/// <c>konbini_payments</c>, <c>kr_card_payments</c>, <c>link_payments</c>,
/// <c>mobilepay_payments</c>, <c>multibanco_payments</c>, <c>mx_bank_transfer_payments</c>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead :
[STJS.JsonPropertyName("apple_pay")]
public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePay ApplePay { get; set; }

/// <summary>
/// Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor.
/// </summary>
[JsonProperty("debit_card")]
[STJS.JsonPropertyName("debit_card")]
public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard DebitCard { get; set; }

/// <summary>
/// Terms of service acceptances for commercial issuing revolving credit cards with Lead as
/// BIN sponsor.
Expand Down
Original file line number Diff line number Diff line change
@@ -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<AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard>
{
/// <summary>
/// Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN
/// sponsor.
/// </summary>
[JsonProperty("bank_terms")]
[STJS.JsonPropertyName("bank_terms")]
public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms BankTerms { get; set; }

/// <summary>
/// Financial disclosures terms of service acceptance for consumer issuing debit cards with
/// Lead as BIN sponsor.
/// </summary>
[JsonProperty("financing_disclosures")]
[STJS.JsonPropertyName("financing_disclosures")]
public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures FinancingDisclosures { get; set; }

/// <summary>
/// Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN
/// sponsor.
/// </summary>
[JsonProperty("platform")]
[STJS.JsonPropertyName("platform")]
public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform Platform { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -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<AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms>
{
/// <summary>
/// The time when the Account's representative accepted the terms of service. Represented as
/// a RFC 3339 date &amp; time UTC value in millisecond precision, for example:
/// 2022-09-18T13:22:18.123Z.
/// </summary>
[JsonProperty("date")]
[STJS.JsonPropertyName("date")]
public DateTime? Date { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;

/// <summary>
/// The IP address from which the Account's representative accepted the terms of service.
/// </summary>
[JsonProperty("ip")]
[STJS.JsonPropertyName("ip")]
public string Ip { get; set; }

/// <summary>
/// The URL to the service agreement the Account's representative accepted.
/// </summary>
[JsonProperty("url")]
[STJS.JsonPropertyName("url")]
public string Url { get; set; }

/// <summary>
/// The user agent of the browser from which the Account's representative accepted the terms
/// of service.
/// </summary>
[JsonProperty("user_agent")]
[STJS.JsonPropertyName("user_agent")]
public string UserAgent { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -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<AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures>
{
/// <summary>
/// The time when the Account's representative accepted the terms of service. Represented as
/// a RFC 3339 date &amp; time UTC value in millisecond precision, for example:
/// 2022-09-18T13:22:18.123Z.
/// </summary>
[JsonProperty("date")]
[STJS.JsonPropertyName("date")]
public DateTime? Date { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;

/// <summary>
/// The IP address from which the Account's representative accepted the terms of service.
/// </summary>
[JsonProperty("ip")]
[STJS.JsonPropertyName("ip")]
public string Ip { get; set; }

/// <summary>
/// The URL to the service agreement the Account's representative accepted.
/// </summary>
[JsonProperty("url")]
[STJS.JsonPropertyName("url")]
public string Url { get; set; }

/// <summary>
/// The user agent of the browser from which the Account's representative accepted the terms
/// of service.
/// </summary>
[JsonProperty("user_agent")]
[STJS.JsonPropertyName("user_agent")]
public string UserAgent { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -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<AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform>
{
/// <summary>
/// The time when the Account's representative accepted the terms of service. Represented as
/// a RFC 3339 date &amp; time UTC value in millisecond precision, for example:
/// 2022-09-18T13:22:18.123Z.
/// </summary>
[JsonProperty("date")]
[STJS.JsonPropertyName("date")]
public DateTime? Date { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;

/// <summary>
/// The IP address from which the Account's representative accepted the terms of service.
/// </summary>
[JsonProperty("ip")]
[STJS.JsonPropertyName("ip")]
public string Ip { get; set; }

/// <summary>
/// The URL to the service agreement the Account's representative accepted.
/// </summary>
[JsonProperty("url")]
[STJS.JsonPropertyName("url")]
public string Url { get; set; }

/// <summary>
/// The user agent of the browser from which the Account's representative accepted the terms
/// of service.
/// </summary>
[JsonProperty("user_agent")]
[STJS.JsonPropertyName("user_agent")]
public string UserAgent { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public class AccountRequirementsEntryImpactRestrictsCapability : StripeEntity<Ac
/// <c>commercial.stripe.charge_card</c>, <c>commercial.stripe.prepaid_card</c>,
/// <c>consumer.celtic.revolving_credit_card</c>,
/// <c>consumer.cross_river_bank.prepaid_card</c>, <c>consumer.holds_currencies.usd</c>,
/// <c>consumer.lead.prepaid_card</c>, <c>crypto_wallets</c>, <c>eps_payments</c>,
/// <c>financial_addresses.bank_accounts</c>, <c>fpx_payments</c>,
/// <c>gb_bank_transfer_payments</c>, <c>grabpay_payments</c>, <c>holds_currencies.eur</c>,
/// <c>holds_currencies.gbp</c>, <c>holds_currencies.usd</c>, <c>ideal_payments</c>,
/// <c>inbound_transfers.financial_accounts</c>, <c>jcb_payments</c>,
/// <c>consumer.lead.debit_card</c>, <c>consumer.lead.prepaid_card</c>,
/// <c>crypto_wallets</c>, <c>eps_payments</c>, <c>financial_addresses.bank_accounts</c>,
/// <c>fpx_payments</c>, <c>gb_bank_transfer_payments</c>, <c>grabpay_payments</c>,
/// <c>holds_currencies.eur</c>, <c>holds_currencies.gbp</c>, <c>holds_currencies.usd</c>,
/// <c>ideal_payments</c>, <c>inbound_transfers.financial_accounts</c>, <c>jcb_payments</c>,
/// <c>jp_bank_transfer_payments</c>, <c>kakao_pay_payments</c>, <c>klarna_payments</c>,
/// <c>konbini_payments</c>, <c>kr_card_payments</c>, <c>link_payments</c>,
/// <c>mobilepay_payments</c>, <c>multibanco_payments</c>, <c>mx_bank_transfer_payments</c>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public class V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdat
/// <c>commercial.fifth_third.charge_card</c>, <c>commercial.lead.prepaid_card</c>,
/// <c>commercial.stripe.charge_card</c>, <c>commercial.stripe.prepaid_card</c>,
/// <c>consumer.celtic.revolving_credit_card</c>,
/// <c>consumer.cross_river_bank.prepaid_card</c>, or <c>consumer.lead.prepaid_card</c>.
/// <c>consumer.cross_river_bank.prepaid_card</c>, <c>consumer.lead.debit_card</c>, or
/// <c>consumer.lead.prepaid_card</c>.
/// </summary>
[JsonProperty("updated_capability")]
[STJS.JsonPropertyName("updated_capability")]
Expand Down
Original file line number Diff line number Diff line change
@@ -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
{
/// <summary>
/// To request a new Capability for an account, pass true. There can be a delay before the
/// requested Capability becomes active.
/// </summary>
[JsonProperty("requested")]
[STJS.JsonPropertyName("requested")]
public bool? Requested { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ namespace Stripe.V2.Core
[STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
public class AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadOptions : INestedOptions
{
/// <summary>
/// Can create consumer issuing debit cards with Lead as BIN sponsor.
/// </summary>
[JsonProperty("debit_card")]
[STJS.JsonPropertyName("debit_card")]
public AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadDebitCardOptions DebitCard { get; set; }

/// <summary>
/// Can create consumer issuing prepaid cards with Lead as BIN sponsor.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -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
{
/// <summary>
/// The time when the Account's representative accepted the terms of service. Represented as
/// a RFC 3339 date &amp; time UTC value in millisecond precision, for example:
/// 2022-09-18T13:22:18.123Z.
/// </summary>
[JsonProperty("date")]
[STJS.JsonPropertyName("date")]
public DateTime? Date { get; set; }

/// <summary>
/// The IP address from which the Account's representative accepted the terms of service.
/// </summary>
[JsonProperty("ip")]
[STJS.JsonPropertyName("ip")]
public string Ip { get; set; }

/// <summary>
/// The user agent of the browser from which the Account's representative accepted the terms
/// of service.
/// </summary>
[JsonProperty("user_agent")]
[STJS.JsonPropertyName("user_agent")]
public string UserAgent { get; set; }
}
}
Loading
Loading