From 8594184d399ccab45a57b8fe33460cb6969e72a8 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 10 Mar 2026 18:03:19 +0000 Subject: [PATCH 1/3] Update generated code for v2190 and --- CODEGEN_VERSION | 2 +- OPENAPI_VERSION | 2 +- .../BalanceTransactions/BalanceTransaction.cs | 4 +- src/Stripe.net/Entities/Disputes/Dispute.cs | 11 ++ .../Entities/InvoiceItems/InvoiceItem.cs | 11 ++ .../IssuingAuthorizationEvaluation.cs | 127 ++++++++++++++++++ ...orizationEvaluationAuthorizationDetails.cs | 104 ++++++++++++++ ...suingAuthorizationEvaluationCardDetails.cs | 70 ++++++++++ ...uthorizationEvaluationCardholderDetails.cs | 33 +++++ ...gAuthorizationEvaluationMerchantDetails.cs | 56 ++++++++ ...ngAuthorizationEvaluationNetworkDetails.cs | 31 +++++ .../IssuingAuthorizationEvaluationSignals.cs | 20 +++ ...AuthorizationEvaluationSignalsFraudRisk.cs | 40 ++++++ ...orizationEvaluationSignalsFraudRiskData.cs | 45 +++++++ ...uingAuthorizationEvaluationTokenDetails.cs | 43 ++++++ ...horizationEvaluationVerificationDetails.cs | 22 +++ .../Public/StripeTypeRegistry.cs | 4 + .../RequestedSessionConfirmOptions.cs | 7 +- .../RequestedSessionCreateOptions.cs | 6 +- ...onEvaluationAuthorizationDetailsOptions.cs | 104 ++++++++++++++ ...thorizationEvaluationCardDetailsOptions.cs | 70 ++++++++++ ...ationEvaluationCardholderDetailsOptions.cs | 33 +++++ ...ingAuthorizationEvaluationCreateOptions.cs | 87 ++++++++++++ ...izationEvaluationMerchantDetailsOptions.cs | 56 ++++++++ ...rizationEvaluationNetworkDetailsOptions.cs | 31 +++++ .../IssuingAuthorizationEvaluationService.cs | 42 ++++++ ...horizationEvaluationTokenDetailsOptions.cs | 43 ++++++ ...ionEvaluationVerificationDetailsOptions.cs | 22 +++ src/Stripe.net/Services/RadarService.cs | 4 + 29 files changed, 1119 insertions(+), 11 deletions(-) create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluation.cs create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationAuthorizationDetails.cs create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardDetails.cs create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardholderDetails.cs create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationMerchantDetails.cs create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationNetworkDetails.cs create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignals.cs create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignalsFraudRisk.cs create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignalsFraudRiskData.cs create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationTokenDetails.cs create mode 100644 src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationVerificationDetails.cs create mode 100644 src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationAuthorizationDetailsOptions.cs create mode 100644 src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardDetailsOptions.cs create mode 100644 src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardholderDetailsOptions.cs create mode 100644 src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCreateOptions.cs create mode 100644 src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationMerchantDetailsOptions.cs create mode 100644 src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationNetworkDetailsOptions.cs create mode 100644 src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationService.cs create mode 100644 src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationTokenDetailsOptions.cs create mode 100644 src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationVerificationDetailsOptions.cs diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index b7a4b42e31..77b34f8ed8 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -49b1e23eef1a5004ed00987c41d5ec8447a19e27 \ No newline at end of file +19c519d0ed9685226abc96a8f7a5364063a6f879 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 4c2310759e..466b261db4 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2189 \ No newline at end of file +v2190 \ No newline at end of file diff --git a/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs b/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs index b5eb70a129..ecea7631a7 100644 --- a/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs +++ b/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs @@ -64,8 +64,8 @@ public class BalanceTransaction : StripeEntity, IHasId, IHas /// /// The balance that this transaction impacts. - /// One of: issuing, payments, refund_and_dispute_prefunding, - /// risk_reserved, or transit. + /// One of: fee_credits, issuing, payments, + /// refund_and_dispute_prefunding, risk_reserved, or transit. /// [JsonProperty("balance_type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Disputes/Dispute.cs b/src/Stripe.net/Entities/Disputes/Dispute.cs index 29a72b4f88..186c55a55c 100644 --- a/src/Stripe.net/Entities/Disputes/Dispute.cs +++ b/src/Stripe.net/Entities/Disputes/Dispute.cs @@ -49,6 +49,17 @@ public class Dispute : StripeEntity, IHasId, IHasMetadata, IHasObject, #endif public long Amount { get; set; } + /// + /// The amount you want to contest, in the dispute's currency. Setting this to less than the + /// full dispute amount means accepting the loss on the remaining amount. If not specified, + /// the entire disputed amount is contested. + /// + [JsonProperty("amount_to_counter")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount_to_counter")] +#endif + public long AmountToCounter { get; set; } + /// /// List of zero, one, or two balance transactions that show funds withdrawn and reinstated /// to your Stripe account as a result of this dispute. diff --git a/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs b/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs index ddd3524279..544518dbd4 100644 --- a/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs +++ b/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs @@ -204,6 +204,17 @@ public List Discounts internal List> InternalDiscounts { get; set; } #endregion + /// + /// Array of field names that can't be modified. Attempting to update a frozen field returns + /// an error. + /// One of: pricing, or quantity. + /// + [JsonProperty("frozen_fields")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("frozen_fields")] +#endif + public List FrozenFields { get; set; } + #region Expandable Invoice /// diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluation.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluation.cs new file mode 100644 index 0000000000..f4c94f2677 --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluation.cs @@ -0,0 +1,127 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + /// + /// Authorization Evaluations represent fraud risk assessments for Issuing card + /// authorizations. They include fraud risk signals and contextual details about the + /// authorization. + /// + public class IssuingAuthorizationEvaluation : StripeEntity, IHasId, IHasMetadata, IHasObject + { + /// + /// Unique identifier for the object. + /// + [JsonProperty("id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("id")] +#endif + public string Id { get; set; } + + /// + /// String representing the object's type. Objects of the same type share the same value. + /// + [JsonProperty("object")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("object")] +#endif + public string Object { get; set; } + + /// + /// Details about the authorization transaction. + /// + [JsonProperty("authorization_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("authorization_details")] +#endif + public IssuingAuthorizationEvaluationAuthorizationDetails AuthorizationDetails { get; set; } + + /// + /// Details about the card used in the authorization. + /// + [JsonProperty("card_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("card_details")] +#endif + public IssuingAuthorizationEvaluationCardDetails CardDetails { get; set; } + + /// + /// Details about the cardholder. + /// + [JsonProperty("cardholder_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("cardholder_details")] +#endif + public IssuingAuthorizationEvaluationCardholderDetails CardholderDetails { get; set; } + + /// + /// If the object exists in live mode, the value is true. If the object exists in + /// test mode, the value is false. + /// + [JsonProperty("livemode")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("livemode")] +#endif + public bool Livemode { get; set; } + + /// + /// Details about the merchant where the authorization occurred. + /// + [JsonProperty("merchant_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("merchant_details")] +#endif + public IssuingAuthorizationEvaluationMerchantDetails MerchantDetails { get; set; } + + /// + /// Set of key-value pairs that you can attach to an object. This can be useful for storing + /// additional information about the object in a structured format. + /// + [JsonProperty("metadata")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("metadata")] +#endif + public Dictionary Metadata { get; set; } + + /// + /// Details about the card network processing. + /// + [JsonProperty("network_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("network_details")] +#endif + public IssuingAuthorizationEvaluationNetworkDetails NetworkDetails { get; set; } + + /// + /// Collection of fraud risk signals for this authorization evaluation. + /// + [JsonProperty("signals")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("signals")] +#endif + public IssuingAuthorizationEvaluationSignals Signals { get; set; } + + /// + /// Details about the token, if a tokenized payment method was used. + /// + [JsonProperty("token_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("token_details")] +#endif + public IssuingAuthorizationEvaluationTokenDetails TokenDetails { get; set; } + + /// + /// Details about verification checks performed. + /// + [JsonProperty("verification_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("verification_details")] +#endif + public IssuingAuthorizationEvaluationVerificationDetails VerificationDetails { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationAuthorizationDetails.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationAuthorizationDetails.cs new file mode 100644 index 0000000000..90509bac51 --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationAuthorizationDetails.cs @@ -0,0 +1,104 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationAuthorizationDetails : StripeEntity + { + /// + /// The authorization amount in the smallest currency unit. + /// + [JsonProperty("amount")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount")] +#endif + public long Amount { get; set; } + + /// + /// The method used for authorization. + /// One of: chip, contactless, keyed_in, online, or + /// swipe. + /// + [JsonProperty("authorization_method")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("authorization_method")] +#endif + public string AuthorizationMethod { get; set; } + + /// + /// Three-letter ISO currency code in lowercase. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + + /// + /// The card entry mode. + /// One of: contactless, contactless_magstripe, credential_on_file, + /// integrated_circuit_card, magstripe, magstripe_no_cvv, + /// manual, other, or unknown. + /// + [JsonProperty("entry_mode")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("entry_mode")] +#endif + public string EntryMode { get; set; } + + /// + /// The raw code for the card entry mode. + /// + [JsonProperty("entry_mode_raw_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("entry_mode_raw_code")] +#endif + public string EntryModeRawCode { get; set; } + + /// + /// The time when the authorization was initiated. + /// + [JsonProperty("initiated_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("initiated_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime InitiatedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + + /// + /// The point of sale condition. + /// One of: account_verification, card_not_present, card_present, + /// e_commerce, key_entered_pos, missing, moto, other, + /// pin_entered, or recurring. + /// + [JsonProperty("point_of_sale_condition")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("point_of_sale_condition")] +#endif + public string PointOfSaleCondition { get; set; } + + /// + /// The raw code for the point of sale condition. + /// + [JsonProperty("point_of_sale_condition_raw_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("point_of_sale_condition_raw_code")] +#endif + public string PointOfSaleConditionRawCode { get; set; } + + /// + /// External reference for the authorization. + /// + [JsonProperty("reference")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reference")] +#endif + public string Reference { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardDetails.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardDetails.cs new file mode 100644 index 0000000000..e4fae5c0d2 --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardDetails.cs @@ -0,0 +1,70 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationCardDetails : StripeEntity + { + /// + /// The Bank Identification Number (BIN) of the card. + /// + [JsonProperty("bin")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bin")] +#endif + public string Bin { get; set; } + + /// + /// The country code associated with the card BIN. + /// + [JsonProperty("bin_country")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bin_country")] +#endif + public string BinCountry { get; set; } + + /// + /// The type of card (physical or virtual). + /// One of: physical, or virtual. + /// + [JsonProperty("card_type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("card_type")] +#endif + public string CardType { get; set; } + + /// + /// The time when the card was created. + /// + [JsonProperty("created_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime CreatedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + + /// + /// The last 4 digits of the card number. + /// + [JsonProperty("last4")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("last4")] +#endif + public string Last4 { get; set; } + + /// + /// External reference for the card. + /// + [JsonProperty("reference")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reference")] +#endif + public string Reference { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardholderDetails.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardholderDetails.cs new file mode 100644 index 0000000000..4b1b3ae7b5 --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardholderDetails.cs @@ -0,0 +1,33 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationCardholderDetails : StripeEntity + { + /// + /// The time when the cardholder was created. + /// + [JsonProperty("created_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime? CreatedAt { get; set; } + + /// + /// External reference for the cardholder. + /// + [JsonProperty("reference")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reference")] +#endif + public string Reference { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationMerchantDetails.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationMerchantDetails.cs new file mode 100644 index 0000000000..58cd001fba --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationMerchantDetails.cs @@ -0,0 +1,56 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationMerchantDetails : StripeEntity + { + /// + /// The merchant category code (MCC). + /// + [JsonProperty("category_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("category_code")] +#endif + public string CategoryCode { get; set; } + + /// + /// The merchant country code. + /// + [JsonProperty("country")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("country")] +#endif + public string Country { get; set; } + + /// + /// The merchant name. + /// + [JsonProperty("name")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("name")] +#endif + public string Name { get; set; } + + /// + /// The merchant identifier from the card network. + /// + [JsonProperty("network_id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("network_id")] +#endif + public string NetworkId { get; set; } + + /// + /// The terminal identifier. + /// + [JsonProperty("terminal_id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("terminal_id")] +#endif + public string TerminalId { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationNetworkDetails.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationNetworkDetails.cs new file mode 100644 index 0000000000..c1eba564e3 --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationNetworkDetails.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationNetworkDetails : StripeEntity + { + /// + /// The acquiring institution identifier. + /// + [JsonProperty("acquiring_institution_id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("acquiring_institution_id")] +#endif + public string AcquiringInstitutionId { get; set; } + + /// + /// The card network that processed the authorization. + /// One of: cirrus, interlink, maestro, mastercard, + /// other, plus, or visa. + /// + [JsonProperty("routed_network")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("routed_network")] +#endif + public string RoutedNetwork { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignals.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignals.cs new file mode 100644 index 0000000000..0bf7db0afa --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignals.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationSignals : StripeEntity + { + /// + /// A fraud risk signal with status, error, and data fields. + /// + [JsonProperty("fraud_risk")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fraud_risk")] +#endif + public IssuingAuthorizationEvaluationSignalsFraudRisk FraudRisk { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignalsFraudRisk.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignalsFraudRisk.cs new file mode 100644 index 0000000000..a38668c2ac --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignalsFraudRisk.cs @@ -0,0 +1,40 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationSignalsFraudRisk : StripeEntity + { + /// + /// Signal evaluation data, including score and level. + /// + [JsonProperty("data")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("data")] +#endif + public IssuingAuthorizationEvaluationSignalsFraudRiskData Data { get; set; } + + /// + /// Details of an error that prevented reporting this signal. + /// + [JsonProperty("error")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("error")] +#endif + public Dictionary Error { get; set; } + + /// + /// The status of this signal. + /// One of: error, or success. + /// + [JsonProperty("status")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status")] +#endif + public string Status { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignalsFraudRiskData.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignalsFraudRiskData.cs new file mode 100644 index 0000000000..b37fa006df --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationSignalsFraudRiskData.cs @@ -0,0 +1,45 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationSignalsFraudRiskData : StripeEntity + { + /// + /// The time when this signal was evaluated. + /// + [JsonProperty("evaluated_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("evaluated_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime EvaluatedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + + /// + /// Risk level, based on the score. + /// One of: elevated, highest, low, normal, not_assessed, + /// or unknown. + /// + [JsonProperty("level")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("level")] +#endif + public string Level { get; set; } + + /// + /// Fraud risk score for this evaluation. Score in the range [0,100], formatted as a 2 + /// decimal float, with higher scores indicating a higher likelihood of fraud. + /// + [JsonProperty("score")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("score")] +#endif + public decimal Score { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationTokenDetails.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationTokenDetails.cs new file mode 100644 index 0000000000..918a2f2e6b --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationTokenDetails.cs @@ -0,0 +1,43 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationTokenDetails : StripeEntity + { + /// + /// The time when the token was created. + /// + [JsonProperty("created_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime? CreatedAt { get; set; } + + /// + /// External reference for the token. + /// + [JsonProperty("reference")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reference")] +#endif + public string Reference { get; set; } + + /// + /// The wallet provider, if applicable. + /// One of: apple_pay, google_pay, or samsung_pay. + /// + [JsonProperty("wallet")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("wallet")] +#endif + public string Wallet { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationVerificationDetails.cs b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationVerificationDetails.cs new file mode 100644 index 0000000000..e0ea3603a7 --- /dev/null +++ b/src/Stripe.net/Entities/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationVerificationDetails.cs @@ -0,0 +1,22 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationVerificationDetails : StripeEntity + { + /// + /// The result of the 3D Secure verification. + /// One of: attempt_acknowledged, authenticated, exempted, + /// failed, or required. + /// + [JsonProperty("three_d_secure_result")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("three_d_secure_result")] +#endif + public string ThreeDSecureResult { get; set; } + } +} diff --git a/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs b/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs index e91114c03c..ecdb887fa4 100644 --- a/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs +++ b/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs @@ -178,6 +178,10 @@ public static class StripeTypeRegistry }, { "radar.account_evaluation", typeof(Radar.AccountEvaluation) }, { "radar.early_fraud_warning", typeof(Radar.EarlyFraudWarning) }, + { + "radar.issuing_authorization_evaluation", typeof( + Radar.IssuingAuthorizationEvaluation) + }, { "radar.payment_evaluation", typeof(Radar.PaymentEvaluation) }, { "radar.value_list", typeof(Radar.ValueList) }, { "radar.value_list_item", typeof(Radar.ValueListItem) }, diff --git a/src/Stripe.net/Services/DelegatedCheckout/RequestedSessions/RequestedSessionConfirmOptions.cs b/src/Stripe.net/Services/DelegatedCheckout/RequestedSessions/RequestedSessionConfirmOptions.cs index 6cd4bc3333..6ce2df36c1 100644 --- a/src/Stripe.net/Services/DelegatedCheckout/RequestedSessions/RequestedSessionConfirmOptions.cs +++ b/src/Stripe.net/Services/DelegatedCheckout/RequestedSessions/RequestedSessionConfirmOptions.cs @@ -1,7 +1,6 @@ // File generated from our OpenAPI spec namespace Stripe.DelegatedCheckout { - using System.Collections.Generic; using Newtonsoft.Json; #if NET6_0_OR_GREATER using STJS = System.Text.Json.Serialization; @@ -12,11 +11,11 @@ public class RequestedSessionConfirmOptions : BaseOptions /// /// Affiliate attribution data associated with this requested session. /// - [JsonProperty("affiliate_attributions")] + [JsonProperty("affiliate_attribution")] #if NET6_0_OR_GREATER - [STJS.JsonPropertyName("affiliate_attributions")] + [STJS.JsonPropertyName("affiliate_attribution")] #endif - public List AffiliateAttributions { get; set; } + public RequestedSessionAffiliateAttributionOptions AffiliateAttribution { get; set; } /// /// The PaymentMethod to use with the requested session. diff --git a/src/Stripe.net/Services/DelegatedCheckout/RequestedSessions/RequestedSessionCreateOptions.cs b/src/Stripe.net/Services/DelegatedCheckout/RequestedSessions/RequestedSessionCreateOptions.cs index a3befc1999..7ec3ca2c63 100644 --- a/src/Stripe.net/Services/DelegatedCheckout/RequestedSessions/RequestedSessionCreateOptions.cs +++ b/src/Stripe.net/Services/DelegatedCheckout/RequestedSessions/RequestedSessionCreateOptions.cs @@ -12,11 +12,11 @@ public class RequestedSessionCreateOptions : BaseOptions, IHasMetadata /// /// Affiliate attribution data associated with this requested session. /// - [JsonProperty("affiliate_attributions")] + [JsonProperty("affiliate_attribution")] #if NET6_0_OR_GREATER - [STJS.JsonPropertyName("affiliate_attributions")] + [STJS.JsonPropertyName("affiliate_attribution")] #endif - public List AffiliateAttributions { get; set; } + public RequestedSessionAffiliateAttributionOptions AffiliateAttribution { get; set; } /// /// The currency for this requested session. diff --git a/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationAuthorizationDetailsOptions.cs b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationAuthorizationDetailsOptions.cs new file mode 100644 index 0000000000..4ee44e7c5f --- /dev/null +++ b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationAuthorizationDetailsOptions.cs @@ -0,0 +1,104 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationAuthorizationDetailsOptions : INestedOptions + { + /// + /// The authorization amount in the smallest currency unit. + /// + [JsonProperty("amount")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount")] +#endif + public long? Amount { get; set; } + + /// + /// The method used for authorization. + /// One of: chip, contactless, keyed_in, online, or + /// swipe. + /// + [JsonProperty("authorization_method")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("authorization_method")] +#endif + public string AuthorizationMethod { get; set; } + + /// + /// Three-letter ISO currency code in lowercase. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + + /// + /// The card entry mode. + /// One of: contactless, contactless_magstripe, credential_on_file, + /// integrated_circuit_card, magstripe, magstripe_no_cvv, + /// manual, other, or unknown. + /// + [JsonProperty("entry_mode")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("entry_mode")] +#endif + public string EntryMode { get; set; } + + /// + /// The raw code for the card entry mode. + /// + [JsonProperty("entry_mode_raw_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("entry_mode_raw_code")] +#endif + public string EntryModeRawCode { get; set; } + + /// + /// The time when the authorization was initiated (Unix timestamp). + /// + [JsonProperty("initiated_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("initiated_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime? InitiatedAt { get; set; } + + /// + /// The point of sale condition. + /// One of: account_verification, card_not_present, card_present, + /// e_commerce, key_entered_pos, missing, moto, other, + /// pin_entered, or recurring. + /// + [JsonProperty("point_of_sale_condition")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("point_of_sale_condition")] +#endif + public string PointOfSaleCondition { get; set; } + + /// + /// The raw code for the point of sale condition. + /// + [JsonProperty("point_of_sale_condition_raw_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("point_of_sale_condition_raw_code")] +#endif + public string PointOfSaleConditionRawCode { get; set; } + + /// + /// External reference for the authorization. + /// + [JsonProperty("reference")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reference")] +#endif + public string Reference { get; set; } + } +} diff --git a/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardDetailsOptions.cs b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardDetailsOptions.cs new file mode 100644 index 0000000000..147ff05e95 --- /dev/null +++ b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardDetailsOptions.cs @@ -0,0 +1,70 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationCardDetailsOptions : INestedOptions + { + /// + /// Bank Identification Number (BIN) of the card. + /// + [JsonProperty("bin")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bin")] +#endif + public string Bin { get; set; } + + /// + /// Two-letter ISO country code of the card's issuing bank. + /// + [JsonProperty("bin_country")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bin_country")] +#endif + public string BinCountry { get; set; } + + /// + /// The type of card (physical or virtual). + /// One of: physical, or virtual. + /// + [JsonProperty("card_type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("card_type")] +#endif + public string CardType { get; set; } + + /// + /// The time when the card was created (Unix timestamp). + /// + [JsonProperty("created_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime? CreatedAt { get; set; } + + /// + /// Last 4 digits of the card number. + /// + [JsonProperty("last4")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("last4")] +#endif + public string Last4 { get; set; } + + /// + /// External reference for the card. + /// + [JsonProperty("reference")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reference")] +#endif + public string Reference { get; set; } + } +} diff --git a/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardholderDetailsOptions.cs b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardholderDetailsOptions.cs new file mode 100644 index 0000000000..320b81a5cd --- /dev/null +++ b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCardholderDetailsOptions.cs @@ -0,0 +1,33 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationCardholderDetailsOptions : INestedOptions + { + /// + /// The time when the cardholder was created (Unix timestamp). + /// + [JsonProperty("created_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime? CreatedAt { get; set; } + + /// + /// External reference for the cardholder. + /// + [JsonProperty("reference")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reference")] +#endif + public string Reference { get; set; } + } +} diff --git a/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCreateOptions.cs b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCreateOptions.cs new file mode 100644 index 0000000000..e520707868 --- /dev/null +++ b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationCreateOptions.cs @@ -0,0 +1,87 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationCreateOptions : BaseOptions, IHasMetadata + { + /// + /// Details about the authorization. + /// + [JsonProperty("authorization_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("authorization_details")] +#endif + public IssuingAuthorizationEvaluationAuthorizationDetailsOptions AuthorizationDetails { get; set; } + + /// + /// Details about the card used in the authorization. + /// + [JsonProperty("card_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("card_details")] +#endif + public IssuingAuthorizationEvaluationCardDetailsOptions CardDetails { get; set; } + + /// + /// Details about the cardholder. + /// + [JsonProperty("cardholder_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("cardholder_details")] +#endif + public IssuingAuthorizationEvaluationCardholderDetailsOptions CardholderDetails { get; set; } + + /// + /// Details about the merchant where the authorization occurred. + /// + [JsonProperty("merchant_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("merchant_details")] +#endif + public IssuingAuthorizationEvaluationMerchantDetailsOptions MerchantDetails { get; set; } + + /// + /// Set of key-value pairs that you can + /// attach to an object. This can be useful for storing additional information about the + /// object in a structured format. Individual keys can be unset by posting an empty value to + /// them. All keys can be unset by posting an empty value to metadata. + /// + [JsonProperty("metadata")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("metadata")] +#endif + public Dictionary Metadata { get; set; } + + /// + /// Details about the card network processing. + /// + [JsonProperty("network_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("network_details")] +#endif + public IssuingAuthorizationEvaluationNetworkDetailsOptions NetworkDetails { get; set; } + + /// + /// Details about the token, if a tokenized payment method was used. + /// + [JsonProperty("token_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("token_details")] +#endif + public IssuingAuthorizationEvaluationTokenDetailsOptions TokenDetails { get; set; } + + /// + /// Details about verification checks performed. + /// + [JsonProperty("verification_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("verification_details")] +#endif + public IssuingAuthorizationEvaluationVerificationDetailsOptions VerificationDetails { get; set; } + } +} diff --git a/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationMerchantDetailsOptions.cs b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationMerchantDetailsOptions.cs new file mode 100644 index 0000000000..471c99845e --- /dev/null +++ b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationMerchantDetailsOptions.cs @@ -0,0 +1,56 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationMerchantDetailsOptions : INestedOptions + { + /// + /// Merchant Category Code (MCC). + /// + [JsonProperty("category_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("category_code")] +#endif + public string CategoryCode { get; set; } + + /// + /// Two-letter ISO country code of the merchant. + /// + [JsonProperty("country")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("country")] +#endif + public string Country { get; set; } + + /// + /// Name of the merchant. + /// + [JsonProperty("name")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("name")] +#endif + public string Name { get; set; } + + /// + /// Network merchant identifier. + /// + [JsonProperty("network_id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("network_id")] +#endif + public string NetworkId { get; set; } + + /// + /// Terminal identifier. + /// + [JsonProperty("terminal_id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("terminal_id")] +#endif + public string TerminalId { get; set; } + } +} diff --git a/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationNetworkDetailsOptions.cs b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationNetworkDetailsOptions.cs new file mode 100644 index 0000000000..ecbf570fb1 --- /dev/null +++ b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationNetworkDetailsOptions.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationNetworkDetailsOptions : INestedOptions + { + /// + /// The acquiring institution identifier. + /// + [JsonProperty("acquiring_institution_id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("acquiring_institution_id")] +#endif + public string AcquiringInstitutionId { get; set; } + + /// + /// The card network that routed the authorization. + /// One of: cirrus, interlink, maestro, mastercard, + /// other, plus, or visa. + /// + [JsonProperty("routed_network")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("routed_network")] +#endif + public string RoutedNetwork { get; set; } + } +} diff --git a/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationService.cs b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationService.cs new file mode 100644 index 0000000000..3d42bad952 --- /dev/null +++ b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationService.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + public class IssuingAuthorizationEvaluationService : Service, + ICreatable + { + public IssuingAuthorizationEvaluationService() + { + } + + internal IssuingAuthorizationEvaluationService(ApiRequestor requestor) + : base(requestor) + { + } + + public IssuingAuthorizationEvaluationService(IStripeClient client) + : base(client) + { + } + + /// + ///

Request a fraud risk assessment from Stripe for an Issuing card authorization.

. + ///
+ public virtual IssuingAuthorizationEvaluation Create(IssuingAuthorizationEvaluationCreateOptions options, RequestOptions requestOptions = null) + { + return this.Request(BaseAddress.Api, HttpMethod.Post, $"/v1/radar/issuing_authorization_evaluations", options, requestOptions); + } + + /// + ///

Request a fraud risk assessment from Stripe for an Issuing card authorization.

. + ///
+ public virtual Task CreateAsync(IssuingAuthorizationEvaluationCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return this.RequestAsync(BaseAddress.Api, HttpMethod.Post, $"/v1/radar/issuing_authorization_evaluations", options, requestOptions, cancellationToken); + } + } +} diff --git a/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationTokenDetailsOptions.cs b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationTokenDetailsOptions.cs new file mode 100644 index 0000000000..dda936e446 --- /dev/null +++ b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationTokenDetailsOptions.cs @@ -0,0 +1,43 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationTokenDetailsOptions : INestedOptions + { + /// + /// The time when the token was created (Unix timestamp). + /// + [JsonProperty("created_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime? CreatedAt { get; set; } + + /// + /// External reference for the token. + /// + [JsonProperty("reference")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reference")] +#endif + public string Reference { get; set; } + + /// + /// The wallet provider for the tokenized payment method. + /// One of: apple_pay, google_pay, or samsung_pay. + /// + [JsonProperty("wallet")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("wallet")] +#endif + public string Wallet { get; set; } + } +} diff --git a/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationVerificationDetailsOptions.cs b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationVerificationDetailsOptions.cs new file mode 100644 index 0000000000..276af993af --- /dev/null +++ b/src/Stripe.net/Services/Radar/IssuingAuthorizationEvaluations/IssuingAuthorizationEvaluationVerificationDetailsOptions.cs @@ -0,0 +1,22 @@ +// File generated from our OpenAPI spec +namespace Stripe.Radar +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class IssuingAuthorizationEvaluationVerificationDetailsOptions : INestedOptions + { + /// + /// The result of 3D Secure verification. + /// One of: attempt_acknowledged, authenticated, exempted, + /// failed, or required. + /// + [JsonProperty("three_d_secure_result")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("three_d_secure_result")] +#endif + public string ThreeDSecureResult { get; set; } + } +} diff --git a/src/Stripe.net/Services/RadarService.cs b/src/Stripe.net/Services/RadarService.cs index bfe27c1449..594ab8db70 100644 --- a/src/Stripe.net/Services/RadarService.cs +++ b/src/Stripe.net/Services/RadarService.cs @@ -9,6 +9,7 @@ public class RadarService : Service { private Radar.AccountEvaluationService accountEvaluations; private Radar.EarlyFraudWarningService earlyFraudWarnings; + private Radar.IssuingAuthorizationEvaluationService issuingAuthorizationEvaluations; private Radar.PaymentEvaluationService paymentEvaluations; private Radar.ValueListService valueLists; private Radar.ValueListItemService valueListItems; @@ -29,6 +30,9 @@ internal RadarService(IStripeClient client) public virtual Radar.EarlyFraudWarningService EarlyFraudWarnings => this.earlyFraudWarnings ??= new Radar.EarlyFraudWarningService( this.Requestor); + public virtual Radar.IssuingAuthorizationEvaluationService IssuingAuthorizationEvaluations => this.issuingAuthorizationEvaluations ??= new Radar.IssuingAuthorizationEvaluationService( + this.Requestor); + public virtual Radar.PaymentEvaluationService PaymentEvaluations => this.paymentEvaluations ??= new Radar.PaymentEvaluationService( this.Requestor); From b1569c4a39f30b67d5de6f9b565a97303b7d1953 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 00:13:02 +0000 Subject: [PATCH 2/3] Update generated code for v2190 and --- CODEGEN_VERSION | 2 +- ...nPaymentMethodOptionsCardMandateOptions.cs | 2 +- ...nPaymentMethodOptionsCardMandateOptions.cs | 2 +- ...gPaymentMethodOptionsCardMandateOptions.cs | 2 +- .../IntentActionApplyEffectiveAt.cs | 3 +- .../LicenseFeeVersionTransformQuantity.cs | 2 +- .../LicenseFeeTransformQuantity.cs | 2 +- .../RateCardRateTransformQuantity.cs | 2 +- ...untConfigurationCardCreatorCapabilities.cs | 9 +++ ...rationCardCreatorCapabilitiesCommercial.cs | 9 +++ ...torCapabilitiesCommercialCrossRiverBank.cs | 9 +++ ...tiesCommercialCrossRiverBankPrepaidCard.cs | 32 +++++++++++ ...alCrossRiverBankPrepaidCardStatusDetail.cs | 35 ++++++++++++ ...CreatorCapabilitiesCommercialFifthThird.cs | 20 +++++++ ...abilitiesCommercialFifthThirdChargeCard.cs | 32 +++++++++++ ...mercialFifthThirdChargeCardStatusDetail.cs | 35 ++++++++++++ ...gurationCardCreatorCapabilitiesConsumer.cs | 38 +++++++++++++ ...onCardCreatorCapabilitiesConsumerCeltic.cs | 20 +++++++ ...litiesConsumerCelticRevolvingCreditCard.cs | 32 +++++++++++ ...erCelticRevolvingCreditCardStatusDetail.cs | 35 ++++++++++++ ...eatorCapabilitiesConsumerCrossRiverBank.cs | 20 +++++++ ...litiesConsumerCrossRiverBankPrepaidCard.cs | 32 +++++++++++ ...erCrossRiverBankPrepaidCardStatusDetail.cs | 35 ++++++++++++ ...tionCardCreatorCapabilitiesConsumerLead.cs | 20 +++++++ ...atorCapabilitiesConsumerLeadPrepaidCard.cs | 32 +++++++++++ ...tiesConsumerLeadPrepaidCardStatusDetail.cs | 35 ++++++++++++ ...uirementsEntryImpactRestrictsCapability.cs | 8 ++- ...tyAttestationsTermsOfServiceCardCreator.cs | 9 +++ ...ionsTermsOfServiceCardCreatorCommercial.cs | 10 ++++ ...viceCardCreatorCommercialCrossRiverBank.cs | 10 ++++ ...atorCommercialCrossRiverBankPrepaidCard.cs | 31 ++++++++++ ...rcialCrossRiverBankPrepaidCardBankTerms.cs | 51 +++++++++++++++++ ...ercialCrossRiverBankPrepaidCardPlatform.cs | 51 +++++++++++++++++ ...fServiceCardCreatorCommercialFifthThird.cs | 31 ++++++++++ ...ardCreatorCommercialFifthThirdBankTerms.cs | 51 +++++++++++++++++ ...CardCreatorCommercialFifthThirdPlatform.cs | 51 +++++++++++++++++ ...ationsTermsOfServiceCardCreatorConsumer.cs | 57 +++++++++++++++++++ ...ServiceCardCreatorConsumerAccountHolder.cs | 51 +++++++++++++++++ ...TermsOfServiceCardCreatorConsumerCeltic.cs | 31 ++++++++++ ...erviceCardCreatorConsumerCelticApplePay.cs | 51 +++++++++++++++++ ...reatorConsumerCelticRevolvingCreditCard.cs | 41 +++++++++++++ ...sumerCelticRevolvingCreditCardBankTerms.cs | 51 +++++++++++++++++ ...RevolvingCreditCardFinancingDisclosures.cs | 51 +++++++++++++++++ ...nsumerCelticRevolvingCreditCardPlatform.cs | 51 +++++++++++++++++ ...erviceCardCreatorConsumerCrossRiverBank.cs | 21 +++++++ ...reatorConsumerCrossRiverBankPrepaidCard.cs | 41 +++++++++++++ ...sumerCrossRiverBankPrepaidCardBankTerms.cs | 51 +++++++++++++++++ ...iverBankPrepaidCardFinancingDisclosures.cs | 51 +++++++++++++++++ ...nsumerCrossRiverBankPrepaidCardPlatform.cs | 51 +++++++++++++++++ ...eCardCreatorConsumerGlobalAccountHolder.cs | 51 +++++++++++++++++ ...nsTermsOfServiceCardCreatorConsumerLead.cs | 31 ++++++++++ ...fServiceCardCreatorConsumerLeadApplePay.cs | 51 +++++++++++++++++ ...rviceCardCreatorConsumerLeadPrepaidCard.cs | 41 +++++++++++++ ...CreatorConsumerLeadPrepaidCardBankTerms.cs | 51 +++++++++++++++++ ...umerLeadPrepaidCardFinancingDisclosures.cs | 51 +++++++++++++++++ ...dCreatorConsumerLeadPrepaidCardPlatform.cs | 51 +++++++++++++++++ ...uirementsEntryImpactRestrictsCapability.cs | 8 ++- .../ReportRuns/ReportRunResultFile.cs | 2 +- ...CreatorCapabilityStatusUpdatedEventData.cs | 8 ++- ...tMethodOptionsCardMandateOptionsOptions.cs | 2 +- ...tMethodOptionsCardMandateOptionsOptions.cs | 2 +- ...tentCreateActionApplyEffectiveAtOptions.cs | 3 +- ...icenseFeeCreateTransformQuantityOptions.cs | 2 +- ...icenseFeeUpdateTransformQuantityOptions.cs | 2 +- .../RateCreateTransformQuantityOptions.cs | 2 +- ...bilitiesCommercialCrossRiverBankOptions.cs | 9 +++ ...mercialCrossRiverBankPrepaidCardOptions.cs | 21 +++++++ ...esCommercialFifthThirdChargeCardOptions.cs | 21 +++++++ ...CapabilitiesCommercialFifthThirdOptions.cs | 20 +++++++ ...ardCreatorCapabilitiesCommercialOptions.cs | 9 +++ ...reatorCapabilitiesConsumerCelticOptions.cs | 20 +++++++ ...onsumerCelticRevolvingCreditCardOptions.cs | 21 +++++++ ...pabilitiesConsumerCrossRiverBankOptions.cs | 20 +++++++ ...onsumerCrossRiverBankPrepaidCardOptions.cs | 21 +++++++ ...dCreatorCapabilitiesConsumerLeadOptions.cs | 20 +++++++ ...abilitiesConsumerLeadPrepaidCardOptions.cs | 21 +++++++ ...nCardCreatorCapabilitiesConsumerOptions.cs | 38 +++++++++++++ ...igurationCardCreatorCapabilitiesOptions.cs | 9 +++ ...dCreatorCommercialCrossRiverBankOptions.cs | 10 ++++ ...ossRiverBankPrepaidCardBankTermsOptions.cs | 42 ++++++++++++++ ...mercialCrossRiverBankPrepaidCardOptions.cs | 31 ++++++++++ ...rossRiverBankPrepaidCardPlatformOptions.cs | 42 ++++++++++++++ ...atorCommercialFifthThirdApplePayOptions.cs | 42 ++++++++++++++ ...ialFifthThirdChargeCardBankTermsOptions.cs | 42 ++++++++++++++ ...rdChargeCardFinancingDisclosuresOptions.cs | 42 ++++++++++++++ ...orCommercialFifthThirdChargeCardOptions.cs | 41 +++++++++++++ ...cialFifthThirdChargeCardPlatformOptions.cs | 42 ++++++++++++++ ...eCardCreatorCommercialFifthThirdOptions.cs | 31 ++++++++++ ...msOfServiceCardCreatorCommercialOptions.cs | 10 ++++ ...CardCreatorConsumerAccountHolderOptions.cs | 42 ++++++++++++++ ...ardCreatorConsumerCelticApplePayOptions.cs | 42 ++++++++++++++ ...ServiceCardCreatorConsumerCelticOptions.cs | 31 ++++++++++ ...lticRevolvingCreditCardBankTermsOptions.cs | 42 ++++++++++++++ ...ngCreditCardFinancingDisclosuresOptions.cs | 42 ++++++++++++++ ...onsumerCelticRevolvingCreditCardOptions.cs | 41 +++++++++++++ ...elticRevolvingCreditCardPlatformOptions.cs | 42 ++++++++++++++ ...ardCreatorConsumerCrossRiverBankOptions.cs | 21 +++++++ ...ossRiverBankPrepaidCardBankTermsOptions.cs | 42 ++++++++++++++ ...kPrepaidCardFinancingDisclosuresOptions.cs | 42 ++++++++++++++ ...onsumerCrossRiverBankPrepaidCardOptions.cs | 41 +++++++++++++ ...rossRiverBankPrepaidCardPlatformOptions.cs | 42 ++++++++++++++ ...eatorConsumerGlobalAccountHolderOptions.cs | 42 ++++++++++++++ ...OfServiceCardCreatorConsumerLeadOptions.cs | 21 +++++++ ...ConsumerLeadPrepaidCardBankTermsOptions.cs | 42 ++++++++++++++ ...dPrepaidCardFinancingDisclosuresOptions.cs | 42 ++++++++++++++ ...rdCreatorConsumerLeadPrepaidCardOptions.cs | 41 +++++++++++++ ...rConsumerLeadPrepaidCardPlatformOptions.cs | 42 ++++++++++++++ ...ermsOfServiceCardCreatorConsumerOptions.cs | 57 +++++++++++++++++++ ...tationsTermsOfServiceCardCreatorOptions.cs | 9 +++ ...bilitiesCommercialCrossRiverBankOptions.cs | 9 +++ ...mercialCrossRiverBankPrepaidCardOptions.cs | 21 +++++++ ...esCommercialFifthThirdChargeCardOptions.cs | 21 +++++++ ...CapabilitiesCommercialFifthThirdOptions.cs | 20 +++++++ ...ardCreatorCapabilitiesCommercialOptions.cs | 9 +++ ...reatorCapabilitiesConsumerCelticOptions.cs | 20 +++++++ ...onsumerCelticRevolvingCreditCardOptions.cs | 21 +++++++ ...pabilitiesConsumerCrossRiverBankOptions.cs | 20 +++++++ ...onsumerCrossRiverBankPrepaidCardOptions.cs | 21 +++++++ ...dCreatorCapabilitiesConsumerLeadOptions.cs | 20 +++++++ ...abilitiesConsumerLeadPrepaidCardOptions.cs | 21 +++++++ ...nCardCreatorCapabilitiesConsumerOptions.cs | 38 +++++++++++++ ...igurationCardCreatorCapabilitiesOptions.cs | 9 +++ ...dCreatorCommercialCrossRiverBankOptions.cs | 10 ++++ ...ossRiverBankPrepaidCardBankTermsOptions.cs | 42 ++++++++++++++ ...mercialCrossRiverBankPrepaidCardOptions.cs | 31 ++++++++++ ...rossRiverBankPrepaidCardPlatformOptions.cs | 42 ++++++++++++++ ...atorCommercialFifthThirdApplePayOptions.cs | 42 ++++++++++++++ ...ialFifthThirdChargeCardBankTermsOptions.cs | 42 ++++++++++++++ ...orCommercialFifthThirdChargeCardOptions.cs | 31 ++++++++++ ...cialFifthThirdChargeCardPlatformOptions.cs | 42 ++++++++++++++ ...eCardCreatorCommercialFifthThirdOptions.cs | 31 ++++++++++ ...msOfServiceCardCreatorCommercialOptions.cs | 10 ++++ ...CardCreatorConsumerAccountHolderOptions.cs | 42 ++++++++++++++ ...ardCreatorConsumerCelticApplePayOptions.cs | 42 ++++++++++++++ ...ServiceCardCreatorConsumerCelticOptions.cs | 31 ++++++++++ ...lticRevolvingCreditCardBankTermsOptions.cs | 42 ++++++++++++++ ...ngCreditCardFinancingDisclosuresOptions.cs | 42 ++++++++++++++ ...onsumerCelticRevolvingCreditCardOptions.cs | 41 +++++++++++++ ...elticRevolvingCreditCardPlatformOptions.cs | 42 ++++++++++++++ ...ardCreatorConsumerCrossRiverBankOptions.cs | 21 +++++++ ...ossRiverBankPrepaidCardBankTermsOptions.cs | 42 ++++++++++++++ ...kPrepaidCardFinancingDisclosuresOptions.cs | 42 ++++++++++++++ ...onsumerCrossRiverBankPrepaidCardOptions.cs | 41 +++++++++++++ ...rossRiverBankPrepaidCardPlatformOptions.cs | 42 ++++++++++++++ ...eatorConsumerGlobalAccountHolderOptions.cs | 42 ++++++++++++++ ...eCardCreatorConsumerLeadApplePayOptions.cs | 42 ++++++++++++++ ...OfServiceCardCreatorConsumerLeadOptions.cs | 31 ++++++++++ ...ConsumerLeadPrepaidCardBankTermsOptions.cs | 42 ++++++++++++++ ...dPrepaidCardFinancingDisclosuresOptions.cs | 42 ++++++++++++++ ...rdCreatorConsumerLeadPrepaidCardOptions.cs | 41 +++++++++++++ ...rConsumerLeadPrepaidCardPlatformOptions.cs | 42 ++++++++++++++ ...ermsOfServiceCardCreatorConsumerOptions.cs | 57 +++++++++++++++++++ ...tationsTermsOfServiceCardCreatorOptions.cs | 9 +++ .../OffSessionPaymentCreateOptions.cs | 10 ++++ ...ePaymentMethodDataBillingDetailsOptions.cs | 47 +++++++++++++++ ...ymentCreatePaymentMethodDataCardOptions.cs | 47 +++++++++++++++ ...onPaymentCreatePaymentMethodDataOptions.cs | 41 +++++++++++++ .../Services/GeneratedExamplesTest.cs | 1 - 158 files changed, 4663 insertions(+), 22 deletions(-) create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardStatusDetail.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThird.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardStatusDetail.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumer.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCeltic.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardStatusDetail.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBank.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardStatusDetail.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLead.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardStatusDetail.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTerms.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatform.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThird.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdBankTerms.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdPlatform.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumer.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolder.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCeltic.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePay.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTerms.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosures.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatform.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBank.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTerms.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosures.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatform.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolder.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePay.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTerms.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosures.cs create mode 100644 src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatform.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardFinancingDisclosuresOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePayOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions.cs create mode 100644 src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions.cs create mode 100644 src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataBillingDetailsOptions.cs create mode 100644 src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataCardOptions.cs create mode 100644 src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataOptions.cs diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index 77b34f8ed8..08298032c9 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -19c519d0ed9685226abc96a8f7a5364063a6f879 \ No newline at end of file +ca2c688052c7535c51858606efdc6855b0c1f6a9 \ No newline at end of file diff --git a/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions.cs b/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions.cs index 3f6839fb8f..a4442537e5 100644 --- a/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions.cs +++ b/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions.cs @@ -15,7 +15,7 @@ public class CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public long? Amount { get; set; } + public string Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs b/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs index 24a0082bdf..cef2e12a39 100644 --- a/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs +++ b/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs @@ -15,7 +15,7 @@ public class CollectionSettingVersionPaymentMethodOptionsCardMandateOptions : St #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public long? Amount { get; set; } + public string Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs b/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs index 05a993e08d..01806b6383 100644 --- a/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs +++ b/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs @@ -15,7 +15,7 @@ public class CollectionSettingPaymentMethodOptionsCardMandateOptions : StripeEnt #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public long? Amount { get; set; } + public string Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Entities/V2/Billing/IntentActions/IntentActionApplyEffectiveAt.cs b/src/Stripe.net/Entities/V2/Billing/IntentActions/IntentActionApplyEffectiveAt.cs index 51d5183acf..e35082a0f9 100644 --- a/src/Stripe.net/Entities/V2/Billing/IntentActions/IntentActionApplyEffectiveAt.cs +++ b/src/Stripe.net/Entities/V2/Billing/IntentActions/IntentActionApplyEffectiveAt.cs @@ -10,7 +10,8 @@ public class IntentActionApplyEffectiveAt : StripeEntity /// When the apply action will take effect. - /// One of: current_billing_period_end, or on_reserve. + /// One of: current_billing_period_end, next_billing_period_start, or + /// on_reserve. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Billing/LicenseFeeVersions/LicenseFeeVersionTransformQuantity.cs b/src/Stripe.net/Entities/V2/Billing/LicenseFeeVersions/LicenseFeeVersionTransformQuantity.cs index 1bf73a3c65..afec769e12 100644 --- a/src/Stripe.net/Entities/V2/Billing/LicenseFeeVersions/LicenseFeeVersionTransformQuantity.cs +++ b/src/Stripe.net/Entities/V2/Billing/LicenseFeeVersions/LicenseFeeVersionTransformQuantity.cs @@ -15,7 +15,7 @@ public class LicenseFeeVersionTransformQuantity : StripeEntity /// After division, round the result up or down. diff --git a/src/Stripe.net/Entities/V2/Billing/LicenseFees/LicenseFeeTransformQuantity.cs b/src/Stripe.net/Entities/V2/Billing/LicenseFees/LicenseFeeTransformQuantity.cs index d24b3bb05b..88b121768c 100644 --- a/src/Stripe.net/Entities/V2/Billing/LicenseFees/LicenseFeeTransformQuantity.cs +++ b/src/Stripe.net/Entities/V2/Billing/LicenseFees/LicenseFeeTransformQuantity.cs @@ -15,7 +15,7 @@ public class LicenseFeeTransformQuantity : StripeEntity /// After division, round the result up or down. diff --git a/src/Stripe.net/Entities/V2/Billing/RateCardRates/RateCardRateTransformQuantity.cs b/src/Stripe.net/Entities/V2/Billing/RateCardRates/RateCardRateTransformQuantity.cs index db2eb3517d..4db78e3b7a 100644 --- a/src/Stripe.net/Entities/V2/Billing/RateCardRates/RateCardRateTransformQuantity.cs +++ b/src/Stripe.net/Entities/V2/Billing/RateCardRates/RateCardRateTransformQuantity.cs @@ -15,7 +15,7 @@ public class RateCardRateTransformQuantity : StripeEntity /// After division, round the result up or down. diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilities.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilities.cs index 9f0e0f9a50..7882eb16d9 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilities.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilities.cs @@ -16,5 +16,14 @@ public class AccountConfigurationCardCreatorCapabilities : StripeEntity + /// Can create cards for consumer issuing use cases. + /// + [JsonProperty("consumer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("consumer")] +#endif + public AccountConfigurationCardCreatorCapabilitiesConsumer Consumer { get; set; } } } diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercial.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercial.cs index 5b8b3a5ad3..7f3a96f5f8 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercial.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercial.cs @@ -26,6 +26,15 @@ public class AccountConfigurationCardCreatorCapabilitiesCommercial : StripeEntit #endif public AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBank CrossRiverBank { get; set; } + /// + /// Can create commercial issuing cards with Fifth Third as a BIN sponsor. + /// + [JsonProperty("fifth_third")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fifth_third")] +#endif + public AccountConfigurationCardCreatorCapabilitiesCommercialFifthThird FifthThird { get; set; } + /// /// Can create commercial issuing cards with Lead as a BIN sponsor. /// diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBank.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBank.cs index d47c0c4d47..f9255288cd 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBank.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBank.cs @@ -17,6 +17,15 @@ public class AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBank #endif public AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankChargeCard ChargeCard { get; set; } + /// + /// Can create commercial issuing prepaid cards with Cross River Bank as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCard PrepaidCard { get; set; } + /// /// Can create commercial issuing spend cards with Cross River Bank as BIN sponsor. /// diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCard.cs new file mode 100644 index 0000000000..0a2f1e87d4 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCard.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCard : StripeEntity + { + /// + /// The status of the Capability. + /// One of: active, pending, restricted, or unsupported. + /// + [JsonProperty("status")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status")] +#endif + public string Status { get; set; } + + /// + /// Additional details about the capability's status. This value is empty when status + /// is active. + /// + [JsonProperty("status_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status_details")] +#endif + public List StatusDetails { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardStatusDetail.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardStatusDetail.cs new file mode 100644 index 0000000000..4d8a756e26 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardStatusDetail.cs @@ -0,0 +1,35 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardStatusDetail : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("code")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("resolution")] +#endif + public string Resolution { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThird.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThird.cs new file mode 100644 index 0000000000..30e85d5e88 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThird.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesCommercialFifthThird : StripeEntity + { + /// + /// Can create commercial issuing charge cards with Fifth Third Bank as BIN sponsor. + /// + [JsonProperty("charge_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("charge_card")] +#endif + public AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCard ChargeCard { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCard.cs new file mode 100644 index 0000000000..03e585dea8 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCard.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCard : StripeEntity + { + /// + /// The status of the Capability. + /// One of: active, pending, restricted, or unsupported. + /// + [JsonProperty("status")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status")] +#endif + public string Status { get; set; } + + /// + /// Additional details about the capability's status. This value is empty when status + /// is active. + /// + [JsonProperty("status_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status_details")] +#endif + public List StatusDetails { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardStatusDetail.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardStatusDetail.cs new file mode 100644 index 0000000000..b760121779 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardStatusDetail.cs @@ -0,0 +1,35 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardStatusDetail : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("code")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("resolution")] +#endif + public string Resolution { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumer.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumer.cs new file mode 100644 index 0000000000..8b18eb90b8 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumer.cs @@ -0,0 +1,38 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesConsumer : StripeEntity + { + /// + /// Can create consumer issuing cards with Celtic as BIN sponsor. + /// + [JsonProperty("celtic")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("celtic")] +#endif + public AccountConfigurationCardCreatorCapabilitiesConsumerCeltic Celtic { get; set; } + + /// + /// Can create consumer issuing cards with Cross River Bank as BIN sponsor. + /// + [JsonProperty("cross_river_bank")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("cross_river_bank")] +#endif + public AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBank CrossRiverBank { get; set; } + + /// + /// Can create consumer issuing cards with Lead as BIN sponsor. + /// + [JsonProperty("lead")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("lead")] +#endif + public AccountConfigurationCardCreatorCapabilitiesConsumerLead Lead { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCeltic.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCeltic.cs new file mode 100644 index 0000000000..ca7f509e85 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCeltic.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesConsumerCeltic : StripeEntity + { + /// + /// Can create consumer issuing charge cards with Celtic as BIN sponsor. + /// + [JsonProperty("revolving_credit_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("revolving_credit_card")] +#endif + public AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCard RevolvingCreditCard { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCard.cs new file mode 100644 index 0000000000..8c9e50fb8d --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCard.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCard : StripeEntity + { + /// + /// The status of the Capability. + /// One of: active, pending, restricted, or unsupported. + /// + [JsonProperty("status")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status")] +#endif + public string Status { get; set; } + + /// + /// Additional details about the capability's status. This value is empty when status + /// is active. + /// + [JsonProperty("status_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status_details")] +#endif + public List StatusDetails { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardStatusDetail.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardStatusDetail.cs new file mode 100644 index 0000000000..945174ba29 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardStatusDetail.cs @@ -0,0 +1,35 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardStatusDetail : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("code")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("resolution")] +#endif + public string Resolution { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBank.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBank.cs new file mode 100644 index 0000000000..a4d4c7b60f --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBank.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBank : StripeEntity + { + /// + /// Can create consumer issuing prepaid cards with Cross River Bank as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCard PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCard.cs new file mode 100644 index 0000000000..963d69f037 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCard.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCard : StripeEntity + { + /// + /// The status of the Capability. + /// One of: active, pending, restricted, or unsupported. + /// + [JsonProperty("status")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status")] +#endif + public string Status { get; set; } + + /// + /// Additional details about the capability's status. This value is empty when status + /// is active. + /// + [JsonProperty("status_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status_details")] +#endif + public List StatusDetails { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardStatusDetail.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardStatusDetail.cs new file mode 100644 index 0000000000..bbd2df11a0 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardStatusDetail.cs @@ -0,0 +1,35 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardStatusDetail : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("code")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("resolution")] +#endif + public string Resolution { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLead.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLead.cs new file mode 100644 index 0000000000..9ddef94602 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLead.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesConsumerLead : StripeEntity + { + /// + /// Can create consumer issuing prepaid cards with Lead as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard.cs new file mode 100644 index 0000000000..452ded5f1d --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard : StripeEntity + { + /// + /// The status of the Capability. + /// One of: active, pending, restricted, or unsupported. + /// + [JsonProperty("status")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status")] +#endif + public string Status { get; set; } + + /// + /// Additional details about the capability's status. This value is empty when status + /// is active. + /// + [JsonProperty("status_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status_details")] +#endif + public List StatusDetails { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardStatusDetail.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardStatusDetail.cs new file mode 100644 index 0000000000..131de77ffb --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardStatusDetail.cs @@ -0,0 +1,35 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardStatusDetail : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("code")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("resolution")] +#endif + 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 395f70c5c9..8d7cb4dada 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountFutureRequirementsEntryImpactRestrictsCapability.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountFutureRequirementsEntryImpactRestrictsCapability.cs @@ -19,9 +19,13 @@ public class AccountFutureRequirementsEntryImpactRestrictsCapability : StripeEnt /// cartes_bancaires_payments, cashapp_payments, /// commercial.celtic.charge_card, commercial.celtic.spend_card, /// commercial.cross_river_bank.charge_card, - /// commercial.cross_river_bank.spend_card, commercial.lead.prepaid_card, + /// commercial.cross_river_bank.prepaid_card, + /// commercial.cross_river_bank.spend_card, + /// commercial.fifth_third.charge_card, commercial.lead.prepaid_card, /// commercial.stripe.charge_card, commercial.stripe.prepaid_card, - /// consumer.holds_currencies.usd, crypto, eps_payments, + /// consumer.celtic.revolving_credit_card, + /// consumer.cross_river_bank.prepaid_card, consumer.holds_currencies.usd, + /// consumer.lead.prepaid_card, crypto, 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, diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreator.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreator.cs index 195c2819e8..3d351ef603 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreator.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreator.cs @@ -16,5 +16,14 @@ public class AccountIdentityAttestationsTermsOfServiceCardCreator : StripeEntity [STJS.JsonPropertyName("commercial")] #endif public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercial Commercial { get; set; } + + /// + /// Terms of service acceptances to create cards for consumer issuing use cases. + /// + [JsonProperty("consumer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("consumer")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumer Consumer { get; set; } } } diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercial.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercial.cs index ad5a1a2aa5..9ceb8e8c54 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercial.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercial.cs @@ -36,6 +36,16 @@ public class AccountIdentityAttestationsTermsOfServiceCardCreatorCommercial : St #endif public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBank CrossRiverBank { get; set; } + /// + /// Terms of service acceptances for commercial issuing cards with Fifth Third as BIN + /// sponsor. + /// + [JsonProperty("fifth_third")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fifth_third")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThird FifthThird { get; set; } + /// /// Terms of service acceptances for Stripe commercial card Global issuing. /// diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBank.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBank.cs index bed287c1cc..89638d0559 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBank.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBank.cs @@ -28,6 +28,16 @@ public class AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCross #endif public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankChargeCard ChargeCard { get; set; } + /// + /// Terms of service acceptances for commercial issuing prepaid cards with Cross River Bank + /// as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCard PrepaidCard { get; set; } + /// /// Terms of service acceptances for commercial issuing spend cards with Cross River Bank as /// BIN sponsor. diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCard.cs new file mode 100644 index 0000000000..ff88b470a2 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCard.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCard : StripeEntity + { + /// + /// Bank terms of service acceptance for commercial Global issuing prepaid cards with Cross + /// River Bank as BIN sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTerms BankTerms { get; set; } + + /// + /// Platform terms of service acceptance for commercial Global issuing prepaid cards with + /// Cross River Bank as BIN sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatform Platform { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTerms.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTerms.cs new file mode 100644 index 0000000000..eef15ba839 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTerms.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTerms : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatform.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatform.cs new file mode 100644 index 0000000000..ae80d19ea3 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatform.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatform : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThird.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThird.cs new file mode 100644 index 0000000000..73bacf3c8c --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThird.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThird : StripeEntity + { + /// + /// Bank terms of service acceptance for commercial issuing charge cards with Fifth Third as + /// BIN sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdBankTerms BankTerms { get; set; } + + /// + /// Platform terms of service acceptance for commercial issuing charge cards with Fifth + /// Third as BIN sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdPlatform Platform { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdBankTerms.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdBankTerms.cs new file mode 100644 index 0000000000..24827f41c2 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdBankTerms.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdBankTerms : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdPlatform.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdPlatform.cs new file mode 100644 index 0000000000..db6c95c29c --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdPlatform.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdPlatform : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumer.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumer.cs new file mode 100644 index 0000000000..d4cecdad0a --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumer.cs @@ -0,0 +1,57 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumer : StripeEntity + { + /// + /// Terms of service acceptances for Stripe commercial card issuing. + /// + [JsonProperty("account_holder")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("account_holder")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolder AccountHolder { get; set; } + + /// + /// Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor. + /// + [JsonProperty("celtic")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("celtic")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCeltic Celtic { get; set; } + + /// + /// Terms of service acceptances for consumer issuing cards with Cross River Bank as BIN + /// sponsor. + /// + [JsonProperty("cross_river_bank")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("cross_river_bank")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBank CrossRiverBank { get; set; } + + /// + /// Terms of service acceptances for Stripe commercial card Global issuing. + /// + [JsonProperty("global_account_holder")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("global_account_holder")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolder GlobalAccountHolder { get; set; } + + /// + /// Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor. + /// + [JsonProperty("lead")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("lead")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead Lead { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolder.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolder.cs new file mode 100644 index 0000000000..222e80b07a --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolder.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolder : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCeltic.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCeltic.cs new file mode 100644 index 0000000000..94e5c8b361 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCeltic.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCeltic : StripeEntity + { + /// + /// Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN + /// sponsor. + /// + [JsonProperty("apple_pay")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("apple_pay")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePay ApplePay { get; set; } + + /// + /// Terms of service acceptances for commercial issuing revolving credit cards with Celtic + /// as BIN sponsor. + /// + [JsonProperty("revolving_credit_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("revolving_credit_card")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCard RevolvingCreditCard { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePay.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePay.cs new file mode 100644 index 0000000000..9f84a90553 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePay.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePay : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCard.cs new file mode 100644 index 0000000000..e9ef87fd15 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCard.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCard : StripeEntity + { + /// + /// Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN + /// sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTerms BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for commercial issuing spend cards + /// with Celtic as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financing_disclosures")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosures FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for commercial issuing spend cards with Celtic as + /// BIN sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatform Platform { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTerms.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTerms.cs new file mode 100644 index 0000000000..f41afb9419 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTerms.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTerms : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosures.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosures.cs new file mode 100644 index 0000000000..bc6b02576f --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosures.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosures : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatform.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatform.cs new file mode 100644 index 0000000000..01f54cfa43 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatform.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatform : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBank.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBank.cs new file mode 100644 index 0000000000..0bfae2ea55 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBank.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBank : StripeEntity + { + /// + /// Terms of service acceptances for consumer issuing prepaid cards with Cross River Bank as + /// BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCard PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCard.cs new file mode 100644 index 0000000000..3e4e186509 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCard.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCard : StripeEntity + { + /// + /// Bank terms of service acceptance for consumer issuing prepaid cards with Cross River + /// Bank as BIN sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTerms BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing prepaid cards + /// with Cross River Bank as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financing_disclosures")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosures FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing prepaid cards with Cross River + /// Bank as BIN sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatform Platform { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTerms.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTerms.cs new file mode 100644 index 0000000000..7b28030616 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTerms.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTerms : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosures.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosures.cs new file mode 100644 index 0000000000..838df97ace --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosures.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosures : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatform.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatform.cs new file mode 100644 index 0000000000..d9a20d972d --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatform.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatform : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolder.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolder.cs new file mode 100644 index 0000000000..cd6af20a18 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolder.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolder : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead.cs new file mode 100644 index 0000000000..19ee4f87f0 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLead : StripeEntity + { + /// + /// Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("apple_pay")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("apple_pay")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePay ApplePay { get; set; } + + /// + /// Terms of service acceptances for commercial issuing revolving credit cards with Lead as + /// BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePay.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePay.cs new file mode 100644 index 0000000000..1167168cb8 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePay.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePay : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard.cs new file mode 100644 index 0000000000..cadecdce3f --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard : StripeEntity + { + /// + /// Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTerms BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing prepaid cards + /// with Lead as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financing_disclosures")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosures FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing prepaid cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatform Platform { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTerms.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTerms.cs new file mode 100644 index 0000000000..3324750e8c --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTerms.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTerms : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosures.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosures.cs new file mode 100644 index 0000000000..ad412044cf --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosures.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosures : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatform.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatform.cs new file mode 100644 index 0000000000..9d3c653704 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatform.cs @@ -0,0 +1,51 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatform : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + public string Ip { get; set; } + + /// + /// The URL to the service agreement the Account's representative accepted. + /// + [JsonProperty("url")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("url")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + 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 aeb2cf6bd9..9844cd6f3b 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsCapability.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntryImpactRestrictsCapability.cs @@ -19,9 +19,13 @@ public class AccountRequirementsEntryImpactRestrictsCapability : StripeEntitycartes_bancaires_payments, cashapp_payments, /// commercial.celtic.charge_card, commercial.celtic.spend_card, /// commercial.cross_river_bank.charge_card, - /// commercial.cross_river_bank.spend_card, commercial.lead.prepaid_card, + /// commercial.cross_river_bank.prepaid_card, + /// commercial.cross_river_bank.spend_card, + /// commercial.fifth_third.charge_card, commercial.lead.prepaid_card, /// commercial.stripe.charge_card, commercial.stripe.prepaid_card, - /// consumer.holds_currencies.usd, crypto, eps_payments, + /// consumer.celtic.revolving_credit_card, + /// consumer.cross_river_bank.prepaid_card, consumer.holds_currencies.usd, + /// consumer.lead.prepaid_card, crypto, 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, diff --git a/src/Stripe.net/Entities/V2/Reporting/ReportRuns/ReportRunResultFile.cs b/src/Stripe.net/Entities/V2/Reporting/ReportRuns/ReportRunResultFile.cs index b6a0372eb2..7cfef84a23 100644 --- a/src/Stripe.net/Entities/V2/Reporting/ReportRuns/ReportRunResultFile.cs +++ b/src/Stripe.net/Entities/V2/Reporting/ReportRuns/ReportRunResultFile.cs @@ -34,6 +34,6 @@ public class ReportRunResultFile : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("size")] #endif - public long Size { get; set; } + public string Size { get; set; } } } diff --git a/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventData.cs b/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventData.cs index 783562f041..668c71ff3b 100644 --- a/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventData.cs +++ b/src/Stripe.net/Events/V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventData.cs @@ -13,8 +13,12 @@ public class V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdat /// Open Enum. The capability which had its status updated. /// One of: commercial.celtic.charge_card, commercial.celtic.spend_card, /// commercial.cross_river_bank.charge_card, - /// commercial.cross_river_bank.spend_card, commercial.lead.prepaid_card, - /// commercial.stripe.charge_card, or commercial.stripe.prepaid_card. + /// commercial.cross_river_bank.prepaid_card, + /// commercial.cross_river_bank.spend_card, + /// 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. /// [JsonProperty("updated_capability")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingCreatePaymentMethodOptionsCardMandateOptionsOptions.cs b/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingCreatePaymentMethodOptionsCardMandateOptionsOptions.cs index 7828224beb..f778a1934c 100644 --- a/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingCreatePaymentMethodOptionsCardMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingCreatePaymentMethodOptionsCardMandateOptionsOptions.cs @@ -15,7 +15,7 @@ public class CollectionSettingCreatePaymentMethodOptionsCardMandateOptionsOption #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public long? Amount { get; set; } + public string Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsOptions.cs b/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsOptions.cs index 1a251d3dd6..d6bf4f7874 100644 --- a/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsOptions.cs @@ -15,7 +15,7 @@ public class CollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsOption #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public long? Amount { get; set; } + public string Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Services/V2/Billing/Intents/IntentCreateActionApplyEffectiveAtOptions.cs b/src/Stripe.net/Services/V2/Billing/Intents/IntentCreateActionApplyEffectiveAtOptions.cs index f7260182f7..605967a72a 100644 --- a/src/Stripe.net/Services/V2/Billing/Intents/IntentCreateActionApplyEffectiveAtOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/Intents/IntentCreateActionApplyEffectiveAtOptions.cs @@ -10,7 +10,8 @@ public class IntentCreateActionApplyEffectiveAtOptions : INestedOptions { /// /// When the apply action will take effect. - /// One of: current_billing_period_end, or on_reserve. + /// One of: current_billing_period_end, next_billing_period_start, or + /// on_reserve. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeCreateTransformQuantityOptions.cs b/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeCreateTransformQuantityOptions.cs index 3ac48fdf2c..e5d6fbe715 100644 --- a/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeCreateTransformQuantityOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeCreateTransformQuantityOptions.cs @@ -15,7 +15,7 @@ public class LicenseFeeCreateTransformQuantityOptions : INestedOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("divide_by")] #endif - public long? DivideBy { get; set; } + public string DivideBy { get; set; } /// /// After division, round the result up or down. diff --git a/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeUpdateTransformQuantityOptions.cs b/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeUpdateTransformQuantityOptions.cs index 70d5350d12..8c9795ddb4 100644 --- a/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeUpdateTransformQuantityOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeUpdateTransformQuantityOptions.cs @@ -15,7 +15,7 @@ public class LicenseFeeUpdateTransformQuantityOptions : INestedOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("divide_by")] #endif - public long? DivideBy { get; set; } + public string DivideBy { get; set; } /// /// After division, round the result up or down. diff --git a/src/Stripe.net/Services/V2/Billing/RateCards/Rates/RateCreateTransformQuantityOptions.cs b/src/Stripe.net/Services/V2/Billing/RateCards/Rates/RateCreateTransformQuantityOptions.cs index e152c5bfba..0fce24057b 100644 --- a/src/Stripe.net/Services/V2/Billing/RateCards/Rates/RateCreateTransformQuantityOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/RateCards/Rates/RateCreateTransformQuantityOptions.cs @@ -15,7 +15,7 @@ public class RateCreateTransformQuantityOptions : INestedOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("divide_by")] #endif - public long? DivideBy { get; set; } + public string DivideBy { get; set; } /// /// After division, round the result up or down. diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankOptions.cs index f8e1fcf2f5..8fedb9855d 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankOptions.cs @@ -17,6 +17,15 @@ public class AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiv #endif public AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankChargeCardOptions ChargeCard { get; set; } + /// + /// Can create commercial issuing prepaid cards with Cross River Bank as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions PrepaidCard { get; set; } + /// /// Can create commercial issuing spend cards with Cross River Bank as BIN sponsor. /// diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions.cs new file mode 100644 index 0000000000..820e4a28f9 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("requested")] +#endif + public bool? Requested { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions.cs new file mode 100644 index 0000000000..dcf66302e5 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("requested")] +#endif + public bool? Requested { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions.cs new file mode 100644 index 0000000000..dcaeb218ee --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions : INestedOptions + { + /// + /// Can create commercial issuing charge cards with Fifth Third as BIN sponsor. + /// + [JsonProperty("charge_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("charge_card")] +#endif + public AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions ChargeCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialOptions.cs index 2e82e51964..a3c91939c3 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesCommercialOptions.cs @@ -26,6 +26,15 @@ public class AccountCreateConfigurationCardCreatorCapabilitiesCommercialOptions #endif public AccountCreateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankOptions CrossRiverBank { get; set; } + /// + /// Can create commercial issuing cards with Fifth Third as BIN sponsor. + /// + [JsonProperty("fifth_third")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fifth_third")] +#endif + public AccountCreateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions FifthThird { get; set; } + /// /// Can create commercial issuing cards with Stripe as BIN sponsor. /// diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticOptions.cs new file mode 100644 index 0000000000..0471f066d5 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticOptions : INestedOptions + { + /// + /// Can create consumer issuing charge cards with Celtic as BIN sponsor. + /// + [JsonProperty("revolving_credit_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("revolving_credit_card")] +#endif + public AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions RevolvingCreditCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions.cs new file mode 100644 index 0000000000..008a7623ce --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("requested")] +#endif + public bool? Requested { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions.cs new file mode 100644 index 0000000000..734287cb25 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions : INestedOptions + { + /// + /// Can create consumer issuing prepaid cards with Cross River Bank as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions.cs new file mode 100644 index 0000000000..85a488cf9d --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("requested")] +#endif + 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 new file mode 100644 index 0000000000..c199671340 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadOptions : INestedOptions + { + /// + /// Can create consumer issuing prepaid cards with Lead as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions.cs new file mode 100644 index 0000000000..c12b3a15c6 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("requested")] +#endif + public bool? Requested { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerOptions.cs new file mode 100644 index 0000000000..d3f2f75ad1 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesConsumerOptions.cs @@ -0,0 +1,38 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateConfigurationCardCreatorCapabilitiesConsumerOptions : INestedOptions + { + /// + /// Can create consumer issuing cards with Celtic as BIN sponsor. + /// + [JsonProperty("celtic")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("celtic")] +#endif + public AccountCreateConfigurationCardCreatorCapabilitiesConsumerCelticOptions Celtic { get; set; } + + /// + /// Can create consumer issuing cards with Cross River Bank as BIN sponsor. + /// + [JsonProperty("cross_river_bank")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("cross_river_bank")] +#endif + public AccountCreateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions CrossRiverBank { get; set; } + + /// + /// Can create consumer issuing cards with Lead as BIN sponsor. + /// + [JsonProperty("lead")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("lead")] +#endif + public AccountCreateConfigurationCardCreatorCapabilitiesConsumerLeadOptions Lead { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesOptions.cs index b76b36237e..ef93c4ad94 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCardCreatorCapabilitiesOptions.cs @@ -16,5 +16,14 @@ public class AccountCreateConfigurationCardCreatorCapabilitiesOptions : INestedO [STJS.JsonPropertyName("commercial")] #endif public AccountCreateConfigurationCardCreatorCapabilitiesCommercialOptions Commercial { get; set; } + + /// + /// Can create cards for consumer issuing use cases. + /// + [JsonProperty("consumer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("consumer")] +#endif + public AccountCreateConfigurationCardCreatorCapabilitiesConsumerOptions Consumer { get; set; } } } diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankOptions.cs index 32293b3861..99c4c0f5fd 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankOptions.cs @@ -28,6 +28,16 @@ public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercia #endif public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankChargeCardOptions ChargeCard { get; set; } + /// + /// Terms of service acceptances for commercial issuing prepaid cards with Cross River Bank + /// as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions PrepaidCard { get; set; } + /// /// Terms of service acceptances for commercial issuing spend cards with Cross River Bank as /// BIN sponsor. diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions.cs new file mode 100644 index 0000000000..47039edf15 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions.cs new file mode 100644 index 0000000000..42c8449145 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for commercial issuing prepaid cards with Cross River + /// Bank as BIN sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions BankTerms { get; set; } + + /// + /// Platform terms of service acceptance for commercial issuing prepaid cards with Cross + /// River Bank as BIN sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions.cs new file mode 100644 index 0000000000..e72cd93b81 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions.cs new file mode 100644 index 0000000000..71d9d9b010 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions.cs new file mode 100644 index 0000000000..aa0f7247a8 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardFinancingDisclosuresOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardFinancingDisclosuresOptions.cs new file mode 100644 index 0000000000..adc5890b6a --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardFinancingDisclosuresOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardFinancingDisclosuresOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions.cs new file mode 100644 index 0000000000..cb547a85e1 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for commercial issuing charge cards with Fifth Third as + /// BIN sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for commercial issuing charge cards + /// with Fifth Third as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financing_disclosures")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardFinancingDisclosuresOptions FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for commercial issuing charge cards with Fifth + /// Third as BIN sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions.cs new file mode 100644 index 0000000000..f0d5905bbb --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions.cs new file mode 100644 index 0000000000..1579217e7b --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions : INestedOptions + { + /// + /// Terms of service acceptances for commercial issuing Apple Pay cards with Fifth Third as + /// BIN sponsor. + /// + [JsonProperty("apple_pay")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("apple_pay")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions ApplePay { get; set; } + + /// + /// Terms of service acceptances for commercial issuing charge cards with Fifth Third as BIN + /// sponsor. + /// + [JsonProperty("charge_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("charge_card")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions ChargeCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialOptions.cs index 2628d05a28..77e75594f4 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialOptions.cs @@ -36,6 +36,16 @@ public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercia #endif public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankOptions CrossRiverBank { get; set; } + /// + /// Terms of service acceptances for commercial issuing cards with Fifth Third as BIN + /// sponsor. + /// + [JsonProperty("fifth_third")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fifth_third")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions FifthThird { get; set; } + /// /// Terms of service acceptances for Stripe commercial card Global issuing. /// diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions.cs new file mode 100644 index 0000000000..30d4002b5c --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions.cs new file mode 100644 index 0000000000..690a467ac9 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions.cs new file mode 100644 index 0000000000..836318d131 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions : INestedOptions + { + /// + /// Terms of service acceptances for consumer issuing Apple Pay cards with Celtic as BIN + /// sponsor. + /// + [JsonProperty("apple_pay")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("apple_pay")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions ApplePay { get; set; } + + /// + /// Terms of service acceptances for consumer issuing charge cards with Celtic as BIN + /// sponsor. + /// + [JsonProperty("revolving_credit_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("revolving_credit_card")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions RevolvingCreditCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions.cs new file mode 100644 index 0000000000..1002cd3c93 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions.cs new file mode 100644 index 0000000000..b643435126 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions.cs new file mode 100644 index 0000000000..3fe4c2c121 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for consumer issuing spend cards with Celtic as BIN + /// sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing spend cards with + /// Celtic as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financing_disclosures")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing spend cards with Celtic as BIN + /// sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions.cs new file mode 100644 index 0000000000..be21b94baa --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions.cs new file mode 100644 index 0000000000..c3dc7ead58 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions : INestedOptions + { + /// + /// Terms of service acceptances for consumer issuing prepaid cards with Cross River Bank as + /// BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions.cs new file mode 100644 index 0000000000..09d1beaf04 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions.cs new file mode 100644 index 0000000000..b262e5a4a3 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions.cs new file mode 100644 index 0000000000..e12769ab2e --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for consumer issuing prepaid cards with Cross River + /// Bank as BIN sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing prepaid cards + /// with Cross River Bank as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financing_disclosures")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing prepaid cards with Cross River + /// Bank as BIN sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions.cs new file mode 100644 index 0000000000..ba53075d29 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions.cs new file mode 100644 index 0000000000..ff138f993f --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + 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 new file mode 100644 index 0000000000..eb5cde9746 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions : INestedOptions + { + /// + /// Terms of service acceptances for consumer issuing prepaid cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions.cs new file mode 100644 index 0000000000..01e7fea320 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions.cs new file mode 100644 index 0000000000..5ff9c7fe42 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions.cs new file mode 100644 index 0000000000..eeb91a4d13 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing prepaid cards + /// with Lead as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financing_disclosures")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing prepaid cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions.cs new file mode 100644 index 0000000000..785c8079f3 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions.cs new file mode 100644 index 0000000000..1deaadd2d2 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions.cs @@ -0,0 +1,57 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions : INestedOptions + { + /// + /// Terms of service acceptances for Stripe consumer card issuing. + /// + [JsonProperty("account_holder")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("account_holder")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions AccountHolder { get; set; } + + /// + /// Terms of service acceptances for consumer issuing cards with Celtic as BIN sponsor. + /// + [JsonProperty("celtic")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("celtic")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions Celtic { get; set; } + + /// + /// Terms of service acceptances for consumer issuing cards with Cross River Bank as BIN + /// sponsor. + /// + [JsonProperty("cross_river_bank")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("cross_river_bank")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions CrossRiverBank { get; set; } + + /// + /// Terms of service acceptances for Stripe consumer card Global issuing. + /// + [JsonProperty("global_account_holder")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("global_account_holder")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions GlobalAccountHolder { get; set; } + + /// + /// Terms of service acceptances for consumer issuing cards with Lead as BIN sponsor. + /// + [JsonProperty("lead")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("lead")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions Lead { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorOptions.cs index ddc65a9ec0..db7fdf51d8 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityAttestationsTermsOfServiceCardCreatorOptions.cs @@ -16,5 +16,14 @@ public class AccountCreateIdentityAttestationsTermsOfServiceCardCreatorOptions : [STJS.JsonPropertyName("commercial")] #endif public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorCommercialOptions Commercial { get; set; } + + /// + /// Terms of service acceptances to create cards for consumer issuing use cases. + /// + [JsonProperty("consumer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("consumer")] +#endif + public AccountCreateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions Consumer { get; set; } } } diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankOptions.cs index b79b3975ca..87f3fd7459 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankOptions.cs @@ -17,6 +17,15 @@ public class AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiv #endif public AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankChargeCardOptions ChargeCard { get; set; } + /// + /// Can create commercial issuing prepaid cards with Cross River Bank as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions PrepaidCard { get; set; } + /// /// Can create commercial issuing spend cards with Cross River Bank as BIN sponsor. /// diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions.cs new file mode 100644 index 0000000000..67481c91c4 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankPrepaidCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("requested")] +#endif + public bool? Requested { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions.cs new file mode 100644 index 0000000000..ed33acc06f --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("requested")] +#endif + public bool? Requested { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions.cs new file mode 100644 index 0000000000..72ed95ae98 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions : INestedOptions + { + /// + /// Can create commercial issuing charge cards with Fifth Third as BIN sponsor. + /// + [JsonProperty("charge_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("charge_card")] +#endif + public AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdChargeCardOptions ChargeCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialOptions.cs index c50fe7a8dc..01b68ea5a7 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesCommercialOptions.cs @@ -26,6 +26,15 @@ public class AccountUpdateConfigurationCardCreatorCapabilitiesCommercialOptions #endif public AccountUpdateConfigurationCardCreatorCapabilitiesCommercialCrossRiverBankOptions CrossRiverBank { get; set; } + /// + /// Can create commercial issuing cards with Fifth Third as BIN sponsor. + /// + [JsonProperty("fifth_third")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fifth_third")] +#endif + public AccountUpdateConfigurationCardCreatorCapabilitiesCommercialFifthThirdOptions FifthThird { get; set; } + /// /// Can create commercial issuing cards with Lead as BIN sponsor. /// diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticOptions.cs new file mode 100644 index 0000000000..6f50fc0feb --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticOptions : INestedOptions + { + /// + /// Can create consumer issuing revolving credit cards with Celtic as BIN sponsor. + /// + [JsonProperty("revolving_credit_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("revolving_credit_card")] +#endif + public AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions RevolvingCreditCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions.cs new file mode 100644 index 0000000000..0da2e11db0 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticRevolvingCreditCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("requested")] +#endif + public bool? Requested { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions.cs new file mode 100644 index 0000000000..e0ac4745bd --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions : INestedOptions + { + /// + /// Can create consumer issuing prepaid cards with Cross River Bank as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions.cs new file mode 100644 index 0000000000..9845527bf1 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("requested")] +#endif + 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 new file mode 100644 index 0000000000..01d314ca6b --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadOptions : INestedOptions + { + /// + /// Can create consumer issuing prepaid cards with Lead as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions.cs new file mode 100644 index 0000000000..9c472aaba7 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCardOptions : INestedOptions + { + /// + /// To request a new Capability for an account, pass true. There can be a delay before the + /// requested Capability becomes active. + /// + [JsonProperty("requested")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("requested")] +#endif + public bool? Requested { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerOptions.cs new file mode 100644 index 0000000000..fcb0766a69 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesConsumerOptions.cs @@ -0,0 +1,38 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateConfigurationCardCreatorCapabilitiesConsumerOptions : INestedOptions + { + /// + /// Can create consumer issuing cards with Celtic as BIN sponsor. + /// + [JsonProperty("celtic")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("celtic")] +#endif + public AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCelticOptions Celtic { get; set; } + + /// + /// Can create consumer issuing cards with Cross River Bank as BIN sponsor. + /// + [JsonProperty("cross_river_bank")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("cross_river_bank")] +#endif + public AccountUpdateConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankOptions CrossRiverBank { get; set; } + + /// + /// Can create consumer issuing cards with Lead as BIN sponsor. + /// + [JsonProperty("lead")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("lead")] +#endif + public AccountUpdateConfigurationCardCreatorCapabilitiesConsumerLeadOptions Lead { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesOptions.cs index ca4c630d69..d349532d5a 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCardCreatorCapabilitiesOptions.cs @@ -16,5 +16,14 @@ public class AccountUpdateConfigurationCardCreatorCapabilitiesOptions : INestedO [STJS.JsonPropertyName("commercial")] #endif public AccountUpdateConfigurationCardCreatorCapabilitiesCommercialOptions Commercial { get; set; } + + /// + /// Can create cards for consumer issuing use cases. + /// + [JsonProperty("consumer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("consumer")] +#endif + public AccountUpdateConfigurationCardCreatorCapabilitiesConsumerOptions Consumer { get; set; } } } diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankOptions.cs index c5b86380ff..06f2a25d07 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankOptions.cs @@ -28,6 +28,16 @@ public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercia #endif public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankChargeCardOptions ChargeCard { get; set; } + /// + /// Terms of service acceptances for commercial issuing prepaid cards with Cross River Bank + /// as BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions PrepaidCard { get; set; } + /// /// Terms of service acceptances for commercial issuing spend cards with Cross River Bank as /// BIN sponsor. diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions.cs new file mode 100644 index 0000000000..7e5ef5ae8c --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions.cs new file mode 100644 index 0000000000..2f548dc2d9 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for commercial issuing prepaid cards with Cross River + /// Bank as BIN sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardBankTermsOptions BankTerms { get; set; } + + /// + /// Platform terms of service acceptance for commercial issuing prepaid cards with Cross + /// River Bank as BIN sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions.cs new file mode 100644 index 0000000000..e8f346c1cd --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankPrepaidCardPlatformOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions.cs new file mode 100644 index 0000000000..7f8c75b010 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions.cs new file mode 100644 index 0000000000..660da85cb2 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions.cs new file mode 100644 index 0000000000..aa6eb5f6f0 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for commercial issuing charge cards with Fifth Third as + /// BIN sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardBankTermsOptions BankTerms { get; set; } + + /// + /// Platform terms of service acceptance for commercial issuing charge cards with Fifth + /// Third as BIN sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions.cs new file mode 100644 index 0000000000..a18cb18aa3 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardPlatformOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions.cs new file mode 100644 index 0000000000..aa67ad2302 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions : INestedOptions + { + /// + /// Terms of service acceptances for commercial issuing Apple Pay cards with Fifth Third as + /// BIN sponsor. + /// + [JsonProperty("apple_pay")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("apple_pay")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdApplePayOptions ApplePay { get; set; } + + /// + /// Terms of service acceptances for commercial issuing charge cards with Fifth Third as BIN + /// sponsor. + /// + [JsonProperty("charge_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("charge_card")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdChargeCardOptions ChargeCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialOptions.cs index 22f0935813..aec351eb63 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialOptions.cs @@ -36,6 +36,16 @@ public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercia #endif public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBankOptions CrossRiverBank { get; set; } + /// + /// Terms of service acceptances for commercial issuing cards with Fifth Third as BIN + /// sponsor. + /// + [JsonProperty("fifth_third")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fifth_third")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialFifthThirdOptions FifthThird { get; set; } + /// /// Terms of service acceptances for Stripe commercial card Global issuing. /// diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions.cs new file mode 100644 index 0000000000..81b3d10665 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions.cs new file mode 100644 index 0000000000..7f40a4d3f0 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions.cs new file mode 100644 index 0000000000..3946360296 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions : INestedOptions + { + /// + /// Terms of service acceptances for consumer issuing Apple Pay cards with Celtic as BIN + /// sponsor. + /// + [JsonProperty("apple_pay")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("apple_pay")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticApplePayOptions ApplePay { get; set; } + + /// + /// Terms of service acceptances for consumer issuing revolving credit cards with Celtic as + /// BIN sponsor. + /// + [JsonProperty("revolving_credit_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("revolving_credit_card")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions RevolvingCreditCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions.cs new file mode 100644 index 0000000000..31c4243a92 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions.cs new file mode 100644 index 0000000000..e2240fe98b --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions.cs new file mode 100644 index 0000000000..d80e03d3d5 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for consumer issuing spend cards with Celtic as BIN + /// sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardBankTermsOptions BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing spend cards with + /// Celtic as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financing_disclosures")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardFinancingDisclosuresOptions FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing spend cards with Celtic as BIN + /// sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions.cs new file mode 100644 index 0000000000..75caafd763 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticRevolvingCreditCardPlatformOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions.cs new file mode 100644 index 0000000000..0873016c64 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions : INestedOptions + { + /// + /// Terms of service acceptances for consumer issuing prepaid cards with Cross River Bank as + /// BIN sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions.cs new file mode 100644 index 0000000000..5db1a2fdbc --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions.cs new file mode 100644 index 0000000000..0dad7ee2cd --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions.cs new file mode 100644 index 0000000000..e76c6f0e9f --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for consumer issuing prepaid cards with Cross River + /// Bank as BIN sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardBankTermsOptions BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing prepaid cards + /// with Cross River Bank as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financing_disclosures")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardFinancingDisclosuresOptions FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing prepaid cards with Cross River + /// Bank as BIN sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions.cs new file mode 100644 index 0000000000..f7ae75a9b3 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatformOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions.cs new file mode 100644 index 0000000000..d579c7ddc8 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePayOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePayOptions.cs new file mode 100644 index 0000000000..d45f8af45d --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePayOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePayOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + 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 new file mode 100644 index 0000000000..551e6cb2be --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions.cs @@ -0,0 +1,31 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions : INestedOptions + { + /// + /// Terms of service acceptances for consumer issuing Apple Pay cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("apple_pay")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("apple_pay")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePayOptions ApplePay { get; set; } + + /// + /// Terms of service acceptances for consumer issuing prepaid cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("prepaid_card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("prepaid_card")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions PrepaidCard { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions.cs new file mode 100644 index 0000000000..3effef40fd --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions.cs new file mode 100644 index 0000000000..067f8bb5d8 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions.cs new file mode 100644 index 0000000000..f05c2f43f6 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardOptions : INestedOptions + { + /// + /// Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("bank_terms")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bank_terms")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTermsOptions BankTerms { get; set; } + + /// + /// Financial disclosures terms of service acceptance for consumer issuing prepaid cards + /// with Lead as BIN sponsor. + /// + [JsonProperty("financing_disclosures")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financing_disclosures")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosuresOptions FinancingDisclosures { get; set; } + + /// + /// Platform terms of service acceptance for consumer issuing prepaid cards with Lead as BIN + /// sponsor. + /// + [JsonProperty("platform")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("platform")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions Platform { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions.cs new file mode 100644 index 0000000000..253f644a15 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using System; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardPlatformOptions : 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("date")] +#endif + public DateTime? Date { get; set; } + + /// + /// The IP address from which the Account's representative accepted the terms of service. + /// + [JsonProperty("ip")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ip")] +#endif + 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")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("user_agent")] +#endif + public string UserAgent { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions.cs new file mode 100644 index 0000000000..ab5e164e93 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions.cs @@ -0,0 +1,57 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions : INestedOptions + { + /// + /// Terms of service acceptances for Stripe consumer card issuing. + /// + [JsonProperty("account_holder")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("account_holder")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerAccountHolderOptions AccountHolder { get; set; } + + /// + /// Terms of service acceptances for consumer issuing cards with Celtic as BIN sponsor. + /// + [JsonProperty("celtic")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("celtic")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCelticOptions Celtic { get; set; } + + /// + /// Terms of service acceptances for consumer issuing cards with Cross River Bank as BIN + /// sponsor. + /// + [JsonProperty("cross_river_bank")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("cross_river_bank")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankOptions CrossRiverBank { get; set; } + + /// + /// Terms of service acceptances for Stripe consumer card Global issuing. + /// + [JsonProperty("global_account_holder")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("global_account_holder")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolderOptions GlobalAccountHolder { get; set; } + + /// + /// Terms of service acceptances for consumer issuing cards with Lead as BIN sponsor. + /// + [JsonProperty("lead")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("lead")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadOptions Lead { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorOptions.cs index 19305a9ae4..b4dc37b906 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorOptions.cs @@ -16,5 +16,14 @@ public class AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorOptions : [STJS.JsonPropertyName("commercial")] #endif public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorCommercialOptions Commercial { get; set; } + + /// + /// Terms of service acceptances to create cards for consumer issuing use cases. + /// + [JsonProperty("consumer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("consumer")] +#endif + public AccountUpdateIdentityAttestationsTermsOfServiceCardCreatorConsumerOptions Consumer { get; set; } } } diff --git a/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreateOptions.cs b/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreateOptions.cs index 3572e2d652..24abdf49cf 100644 --- a/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreateOptions.cs +++ b/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreateOptions.cs @@ -77,6 +77,16 @@ public class OffSessionPaymentCreateOptions : BaseOptions, IHasMetadata #endif public string PaymentMethod { get; set; } + /// + /// If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod + /// will appear in the payment_method property on the OffSessionPayment. + /// + [JsonProperty("payment_method_data")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("payment_method_data")] +#endif + public OffSessionPaymentCreatePaymentMethodDataOptions PaymentMethodData { get; set; } + /// /// Payment method options for the off-session payment. /// diff --git a/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataBillingDetailsOptions.cs b/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataBillingDetailsOptions.cs new file mode 100644 index 0000000000..73c5589dd5 --- /dev/null +++ b/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataBillingDetailsOptions.cs @@ -0,0 +1,47 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Payments +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OffSessionPaymentCreatePaymentMethodDataBillingDetailsOptions : INestedOptions + { + /// + /// Billing address. + /// + [JsonProperty("address")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("address")] +#endif + public AddressOptions Address { get; set; } + + /// + /// Email address. + /// + [JsonProperty("email")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("email")] +#endif + public string Email { get; set; } + + /// + /// Full name. + /// + [JsonProperty("name")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("name")] +#endif + public string Name { get; set; } + + /// + /// Billing phone number (including extension). + /// + [JsonProperty("phone")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("phone")] +#endif + public string Phone { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataCardOptions.cs b/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataCardOptions.cs new file mode 100644 index 0000000000..3f30e70aed --- /dev/null +++ b/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataCardOptions.cs @@ -0,0 +1,47 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Payments +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OffSessionPaymentCreatePaymentMethodDataCardOptions : INestedOptions + { + /// + /// The card CVC. + /// + [JsonProperty("cvc")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("cvc")] +#endif + public string Cvc { get; set; } + + /// + /// The card expiration month. + /// + [JsonProperty("exp_month")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("exp_month")] +#endif + public string ExpMonth { get; set; } + + /// + /// The card expiration year. + /// + [JsonProperty("exp_year")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("exp_year")] +#endif + public string ExpYear { get; set; } + + /// + /// The card number. + /// + [JsonProperty("number")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("number")] +#endif + public string Number { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataOptions.cs b/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataOptions.cs new file mode 100644 index 0000000000..706000d3c3 --- /dev/null +++ b/src/Stripe.net/Services/V2/Payments/OffSessionPayments/OffSessionPaymentCreatePaymentMethodDataOptions.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Payments +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OffSessionPaymentCreatePaymentMethodDataOptions : INestedOptions + { + /// + /// Billing information associated with the payment method. + /// + [JsonProperty("billing_details")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("billing_details")] +#endif + public OffSessionPaymentCreatePaymentMethodDataBillingDetailsOptions BillingDetails { get; set; } + + /// + /// The type of the PaymentMethod. An additional hash is included on the PaymentMethod with + /// a name matching this value. It contains additional information specific to the + /// PaymentMethod type. + /// + [JsonProperty("type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("type")] +#endif + public string Type { get; set; } + + /// + /// Contains card details that can be used to create a card PaymentMethod for PCI compliant + /// users. + /// + [JsonProperty("card")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("card")] +#endif + public OffSessionPaymentCreatePaymentMethodDataCardOptions Card { get; set; } + } +} diff --git a/src/StripeTests/Services/GeneratedExamplesTest.cs b/src/StripeTests/Services/GeneratedExamplesTest.cs index 74db4b2c2a..aba8340f83 100644 --- a/src/StripeTests/Services/GeneratedExamplesTest.cs +++ b/src/StripeTests/Services/GeneratedExamplesTest.cs @@ -9956,7 +9956,6 @@ public void TestV2PaymentsOffSessionPaymentPost() { { "key", "metadata" }, }, - PaymentMethod = "payment_method", }; var client = new StripeClient(this.Requestor); var service = client.V2.Payments.OffSessionPayments; From 0c2db7ea5cba45ab7cb5c1dc41ea8e0d24751a05 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 12:27:42 +0000 Subject: [PATCH 3/3] Update generated code for v2190 and --- CODEGEN_VERSION | 2 +- ...tingsDataCollectionPaymentMethodOptionsCardMandateOptions.cs | 2 +- ...ctionSettingVersionPaymentMethodOptionsCardMandateOptions.cs | 2 +- .../CollectionSettingPaymentMethodOptionsCardMandateOptions.cs | 2 +- .../LicenseFeeVersions/LicenseFeeVersionTransformQuantity.cs | 2 +- .../V2/Billing/LicenseFees/LicenseFeeTransformQuantity.cs | 2 +- .../V2/Billing/RateCardRates/RateCardRateTransformQuantity.cs | 2 +- .../Entities/V2/Reporting/ReportRuns/ReportRunResultFile.cs | 2 +- ...ettingCreatePaymentMethodOptionsCardMandateOptionsOptions.cs | 2 +- ...ettingUpdatePaymentMethodOptionsCardMandateOptionsOptions.cs | 2 +- .../LicenseFees/LicenseFeeCreateTransformQuantityOptions.cs | 2 +- .../LicenseFees/LicenseFeeUpdateTransformQuantityOptions.cs | 2 +- .../RateCards/Rates/RateCreateTransformQuantityOptions.cs | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index 08298032c9..f5f04d71b0 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -ca2c688052c7535c51858606efdc6855b0c1f6a9 \ No newline at end of file +2feaeea9e3c2b01dd5b7e4092d8364af4bf1e740 \ No newline at end of file diff --git a/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions.cs b/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions.cs index a4442537e5..3f6839fb8f 100644 --- a/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions.cs +++ b/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions.cs @@ -15,7 +15,7 @@ public class CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public string Amount { get; set; } + public long? Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs b/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs index cef2e12a39..24a0082bdf 100644 --- a/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs +++ b/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs @@ -15,7 +15,7 @@ public class CollectionSettingVersionPaymentMethodOptionsCardMandateOptions : St #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public string Amount { get; set; } + public long? Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs b/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs index 01806b6383..05a993e08d 100644 --- a/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs +++ b/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs @@ -15,7 +15,7 @@ public class CollectionSettingPaymentMethodOptionsCardMandateOptions : StripeEnt #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public string Amount { get; set; } + public long? Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Entities/V2/Billing/LicenseFeeVersions/LicenseFeeVersionTransformQuantity.cs b/src/Stripe.net/Entities/V2/Billing/LicenseFeeVersions/LicenseFeeVersionTransformQuantity.cs index afec769e12..1bf73a3c65 100644 --- a/src/Stripe.net/Entities/V2/Billing/LicenseFeeVersions/LicenseFeeVersionTransformQuantity.cs +++ b/src/Stripe.net/Entities/V2/Billing/LicenseFeeVersions/LicenseFeeVersionTransformQuantity.cs @@ -15,7 +15,7 @@ public class LicenseFeeVersionTransformQuantity : StripeEntity /// After division, round the result up or down. diff --git a/src/Stripe.net/Entities/V2/Billing/LicenseFees/LicenseFeeTransformQuantity.cs b/src/Stripe.net/Entities/V2/Billing/LicenseFees/LicenseFeeTransformQuantity.cs index 88b121768c..d24b3bb05b 100644 --- a/src/Stripe.net/Entities/V2/Billing/LicenseFees/LicenseFeeTransformQuantity.cs +++ b/src/Stripe.net/Entities/V2/Billing/LicenseFees/LicenseFeeTransformQuantity.cs @@ -15,7 +15,7 @@ public class LicenseFeeTransformQuantity : StripeEntity /// After division, round the result up or down. diff --git a/src/Stripe.net/Entities/V2/Billing/RateCardRates/RateCardRateTransformQuantity.cs b/src/Stripe.net/Entities/V2/Billing/RateCardRates/RateCardRateTransformQuantity.cs index 4db78e3b7a..db2eb3517d 100644 --- a/src/Stripe.net/Entities/V2/Billing/RateCardRates/RateCardRateTransformQuantity.cs +++ b/src/Stripe.net/Entities/V2/Billing/RateCardRates/RateCardRateTransformQuantity.cs @@ -15,7 +15,7 @@ public class RateCardRateTransformQuantity : StripeEntity /// After division, round the result up or down. diff --git a/src/Stripe.net/Entities/V2/Reporting/ReportRuns/ReportRunResultFile.cs b/src/Stripe.net/Entities/V2/Reporting/ReportRuns/ReportRunResultFile.cs index 7cfef84a23..b6a0372eb2 100644 --- a/src/Stripe.net/Entities/V2/Reporting/ReportRuns/ReportRunResultFile.cs +++ b/src/Stripe.net/Entities/V2/Reporting/ReportRuns/ReportRunResultFile.cs @@ -34,6 +34,6 @@ public class ReportRunResultFile : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("size")] #endif - public string Size { get; set; } + public long Size { get; set; } } } diff --git a/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingCreatePaymentMethodOptionsCardMandateOptionsOptions.cs b/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingCreatePaymentMethodOptionsCardMandateOptionsOptions.cs index f778a1934c..7828224beb 100644 --- a/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingCreatePaymentMethodOptionsCardMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingCreatePaymentMethodOptionsCardMandateOptionsOptions.cs @@ -15,7 +15,7 @@ public class CollectionSettingCreatePaymentMethodOptionsCardMandateOptionsOption #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public string Amount { get; set; } + public long? Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsOptions.cs b/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsOptions.cs index d6bf4f7874..1a251d3dd6 100644 --- a/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/CollectionSettings/CollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsOptions.cs @@ -15,7 +15,7 @@ public class CollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsOption #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public string Amount { get; set; } + public long? Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeCreateTransformQuantityOptions.cs b/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeCreateTransformQuantityOptions.cs index e5d6fbe715..3ac48fdf2c 100644 --- a/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeCreateTransformQuantityOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeCreateTransformQuantityOptions.cs @@ -15,7 +15,7 @@ public class LicenseFeeCreateTransformQuantityOptions : INestedOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("divide_by")] #endif - public string DivideBy { get; set; } + public long? DivideBy { get; set; } /// /// After division, round the result up or down. diff --git a/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeUpdateTransformQuantityOptions.cs b/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeUpdateTransformQuantityOptions.cs index 8c9795ddb4..70d5350d12 100644 --- a/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeUpdateTransformQuantityOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/LicenseFees/LicenseFeeUpdateTransformQuantityOptions.cs @@ -15,7 +15,7 @@ public class LicenseFeeUpdateTransformQuantityOptions : INestedOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("divide_by")] #endif - public string DivideBy { get; set; } + public long? DivideBy { get; set; } /// /// After division, round the result up or down. diff --git a/src/Stripe.net/Services/V2/Billing/RateCards/Rates/RateCreateTransformQuantityOptions.cs b/src/Stripe.net/Services/V2/Billing/RateCards/Rates/RateCreateTransformQuantityOptions.cs index 0fce24057b..e152c5bfba 100644 --- a/src/Stripe.net/Services/V2/Billing/RateCards/Rates/RateCreateTransformQuantityOptions.cs +++ b/src/Stripe.net/Services/V2/Billing/RateCards/Rates/RateCreateTransformQuantityOptions.cs @@ -15,7 +15,7 @@ public class RateCreateTransformQuantityOptions : INestedOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("divide_by")] #endif - public string DivideBy { get; set; } + public long? DivideBy { get; set; } /// /// After division, round the result up or down.