diff --git a/API_VERSION b/API_VERSION index 1116f63c2f..40f35337b3 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -2025-06-30.basil \ No newline at end of file +2025-07-30.basil \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index d8931ef8a6..7b0334ddc0 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1819 \ No newline at end of file +v1868 \ No newline at end of file diff --git a/src/Stripe.net/Constants/ApiVersion.cs b/src/Stripe.net/Constants/ApiVersion.cs index 2b1f9cda55..d899fe44b3 100644 --- a/src/Stripe.net/Constants/ApiVersion.cs +++ b/src/Stripe.net/Constants/ApiVersion.cs @@ -3,7 +3,7 @@ namespace Stripe { internal class ApiVersion { - public const string Current = "2025-06-30.basil"; + public const string Current = "2025-07-30.basil"; public const string CurrentMajor = "basil"; } } \ No newline at end of file diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponents.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponents.cs index b5a7f646f2..b1f4b91166 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponents.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponents.cs @@ -50,6 +50,12 @@ public class AccountSessionComponents : StripeEntity #endif public AccountSessionComponentsFinancialAccountTransactions FinancialAccountTransactions { get; set; } + [JsonProperty("instant_payouts_promotion")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("instant_payouts_promotion")] +#endif + public AccountSessionComponentsInstantPayoutsPromotion InstantPayoutsPromotion { get; set; } + [JsonProperty("issuing_card")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("issuing_card")] diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsInstantPayoutsPromotion.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsInstantPayoutsPromotion.cs new file mode 100644 index 0000000000..c0d3f657f5 --- /dev/null +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsInstantPayoutsPromotion.cs @@ -0,0 +1,26 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountSessionComponentsInstantPayoutsPromotion : StripeEntity + { + /// + /// Whether the embedded component is enabled. + /// + [JsonProperty("enabled")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("enabled")] +#endif + public bool Enabled { get; set; } + + [JsonProperty("features")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("features")] +#endif + public AccountSessionComponentsInstantPayoutsPromotionFeatures Features { get; set; } + } +} diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsInstantPayoutsPromotionFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsInstantPayoutsPromotionFeatures.cs new file mode 100644 index 0000000000..77dd3a96f0 --- /dev/null +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsInstantPayoutsPromotionFeatures.cs @@ -0,0 +1,47 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountSessionComponentsInstantPayoutsPromotionFeatures : StripeEntity + { + /// + /// Whether Stripe user authentication is disabled. This value can only be true for + /// accounts where controller.requirement_collection is application for the + /// account. The default value is the opposite of the external_account_collection + /// value. For example, if you don't set external_account_collection, it defaults to + /// true and disable_stripe_user_authentication defaults to false. + /// + [JsonProperty("disable_stripe_user_authentication")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("disable_stripe_user_authentication")] +#endif + public bool DisableStripeUserAuthentication { get; set; } + + /// + /// Whether external account collection is enabled. This feature can only be false + /// for accounts where you’re responsible for collecting updated information when + /// requirements are due or change, like Custom accounts. The default value for this feature + /// is true. + /// + [JsonProperty("external_account_collection")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("external_account_collection")] +#endif + public bool ExternalAccountCollection { get; set; } + + /// + /// Whether to allow creation of instant payouts. Defaults to true when + /// controller.losses.payments is set to stripe for the account, otherwise + /// false. + /// + [JsonProperty("instant_payouts")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("instant_payouts")] +#endif + public bool InstantPayouts { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Accounts/AccountBusinessProfile.cs b/src/Stripe.net/Entities/Accounts/AccountBusinessProfile.cs index c7f913081d..ad1ed3e43e 100644 --- a/src/Stripe.net/Entities/Accounts/AccountBusinessProfile.cs +++ b/src/Stripe.net/Entities/Accounts/AccountBusinessProfile.cs @@ -40,7 +40,7 @@ public class AccountBusinessProfile : StripeEntity public string Mcc { get; set; } /// - /// Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business. + /// Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business. /// One of: lgbtqi_owned_business, minority_owned_business, /// none_of_these_apply, prefer_not_to_answer, or women_owned_business. /// diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProduct.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProduct.cs index 9c35a9f62d..307e41b55c 100644 --- a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProduct.cs +++ b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProduct.cs @@ -9,6 +9,12 @@ namespace Stripe.BillingPortal public class ConfigurationFeaturesSubscriptionUpdateProduct : StripeEntity { + [JsonProperty("adjustable_quantity")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("adjustable_quantity")] +#endif + public ConfigurationFeaturesSubscriptionUpdateProductAdjustableQuantity AdjustableQuantity { get; set; } + /// /// The list of price IDs which, when subscribed to, a subscription can be updated. /// diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProductAdjustableQuantity.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProductAdjustableQuantity.cs new file mode 100644 index 0000000000..d5e42b393a --- /dev/null +++ b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProductAdjustableQuantity.cs @@ -0,0 +1,38 @@ +// File generated from our OpenAPI spec +namespace Stripe.BillingPortal +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ConfigurationFeaturesSubscriptionUpdateProductAdjustableQuantity : StripeEntity + { + /// + /// If true, the quantity can be adjusted to any non-negative integer. + /// + [JsonProperty("enabled")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("enabled")] +#endif + public bool Enabled { get; set; } + + /// + /// The maximum quantity that can be set for the product. + /// + [JsonProperty("maximum")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("maximum")] +#endif + public long? Maximum { get; set; } + + /// + /// The minimum quantity that can be set for the product. + /// + [JsonProperty("minimum")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("minimum")] +#endif + public long Minimum { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Capabilities/Capability.cs b/src/Stripe.net/Entities/Capabilities/Capability.cs index 3e726450fc..7753c69558 100644 --- a/src/Stripe.net/Entities/Capabilities/Capability.cs +++ b/src/Stripe.net/Entities/Capabilities/Capability.cs @@ -112,8 +112,7 @@ public Account Account /// /// The status of the capability. - /// One of: active, disabled, inactive, pending, or - /// unrequested. + /// One of: active, inactive, pending, or unrequested. /// [JsonProperty("status")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs index b88e5858b5..b7bdb9582f 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs @@ -9,9 +9,9 @@ namespace Stripe public class ChargePaymentMethodDetailsAmazonPayFundingCard : StripeEntity { /// - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs index 633f0c28d1..b42537db2d 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs @@ -29,9 +29,9 @@ public class ChargePaymentMethodDetailsCard : StripeEntity - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs index 04d4450194..d6af1e1fba 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs @@ -21,9 +21,9 @@ public class ChargePaymentMethodDetailsCardPresent : StripeEntity - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCashapp.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCashapp.cs index 9a8ee9fa28..deb130eb5d 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCashapp.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCashapp.cs @@ -25,5 +25,14 @@ public class ChargePaymentMethodDetailsCashapp : StripeEntity + /// A unique and immutable identifier of payments assigned by Cash App. + /// + [JsonProperty("transaction_id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("transaction_id")] +#endif + public string TransactionId { get; set; } } } diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs index 23b7969215..756ca40e09 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs @@ -9,9 +9,9 @@ namespace Stripe public class ChargePaymentMethodDetailsRevolutPayFundingCard : StripeEntity { /// - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePresentmentDetails.cs b/src/Stripe.net/Entities/Charges/ChargePresentmentDetails.cs index c8d2822b73..a7a1c7b156 100644 --- a/src/Stripe.net/Entities/Charges/ChargePresentmentDetails.cs +++ b/src/Stripe.net/Entities/Charges/ChargePresentmentDetails.cs @@ -9,7 +9,8 @@ namespace Stripe public class ChargePresentmentDetails : StripeEntity { /// - /// Amount intended to be collected by this payment, denominated in presentment_currency. + /// Amount intended to be collected by this payment, denominated in + /// presentment_currency. /// [JsonProperty("presentment_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Checkout/Sessions/Session.cs b/src/Stripe.net/Entities/Checkout/Sessions/Session.cs index 325afa7399..08c452adc8 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/Session.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/Session.cs @@ -441,6 +441,17 @@ public Invoice Invoice #endif public List OptionalItems { get; set; } + /// + /// Where the user is coming from. This informs the optimizations that are applied to the + /// session. + /// One of: mobile_app, or web. + /// + [JsonProperty("origin_context")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("origin_context")] +#endif + public string OriginContext { get; set; } + #region Expandable PaymentIntent /// diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptions.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptions.cs index 8c00f9bf83..877058a210 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptions.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptions.cs @@ -16,5 +16,14 @@ public class SessionInvoiceCreationInvoiceDataRenderingOptions : StripeEntity + /// ID of the invoice rendering template to be used for the generated invoice. + /// + [JsonProperty("template")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("template")] +#endif + public string Template { get; set; } } } diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsPix.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsPix.cs index 1b40d4f683..2e3c8610bc 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsPix.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsPix.cs @@ -16,5 +16,31 @@ public class SessionPaymentMethodOptionsPix : StripeEntity + /// Indicates that you intend to make future payments with this PaymentIntent's payment + /// method. + /// + /// If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to + /// the Customer after the PaymentIntent is confirmed and the customer completes any + /// required actions. If you don't provide a Customer, you can still attach the payment method to a + /// Customer after the transaction completes. + /// + /// If the payment method is card_present and isn't a digital wallet, Stripe creates + /// and attaches a generated_card + /// payment method representing the card to the Customer instead. + /// + /// When processing card payments, Stripe uses setup_future_usage to help you comply + /// with regional legislation and network rules, such as SCA. + /// + [JsonProperty("setup_future_usage")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("setup_future_usage")] +#endif + public string SetupFutureUsage { get; set; } } } diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPresentmentDetails.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPresentmentDetails.cs index 26870a5383..394cdddfc3 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionPresentmentDetails.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPresentmentDetails.cs @@ -9,7 +9,8 @@ namespace Stripe.Checkout public class SessionPresentmentDetails : StripeEntity { /// - /// Amount intended to be collected by this payment, denominated in presentment_currency. + /// Amount intended to be collected by this payment, denominated in + /// presentment_currency. /// [JsonProperty("presentment_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs index 237e9232e2..a7de4ef213 100644 --- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs +++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs @@ -9,9 +9,9 @@ namespace Stripe public class ConfirmationTokenPaymentMethodPreviewCard : StripeEntity { /// - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs index 2eb152fe30..c81121d3ae 100644 --- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs @@ -21,9 +21,9 @@ public class ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethod public long? AmountAuthorized { get; set; } /// - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardPresent.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardPresent.cs index c1fda1243a..a36476f8b1 100644 --- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardPresent.cs +++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardPresent.cs @@ -10,9 +10,9 @@ namespace Stripe public class ConfirmationTokenPaymentMethodPreviewCardPresent : StripeEntity { /// - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Customers/Customer.cs b/src/Stripe.net/Entities/Customers/Customer.cs index 67c9fda97c..711ab8beda 100644 --- a/src/Stripe.net/Entities/Customers/Customer.cs +++ b/src/Stripe.net/Entities/Customers/Customer.cs @@ -48,11 +48,13 @@ public class Customer : StripeEntity, IHasId, IHasMetadata, IHasObject public Address Address { get; set; } /// - /// The current balance, if any, that's stored on the customer. If negative, the customer - /// has credit to apply to their next invoice. If positive, the customer has an amount owed - /// that's added to their next invoice. The balance only considers amounts that Stripe - /// hasn't successfully applied to any invoice. It doesn't reflect unpaid invoices. This - /// balance is only taken into account after invoices finalize. + /// The current balance, if any, that's stored on the customer in their default currency. If + /// negative, the customer has credit to apply to their next invoice. If positive, the + /// customer has an amount owed that's added to their next invoice. The balance only + /// considers amounts that Stripe hasn't successfully applied to any invoice. It doesn't + /// reflect unpaid invoices. This balance is only taken into account after invoices + /// finalize. For multi-currency balances, see invoice_credit_balance. /// [JsonProperty("balance")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Disputes/DisputePaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/Disputes/DisputePaymentMethodDetailsCard.cs index 8ebb20eb21..819aaffacf 100644 --- a/src/Stripe.net/Entities/Disputes/DisputePaymentMethodDetailsCard.cs +++ b/src/Stripe.net/Entities/Disputes/DisputePaymentMethodDetailsCard.cs @@ -9,9 +9,9 @@ namespace Stripe public class DisputePaymentMethodDetailsCard : StripeEntity { /// - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Events/Event.cs b/src/Stripe.net/Entities/Events/Event.cs index 7fdbc54b2e..4fe42927e7 100644 --- a/src/Stripe.net/Entities/Events/Event.cs +++ b/src/Stripe.net/Entities/Events/Event.cs @@ -9,34 +9,26 @@ namespace Stripe #endif /// - /// Events are our way of letting you know when something interesting happens in your - /// account. When an interesting event occurs, we create a new Event object. For - /// example, when a charge succeeds, we create a charge.succeeded event, and when an - /// invoice payment attempt fails, we create an invoice.payment_failed event. Certain - /// API requests might create multiple events. For example, if you create a new subscription - /// for a customer, you receive both a customer.subscription.created event and a - /// charge.succeeded event. + /// Snapshot events allow you to track and react to activity in your Stripe integration. + /// When the state of another API resource changes, Stripe creates an Event object + /// that contains all the relevant information associated with that action, including the + /// affected API resource. For example, a successful payment triggers a + /// charge.succeeded event, which contains the Charge in the event's data + /// property. Some actions trigger multiple events. For example, if you create a new + /// subscription for a customer, it triggers both a customer.subscription.created + /// event and a charge.succeeded event. /// - /// Events occur when the state of another API resource changes. The event's data field - /// embeds the resource's state at the time of the change. For example, a - /// charge.succeeded event contains a charge, and an invoice.payment_failed - /// event contains an invoice. + /// Configure an event destination in your account to listen for events that represent + /// actions your integration needs to respond to. Additionally, you can retrieve an + /// individual event or a list of events from the API. /// - /// As with other API resources, you can use endpoints to retrieve an individual event or a list of events from the API. We also - /// have a separate webhooks system for - /// sending the Event objects directly to an endpoint on your server. You can manage - /// webhooks in your account - /// settings. Learn how to listen for - /// events so that your integration can automatically trigger reactions. + /// Connect platforms can also receive event + /// notifications that occur in their connected accounts. These events include an account + /// attribute that identifies the relevant connected account. /// - /// When using Connect, you can also receive - /// event notifications that occur in connected accounts. For these events, there's an - /// additional account attribute in the received Event object. - /// - /// We only guarantee access to events through the Retrieve Event API for 30 days. + /// You can access events through the Retrieve Event API for 30 + /// days. /// [JsonConverter(typeof(EventConverter))] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPresentmentDetails.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPresentmentDetails.cs index dc461cb5cb..bb3a68cef5 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPresentmentDetails.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPresentmentDetails.cs @@ -9,7 +9,8 @@ namespace Stripe public class PaymentIntentPresentmentDetails : StripeEntity { /// - /// Amount intended to be collected by this payment, denominated in presentment_currency. + /// Amount intended to be collected by this payment, denominated in + /// presentment_currency. /// [JsonProperty("presentment_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptions.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptions.cs index 3a1fa06a35..02850f783a 100644 --- a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptions.cs +++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptions.cs @@ -16,5 +16,14 @@ public class PaymentLinkInvoiceCreationInvoiceDataRenderingOptions : StripeEntit [STJS.JsonPropertyName("amount_tax_display")] #endif public string AmountTaxDisplay { get; set; } + + /// + /// ID of the invoice rendering template to be used for the generated invoice. + /// + [JsonProperty("template")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("template")] +#endif + public string Template { get; set; } } } diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs index a55c108150..a1c8cf8491 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs @@ -9,9 +9,9 @@ namespace Stripe public class PaymentMethodCard : StripeEntity { /// - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs index c83a691902..9ec6e7372c 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs @@ -21,9 +21,9 @@ public class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent : Str public long? AmountAuthorized { get; set; } /// - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardPresent.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardPresent.cs index 1e0d1571b6..0f8af9f3c9 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardPresent.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardPresent.cs @@ -10,9 +10,9 @@ namespace Stripe public class PaymentMethodCardPresent : StripeEntity { /// - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs b/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs index c1a988c485..c2ef4f335c 100644 --- a/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs +++ b/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs @@ -75,10 +75,10 @@ public class ValueList : StripeEntity, IHasId, IHasMetadata, IHasObje public bool? Deleted { get; set; } /// - /// The type of items in the value list. One of card_fingerprint, - /// us_bank_account_fingerprint, sepa_debit_fingerprint, card_bin, + /// The type of items in the value list. One of card_fingerprint, card_bin, /// email, ip_address, country, string, - /// case_sensitive_string, or customer_id. + /// case_sensitive_string, customer_id, sepa_debit_fingerprint, or + /// us_bank_account_fingerprint. /// One of: card_bin, card_fingerprint, case_sensitive_string, /// country, customer_id, email, ip_address, /// sepa_debit_fingerprint, string, or us_bank_account_fingerprint. diff --git a/src/Stripe.net/Entities/Refunds/RefundPresentmentDetails.cs b/src/Stripe.net/Entities/Refunds/RefundPresentmentDetails.cs index 02cfa96671..e0bdacb08a 100644 --- a/src/Stripe.net/Entities/Refunds/RefundPresentmentDetails.cs +++ b/src/Stripe.net/Entities/Refunds/RefundPresentmentDetails.cs @@ -9,7 +9,8 @@ namespace Stripe public class RefundPresentmentDetails : StripeEntity { /// - /// Amount intended to be collected by this payment, denominated in presentment_currency. + /// Amount intended to be collected by this payment, denominated in + /// presentment_currency. /// [JsonProperty("presentment_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Reviews/Review.cs b/src/Stripe.net/Entities/Reviews/Review.cs index 7eec9e2a4b..08622ff446 100644 --- a/src/Stripe.net/Entities/Reviews/Review.cs +++ b/src/Stripe.net/Entities/Reviews/Review.cs @@ -90,7 +90,7 @@ public Charge Charge /// /// The reason the review was closed, or null if it has not yet been closed. One of /// approved, refunded, refunded_as_fraud, disputed, - /// redacted, or canceled. + /// redacted, canceled, payment_never_settled, or acknowledged. /// One of: approved, canceled, disputed, redacted, /// refunded, or refunded_as_fraud. /// @@ -204,7 +204,7 @@ public PaymentIntent PaymentIntent /// /// The reason the review is currently open or closed. One of rule, manual, /// approved, refunded, refunded_as_fraud, disputed, - /// redacted, or canceled. + /// redacted, canceled, payment_never_settled, or acknowledged. /// [JsonProperty("reason")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsCard.cs index 15c2cd61d8..64456364b9 100644 --- a/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsCard.cs +++ b/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsCard.cs @@ -9,9 +9,9 @@ namespace Stripe public class SetupAttemptPaymentMethodDetailsCard : StripeEntity { /// - /// Card brand. Can be amex, diners, discover, eftpos_au, - /// jcb, link, mastercard, unionpay, visa, or - /// unknown. + /// Card brand. Can be amex, cartes_bancaires, diners, discover, + /// eftpos_au, jcb, link, mastercard, unionpay, + /// visa or unknown. /// [JsonProperty("brand")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAe.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAe.cs index 5d053a73d9..64393d0d26 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAe.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAe.cs @@ -8,6 +8,12 @@ namespace Stripe.Tax public class RegistrationCountryOptionsAe : StripeEntity { + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsAeStandard Standard { get; set; } + /// /// Type of registration in country. /// diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAeStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAeStandard.cs new file mode 100644 index 0000000000..71d3c0428f --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAeStandard.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsAeStandard : StripeEntity + { + /// + /// Place of supply scheme used in an Default standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAtStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAtStandard.cs index 924351661d..daa06ad12b 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAtStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAtStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsAtStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAu.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAu.cs index f8b3692dc9..4584e57178 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAu.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAu.cs @@ -8,6 +8,12 @@ namespace Stripe.Tax public class RegistrationCountryOptionsAu : StripeEntity { + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsAuStandard Standard { get; set; } + /// /// Type of registration in country. /// diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAuStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAuStandard.cs new file mode 100644 index 0000000000..5173830cbe --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAuStandard.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsAuStandard : StripeEntity + { + /// + /// Place of supply scheme used in an Default standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBeStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBeStandard.cs index fb8225cd1a..4a38728677 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBeStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBeStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsBeStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBgStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBgStandard.cs index 33bf643bae..17b8749fad 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBgStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBgStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsBgStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCh.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCh.cs index 4d21b47678..5f73164470 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCh.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCh.cs @@ -8,6 +8,12 @@ namespace Stripe.Tax public class RegistrationCountryOptionsCh : StripeEntity { + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsChStandard Standard { get; set; } + /// /// Type of registration in country. /// diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsChStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsChStandard.cs new file mode 100644 index 0000000000..faefdf9b6b --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsChStandard.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsChStandard : StripeEntity + { + /// + /// Place of supply scheme used in an Default standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCyStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCyStandard.cs index b93c0b21d6..8bd9cc703c 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCyStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCyStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsCyStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCzStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCzStandard.cs index 8007a5329c..999c93417c 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCzStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCzStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsCzStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsDeStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsDeStandard.cs index eda1c62405..9244323560 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsDeStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsDeStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsDeStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsDkStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsDkStandard.cs index fa1472d9a5..e213065742 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsDkStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsDkStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsDkStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsEeStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsEeStandard.cs index 8a5daee3d9..d7bd757271 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsEeStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsEeStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsEeStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsEsStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsEsStandard.cs index b216ee7ac6..e18a115632 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsEsStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsEsStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsEsStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsFiStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsFiStandard.cs index 5f34b88f92..4adfed750a 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsFiStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsFiStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsFiStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsFrStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsFrStandard.cs index dbca781bca..748ebcf5c6 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsFrStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsFrStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsFrStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGb.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGb.cs index bb40dfe512..7bb5cd6c35 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGb.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGb.cs @@ -8,6 +8,12 @@ namespace Stripe.Tax public class RegistrationCountryOptionsGb : StripeEntity { + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsGbStandard Standard { get; set; } + /// /// Type of registration in country. /// diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGbStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGbStandard.cs new file mode 100644 index 0000000000..a5d9dd562c --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGbStandard.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsGbStandard : StripeEntity + { + /// + /// Place of supply scheme used in an Default standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGrStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGrStandard.cs index 66cc72d529..d2ee1a82c9 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGrStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGrStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsGrStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsHrStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsHrStandard.cs index 50ac14626e..91e005063d 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsHrStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsHrStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsHrStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsHuStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsHuStandard.cs index e381787bd3..1f3613d83b 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsHuStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsHuStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsHuStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsIeStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsIeStandard.cs index 3476e8d3f6..1b3965ea37 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsIeStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsIeStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsIeStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsItStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsItStandard.cs index 54ddb4753e..98201c5e70 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsItStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsItStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsItStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsJp.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsJp.cs index 8a200aa53c..f4183b43b2 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsJp.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsJp.cs @@ -8,6 +8,12 @@ namespace Stripe.Tax public class RegistrationCountryOptionsJp : StripeEntity { + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsJpStandard Standard { get; set; } + /// /// Type of registration in country. /// diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsJpStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsJpStandard.cs new file mode 100644 index 0000000000..fa372a2253 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsJpStandard.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsJpStandard : StripeEntity + { + /// + /// Place of supply scheme used in an Default standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLtStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLtStandard.cs index ccfbee2f12..965496a488 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLtStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLtStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsLtStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLuStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLuStandard.cs index 6481729f62..83f4cb8ce8 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLuStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLuStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsLuStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLvStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLvStandard.cs index 2d8a9c7743..efbc5c5d84 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLvStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsLvStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsLvStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMtStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMtStandard.cs index 1e9eab61cd..3bb293e613 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMtStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMtStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsMtStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNlStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNlStandard.cs index 78077815ad..d1c7b2ffd1 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNlStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNlStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsNlStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNo.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNo.cs index 7de9cba054..fdf6e3a91d 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNo.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNo.cs @@ -8,6 +8,12 @@ namespace Stripe.Tax public class RegistrationCountryOptionsNo : StripeEntity { + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsNoStandard Standard { get; set; } + /// /// Type of registration in country. /// diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNoStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNoStandard.cs new file mode 100644 index 0000000000..5a5c576807 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNoStandard.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsNoStandard : StripeEntity + { + /// + /// Place of supply scheme used in an Default standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNz.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNz.cs index ef1b355001..98398723bc 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNz.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNz.cs @@ -8,6 +8,12 @@ namespace Stripe.Tax public class RegistrationCountryOptionsNz : StripeEntity { + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsNzStandard Standard { get; set; } + /// /// Type of registration in country. /// diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNzStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNzStandard.cs new file mode 100644 index 0000000000..87bcc21a68 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNzStandard.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsNzStandard : StripeEntity + { + /// + /// Place of supply scheme used in an Default standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPlStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPlStandard.cs index f5663f42db..558769cc73 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPlStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPlStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsPlStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPtStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPtStandard.cs index 352e0bdc25..65cb609fba 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPtStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPtStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsPtStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsRoStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsRoStandard.cs index 4b686892ab..aee3e3d29c 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsRoStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsRoStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsRoStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSeStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSeStandard.cs index 545f990578..7c60178707 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSeStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSeStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsSeStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSg.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSg.cs index 05238bb9cc..4c7e82aa72 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSg.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSg.cs @@ -8,6 +8,12 @@ namespace Stripe.Tax public class RegistrationCountryOptionsSg : StripeEntity { + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsSgStandard Standard { get; set; } + /// /// Type of registration in country. /// diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSgStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSgStandard.cs new file mode 100644 index 0000000000..df58576106 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSgStandard.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsSgStandard : StripeEntity + { + /// + /// Place of supply scheme used in an Default standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSiStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSiStandard.cs index c2d95a007b..4081a514ef 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSiStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSiStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsSiStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSkStandard.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSkStandard.cs index dada1311f9..0087990c1f 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSkStandard.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSkStandard.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsSkStandard : StripeEntity /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTipping.cs b/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTipping.cs index 48de1d68ad..9384a1509e 100644 --- a/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTipping.cs +++ b/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTipping.cs @@ -8,12 +8,24 @@ namespace Stripe.Terminal public class ConfigurationTipping : StripeEntity { + [JsonProperty("aed")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("aed")] +#endif + public ConfigurationTippingAed Aed { get; set; } + [JsonProperty("aud")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("aud")] #endif public ConfigurationTippingAud Aud { get; set; } + [JsonProperty("bgn")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bgn")] +#endif + public ConfigurationTippingBgn Bgn { get; set; } + [JsonProperty("cad")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("cad")] @@ -56,6 +68,12 @@ public class ConfigurationTipping : StripeEntity #endif public ConfigurationTippingHkd Hkd { get; set; } + [JsonProperty("huf")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("huf")] +#endif + public ConfigurationTippingHuf Huf { get; set; } + [JsonProperty("jpy")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("jpy")] @@ -86,6 +104,12 @@ public class ConfigurationTipping : StripeEntity #endif public ConfigurationTippingPln Pln { get; set; } + [JsonProperty("ron")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ron")] +#endif + public ConfigurationTippingRon Ron { get; set; } + [JsonProperty("sek")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("sek")] diff --git a/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingAed.cs b/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingAed.cs new file mode 100644 index 0000000000..6e7300339a --- /dev/null +++ b/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingAed.cs @@ -0,0 +1,40 @@ +// File generated from our OpenAPI spec +namespace Stripe.Terminal +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ConfigurationTippingAed : StripeEntity + { + /// + /// Fixed amounts displayed when collecting a tip. + /// + [JsonProperty("fixed_amounts")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fixed_amounts")] +#endif + public List FixedAmounts { get; set; } + + /// + /// Percentages displayed when collecting a tip. + /// + [JsonProperty("percentages")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("percentages")] +#endif + public List Percentages { get; set; } + + /// + /// Below this amount, fixed amounts will be displayed; above it, percentages will be + /// displayed. + /// + [JsonProperty("smart_tip_threshold")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("smart_tip_threshold")] +#endif + public long SmartTipThreshold { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingBgn.cs b/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingBgn.cs new file mode 100644 index 0000000000..0c59e81e90 --- /dev/null +++ b/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingBgn.cs @@ -0,0 +1,40 @@ +// File generated from our OpenAPI spec +namespace Stripe.Terminal +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ConfigurationTippingBgn : StripeEntity + { + /// + /// Fixed amounts displayed when collecting a tip. + /// + [JsonProperty("fixed_amounts")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fixed_amounts")] +#endif + public List FixedAmounts { get; set; } + + /// + /// Percentages displayed when collecting a tip. + /// + [JsonProperty("percentages")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("percentages")] +#endif + public List Percentages { get; set; } + + /// + /// Below this amount, fixed amounts will be displayed; above it, percentages will be + /// displayed. + /// + [JsonProperty("smart_tip_threshold")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("smart_tip_threshold")] +#endif + public long SmartTipThreshold { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingHuf.cs b/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingHuf.cs new file mode 100644 index 0000000000..f504b6ef1d --- /dev/null +++ b/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingHuf.cs @@ -0,0 +1,40 @@ +// File generated from our OpenAPI spec +namespace Stripe.Terminal +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ConfigurationTippingHuf : StripeEntity + { + /// + /// Fixed amounts displayed when collecting a tip. + /// + [JsonProperty("fixed_amounts")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fixed_amounts")] +#endif + public List FixedAmounts { get; set; } + + /// + /// Percentages displayed when collecting a tip. + /// + [JsonProperty("percentages")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("percentages")] +#endif + public List Percentages { get; set; } + + /// + /// Below this amount, fixed amounts will be displayed; above it, percentages will be + /// displayed. + /// + [JsonProperty("smart_tip_threshold")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("smart_tip_threshold")] +#endif + public long SmartTipThreshold { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingRon.cs b/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingRon.cs new file mode 100644 index 0000000000..77b6394327 --- /dev/null +++ b/src/Stripe.net/Entities/Terminal/Configurations/ConfigurationTippingRon.cs @@ -0,0 +1,40 @@ +// File generated from our OpenAPI spec +namespace Stripe.Terminal +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ConfigurationTippingRon : StripeEntity + { + /// + /// Fixed amounts displayed when collecting a tip. + /// + [JsonProperty("fixed_amounts")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fixed_amounts")] +#endif + public List FixedAmounts { get; set; } + + /// + /// Percentages displayed when collecting a tip. + /// + [JsonProperty("percentages")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("percentages")] +#endif + public List Percentages { get; set; } + + /// + /// Below this amount, fixed amounts will be displayed; above it, percentages will be + /// displayed. + /// + [JsonProperty("smart_tip_threshold")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("smart_tip_threshold")] +#endif + public long SmartTipThreshold { get; set; } + } +} diff --git a/src/Stripe.net/Services/AccountLinks/AccountLinkCreateOptions.cs b/src/Stripe.net/Services/AccountLinks/AccountLinkCreateOptions.cs index c8199f6046..80431151ac 100644 --- a/src/Stripe.net/Services/AccountLinks/AccountLinkCreateOptions.cs +++ b/src/Stripe.net/Services/AccountLinks/AccountLinkCreateOptions.cs @@ -61,8 +61,16 @@ public class AccountLinkCreateOptions : BaseOptions public string ReturnUrl { get; set; } /// - /// The type of account link the user is requesting. Possible values are - /// account_onboarding or account_update. + /// The type of account link the user is requesting. + /// + /// You can create Account Links of type account_update only for connected accounts + /// where your platform is responsible for collecting requirements, including Custom + /// accounts. You can't create them for accounts that have access to a Stripe-hosted + /// Dashboard. If you use Connect + /// embedded components, you can include components that allow your connected accounts + /// to update their own information. For an account without Stripe-hosted Dashboard access + /// where Stripe is liable for negative balances, you must use embedded components. /// One of: account_onboarding, or account_update. /// [JsonProperty("type")] diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsInstantPayoutsPromotionFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsInstantPayoutsPromotionFeaturesOptions.cs new file mode 100644 index 0000000000..672f691960 --- /dev/null +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsInstantPayoutsPromotionFeaturesOptions.cs @@ -0,0 +1,47 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountSessionComponentsInstantPayoutsPromotionFeaturesOptions : INestedOptions + { + /// + /// Whether Stripe user authentication is disabled. This value can only be true for + /// accounts where controller.requirement_collection is application for the + /// account. The default value is the opposite of the external_account_collection + /// value. For example, if you don't set external_account_collection, it defaults to + /// true and disable_stripe_user_authentication defaults to false. + /// + [JsonProperty("disable_stripe_user_authentication")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("disable_stripe_user_authentication")] +#endif + public bool? DisableStripeUserAuthentication { get; set; } + + /// + /// Whether external account collection is enabled. This feature can only be false + /// for accounts where you’re responsible for collecting updated information when + /// requirements are due or change, like Custom accounts. The default value for this feature + /// is true. + /// + [JsonProperty("external_account_collection")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("external_account_collection")] +#endif + public bool? ExternalAccountCollection { get; set; } + + /// + /// Whether to allow creation of instant payouts. Defaults to true when + /// controller.losses.payments is set to stripe for the account, otherwise + /// false. + /// + [JsonProperty("instant_payouts")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("instant_payouts")] +#endif + public bool? InstantPayouts { get; set; } + } +} diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsInstantPayoutsPromotionOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsInstantPayoutsPromotionOptions.cs new file mode 100644 index 0000000000..1654355568 --- /dev/null +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsInstantPayoutsPromotionOptions.cs @@ -0,0 +1,29 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountSessionComponentsInstantPayoutsPromotionOptions : INestedOptions + { + /// + /// Whether the embedded component is enabled. + /// + [JsonProperty("enabled")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("enabled")] +#endif + public bool? Enabled { get; set; } + + /// + /// The list of features enabled in the embedded component. + /// + [JsonProperty("features")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("features")] +#endif + public AccountSessionComponentsInstantPayoutsPromotionFeaturesOptions Features { get; set; } + } +} diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsOptions.cs index 077eba9bc4..e3e24b6a0f 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsOptions.cs @@ -85,6 +85,17 @@ public class AccountSessionComponentsOptions : INestedOptions #endif public AccountSessionComponentsFinancialAccountTransactionsOptions FinancialAccountTransactions { get; set; } + /// + /// Configuration for the instant + /// payouts promotion embedded component. + /// + [JsonProperty("instant_payouts_promotion")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("instant_payouts_promotion")] +#endif + public AccountSessionComponentsInstantPayoutsPromotionOptions InstantPayoutsPromotion { get; set; } + /// /// Configuration for the issuing diff --git a/src/Stripe.net/Services/Accounts/AccountBusinessProfileOptions.cs b/src/Stripe.net/Services/Accounts/AccountBusinessProfileOptions.cs index 5fa0c207f7..b555b9529d 100644 --- a/src/Stripe.net/Services/Accounts/AccountBusinessProfileOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountBusinessProfileOptions.cs @@ -40,7 +40,7 @@ public class AccountBusinessProfileOptions : INestedOptions public string Mcc { get; set; } /// - /// Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business. + /// Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business. /// One of: lgbtqi_owned_business, minority_owned_business, /// none_of_these_apply, prefer_not_to_answer, or women_owned_business. /// diff --git a/src/Stripe.net/Services/Accounts/AccountService.cs b/src/Stripe.net/Services/Accounts/AccountService.cs index 0a21214e4d..ddd34e4f5f 100644 --- a/src/Stripe.net/Services/Accounts/AccountService.cs +++ b/src/Stripe.net/Services/Accounts/AccountService.cs @@ -86,11 +86,10 @@ public virtual Task CreateAsync(AccountCreateOptions options, RequestOp /// ///

Test-mode accounts can be deleted at any time.

. /// - ///

Live-mode accounts where Stripe is responsible for negative account balances cannot - /// be deleted, which includes Standard accounts. Live-mode accounts where your platform is - /// liable for negative account balances, which includes Custom and Express accounts, can be - /// deleted when all balances - /// are zero.

. + ///

Live-mode accounts that have access to the standard dashboard and Stripe is + /// responsible for negative account balances cannot be deleted, which includes Standard + /// accounts. All other Live-mode accounts, can be deleted when all balances are zero.

. /// ///

If you want to delete your own account, use the account information tab in your @@ -107,11 +106,10 @@ public virtual Account Delete(string id, AccountDeleteOptions options = null, Re /// ///

Test-mode accounts can be deleted at any time.

. /// - ///

Live-mode accounts where Stripe is responsible for negative account balances cannot - /// be deleted, which includes Standard accounts. Live-mode accounts where your platform is - /// liable for negative account balances, which includes Custom and Express accounts, can be - /// deleted when all balances - /// are zero.

. + ///

Live-mode accounts that have access to the standard dashboard and Stripe is + /// responsible for negative account balances cannot be deleted, which includes Standard + /// accounts. All other Live-mode accounts, can be deleted when all balances are zero.

. /// ///

If you want to delete your own account, use the account information tab in your diff --git a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantAmountOptions.cs b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantAmountOptions.cs index a62e0603cd..b5db0c52fa 100644 --- a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantAmountOptions.cs +++ b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantAmountOptions.cs @@ -18,8 +18,7 @@ public class CreditGrantAmountOptions : INestedOptions public CreditGrantAmountMonetaryOptions Monetary { get; set; } ///

- /// Specify the type of this amount. We currently only support monetary billing - /// credits. + /// The type of this amount. We currently only support monetary billing credits. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProductAdjustableQuantityOptions.cs b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProductAdjustableQuantityOptions.cs new file mode 100644 index 0000000000..78aa21dcfa --- /dev/null +++ b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProductAdjustableQuantityOptions.cs @@ -0,0 +1,38 @@ +// File generated from our OpenAPI spec +namespace Stripe.BillingPortal +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ConfigurationFeaturesSubscriptionUpdateProductAdjustableQuantityOptions : INestedOptions + { + /// + /// Set to true if the quantity can be adjusted to any non-negative integer. + /// + [JsonProperty("enabled")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("enabled")] +#endif + public bool? Enabled { get; set; } + + /// + /// The maximum quantity that can be set for the product. + /// + [JsonProperty("maximum")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("maximum")] +#endif + public long? Maximum { get; set; } + + /// + /// The minimum quantity that can be set for the product. + /// + [JsonProperty("minimum")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("minimum")] +#endif + public long? Minimum { get; set; } + } +} diff --git a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProductOptions.cs b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProductOptions.cs index 32db8197c9..ff645a7e61 100644 --- a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProductOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateProductOptions.cs @@ -9,6 +9,15 @@ namespace Stripe.BillingPortal public class ConfigurationFeaturesSubscriptionUpdateProductOptions : INestedOptions { + /// + /// Control whether the quantity of the product can be adjusted. + /// + [JsonProperty("adjustable_quantity")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("adjustable_quantity")] +#endif + public ConfigurationFeaturesSubscriptionUpdateProductAdjustableQuantityOptions AdjustableQuantity { get; set; } + /// /// The list of price IDs for the product that a subscription can be updated to. /// diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs index cb77c01181..5c1daec53f 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs @@ -306,6 +306,19 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata #endif public List OptionalItems { get; set; } + /// + /// Where the user is coming from. This informs the optimizations that are applied to the + /// session. For example, a session originating from a mobile app may behave more like a + /// native app, depending on the platform. This parameter is currently not allowed if + /// ui_mode is custom. + /// One of: mobile_app, or web. + /// + [JsonProperty("origin_context")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("origin_context")] +#endif + public string OriginContext { get; set; } + /// /// A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in /// payment mode. @@ -387,10 +400,11 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// cashapp, crypto, customer_balance, eps, fpx, /// giropay, grabpay, ideal, kakao_pay, klarna, /// konbini, kr_card, link, mobilepay, multibanco, - /// naver_pay, oxxo, p24, pay_by_bank, payco, - /// paynow, paypal, pix, promptpay, revolut_pay, - /// samsung_pay, satispay, sepa_debit, sofort, swish, - /// twint, us_bank_account, wechat_pay, or zip. + /// naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, + /// payco, paynow, paypal, pix, promptpay, + /// revolut_pay, samsung_pay, satispay, sepa_debit, + /// sofort, swish, twint, us_bank_account, wechat_pay, or + /// zip. /// [JsonProperty("payment_method_types")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptionsOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptionsOptions.cs index fb921655aa..41810776ab 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptionsOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptionsOptions.cs @@ -21,5 +21,14 @@ public class SessionInvoiceCreationInvoiceDataRenderingOptionsOptions : INestedO [STJS.JsonPropertyName("amount_tax_display")] #endif public string AmountTaxDisplay { get; set; } + + /// + /// ID of the invoice rendering template to use for this invoice. + /// + [JsonProperty("template")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("template")] +#endif + public string Template { get; set; } } } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPixOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPixOptions.cs index cd27203643..57463a126b 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPixOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPixOptions.cs @@ -17,5 +17,31 @@ public class SessionPaymentMethodOptionsPixOptions : INestedOptions [STJS.JsonPropertyName("expires_after_seconds")] #endif public long? ExpiresAfterSeconds { get; set; } + + /// + /// Indicates that you intend to make future payments with this PaymentIntent's payment + /// method. + /// + /// If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to + /// the Customer after the PaymentIntent is confirmed and the customer completes any + /// required actions. If you don't provide a Customer, you can still attach the payment method to a + /// Customer after the transaction completes. + /// + /// If the payment method is card_present and isn't a digital wallet, Stripe creates + /// and attaches a generated_card + /// payment method representing the card to the Customer instead. + /// + /// When processing card payments, Stripe uses setup_future_usage to help you comply + /// with regional legislation and network rules, such as SCA. + /// + [JsonProperty("setup_future_usage")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("setup_future_usage")] +#endif + public string SetupFutureUsage { get; set; } } } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataBillingModeOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataBillingModeOptions.cs index 156cb202cd..cd6d4498e1 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataBillingModeOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataBillingModeOptions.cs @@ -9,6 +9,7 @@ namespace Stripe.Checkout public class SessionSubscriptionDataBillingModeOptions : INestedOptions { /// + /// Controls the calculation and orchestration of prorations and invoices for subscriptions. /// One of: classic, or flexible. /// [JsonProperty("type")] diff --git a/src/Stripe.net/Services/InvoiceItems/InvoiceItemCreateOptions.cs b/src/Stripe.net/Services/InvoiceItems/InvoiceItemCreateOptions.cs index b025f5f03e..3c376ef0fe 100644 --- a/src/Stripe.net/Services/InvoiceItems/InvoiceItemCreateOptions.cs +++ b/src/Stripe.net/Services/InvoiceItems/InvoiceItemCreateOptions.cs @@ -71,10 +71,12 @@ public class InvoiceItemCreateOptions : BaseOptions, IHasMetadata public List Discounts { get; set; } /// - /// The ID of an existing invoice to add this invoice item to. When left blank, the invoice - /// item will be added to the next upcoming scheduled invoice. This is useful when adding - /// invoice items in response to an invoice.created webhook. You can only add invoice items - /// to draft invoices and there is a maximum of 250 items per invoice. + /// The ID of an existing invoice to add this invoice item to. For subscription invoices, + /// when left blank, the invoice item will be added to the next upcoming scheduled invoice. + /// For standalone invoices, the invoice item won't be automatically added unless you pass + /// pending_invoice_item_behavior: 'include' when creating the invoice. This is + /// useful when adding invoice items in response to an invoice.created webhook. You can only + /// add invoice items to draft invoices and there is a maximum of 250 items per invoice. /// [JsonProperty("invoice")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Invoices/InvoiceCreateOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceCreateOptions.cs index 69e77a35ba..0ac3f3c15a 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceCreateOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceCreateOptions.cs @@ -38,7 +38,7 @@ public class InvoiceCreateOptions : BaseOptions, IHasMetadata /// Controls whether Stripe performs automatic /// collection of the invoice. If false, the invoice's state doesn't - /// automatically advance without an explicit action. + /// automatically advance without an explicit action. Defaults to false. ///
[JsonProperty("auto_advance")] #if NET6_0_OR_GREATER @@ -56,8 +56,8 @@ public class InvoiceCreateOptions : BaseOptions, IHasMetadata public InvoiceAutomaticTaxOptions AutomaticTax { get; set; } /// - /// The time when this invoice should be scheduled to finalize. The invoice will be - /// finalized at this time if it is still in draft state. + /// The time when this invoice should be scheduled to finalize (up to 5 years in the + /// future). The invoice is finalized at this time if it's still in draft state. /// [JsonProperty("automatically_finalizes_at")] [JsonConverter(typeof(UnixDateTimeConverter))] diff --git a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCardOptions.cs index 19261c6610..e02c086715 100644 --- a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCardOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCardOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class InvoicePaymentSettingsPaymentMethodOptionsCardOptions : INestedOptions { /// - /// Installment configuration for payments attempted on this invoice (Mexico Only). + /// Installment configuration for payments attempted on this invoice. /// /// For more information, see the installments integration guide. diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsBillingModeOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsBillingModeOptions.cs index ecfef7f8fe..753b558da5 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsBillingModeOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsBillingModeOptions.cs @@ -9,6 +9,7 @@ namespace Stripe public class InvoiceScheduleDetailsBillingModeOptions : INestedOptions { /// + /// Controls the calculation and orchestration of prorations and invoices for subscriptions. /// One of: classic, or flexible. /// [JsonProperty("type")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseDurationOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseDurationOptions.cs new file mode 100644 index 0000000000..36f7e31d3e --- /dev/null +++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseDurationOptions.cs @@ -0,0 +1,30 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class InvoiceScheduleDetailsPhaseDurationOptions : INestedOptions + { + /// + /// Specifies phase duration. Either day, week, month or year. + /// One of: day, month, week, or year. + /// + [JsonProperty("interval")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("interval")] +#endif + public string Interval { get; set; } + + /// + /// The multiplier applied to the interval. + /// + [JsonProperty("interval_count")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("interval_count")] +#endif + public long? IntervalCount { get; set; } + } +} diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseOptions.cs index 7db159ff31..a5e2d1d3dd 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseOptions.cs @@ -140,6 +140,15 @@ public class InvoiceScheduleDetailsPhaseOptions : INestedOptions, IHasMetadata #endif public List Discounts { get; set; } + /// + /// The number of intervals the phase should last. If set, end_date must not be set. + /// + [JsonProperty("duration")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("duration")] +#endif + public InvoiceScheduleDetailsPhaseDurationOptions Duration { get; set; } + /// /// The date at which this phase of the subscription schedule ends. If set, /// iterations must not be set. @@ -175,7 +184,8 @@ public class InvoiceScheduleDetailsPhaseOptions : INestedOptions, IHasMetadata /// Integer representing the multiplier applied to the price interval. For example, /// iterations=2 applied to a price with interval=month and /// interval_count=3 results in a phase of duration 2 * 3 months = 6 months. - /// If set, end_date must not be set. + /// If set, end_date must not be set. This parameter is deprecated and will be + /// removed in a future version. Use duration instead. /// [JsonProperty("iterations")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsBillingModeOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsBillingModeOptions.cs index 2f425a7e97..10a5e8386d 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsBillingModeOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsBillingModeOptions.cs @@ -9,6 +9,7 @@ namespace Stripe public class InvoiceSubscriptionDetailsBillingModeOptions : INestedOptions { /// + /// Controls the calculation and orchestration of prorations and invoices for subscriptions. /// One of: classic, or flexible. /// [JsonProperty("type")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs index ee5be5989d..3336eb829b 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs @@ -55,9 +55,9 @@ public class InvoiceUpdateOptions : BaseOptions, IHasMetadata public InvoiceAutomaticTaxOptions AutomaticTax { get; set; } /// - /// The time when this invoice should be scheduled to finalize. The invoice will be - /// finalized at this time if it is still in draft state. To turn off automatic - /// finalization, set auto_advance to false. + /// The time when this invoice should be scheduled to finalize (up to 5 years in the + /// future). The invoice is finalized at this time if it's still in draft state. To turn off + /// automatic finalization, set auto_advance to false. /// [JsonProperty("automatically_finalizes_at")] [JsonConverter(typeof(UnixDateTimeConverter))] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs index c673e27446..b2639906ea 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs @@ -36,7 +36,7 @@ public class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions public string CvcToken { get; set; } /// - /// Installment configuration for payments attempted on this PaymentIntent (Mexico Only). + /// Installment configuration for payments attempted on this PaymentIntent. /// /// For more information, see the installments integration guide. diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentService.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentService.cs index a6a04ee290..2bfa021346 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentService.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentService.cs @@ -119,27 +119,35 @@ public virtual Task CaptureAsync(string id, PaymentIntentCaptureO /// ///

Confirm that your customer intends to pay with current or provided payment method. - /// Upon confirmation, the PaymentIntent will attempt to initiate a payment. If the selected - /// payment method requires additional authentication steps, the PaymentIntent will - /// transition to the requires_action status and suggest additional actions via - /// next_action. If payment fails, the PaymentIntent transitions to the - /// requires_payment_method status or the canceled status if the confirmation - /// limit is reached. If payment succeeds, the PaymentIntent will transition to the - /// succeeded status (or requires_capture, if capture_method is set to - /// manual). If the confirmation_method is automatic, payment may be - /// attempted using our . + /// + ///

If the selected payment method requires additional authentication steps, the + /// PaymentIntent will transition to the requires_action status and suggest + /// additional actions via next_action. If payment fails, the PaymentIntent + /// transitions to the requires_payment_method status or the canceled status + /// if the confirmation limit is reached. If payment succeeds, the PaymentIntent will + /// transition to the succeeded status (or requires_capture, if + /// capture_method is set to manual).

. + /// + ///

If the confirmation_method is automatic, payment may be attempted using + /// our client /// SDKs and the PaymentIntent’s client_secret. /// After next_actions are handled by the client, no additional confirmation is - /// required to complete the payment. If the confirmation_method is manual, - /// all payment attempts must be initiated using a secret key. If any actions are required - /// for the payment, the PaymentIntent will return to the requires_confirmation state - /// after those actions are completed. Your server needs to then explicitly re-confirm the - /// PaymentIntent to initiate the next payment attempt. There is a variable upper limit on - /// how many times a PaymentIntent can be confirmed. After this limit is reached, any - /// further calls to this endpoint will transition the PaymentIntent to the canceled - /// state.

. + /// required to complete the payment.

. + /// + ///

If the confirmation_method is manual, all payment attempts must be + /// initiated using a secret key.

. + /// + ///

If any actions are required for the payment, the PaymentIntent will return to the + /// requires_confirmation state after those actions are completed. Your server needs + /// to then explicitly re-confirm the PaymentIntent to initiate the next payment + /// attempt.

. + /// + ///

There is a variable upper limit on how many times a PaymentIntent can be confirmed. + /// After this limit is reached, any further calls to this endpoint will transition the + /// PaymentIntent to the canceled state.

. ///
public virtual PaymentIntent Confirm(string id, PaymentIntentConfirmOptions options = null, RequestOptions requestOptions = null) { @@ -148,27 +156,35 @@ public virtual PaymentIntent Confirm(string id, PaymentIntentConfirmOptions opti /// ///

Confirm that your customer intends to pay with current or provided payment method. - /// Upon confirmation, the PaymentIntent will attempt to initiate a payment. If the selected - /// payment method requires additional authentication steps, the PaymentIntent will - /// transition to the requires_action status and suggest additional actions via - /// next_action. If payment fails, the PaymentIntent transitions to the - /// requires_payment_method status or the canceled status if the confirmation - /// limit is reached. If payment succeeds, the PaymentIntent will transition to the - /// succeeded status (or requires_capture, if capture_method is set to - /// manual). If the confirmation_method is automatic, payment may be - /// attempted using our . + /// + ///

If the selected payment method requires additional authentication steps, the + /// PaymentIntent will transition to the requires_action status and suggest + /// additional actions via next_action. If payment fails, the PaymentIntent + /// transitions to the requires_payment_method status or the canceled status + /// if the confirmation limit is reached. If payment succeeds, the PaymentIntent will + /// transition to the succeeded status (or requires_capture, if + /// capture_method is set to manual).

. + /// + ///

If the confirmation_method is automatic, payment may be attempted using + /// our client /// SDKs and the PaymentIntent’s client_secret. /// After next_actions are handled by the client, no additional confirmation is - /// required to complete the payment. If the confirmation_method is manual, - /// all payment attempts must be initiated using a secret key. If any actions are required - /// for the payment, the PaymentIntent will return to the requires_confirmation state - /// after those actions are completed. Your server needs to then explicitly re-confirm the - /// PaymentIntent to initiate the next payment attempt. There is a variable upper limit on - /// how many times a PaymentIntent can be confirmed. After this limit is reached, any - /// further calls to this endpoint will transition the PaymentIntent to the canceled - /// state.

. + /// required to complete the payment.

. + /// + ///

If the confirmation_method is manual, all payment attempts must be + /// initiated using a secret key.

. + /// + ///

If any actions are required for the payment, the PaymentIntent will return to the + /// requires_confirmation state after those actions are completed. Your server needs + /// to then explicitly re-confirm the PaymentIntent to initiate the next payment + /// attempt.

. + /// + ///

There is a variable upper limit on how many times a PaymentIntent can be confirmed. + /// After this limit is reached, any further calls to this endpoint will transition the + /// PaymentIntent to the canceled state.

. ///
public virtual Task ConfirmAsync(string id, PaymentIntentConfirmOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions.cs index f5fda0884f..165939b545 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions.cs @@ -21,5 +21,14 @@ public class PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions : INes [STJS.JsonPropertyName("amount_tax_display")] #endif public string AmountTaxDisplay { get; set; } + + /// + /// ID of the invoice rendering template to use for this invoice. + /// + [JsonProperty("template")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("template")] +#endif + public string Template { get; set; } } } diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemAdjustableQuantityOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemAdjustableQuantityOptions.cs index b3d17c4200..942634bc77 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemAdjustableQuantityOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemAdjustableQuantityOptions.cs @@ -19,7 +19,7 @@ public class PaymentLinkLineItemAdjustableQuantityOptions : INestedOptions /// /// The maximum quantity the customer can purchase. By default this value is 99. You can - /// specify a value up to 999. + /// specify a value up to 999999. /// [JsonProperty("maximum")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemOptions.cs index eb658e1791..36418788d0 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemOptions.cs @@ -37,6 +37,16 @@ public class PaymentLinkLineItemOptions : INestedOptions, IHasId #endif public string Price { get; set; } + /// + /// Data used to generate a new Price + /// object inline. One of price or price_data is required. + /// + [JsonProperty("price_data")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("price_data")] +#endif + public PaymentLinkLineItemPriceDataOptions PriceData { get; set; } + /// /// The quantity of the line item being purchased. /// diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataOptions.cs new file mode 100644 index 0000000000..7b30933c1c --- /dev/null +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataOptions.cs @@ -0,0 +1,88 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PaymentLinkLineItemPriceDataOptions : INestedOptions + { + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + + /// + /// The ID of the Product that this Price will belong to. One of + /// product or product_data is required. + /// + [JsonProperty("product")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("product")] +#endif + public string Product { get; set; } + + /// + /// Data used to generate a new Product + /// object inline. One of product or product_data is required. + /// + [JsonProperty("product_data")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("product_data")] +#endif + public PaymentLinkLineItemPriceDataProductDataOptions ProductData { get; set; } + + /// + /// The recurring components of a price such as interval and interval_count. + /// + [JsonProperty("recurring")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("recurring")] +#endif + public PaymentLinkLineItemPriceDataRecurringOptions Recurring { get; set; } + + /// + /// Only required if a default + /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the + /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, + /// exclusive, or unspecified. Once specified as either inclusive or + /// exclusive, it cannot be changed. + /// One of: exclusive, inclusive, or unspecified. + /// + [JsonProperty("tax_behavior")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("tax_behavior")] +#endif + public string TaxBehavior { get; set; } + + /// + /// A non-negative integer in cents (or local equivalent) representing how much to charge. + /// One of unit_amount or unit_amount_decimal is required. + /// + [JsonProperty("unit_amount")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("unit_amount")] +#endif + public long? UnitAmount { get; set; } + + /// + /// Same as unit_amount, but accepts a decimal value in cents (or local equivalent) + /// with at most 12 decimal places. Only one of unit_amount and + /// unit_amount_decimal can be set. + /// + [JsonProperty("unit_amount_decimal")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("unit_amount_decimal")] +#endif + public decimal? UnitAmountDecimal { get; set; } + } +} diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataProductDataOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataProductDataOptions.cs new file mode 100644 index 0000000000..e5297c21a5 --- /dev/null +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataProductDataOptions.cs @@ -0,0 +1,63 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PaymentLinkLineItemPriceDataProductDataOptions : INestedOptions, IHasMetadata + { + /// + /// The product's description, meant to be displayable to the customer. Use this field to + /// optionally store a long form explanation of the product being sold for your own + /// rendering purposes. + /// + [JsonProperty("description")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("description")] +#endif + public string Description { get; set; } + + /// + /// A list of up to 8 URLs of images for this product, meant to be displayable to the + /// customer. + /// + [JsonProperty("images")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("images")] +#endif + public List Images { 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; } + + /// + /// The product's name, meant to be displayable to the customer. + /// + [JsonProperty("name")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("name")] +#endif + public string Name { get; set; } + + /// + /// A tax code ID. + /// + [JsonProperty("tax_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("tax_code")] +#endif + public string TaxCode { get; set; } + } +} diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataRecurringOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataRecurringOptions.cs new file mode 100644 index 0000000000..8160fd50e4 --- /dev/null +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataRecurringOptions.cs @@ -0,0 +1,33 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PaymentLinkLineItemPriceDataRecurringOptions : INestedOptions + { + /// + /// Specifies billing frequency. Either day, week, month or + /// year. + /// One of: day, month, week, or year. + /// + [JsonProperty("interval")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("interval")] +#endif + public string Interval { get; set; } + + /// + /// The number of intervals between subscription billings. For example, + /// interval=month and interval_count=3 bills every 3 months. Maximum of three + /// years interval allowed (3 years, 36 months, or 156 weeks). + /// + [JsonProperty("interval_count")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("interval_count")] +#endif + public long? IntervalCount { get; set; } + } +} diff --git a/src/Stripe.net/Services/PaymentMethods/PaymentMethodService.cs b/src/Stripe.net/Services/PaymentMethods/PaymentMethodService.cs index acd6193e96..954de19c99 100644 --- a/src/Stripe.net/Services/PaymentMethods/PaymentMethodService.cs +++ b/src/Stripe.net/Services/PaymentMethods/PaymentMethodService.cs @@ -193,7 +193,7 @@ public virtual IAsyncEnumerable ListAutoPagingAsync(PaymentMethod } /// - ///

Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be + ///

Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be /// updated.

. ///
public virtual PaymentMethod Update(string id, PaymentMethodUpdateOptions options, RequestOptions requestOptions = null) @@ -202,7 +202,7 @@ public virtual PaymentMethod Update(string id, PaymentMethodUpdateOptions option } /// - ///

Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be + ///

Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be /// updated.

. ///
public virtual Task UpdateAsync(string id, PaymentMethodUpdateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) diff --git a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataBillingModeOptions.cs b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataBillingModeOptions.cs index 7cdba81dbd..6f62013992 100644 --- a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataBillingModeOptions.cs +++ b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataBillingModeOptions.cs @@ -9,6 +9,7 @@ namespace Stripe public class QuoteSubscriptionDataBillingModeOptions : INestedOptions { /// + /// Controls the calculation and orchestration of prorations and invoices for subscriptions. /// One of: classic, or flexible. /// [JsonProperty("type")] diff --git a/src/Stripe.net/Services/Radar/ValueLists/ValueListCreateOptions.cs b/src/Stripe.net/Services/Radar/ValueLists/ValueListCreateOptions.cs index 016082f5fa..97bf4debe2 100644 --- a/src/Stripe.net/Services/Radar/ValueLists/ValueListCreateOptions.cs +++ b/src/Stripe.net/Services/Radar/ValueLists/ValueListCreateOptions.cs @@ -19,11 +19,11 @@ public class ValueListCreateOptions : BaseOptions, IHasMetadata public string Alias { get; set; } /// - /// Type of the items in the value list. One of card_fingerprint, - /// us_bank_account_fingerprint, sepa_debit_fingerprint, card_bin, + /// Type of the items in the value list. One of card_fingerprint, card_bin, /// email, ip_address, country, string, - /// case_sensitive_string, or customer_id. Use string if the item type - /// is unknown or mixed. + /// case_sensitive_string, customer_id, sepa_debit_fingerprint, or + /// us_bank_account_fingerprint. Use string if the item type is unknown or + /// mixed. /// One of: card_bin, card_fingerprint, case_sensitive_string, /// country, customer_id, email, ip_address, /// sepa_debit_fingerprint, string, or us_bank_account_fingerprint. diff --git a/src/Stripe.net/Services/Reporting/ReportRuns/ReportRunParametersOptions.cs b/src/Stripe.net/Services/Reporting/ReportRuns/ReportRunParametersOptions.cs index f7a1707d0c..aa2fe025d0 100644 --- a/src/Stripe.net/Services/Reporting/ReportRuns/ReportRunParametersOptions.cs +++ b/src/Stripe.net/Services/Reporting/ReportRuns/ReportRunParametersOptions.cs @@ -132,94 +132,94 @@ public class ReportRunParametersOptions : INestedOptions /// America/Caracas, America/Catamarca, America/Cayenne, /// America/Cayman, America/Chicago, America/Chihuahua, /// America/Ciudad_Juarez, America/Coral_Harbour, America/Cordoba, - /// America/Costa_Rica, America/Creston, America/Cuiaba, - /// America/Curacao, America/Danmarkshavn, America/Dawson, - /// America/Dawson_Creek, America/Denver, America/Detroit, - /// America/Dominica, America/Edmonton, America/Eirunepe, - /// America/El_Salvador, America/Ensenada, America/Fort_Nelson, - /// America/Fort_Wayne, America/Fortaleza, America/Glace_Bay, - /// America/Godthab, America/Goose_Bay, America/Grand_Turk, - /// America/Grenada, America/Guadeloupe, America/Guatemala, - /// America/Guayaquil, America/Guyana, America/Halifax, - /// America/Havana, America/Hermosillo, America/Indiana/Indianapolis, - /// America/Indiana/Knox, America/Indiana/Marengo, - /// America/Indiana/Petersburg, America/Indiana/Tell_City, - /// America/Indiana/Vevay, America/Indiana/Vincennes, - /// America/Indiana/Winamac, America/Indianapolis, America/Inuvik, - /// America/Iqaluit, America/Jamaica, America/Jujuy, - /// America/Juneau, America/Kentucky/Louisville, - /// America/Kentucky/Monticello, America/Knox_IN, America/Kralendijk, - /// America/La_Paz, America/Lima, America/Los_Angeles, - /// America/Louisville, America/Lower_Princes, America/Maceio, - /// America/Managua, America/Manaus, America/Marigot, - /// America/Martinique, America/Matamoros, America/Mazatlan, - /// America/Mendoza, America/Menominee, America/Merida, - /// America/Metlakatla, America/Mexico_City, America/Miquelon, - /// America/Moncton, America/Monterrey, America/Montevideo, - /// America/Montreal, America/Montserrat, America/Nassau, - /// America/New_York, America/Nipigon, America/Nome, - /// America/Noronha, America/North_Dakota/Beulah, - /// America/North_Dakota/Center, America/North_Dakota/New_Salem, - /// America/Nuuk, America/Ojinaga, America/Panama, - /// America/Pangnirtung, America/Paramaribo, America/Phoenix, - /// America/Port-au-Prince, America/Port_of_Spain, America/Porto_Acre, - /// America/Porto_Velho, America/Puerto_Rico, America/Punta_Arenas, - /// America/Rainy_River, America/Rankin_Inlet, America/Recife, - /// America/Regina, America/Resolute, America/Rio_Branco, - /// America/Rosario, America/Santa_Isabel, America/Santarem, - /// America/Santiago, America/Santo_Domingo, America/Sao_Paulo, - /// America/Scoresbysund, America/Shiprock, America/Sitka, - /// America/St_Barthelemy, America/St_Johns, America/St_Kitts, - /// America/St_Lucia, America/St_Thomas, America/St_Vincent, - /// America/Swift_Current, America/Tegucigalpa, America/Thule, - /// America/Thunder_Bay, America/Tijuana, America/Toronto, - /// America/Tortola, America/Vancouver, America/Virgin, - /// America/Whitehorse, America/Winnipeg, America/Yakutat, - /// America/Yellowknife, Antarctica/Casey, Antarctica/Davis, - /// Antarctica/DumontDUrville, Antarctica/Macquarie, Antarctica/Mawson, - /// Antarctica/McMurdo, Antarctica/Palmer, Antarctica/Rothera, - /// Antarctica/South_Pole, Antarctica/Syowa, Antarctica/Troll, - /// Antarctica/Vostok, Arctic/Longyearbyen, Asia/Aden, - /// Asia/Almaty, Asia/Amman, Asia/Anadyr, Asia/Aqtau, - /// Asia/Aqtobe, Asia/Ashgabat, Asia/Ashkhabad, Asia/Atyrau, - /// Asia/Baghdad, Asia/Bahrain, Asia/Baku, Asia/Bangkok, - /// Asia/Barnaul, Asia/Beirut, Asia/Bishkek, Asia/Brunei, - /// Asia/Calcutta, Asia/Chita, Asia/Choibalsan, Asia/Chongqing, - /// Asia/Chungking, Asia/Colombo, Asia/Dacca, Asia/Damascus, - /// Asia/Dhaka, Asia/Dili, Asia/Dubai, Asia/Dushanbe, - /// Asia/Famagusta, Asia/Gaza, Asia/Harbin, Asia/Hebron, - /// Asia/Ho_Chi_Minh, Asia/Hong_Kong, Asia/Hovd, Asia/Irkutsk, - /// Asia/Istanbul, Asia/Jakarta, Asia/Jayapura, Asia/Jerusalem, - /// Asia/Kabul, Asia/Kamchatka, Asia/Karachi, Asia/Kashgar, - /// Asia/Kathmandu, Asia/Katmandu, Asia/Khandyga, Asia/Kolkata, - /// Asia/Krasnoyarsk, Asia/Kuala_Lumpur, Asia/Kuching, - /// Asia/Kuwait, Asia/Macao, Asia/Macau, Asia/Magadan, - /// Asia/Makassar, Asia/Manila, Asia/Muscat, Asia/Nicosia, - /// Asia/Novokuznetsk, Asia/Novosibirsk, Asia/Omsk, Asia/Oral, - /// Asia/Phnom_Penh, Asia/Pontianak, Asia/Pyongyang, Asia/Qatar, - /// Asia/Qostanay, Asia/Qyzylorda, Asia/Rangoon, Asia/Riyadh, - /// Asia/Saigon, Asia/Sakhalin, Asia/Samarkand, Asia/Seoul, - /// Asia/Shanghai, Asia/Singapore, Asia/Srednekolymsk, - /// Asia/Taipei, Asia/Tashkent, Asia/Tbilisi, Asia/Tehran, - /// Asia/Tel_Aviv, Asia/Thimbu, Asia/Thimphu, Asia/Tokyo, - /// Asia/Tomsk, Asia/Ujung_Pandang, Asia/Ulaanbaatar, - /// Asia/Ulan_Bator, Asia/Urumqi, Asia/Ust-Nera, Asia/Vientiane, - /// Asia/Vladivostok, Asia/Yakutsk, Asia/Yangon, - /// Asia/Yekaterinburg, Asia/Yerevan, Atlantic/Azores, - /// Atlantic/Bermuda, Atlantic/Canary, Atlantic/Cape_Verde, - /// Atlantic/Faeroe, Atlantic/Faroe, Atlantic/Jan_Mayen, - /// Atlantic/Madeira, Atlantic/Reykjavik, Atlantic/South_Georgia, - /// Atlantic/St_Helena, Atlantic/Stanley, Australia/ACT, - /// Australia/Adelaide, Australia/Brisbane, Australia/Broken_Hill, - /// Australia/Canberra, Australia/Currie, Australia/Darwin, - /// Australia/Eucla, Australia/Hobart, Australia/LHI, - /// Australia/Lindeman, Australia/Lord_Howe, Australia/Melbourne, - /// Australia/NSW, Australia/North, Australia/Perth, - /// Australia/Queensland, Australia/South, Australia/Sydney, - /// Australia/Tasmania, Australia/Victoria, Australia/West, - /// Australia/Yancowinna, Brazil/Acre, Brazil/DeNoronha, - /// Brazil/East, Brazil/West, CET, CST6CDT, - /// Canada/Atlantic, Canada/Central, Canada/Eastern, + /// America/Costa_Rica, America/Coyhaique, America/Creston, + /// America/Cuiaba, America/Curacao, America/Danmarkshavn, + /// America/Dawson, America/Dawson_Creek, America/Denver, + /// America/Detroit, America/Dominica, America/Edmonton, + /// America/Eirunepe, America/El_Salvador, America/Ensenada, + /// America/Fort_Nelson, America/Fort_Wayne, America/Fortaleza, + /// America/Glace_Bay, America/Godthab, America/Goose_Bay, + /// America/Grand_Turk, America/Grenada, America/Guadeloupe, + /// America/Guatemala, America/Guayaquil, America/Guyana, + /// America/Halifax, America/Havana, America/Hermosillo, + /// America/Indiana/Indianapolis, America/Indiana/Knox, + /// America/Indiana/Marengo, America/Indiana/Petersburg, + /// America/Indiana/Tell_City, America/Indiana/Vevay, + /// America/Indiana/Vincennes, America/Indiana/Winamac, + /// America/Indianapolis, America/Inuvik, America/Iqaluit, + /// America/Jamaica, America/Jujuy, America/Juneau, + /// America/Kentucky/Louisville, America/Kentucky/Monticello, + /// America/Knox_IN, America/Kralendijk, America/La_Paz, + /// America/Lima, America/Los_Angeles, America/Louisville, + /// America/Lower_Princes, America/Maceio, America/Managua, + /// America/Manaus, America/Marigot, America/Martinique, + /// America/Matamoros, America/Mazatlan, America/Mendoza, + /// America/Menominee, America/Merida, America/Metlakatla, + /// America/Mexico_City, America/Miquelon, America/Moncton, + /// America/Monterrey, America/Montevideo, America/Montreal, + /// America/Montserrat, America/Nassau, America/New_York, + /// America/Nipigon, America/Nome, America/Noronha, + /// America/North_Dakota/Beulah, America/North_Dakota/Center, + /// America/North_Dakota/New_Salem, America/Nuuk, America/Ojinaga, + /// America/Panama, America/Pangnirtung, America/Paramaribo, + /// America/Phoenix, America/Port-au-Prince, America/Port_of_Spain, + /// America/Porto_Acre, America/Porto_Velho, America/Puerto_Rico, + /// America/Punta_Arenas, America/Rainy_River, America/Rankin_Inlet, + /// America/Recife, America/Regina, America/Resolute, + /// America/Rio_Branco, America/Rosario, America/Santa_Isabel, + /// America/Santarem, America/Santiago, America/Santo_Domingo, + /// America/Sao_Paulo, America/Scoresbysund, America/Shiprock, + /// America/Sitka, America/St_Barthelemy, America/St_Johns, + /// America/St_Kitts, America/St_Lucia, America/St_Thomas, + /// America/St_Vincent, America/Swift_Current, America/Tegucigalpa, + /// America/Thule, America/Thunder_Bay, America/Tijuana, + /// America/Toronto, America/Tortola, America/Vancouver, + /// America/Virgin, America/Whitehorse, America/Winnipeg, + /// America/Yakutat, America/Yellowknife, Antarctica/Casey, + /// Antarctica/Davis, Antarctica/DumontDUrville, Antarctica/Macquarie, + /// Antarctica/Mawson, Antarctica/McMurdo, Antarctica/Palmer, + /// Antarctica/Rothera, Antarctica/South_Pole, Antarctica/Syowa, + /// Antarctica/Troll, Antarctica/Vostok, Arctic/Longyearbyen, + /// Asia/Aden, Asia/Almaty, Asia/Amman, Asia/Anadyr, + /// Asia/Aqtau, Asia/Aqtobe, Asia/Ashgabat, Asia/Ashkhabad, + /// Asia/Atyrau, Asia/Baghdad, Asia/Bahrain, Asia/Baku, + /// Asia/Bangkok, Asia/Barnaul, Asia/Beirut, Asia/Bishkek, + /// Asia/Brunei, Asia/Calcutta, Asia/Chita, Asia/Choibalsan, + /// Asia/Chongqing, Asia/Chungking, Asia/Colombo, Asia/Dacca, + /// Asia/Damascus, Asia/Dhaka, Asia/Dili, Asia/Dubai, + /// Asia/Dushanbe, Asia/Famagusta, Asia/Gaza, Asia/Harbin, + /// Asia/Hebron, Asia/Ho_Chi_Minh, Asia/Hong_Kong, Asia/Hovd, + /// Asia/Irkutsk, Asia/Istanbul, Asia/Jakarta, Asia/Jayapura, + /// Asia/Jerusalem, Asia/Kabul, Asia/Kamchatka, Asia/Karachi, + /// Asia/Kashgar, Asia/Kathmandu, Asia/Katmandu, Asia/Khandyga, + /// Asia/Kolkata, Asia/Krasnoyarsk, Asia/Kuala_Lumpur, + /// Asia/Kuching, Asia/Kuwait, Asia/Macao, Asia/Macau, + /// Asia/Magadan, Asia/Makassar, Asia/Manila, Asia/Muscat, + /// Asia/Nicosia, Asia/Novokuznetsk, Asia/Novosibirsk, + /// Asia/Omsk, Asia/Oral, Asia/Phnom_Penh, Asia/Pontianak, + /// Asia/Pyongyang, Asia/Qatar, Asia/Qostanay, Asia/Qyzylorda, + /// Asia/Rangoon, Asia/Riyadh, Asia/Saigon, Asia/Sakhalin, + /// Asia/Samarkand, Asia/Seoul, Asia/Shanghai, Asia/Singapore, + /// Asia/Srednekolymsk, Asia/Taipei, Asia/Tashkent, + /// Asia/Tbilisi, Asia/Tehran, Asia/Tel_Aviv, Asia/Thimbu, + /// Asia/Thimphu, Asia/Tokyo, Asia/Tomsk, Asia/Ujung_Pandang, + /// Asia/Ulaanbaatar, Asia/Ulan_Bator, Asia/Urumqi, + /// Asia/Ust-Nera, Asia/Vientiane, Asia/Vladivostok, + /// Asia/Yakutsk, Asia/Yangon, Asia/Yekaterinburg, Asia/Yerevan, + /// Atlantic/Azores, Atlantic/Bermuda, Atlantic/Canary, + /// Atlantic/Cape_Verde, Atlantic/Faeroe, Atlantic/Faroe, + /// Atlantic/Jan_Mayen, Atlantic/Madeira, Atlantic/Reykjavik, + /// Atlantic/South_Georgia, Atlantic/St_Helena, Atlantic/Stanley, + /// Australia/ACT, Australia/Adelaide, Australia/Brisbane, + /// Australia/Broken_Hill, Australia/Canberra, Australia/Currie, + /// Australia/Darwin, Australia/Eucla, Australia/Hobart, + /// Australia/LHI, Australia/Lindeman, Australia/Lord_Howe, + /// Australia/Melbourne, Australia/NSW, Australia/North, + /// Australia/Perth, Australia/Queensland, Australia/South, + /// Australia/Sydney, Australia/Tasmania, Australia/Victoria, + /// Australia/West, Australia/Yancowinna, Brazil/Acre, + /// Brazil/DeNoronha, Brazil/East, Brazil/West, CET, + /// CST6CDT, Canada/Atlantic, Canada/Central, Canada/Eastern, /// Canada/Mountain, Canada/Newfoundland, Canada/Pacific, /// Canada/Saskatchewan, Canada/Yukon, Chile/Continental, /// Chile/EasterIsland, Cuba, EET, EST, EST5EDT, diff --git a/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemCreateOptions.cs b/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemCreateOptions.cs index b91af704f8..543b9bb833 100644 --- a/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemCreateOptions.cs +++ b/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemCreateOptions.cs @@ -69,7 +69,7 @@ public class SubscriptionItemCreateOptions : BaseOptions, IHasMetadata /// authentication due to SCA regulation and further user action is needed, this parameter /// does not update the subscription and returns an error instead. This was the default /// behavior for API versions prior to 2019-03-14. See the changelog to learn more. + /// href="https://docs.stripe.com/changelog/2019-03-14">changelog to learn more. /// One of: allow_incomplete, default_incomplete, error_if_incomplete, /// or pending_if_incomplete. /// diff --git a/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs b/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs index e4d6d297c2..e700fe27d5 100644 --- a/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs +++ b/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs @@ -79,7 +79,7 @@ public class SubscriptionItemUpdateOptions : BaseOptions, IHasMetadata /// authentication due to SCA regulation and further user action is needed, this parameter /// does not update the subscription and returns an error instead. This was the default /// behavior for API versions prior to 2019-03-14. See the changelog to learn more. + /// href="https://docs.stripe.com/changelog/2019-03-14">changelog to learn more. /// One of: allow_incomplete, default_incomplete, error_if_incomplete, /// or pending_if_incomplete. ///
diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleBillingModeOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleBillingModeOptions.cs index 592db9565a..5b4d1e165d 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleBillingModeOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleBillingModeOptions.cs @@ -9,6 +9,7 @@ namespace Stripe public class SubscriptionScheduleBillingModeOptions : INestedOptions { /// + /// Controls the calculation and orchestration of prorations and invoices for subscriptions. /// One of: classic, or flexible. /// [JsonProperty("type")] diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseDurationOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseDurationOptions.cs new file mode 100644 index 0000000000..42bd226c81 --- /dev/null +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseDurationOptions.cs @@ -0,0 +1,30 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class SubscriptionSchedulePhaseDurationOptions : INestedOptions + { + /// + /// Specifies phase duration. Either day, week, month or year. + /// One of: day, month, week, or year. + /// + [JsonProperty("interval")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("interval")] +#endif + public string Interval { get; set; } + + /// + /// The multiplier applied to the interval. + /// + [JsonProperty("interval_count")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("interval_count")] +#endif + public long? IntervalCount { get; set; } + } +} diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs index 58133b502b..109f0997b8 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs @@ -140,6 +140,15 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions, IHasMetadata #endif public List Discounts { get; set; } + /// + /// The number of intervals the phase should last. If set, end_date must not be set. + /// + [JsonProperty("duration")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("duration")] +#endif + public SubscriptionSchedulePhaseDurationOptions Duration { get; set; } + /// /// The date at which this phase of the subscription schedule ends. If set, /// iterations must not be set. @@ -175,7 +184,8 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions, IHasMetadata /// Integer representing the multiplier applied to the price interval. For example, /// iterations=2 applied to a price with interval=month and /// interval_count=3 results in a phase of duration 2 * 3 months = 6 months. - /// If set, end_date must not be set. + /// If set, end_date must not be set. This parameter is deprecated and will be + /// removed in a future version. Use duration instead. /// [JsonProperty("iterations")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionBillingModeOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionBillingModeOptions.cs index bd4dbea59f..6fdbd90783 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionBillingModeOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionBillingModeOptions.cs @@ -9,6 +9,7 @@ namespace Stripe public class SubscriptionBillingModeOptions : INestedOptions { /// + /// Controls the calculation and orchestration of prorations and invoices for subscriptions. /// One of: classic, or flexible. /// [JsonProperty("type")] diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs index 53d24ec201..16027aa8f9 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs @@ -276,7 +276,7 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata /// authentication due to SCA regulation and further user action is needed, this parameter /// does not update the subscription and returns an error instead. This was the default /// behavior for API versions prior to 2019-03-14. See the changelog to learn more. + /// href="https://docs.stripe.com/changelog/2019-03-14">changelog to learn more. /// One of: allow_incomplete, default_incomplete, error_if_incomplete, /// or pending_if_incomplete. ///
diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAeOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAeOptions.cs index e6206cfe96..de22980f2d 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAeOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAeOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsAeOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsAeStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAeStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAeStandardOptions.cs new file mode 100644 index 0000000000..c1ca9fad9c --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAeStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsAeStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlOptions.cs index cd86f5ca04..8065cc5771 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsAlOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsAlStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlStandardOptions.cs new file mode 100644 index 0000000000..6b9bffb9fc --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsAlStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoOptions.cs index e88a5e8873..010dfe53e4 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsAoOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsAoStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoStandardOptions.cs new file mode 100644 index 0000000000..4976c9a11c --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsAoStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAtStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAtStandardOptions.cs index 61295a02eb..19c1c9eefa 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAtStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAtStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsAtStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAuOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAuOptions.cs index 8cce32f610..0f46ab7c07 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAuOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAuOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsAuOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsAuStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAuStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAuStandardOptions.cs new file mode 100644 index 0000000000..5e4f1df708 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAuStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsAuStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAwOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAwOptions.cs index 6532c161d3..e15508a972 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAwOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAwOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsAwOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsAwStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAwStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAwStandardOptions.cs new file mode 100644 index 0000000000..13c810c2fe --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAwStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsAwStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaOptions.cs index 7d3d661fe1..f5e36bdab8 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsBaOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsBaStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaStandardOptions.cs new file mode 100644 index 0000000000..28be785328 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsBaStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbOptions.cs index 867a817518..9c2552cb11 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsBbOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsBbStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbStandardOptions.cs new file mode 100644 index 0000000000..71f1d36fc8 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsBbStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBdOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBdOptions.cs index 8155c3bdef..40e7550d55 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBdOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBdOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsBdOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsBdStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBdStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBdStandardOptions.cs new file mode 100644 index 0000000000..4e4129fae2 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBdStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsBdStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBeStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBeStandardOptions.cs index a1938c895f..e1e40dce5c 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBeStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBeStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsBeStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfOptions.cs index 4464d86437..9e040ebb7e 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsBfOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsBfStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfStandardOptions.cs new file mode 100644 index 0000000000..f7dfdd19fd --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBfStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsBfStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBgStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBgStandardOptions.cs index d00f703def..c5c3bf5b82 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBgStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBgStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsBgStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBhOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBhOptions.cs index 74c75845d5..481c34e9a5 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBhOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBhOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsBhOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsBhStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBhStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBhStandardOptions.cs new file mode 100644 index 0000000000..e0ae31c404 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBhStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsBhStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsOptions.cs index 040f6d834c..d3b096606b 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsBsOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsBsStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsStandardOptions.cs new file mode 100644 index 0000000000..30bd7d5739 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsBsStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdOptions.cs index f50a9fe605..3bdabd40a0 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsCdOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsCdStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdStandardOptions.cs new file mode 100644 index 0000000000..693bb903e3 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsCdStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsChOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsChOptions.cs index b2dc331954..af10903885 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsChOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsChOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsChOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsChStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsChStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsChStandardOptions.cs new file mode 100644 index 0000000000..55a5abdf18 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsChStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsChStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCyStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCyStandardOptions.cs index ba28d8bef4..36badf5aa6 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCyStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCyStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsCyStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCzStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCzStandardOptions.cs index 65f40d8477..c3c845be50 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCzStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCzStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsCzStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsDeStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsDeStandardOptions.cs index 2325b744fe..9fc2ca3c7d 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsDeStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsDeStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsDeStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsDkStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsDkStandardOptions.cs index 280d3c9dcf..c592a090fb 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsDkStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsDkStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsDkStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEeStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEeStandardOptions.cs index 99db8aa03a..ac709f53e4 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEeStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEeStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsEeStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEsStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEsStandardOptions.cs index 8d54321533..01bf79a22c 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEsStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEsStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsEsStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEtOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEtOptions.cs index 4897a85a7c..f7c60633c4 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEtOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEtOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsEtOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsEtStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEtStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEtStandardOptions.cs new file mode 100644 index 0000000000..cc41be75f5 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsEtStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsEtStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsFiStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsFiStandardOptions.cs index e6f64b6202..3f0e08c64f 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsFiStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsFiStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsFiStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsFrStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsFrStandardOptions.cs index 74b1844a4d..c5c4823f9e 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsFrStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsFrStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsFrStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGbOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGbOptions.cs index 29ff8cdedc..0f02601685 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGbOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGbOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsGbOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsGbStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGbStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGbStandardOptions.cs new file mode 100644 index 0000000000..ca11036a0a --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGbStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsGbStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnOptions.cs index d82c99c9d0..43cc2d4295 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsGnOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsGnStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnStandardOptions.cs new file mode 100644 index 0000000000..9806ec13d7 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsGnStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGrStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGrStandardOptions.cs index 13bbdb45ed..b96e6f1708 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGrStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGrStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsGrStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsHrStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsHrStandardOptions.cs index 72a3e2672e..e7d4b4a9c1 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsHrStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsHrStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsHrStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsHuStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsHuStandardOptions.cs index 7bf0b3e1ac..c03947be29 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsHuStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsHuStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsHuStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIeStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIeStandardOptions.cs index cbba198279..6de1d5c6e5 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIeStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIeStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsIeStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIsOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIsOptions.cs index afa2fce100..613d827eb9 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIsOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIsOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsIsOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsIsStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIsStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIsStandardOptions.cs new file mode 100644 index 0000000000..dae0623335 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsIsStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsIsStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsItStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsItStandardOptions.cs index 206def52aa..8803a6771e 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsItStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsItStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsItStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsJpOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsJpOptions.cs index 143c1c7c8c..c66f9543b2 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsJpOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsJpOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsJpOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsJpStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsJpStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsJpStandardOptions.cs new file mode 100644 index 0000000000..5e76e23255 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsJpStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsJpStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLtStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLtStandardOptions.cs index 16a03e1ca6..51987ba54b 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLtStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLtStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsLtStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLuStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLuStandardOptions.cs index c64b4af62a..a4141c924d 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLuStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLuStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsLuStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLvStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLvStandardOptions.cs index 3727332057..6a37a5c14e 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLvStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsLvStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsLvStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeOptions.cs index ebc5b60a41..a71ded1eb4 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsMeOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsMeStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeStandardOptions.cs new file mode 100644 index 0000000000..6ce6cc3bc6 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsMeStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkOptions.cs index c67840484d..469fb17c95 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsMkOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsMkStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkStandardOptions.cs new file mode 100644 index 0000000000..f8672f6684 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsMkStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrOptions.cs index 213b36296c..934f5486e3 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsMrOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsMrStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrStandardOptions.cs new file mode 100644 index 0000000000..1e5662bbd8 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsMrStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMtStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMtStandardOptions.cs index 1260743c53..ff967bc1f6 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMtStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMtStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsMtStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNlStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNlStandardOptions.cs index 335de6a9d2..d353a90358 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNlStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNlStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsNlStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNoOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNoOptions.cs index d80c666357..53cb4ef199 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNoOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNoOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsNoOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsNoStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNoStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNoStandardOptions.cs new file mode 100644 index 0000000000..4f0f58a6c2 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNoStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsNoStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNzOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNzOptions.cs index 7457ab624d..95c68edfdf 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNzOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNzOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsNzOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsNzStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNzStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNzStandardOptions.cs new file mode 100644 index 0000000000..39e577edb2 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNzStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsNzStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOmOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOmOptions.cs index 81f60fa11f..199a3883f2 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOmOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOmOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsOmOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsOmStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOmStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOmStandardOptions.cs new file mode 100644 index 0000000000..6079da8b96 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOmStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsOmStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPlStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPlStandardOptions.cs index df1220d5ed..3635d96b80 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPlStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPlStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsPlStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPtStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPtStandardOptions.cs index b1ff11743b..ac585d67fd 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPtStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPtStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsPtStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRoStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRoStandardOptions.cs index 84899465bd..5e4436374e 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRoStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRoStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsRoStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRsOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRsOptions.cs index 1e6b768249..0923bf1280 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRsOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRsOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsRsOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsRsStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRsStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRsStandardOptions.cs new file mode 100644 index 0000000000..94d6635c11 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsRsStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsRsStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSeStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSeStandardOptions.cs index 7b1ab4b9a9..cad44bc43f 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSeStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSeStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsSeStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSgOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSgOptions.cs index b8d1b52938..166d972598 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSgOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSgOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsSgOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsSgStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSgStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSgStandardOptions.cs new file mode 100644 index 0000000000..b4291348a1 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSgStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsSgStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSiStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSiStandardOptions.cs index 4f83c82914..f28742165b 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSiStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSiStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsSiStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSkStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSkStandardOptions.cs index 30c70ced3a..eec110246a 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSkStandardOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSkStandardOptions.cs @@ -10,7 +10,7 @@ public class RegistrationCountryOptionsSkStandardOptions : INestedOptions { /// /// Place of supply scheme used in an EU standard registration. - /// One of: small_seller, or standard. + /// One of: inbound_goods, small_seller, or standard. /// [JsonProperty("place_of_supply_scheme")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrOptions.cs index 717fd1c9c4..94369e605b 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsSrOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsSrStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrStandardOptions.cs new file mode 100644 index 0000000000..adbb040d3f --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsSrStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyOptions.cs index 99185dcbd7..da64137be8 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsUyOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsUyStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyStandardOptions.cs new file mode 100644 index 0000000000..da1e960182 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsUyStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZaOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZaOptions.cs index 63235f6414..9af4dda868 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZaOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZaOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsZaOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsZaStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZaStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZaStandardOptions.cs new file mode 100644 index 0000000000..3e0fbb7816 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZaStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsZaStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwOptions.cs index 6a31197916..fc584af967 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Tax public class RegistrationCountryOptionsZwOptions : INestedOptions { + /// + /// Options for the standard registration. + /// + [JsonProperty("standard")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("standard")] +#endif + public RegistrationCountryOptionsZwStandardOptions Standard { get; set; } + /// /// Type of registration to be created in country. /// diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwStandardOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwStandardOptions.cs new file mode 100644 index 0000000000..0d3d1a0f22 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwStandardOptions.cs @@ -0,0 +1,21 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class RegistrationCountryOptionsZwStandardOptions : INestedOptions + { + /// + /// Place of supply scheme used in an standard registration. + /// One of: inbound_goods, or standard. + /// + [JsonProperty("place_of_supply_scheme")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("place_of_supply_scheme")] +#endif + public string PlaceOfSupplyScheme { get; set; } + } +} diff --git a/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingAedOptions.cs b/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingAedOptions.cs new file mode 100644 index 0000000000..4048accf94 --- /dev/null +++ b/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingAedOptions.cs @@ -0,0 +1,40 @@ +// File generated from our OpenAPI spec +namespace Stripe.Terminal +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ConfigurationTippingAedOptions : INestedOptions + { + /// + /// Fixed amounts displayed when collecting a tip. + /// + [JsonProperty("fixed_amounts")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fixed_amounts")] +#endif + public List FixedAmounts { get; set; } + + /// + /// Percentages displayed when collecting a tip. + /// + [JsonProperty("percentages")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("percentages")] +#endif + public List Percentages { get; set; } + + /// + /// Below this amount, fixed amounts will be displayed; above it, percentages will be + /// displayed. + /// + [JsonProperty("smart_tip_threshold")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("smart_tip_threshold")] +#endif + public long? SmartTipThreshold { get; set; } + } +} diff --git a/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingBgnOptions.cs b/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingBgnOptions.cs new file mode 100644 index 0000000000..956a9c1344 --- /dev/null +++ b/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingBgnOptions.cs @@ -0,0 +1,40 @@ +// File generated from our OpenAPI spec +namespace Stripe.Terminal +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ConfigurationTippingBgnOptions : INestedOptions + { + /// + /// Fixed amounts displayed when collecting a tip. + /// + [JsonProperty("fixed_amounts")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fixed_amounts")] +#endif + public List FixedAmounts { get; set; } + + /// + /// Percentages displayed when collecting a tip. + /// + [JsonProperty("percentages")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("percentages")] +#endif + public List Percentages { get; set; } + + /// + /// Below this amount, fixed amounts will be displayed; above it, percentages will be + /// displayed. + /// + [JsonProperty("smart_tip_threshold")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("smart_tip_threshold")] +#endif + public long? SmartTipThreshold { get; set; } + } +} diff --git a/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingHufOptions.cs b/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingHufOptions.cs new file mode 100644 index 0000000000..4ff3db3f3a --- /dev/null +++ b/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingHufOptions.cs @@ -0,0 +1,40 @@ +// File generated from our OpenAPI spec +namespace Stripe.Terminal +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ConfigurationTippingHufOptions : INestedOptions + { + /// + /// Fixed amounts displayed when collecting a tip. + /// + [JsonProperty("fixed_amounts")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fixed_amounts")] +#endif + public List FixedAmounts { get; set; } + + /// + /// Percentages displayed when collecting a tip. + /// + [JsonProperty("percentages")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("percentages")] +#endif + public List Percentages { get; set; } + + /// + /// Below this amount, fixed amounts will be displayed; above it, percentages will be + /// displayed. + /// + [JsonProperty("smart_tip_threshold")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("smart_tip_threshold")] +#endif + public long? SmartTipThreshold { get; set; } + } +} diff --git a/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingOptions.cs b/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingOptions.cs index 99cb9ca5c8..8e54042aa9 100644 --- a/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingOptions.cs +++ b/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingOptions.cs @@ -8,6 +8,15 @@ namespace Stripe.Terminal public class ConfigurationTippingOptions : INestedOptions { + /// + /// Tipping configuration for AED. + /// + [JsonProperty("aed")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("aed")] +#endif + public ConfigurationTippingAedOptions Aed { get; set; } + /// /// Tipping configuration for AUD. /// @@ -17,6 +26,15 @@ public class ConfigurationTippingOptions : INestedOptions #endif public ConfigurationTippingAudOptions Aud { get; set; } + /// + /// Tipping configuration for BGN. + /// + [JsonProperty("bgn")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("bgn")] +#endif + public ConfigurationTippingBgnOptions Bgn { get; set; } + /// /// Tipping configuration for CAD. /// @@ -80,6 +98,15 @@ public class ConfigurationTippingOptions : INestedOptions #endif public ConfigurationTippingHkdOptions Hkd { get; set; } + /// + /// Tipping configuration for HUF. + /// + [JsonProperty("huf")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("huf")] +#endif + public ConfigurationTippingHufOptions Huf { get; set; } + /// /// Tipping configuration for JPY. /// @@ -125,6 +152,15 @@ public class ConfigurationTippingOptions : INestedOptions #endif public ConfigurationTippingPlnOptions Pln { get; set; } + /// + /// Tipping configuration for RON. + /// + [JsonProperty("ron")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("ron")] +#endif + public ConfigurationTippingRonOptions Ron { get; set; } + /// /// Tipping configuration for SEK. /// diff --git a/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingRonOptions.cs b/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingRonOptions.cs new file mode 100644 index 0000000000..b291763af6 --- /dev/null +++ b/src/Stripe.net/Services/Terminal/Configurations/ConfigurationTippingRonOptions.cs @@ -0,0 +1,40 @@ +// File generated from our OpenAPI spec +namespace Stripe.Terminal +{ + using System.Collections.Generic; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ConfigurationTippingRonOptions : INestedOptions + { + /// + /// Fixed amounts displayed when collecting a tip. + /// + [JsonProperty("fixed_amounts")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fixed_amounts")] +#endif + public List FixedAmounts { get; set; } + + /// + /// Percentages displayed when collecting a tip. + /// + [JsonProperty("percentages")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("percentages")] +#endif + public List Percentages { get; set; } + + /// + /// Below this amount, fixed amounts will be displayed; above it, percentages will be + /// displayed. + /// + [JsonProperty("smart_tip_threshold")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("smart_tip_threshold")] +#endif + public long? SmartTipThreshold { get; set; } + } +} diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs index c9ea072b78..9010aa2f2c 100644 --- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs +++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs @@ -40,8 +40,8 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata /// 2024-04-10, 2024-06-20, 2024-09-30.acacia, /// 2024-10-28.acacia, 2024-11-20.acacia, 2024-12-18.acacia, /// 2025-01-27.acacia, 2025-02-24.acacia, 2025-03-01.dashboard, - /// 2025-03-31.basil, 2025-04-30.basil, 2025-05-28.basil, or - /// 2025-06-30.basil. + /// 2025-03-31.basil, 2025-04-30.basil, 2025-05-28.basil, + /// 2025-06-30.basil, or 2025-07-30.basil. /// [JsonProperty("api_version")] #if NET6_0_OR_GREATER