diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 7ab08411da..9fc97dcb22 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1347 \ No newline at end of file +v1399 \ No newline at end of file diff --git a/src/Stripe.net/Constants/ApiVersion.cs b/src/Stripe.net/Constants/ApiVersion.cs index 090fbcce39..6c56685a19 100644 --- a/src/Stripe.net/Constants/ApiVersion.cs +++ b/src/Stripe.net/Constants/ApiVersion.cs @@ -3,6 +3,6 @@ namespace Stripe { internal class ApiVersion { - public const string Current = "2024-11-20.acacia"; + public const string Current = "2024-12-18.acacia"; } } \ No newline at end of file diff --git a/src/Stripe.net/Constants/EventTypes.cs b/src/Stripe.net/Constants/EventTypes.cs index 3de3eb06e8..066dfc427c 100644 --- a/src/Stripe.net/Constants/EventTypes.cs +++ b/src/Stripe.net/Constants/EventTypes.cs @@ -143,12 +143,14 @@ public static class EventTypes public const string ChargePending = "charge.pending"; /// - /// Occurs whenever a refund is updated, on selected payment methods. + /// Occurs whenever a refund is updated on selected payment methods. For updates on all + /// refunds, listen to refund.updated instead. /// public const string ChargeRefundUpdated = "charge.refund.updated"; /// - /// Occurs whenever a charge is refunded, including partial refunds. + /// Occurs whenever a charge is refunded, including partial refunds. Listen to + /// refund.created for information about the refund. /// public const string ChargeRefunded = "charge.refunded"; diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs index 5d1a954b53..e923118ac4 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountManagementFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. 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 false when external_account_collection is enabled and true - /// otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// 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")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs index c937b7d582..30568b1165 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountOnboardingFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. 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 false when external_account_collection is enabled and true - /// otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// 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")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs index cc0aab2487..7c2c0a93d5 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsBalancesFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. 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 false when external_account_collection is enabled and true - /// otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// 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")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs index 655f784ba8..0a6d022478 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsNotificationBannerFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. 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 false when external_account_collection is enabled and true - /// otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// 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")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs index 0285e8cd5a..c03ac4ad83 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsPayoutsFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. 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 false when external_account_collection is enabled and true - /// otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// 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")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs b/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs index 88a30b094e..752adcadd8 100644 --- a/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs +++ b/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs @@ -16,8 +16,8 @@ public class AccountFutureRequirements : StripeEntity public List Alternatives { get; set; } /// - /// Date on which future_requirements merges with the main requirements hash - /// and future_requirements becomes empty. After the transition, currently_due + /// Date on which future_requirements becomes the main requirements hash and + /// future_requirements becomes empty. After the transition, currently_due /// requirements may immediately become past_due, but the account may also be given a /// grace period depending on its enablement state prior to transitioning. /// diff --git a/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs b/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs index d56c4bfa20..2db2f0bb53 100644 --- a/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs +++ b/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs @@ -154,8 +154,9 @@ public IBalanceTransactionSource Source /// obligation_reversal_inbound, payment, payment_failure_refund, /// payment_network_reserve_hold, payment_network_reserve_release, /// payment_refund, payment_reversal, payment_unreconciled, - /// payout, payout_cancel, payout_failure, refund, - /// refund_failure, reserve_transaction, reserved_funds, + /// payout, payout_cancel, payout_failure, + /// payout_minimum_balance_hold, payout_minimum_balance_release, + /// refund, refund_failure, reserve_transaction, reserved_funds, /// stripe_fee, stripe_fx_fee, tax_fee, topup, /// topup_reversal, transfer, transfer_cancel, transfer_failure, /// or transfer_refund. Learn more about obligation_reversal_inbound, payment, payment_failure_refund, /// payment_network_reserve_hold, payment_network_reserve_release, /// payment_refund, payment_reversal, payment_unreconciled, - /// payout, payout_cancel, payout_failure, refund, - /// refund_failure, reserve_transaction, reserved_funds, + /// payout, payout_cancel, payout_failure, + /// payout_minimum_balance_hold, payout_minimum_balance_release, + /// refund, refund_failure, reserve_transaction, reserved_funds, /// stripe_fee, stripe_fx_fee, tax_fee, topup, /// topup_reversal, transfer, transfer_cancel, transfer_failure, /// or transfer_refund. diff --git a/src/Stripe.net/Entities/Billing/CreditBalanceTransactions/CreditBalanceTransactionCredit.cs b/src/Stripe.net/Entities/Billing/CreditBalanceTransactions/CreditBalanceTransactionCredit.cs index fbb8110b52..4aa56aa94f 100644 --- a/src/Stripe.net/Entities/Billing/CreditBalanceTransactions/CreditBalanceTransactionCredit.cs +++ b/src/Stripe.net/Entities/Billing/CreditBalanceTransactions/CreditBalanceTransactionCredit.cs @@ -8,8 +8,16 @@ public class CreditBalanceTransactionCredit : StripeEntity + /// Details of the invoice to which the reinstated credits were originally applied. Only + /// present if type is credits_application_invoice_voided. + /// + [JsonProperty("credits_application_invoice_voided")] + public CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided CreditsApplicationInvoiceVoided { get; set; } + /// /// The type of credit transaction. + /// One of: credits_application_invoice_voided, or credits_granted. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/Billing/CreditBalanceTransactions/CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided.cs b/src/Stripe.net/Entities/Billing/CreditBalanceTransactions/CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided.cs new file mode 100644 index 0000000000..a0c327124a --- /dev/null +++ b/src/Stripe.net/Entities/Billing/CreditBalanceTransactions/CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided.cs @@ -0,0 +1,46 @@ +// File generated from our OpenAPI spec +namespace Stripe.Billing +{ + using Newtonsoft.Json; + using Stripe.Infrastructure; + + public class CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided : StripeEntity + { + #region Expandable Invoice + + /// + /// (ID of the Invoice) + /// The invoice to which the reinstated billing credits were originally applied. + /// + [JsonIgnore] + public string InvoiceId + { + get => this.InternalInvoice?.Id; + set => this.InternalInvoice = SetExpandableFieldId(value, this.InternalInvoice); + } + + /// + /// (Expanded) + /// The invoice to which the reinstated billing credits were originally applied. + /// + /// For more information, see the expand documentation. + /// + [JsonIgnore] + public Invoice Invoice + { + get => this.InternalInvoice?.ExpandedObject; + set => this.InternalInvoice = SetExpandableFieldObject(value, this.InternalInvoice); + } + + [JsonProperty("invoice")] + [JsonConverter(typeof(ExpandableFieldConverter))] + internal ExpandableField InternalInvoice { get; set; } + #endregion + + /// + /// The invoice line item to which the reinstated billing credits were originally applied. + /// + [JsonProperty("invoice_line_item")] + public string InvoiceLineItem { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs index d7e7908360..ce69485656 100644 --- a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs +++ b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs @@ -81,7 +81,7 @@ public Customer Customer #endregion /// - /// The time when the billing credits become effective—when they're eligible for use. + /// The time when the billing credits become effective-when they're eligible for use. /// [JsonProperty("effective_at")] [JsonConverter(typeof(UnixDateTimeConverter))] diff --git a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScope.cs b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScope.cs index 5cc86cc9bc..ddc44baa6c 100644 --- a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScope.cs +++ b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScope.cs @@ -6,7 +6,7 @@ namespace Stripe.Billing public class CreditGrantApplicabilityConfigScope : StripeEntity { /// - /// The price type for which credit grants can apply. We currently only support the + /// The price type that credit grants can apply to. We currently only support the /// metered price type. This refers to prices that have a Billing Meter attached to them. /// diff --git a/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs b/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs index d1e021a12e..1674224f23 100644 --- a/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs +++ b/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs @@ -7,10 +7,10 @@ namespace Stripe.Billing using Stripe.Infrastructure; /// - /// A billing meter event represents a customer's usage of a product. Meter events are used - /// to bill a customer based on their usage. Meter events are associated with billing - /// meters, which define the shape of the event's payload and how those events are - /// aggregated for billing. + /// Meter events represent actions that customers take in your system. You can use meter + /// events to bill a customer based on their usage. Meter events are associated with billing + /// meters, which define both the contents of the event’s payload and how to aggregate those + /// events. /// public class MeterEvent : StripeEntity, IHasObject { diff --git a/src/Stripe.net/Entities/Billing/Meters/Meter.cs b/src/Stripe.net/Entities/Billing/Meters/Meter.cs index 48e4a1bf1a..b7423b7a39 100644 --- a/src/Stripe.net/Entities/Billing/Meters/Meter.cs +++ b/src/Stripe.net/Entities/Billing/Meters/Meter.cs @@ -6,10 +6,9 @@ namespace Stripe.Billing using Stripe.Infrastructure; /// - /// A billing meter is a resource that allows you to track usage of a particular event. For - /// example, you might create a billing meter to track the number of API calls made by a - /// particular user. You can then attach the billing meter to a price and attach the price - /// to a subscription to charge the user for the number of API calls they make. + /// Meters specify how to aggregate meter events over a billing period. Meter events + /// represent the actions that customers take in your system. Meters attach to prices and + /// form the basis of the bill. /// /// Related guide: Usage /// based billing. diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs index 1dc119e81c..0aa3cf5ec1 100644 --- a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs +++ b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs @@ -16,8 +16,8 @@ public class CapabilityFutureRequirements : StripeEntity Alternatives { get; set; } /// - /// Date on which future_requirements merges with the main requirements hash - /// and future_requirements becomes empty. After the transition, currently_due + /// Date on which future_requirements becomes the main requirements hash and + /// future_requirements becomes empty. After the transition, currently_due /// requirements may immediately become past_due, but the account may also be given a /// grace period depending on the capability's enablement state prior to transitioning. /// diff --git a/src/Stripe.net/Entities/Cards/Card.cs b/src/Stripe.net/Entities/Cards/Card.cs index 4ff3810573..272b3af39c 100644 --- a/src/Stripe.net/Entities/Cards/Card.cs +++ b/src/Stripe.net/Entities/Cards/Card.cs @@ -291,6 +291,13 @@ public Customer Customer [JsonProperty("networks")] public CardNetworks Networks { get; set; } + /// + /// Status of a card based on the card issuer. + /// One of: regulated, or unregulated. + /// + [JsonProperty("regulated_status")] + public string RegulatedStatus { get; set; } + /// /// For external accounts that are cards, possible values are new and errored. /// If a payout fails, the status is set to errored and { + /// + /// For charges declined by the network, a 2 digit code which indicates the advice returned + /// by the network on how to proceed with an error. + /// + [JsonProperty("network_advice_code")] + public string NetworkAdviceCode { get; set; } + + /// + /// For charges declined by the network, a brand specific 2, 3, or 4 digit code which + /// indicates the reason the authorization failed. + /// + [JsonProperty("network_decline_code")] + public string NetworkDeclineCode { get; set; } + /// /// Possible values are approved_by_network, declined_by_network, /// not_sent_to_network, and reversed_after_approval. The value diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPay.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPay.cs index 2d16f581bd..41cd52feb8 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPay.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPay.cs @@ -1,7 +1,11 @@ // File generated from our OpenAPI spec namespace Stripe { + using Newtonsoft.Json; + public class ChargePaymentMethodDetailsAmazonPay : StripeEntity { + [JsonProperty("funding")] + public ChargePaymentMethodDetailsAmazonPayFunding Funding { get; set; } } } diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFunding.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFunding.cs new file mode 100644 index 0000000000..2b54c00964 --- /dev/null +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFunding.cs @@ -0,0 +1,17 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; + + public class ChargePaymentMethodDetailsAmazonPayFunding : StripeEntity + { + [JsonProperty("card")] + public ChargePaymentMethodDetailsAmazonPayFundingCard Card { get; set; } + + /// + /// funding type of the underlying payment method. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs new file mode 100644 index 0000000000..c5b6a9ca17 --- /dev/null +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs @@ -0,0 +1,48 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; + + public class ChargePaymentMethodDetailsAmazonPayFundingCard : StripeEntity + { + /// + /// Card brand. Can be amex, diners, discover, eftpos_au, + /// jcb, link, mastercard, unionpay, visa, or + /// unknown. + /// + [JsonProperty("brand")] + public string Brand { get; set; } + + /// + /// Two-letter ISO code representing the country of the card. You could use this attribute + /// to get a sense of the international breakdown of cards you've collected. + /// + [JsonProperty("country")] + public string Country { get; set; } + + /// + /// Two-digit number representing the card's expiration month. + /// + [JsonProperty("exp_month")] + public long? ExpMonth { get; set; } + + /// + /// Four-digit number representing the card's expiration year. + /// + [JsonProperty("exp_year")] + public long? ExpYear { get; set; } + + /// + /// Card funding type. Can be credit, debit, prepaid, or + /// unknown. + /// + [JsonProperty("funding")] + public string Funding { get; set; } + + /// + /// The last four digits of the card. + /// + [JsonProperty("last4")] + public string Last4 { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs index 994309728f..39d8465f92 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs @@ -155,6 +155,13 @@ public class ChargePaymentMethodDetailsCard : StripeEntity + /// Status of a card based on the card issuer. + /// One of: regulated, or unregulated. + /// + [JsonProperty("regulated_status")] + public string RegulatedStatus { get; set; } + /// /// Populated if this transaction used 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPay.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPay.cs index 037dd94070..8e705a5aec 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPay.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPay.cs @@ -1,7 +1,11 @@ // File generated from our OpenAPI spec namespace Stripe { + using Newtonsoft.Json; + public class ChargePaymentMethodDetailsRevolutPay : StripeEntity { + [JsonProperty("funding")] + public ChargePaymentMethodDetailsRevolutPayFunding Funding { get; set; } } } diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFunding.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFunding.cs new file mode 100644 index 0000000000..0b797ad880 --- /dev/null +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFunding.cs @@ -0,0 +1,17 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; + + public class ChargePaymentMethodDetailsRevolutPayFunding : StripeEntity + { + [JsonProperty("card")] + public ChargePaymentMethodDetailsRevolutPayFundingCard Card { get; set; } + + /// + /// funding type of the underlying payment method. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs new file mode 100644 index 0000000000..501482796d --- /dev/null +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs @@ -0,0 +1,48 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; + + public class ChargePaymentMethodDetailsRevolutPayFundingCard : StripeEntity + { + /// + /// Card brand. Can be amex, diners, discover, eftpos_au, + /// jcb, link, mastercard, unionpay, visa, or + /// unknown. + /// + [JsonProperty("brand")] + public string Brand { get; set; } + + /// + /// Two-letter ISO code representing the country of the card. You could use this attribute + /// to get a sense of the international breakdown of cards you've collected. + /// + [JsonProperty("country")] + public string Country { get; set; } + + /// + /// Two-digit number representing the card's expiration month. + /// + [JsonProperty("exp_month")] + public long? ExpMonth { get; set; } + + /// + /// Four-digit number representing the card's expiration year. + /// + [JsonProperty("exp_year")] + public long? ExpYear { get; set; } + + /// + /// Card funding type. Can be credit, debit, prepaid, or + /// unknown. + /// + [JsonProperty("funding")] + public string Funding { get; set; } + + /// + /// The last four digits of the card. + /// + [JsonProperty("last4")] + public string Last4 { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs index be40c993a0..221edde29e 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs @@ -22,24 +22,30 @@ public class SessionCustomerDetailsTaxId : StripeEntityke_pin, tr_tin, eg_tin, ph_tin, bh_vat, /// kz_bin, ng_tin, om_vat, de_stn, ch_uid, /// tz_vat, uz_vat, uz_tin, md_vat, ma_vat, - /// by_tin, or unknown. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, - /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// by_tin, ao_tin, bs_tin, bb_tin, cd_nif, + /// mr_nif, me_pib, zw_tin, ba_tin, gn_nif, + /// mk_vat, sr_fin, sn_ninea, am_tin, np_pan, + /// tj_tin, ug_tin, zm_tin, kh_tin, or unknown. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, unknown, us_ein, - /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, or - /// za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, unknown, us_ein, + /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, + /// za_vat, zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsBacsDebitMandateOptions.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsBacsDebitMandateOptions.cs index e92032779f..16f1c33eb1 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsBacsDebitMandateOptions.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsBacsDebitMandateOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe.Checkout { + using Newtonsoft.Json; + public class SessionPaymentMethodOptionsBacsDebitMandateOptions : StripeEntity { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsSepaDebitMandateOptions.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsSepaDebitMandateOptions.cs index abe858df03..e69046d7fc 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsSepaDebitMandateOptions.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsSepaDebitMandateOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe.Checkout { + using Newtonsoft.Json; + public class SessionPaymentMethodOptionsSepaDebitMandateOptions : StripeEntity { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs index 370ad70702..66de0dbc47 100644 --- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs +++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs @@ -106,6 +106,13 @@ public class ConfirmationTokenPaymentMethodPreviewCard : StripeEntity + /// Status of a card based on the card issuer. + /// One of: regulated, or unregulated. + /// + [JsonProperty("regulated_status")] + public string RegulatedStatus { get; set; } + /// /// Contains details on how this Card may be used for 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs b/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs index 3bfc24316b..8fa9ca20d6 100644 --- a/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs +++ b/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs @@ -7,5 +7,8 @@ public class DisputeEvidenceDetailsEnhancedEligibility : StripeEntity + { + /// + /// Visa Compelling Evidence 3.0 eligibility status. + /// One of: fee_acknowledged, or requires_fee_acknowledgement. + /// + [JsonProperty("status")] + public string Status { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs index 08abb032d7..47519d3ae2 100644 --- a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs +++ b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs @@ -7,5 +7,8 @@ public class DisputeEvidenceEnhancedEvidence : StripeEntity + { + /// + /// A field acknowledging the fee incurred when countering a Visa Compliance dispute. If + /// this field is set to true, evidence can be submitted for the compliance dispute, and you + /// may incur a $500 fee if the case is lost. + /// + [JsonProperty("fee_acknowledged")] + public bool FeeAcknowledged { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Forwarding/Requests/Request.cs b/src/Stripe.net/Entities/Forwarding/Requests/Request.cs index f6536c2b8b..8df656e7e6 100644 --- a/src/Stripe.net/Entities/Forwarding/Requests/Request.cs +++ b/src/Stripe.net/Entities/Forwarding/Requests/Request.cs @@ -72,8 +72,8 @@ public class Request : StripeEntity, IHasId, IHasMetadata, IHasObject /// /// The field kinds to be replaced in the forwarded request. - /// One of: card_cvc, card_expiry, card_number, or - /// cardholder_name. + /// One of: card_cvc, card_expiry, card_number, cardholder_name, + /// or request_signature. /// [JsonProperty("replacements")] public List Replacements { get; set; } diff --git a/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressIban.cs b/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressIban.cs index 632e54c968..416e2bd40c 100644 --- a/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressIban.cs +++ b/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressIban.cs @@ -5,12 +5,18 @@ namespace Stripe public class FundingInstructionsBankTransferFinancialAddressIban : StripeEntity { + [JsonProperty("account_holder_address")] + public Address AccountHolderAddress { get; set; } + /// /// The name of the person or business that owns the bank account. /// [JsonProperty("account_holder_name")] public string AccountHolderName { get; set; } + [JsonProperty("bank_address")] + public Address BankAddress { get; set; } + /// /// The BIC/SWIFT code of the account. /// diff --git a/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressSortCode.cs b/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressSortCode.cs index f46312c7e3..df785e7005 100644 --- a/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressSortCode.cs +++ b/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressSortCode.cs @@ -5,6 +5,9 @@ namespace Stripe public class FundingInstructionsBankTransferFinancialAddressSortCode : StripeEntity { + [JsonProperty("account_holder_address")] + public Address AccountHolderAddress { get; set; } + /// /// The name of the person or business that owns the bank account. /// @@ -17,6 +20,9 @@ public class FundingInstructionsBankTransferFinancialAddressSortCode : StripeEnt [JsonProperty("account_number")] public string AccountNumber { get; set; } + [JsonProperty("bank_address")] + public Address BankAddress { get; set; } + /// /// The six-digit sort code. /// diff --git a/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressSpei.cs b/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressSpei.cs index 3c5de13b2e..97a2e41a12 100644 --- a/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressSpei.cs +++ b/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressSpei.cs @@ -5,6 +5,18 @@ namespace Stripe public class FundingInstructionsBankTransferFinancialAddressSpei : StripeEntity { + [JsonProperty("account_holder_address")] + public Address AccountHolderAddress { get; set; } + + /// + /// The account holder name. + /// + [JsonProperty("account_holder_name")] + public string AccountHolderName { get; set; } + + [JsonProperty("bank_address")] + public Address BankAddress { get; set; } + /// /// The three-digit bank code. /// diff --git a/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressZengin.cs b/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressZengin.cs index 5b1c778375..7f7acf2dbe 100644 --- a/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressZengin.cs +++ b/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddressZengin.cs @@ -5,6 +5,9 @@ namespace Stripe public class FundingInstructionsBankTransferFinancialAddressZengin : StripeEntity { + [JsonProperty("account_holder_address")] + public Address AccountHolderAddress { get; set; } + /// /// The account holder name. /// @@ -23,6 +26,9 @@ public class FundingInstructionsBankTransferFinancialAddressZengin : StripeEntit [JsonProperty("account_type")] public string AccountType { get; set; } + [JsonProperty("bank_address")] + public Address BankAddress { get; set; } + /// /// The bank code of the account. /// diff --git a/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs b/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs index bac2c6d988..39d8b96ffc 100644 --- a/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs +++ b/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs @@ -5,6 +5,14 @@ namespace Stripe public class InvoiceAutomaticTax : StripeEntity { + /// + /// If Stripe disabled automatic tax, this enum describes why. + /// One of: finalization_requires_location_inputs, or + /// finalization_system_error. + /// + [JsonProperty("disabled_reason")] + public string DisabledReason { get; set; } + /// /// Whether Stripe automatically computes tax on this invoice. Note that incompatible /// invoice items (invoice items with manually specified /// ke_pin, tr_tin, eg_tin, ph_tin, bh_vat, /// kz_bin, ng_tin, om_vat, de_stn, ch_uid, /// tz_vat, uz_vat, uz_tin, md_vat, ma_vat, - /// by_tin, or unknown. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, - /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// by_tin, ao_tin, bs_tin, bb_tin, cd_nif, + /// mr_nif, me_pib, zw_tin, ba_tin, gn_nif, + /// mk_vat, sr_fin, sn_ninea, am_tin, np_pan, + /// tj_tin, ug_tin, zm_tin, kh_tin, or unknown. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, unknown, us_ein, - /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, or - /// za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, unknown, us_ein, + /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, + /// za_vat, zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs index b3b6ac75d3..7f724d348b 100644 --- a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs +++ b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs @@ -56,6 +56,12 @@ public class AuthorizationMerchantData : StripeEntity [JsonProperty("state")] public string State { get; set; } + /// + /// The seller's tax identification number. Currently populated for French merchants only. + /// + [JsonProperty("tax_id")] + public string TaxId { get; set; } + /// /// An ID assigned by the seller to the location of the sale. /// diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban.cs index a1c0e960e1..513660a13a 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban.cs @@ -5,12 +5,18 @@ namespace Stripe public class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban : StripeEntity { + [JsonProperty("account_holder_address")] + public Address AccountHolderAddress { get; set; } + /// /// The name of the person or business that owns the bank account. /// [JsonProperty("account_holder_name")] public string AccountHolderName { get; set; } + [JsonProperty("bank_address")] + public Address BankAddress { get; set; } + /// /// The BIC/SWIFT code of the account. /// diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode.cs index 4597c10102..a4ec2ecdaa 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode.cs @@ -5,6 +5,9 @@ namespace Stripe public class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode : StripeEntity { + [JsonProperty("account_holder_address")] + public Address AccountHolderAddress { get; set; } + /// /// The name of the person or business that owns the bank account. /// @@ -17,6 +20,9 @@ public class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddr [JsonProperty("account_number")] public string AccountNumber { get; set; } + [JsonProperty("bank_address")] + public Address BankAddress { get; set; } + /// /// The six-digit sort code. /// diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei.cs index d176d0908f..ef85932d4e 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei.cs @@ -5,6 +5,18 @@ namespace Stripe public class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei : StripeEntity { + [JsonProperty("account_holder_address")] + public Address AccountHolderAddress { get; set; } + + /// + /// The account holder name. + /// + [JsonProperty("account_holder_name")] + public string AccountHolderName { get; set; } + + [JsonProperty("bank_address")] + public Address BankAddress { get; set; } + /// /// The three-digit bank code. /// diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin.cs index ace8aaae17..0800b3ab59 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin.cs @@ -5,6 +5,9 @@ namespace Stripe public class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin : StripeEntity { + [JsonProperty("account_holder_address")] + public Address AccountHolderAddress { get; set; } + /// /// The account holder name. /// @@ -23,6 +26,9 @@ public class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddr [JsonProperty("account_type")] public string AccountType { get; set; } + [JsonProperty("bank_address")] + public Address BankAddress { get; set; } + /// /// The bank code of the account. /// diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions.cs index 0b02ddf921..be8667f6f5 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe { + using Newtonsoft.Json; + public class PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions : StripeEntity { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions.cs index 83de0f3eb9..e8e46e1c5b 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe { + using Newtonsoft.Json; + public class PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions : StripeEntity { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsSwish.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsSwish.cs index ef22df96b7..4367c18db5 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsSwish.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsSwish.cs @@ -6,7 +6,7 @@ namespace Stripe public class PaymentIntentPaymentMethodOptionsSwish : StripeEntity { /// - /// The order ID displayed in the Swish app after the payment is authorized. + /// A reference for this payment to be displayed in the Swish app. /// [JsonProperty("reference")] public string Reference { get; set; } diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs index 91e99aa601..069b1f8a88 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs @@ -106,6 +106,13 @@ public class PaymentMethodCard : StripeEntity [JsonProperty("networks")] public PaymentMethodCardNetworks Networks { get; set; } + /// + /// Status of a card based on the card issuer. + /// One of: regulated, or unregulated. + /// + [JsonProperty("regulated_status")] + public string RegulatedStatus { get; set; } + /// /// Contains details on how this Card may be used for 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsBacsDebitMandateOptions.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsBacsDebitMandateOptions.cs index 621b2d923f..247b95f36a 100644 --- a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsBacsDebitMandateOptions.cs +++ b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsBacsDebitMandateOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe { + using Newtonsoft.Json; + public class SetupIntentPaymentMethodOptionsBacsDebitMandateOptions : StripeEntity { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsSepaDebitMandateOptions.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsSepaDebitMandateOptions.cs index 83c7f3cd87..2bff5351f3 100644 --- a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsSepaDebitMandateOptions.cs +++ b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsSepaDebitMandateOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe { + using Newtonsoft.Json; + public class SetupIntentPaymentMethodOptionsSepaDebitMandateOptions : StripeEntity { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsAutomaticTax.cs b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsAutomaticTax.cs index 60e4aebe7f..f7858ea804 100644 --- a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsAutomaticTax.cs +++ b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsAutomaticTax.cs @@ -5,6 +5,12 @@ namespace Stripe public class SubscriptionScheduleDefaultSettingsAutomaticTax : StripeEntity { + /// + /// If Stripe disabled automatic tax, this enum describes why. + /// + [JsonProperty("disabled_reason")] + public string DisabledReason { get; set; } + /// /// Whether Stripe automatically computes tax on invoices created during this phase. /// diff --git a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseAutomaticTax.cs b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseAutomaticTax.cs index f59a708da2..70e688e37d 100644 --- a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseAutomaticTax.cs +++ b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseAutomaticTax.cs @@ -5,6 +5,12 @@ namespace Stripe public class SubscriptionSchedulePhaseAutomaticTax : StripeEntity { + /// + /// If Stripe disabled automatic tax, this enum describes why. + /// + [JsonProperty("disabled_reason")] + public string DisabledReason { get; set; } + /// /// Whether Stripe automatically computes tax on invoices created during this phase. /// diff --git a/src/Stripe.net/Entities/Subscriptions/SubscriptionAutomaticTax.cs b/src/Stripe.net/Entities/Subscriptions/SubscriptionAutomaticTax.cs index d23638bf11..2d0b1369e4 100644 --- a/src/Stripe.net/Entities/Subscriptions/SubscriptionAutomaticTax.cs +++ b/src/Stripe.net/Entities/Subscriptions/SubscriptionAutomaticTax.cs @@ -5,6 +5,12 @@ namespace Stripe public class SubscriptionAutomaticTax : StripeEntity { + /// + /// If Stripe disabled automatic tax, this enum describes why. + /// + [JsonProperty("disabled_reason")] + public string DisabledReason { get; set; } + /// /// Whether Stripe automatically computes tax on this subscription. /// diff --git a/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs index 1141ff6a97..907548b045 100644 --- a/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs +++ b/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs @@ -22,24 +22,30 @@ public class CalculationCustomerDetailsTaxId : StripeEntityke_pin, tr_tin, eg_tin, ph_tin, bh_vat, /// kz_bin, ng_tin, om_vat, de_stn, ch_uid, /// tz_vat, uz_vat, uz_tin, md_vat, ma_vat, - /// by_tin, or unknown. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, - /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// by_tin, ao_tin, bs_tin, bb_tin, cd_nif, + /// mr_nif, me_pib, zw_tin, ba_tin, gn_nif, + /// mk_vat, sr_fin, sn_ninea, am_tin, np_pan, + /// tj_tin, ug_tin, zm_tin, kh_tin, or unknown. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, unknown, us_ein, - /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, or - /// za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, unknown, us_ein, + /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, + /// za_vat, zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs index 6639315c28..e9254ab3d6 100644 --- a/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs +++ b/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs @@ -22,24 +22,30 @@ public class TransactionCustomerDetailsTaxId : StripeEntityke_pin, tr_tin, eg_tin, ph_tin, bh_vat, /// kz_bin, ng_tin, om_vat, de_stn, ch_uid, /// tz_vat, uz_vat, uz_tin, md_vat, ma_vat, - /// by_tin, or unknown. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, - /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// by_tin, ao_tin, bs_tin, bb_tin, cd_nif, + /// mr_nif, me_pib, zw_tin, ba_tin, gn_nif, + /// mk_vat, sr_fin, sn_ninea, am_tin, np_pan, + /// tj_tin, ug_tin, zm_tin, kh_tin, or unknown. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, unknown, us_ein, - /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, or - /// za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, unknown, us_ein, + /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, + /// za_vat, zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/TaxIds/TaxId.cs b/src/Stripe.net/Entities/TaxIds/TaxId.cs index 3239b94fe4..4ffe066ba7 100644 --- a/src/Stripe.net/Entities/TaxIds/TaxId.cs +++ b/src/Stripe.net/Entities/TaxIds/TaxId.cs @@ -92,40 +92,47 @@ public Customer Customer public TaxIdOwner Owner { get; set; } /// - /// Type of the tax ID, one of ad_nrt, ae_trn, ar_cuit, au_abn, - /// au_arn, bg_uic, bh_vat, bo_tin, br_cnpj, - /// br_cpf, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, - /// ca_pst_mb, ca_pst_sk, ca_qst, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. Note that - /// some legacy tax IDs have type unknown. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, + /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, + /// vn_tin, za_vat, zm_tin, or zw_tin. Note that some legacy tax + /// IDs have type unknown. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, unknown, us_ein, - /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, or - /// za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, unknown, us_ein, + /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, + /// za_vat, zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesInboundTransfers.cs b/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesInboundTransfers.cs index 52a930ebc3..3a0ba76404 100644 --- a/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesInboundTransfers.cs +++ b/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesInboundTransfers.cs @@ -6,7 +6,7 @@ namespace Stripe.Treasury public class FinancialAccountFeaturesInboundTransfers : StripeEntity { /// - /// Toggle settings for enabling/disabling an ACH specific feature. + /// Toggle settings for enabling/disabling an inbound ACH specific feature. /// [JsonProperty("ach")] public FinancialAccountFeaturesInboundTransfersAch Ach { get; set; } diff --git a/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesOutboundPayments.cs b/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesOutboundPayments.cs index 6bcd8b988d..09edcff7e8 100644 --- a/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesOutboundPayments.cs +++ b/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesOutboundPayments.cs @@ -6,7 +6,7 @@ namespace Stripe.Treasury public class FinancialAccountFeaturesOutboundPayments : StripeEntity { /// - /// Toggle settings for enabling/disabling an ACH specific feature. + /// Toggle settings for enabling/disabling an outbound ACH specific feature. /// [JsonProperty("ach")] public FinancialAccountFeaturesOutboundPaymentsAch Ach { get; set; } diff --git a/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesOutboundTransfers.cs b/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesOutboundTransfers.cs index 1b2de07767..290d3ffdfa 100644 --- a/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesOutboundTransfers.cs +++ b/src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesOutboundTransfers.cs @@ -6,7 +6,7 @@ namespace Stripe.Treasury public class FinancialAccountFeaturesOutboundTransfers : StripeEntity { /// - /// Toggle settings for enabling/disabling an ACH specific feature. + /// Toggle settings for enabling/disabling an outbound ACH specific feature. /// [JsonProperty("ach")] public FinancialAccountFeaturesOutboundTransfersAch Ach { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs index 68ccd0120a..91b6163d59 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountManagementFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. 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 false when external_account_collection is enabled and true - /// otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// 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")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs index f0ec01c832..c2a6acf273 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountOnboardingFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. 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 false when external_account_collection is enabled and true - /// otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// 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")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs index f36d312acd..c86e593081 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsBalancesFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. 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 false when external_account_collection is enabled and true - /// otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// 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")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs index 8c71ecba66..a7701e366e 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsNotificationBannerFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. 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 false when external_account_collection is enabled and true - /// otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// 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")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs index 93521c2573..0a4f923b58 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsPayoutsFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. 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 false when external_account_collection is enabled and true - /// otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// 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")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/BalanceTransactions/BalanceTransactionListOptions.cs b/src/Stripe.net/Services/BalanceTransactions/BalanceTransactionListOptions.cs index 23a0c58d27..9fb2721d5f 100644 --- a/src/Stripe.net/Services/BalanceTransactions/BalanceTransactionListOptions.cs +++ b/src/Stripe.net/Services/BalanceTransactions/BalanceTransactionListOptions.cs @@ -37,8 +37,9 @@ public class BalanceTransactionListOptions : ListOptionsWithCreated /// obligation_reversal_inbound, payment, payment_failure_refund, /// payment_network_reserve_hold, payment_network_reserve_release, /// payment_refund, payment_reversal, payment_unreconciled, - /// payout, payout_cancel, payout_failure, refund, - /// refund_failure, reserve_transaction, reserved_funds, + /// payout, payout_cancel, payout_failure, + /// payout_minimum_balance_hold, payout_minimum_balance_release, + /// refund, refund_failure, reserve_transaction, reserved_funds, /// stripe_fee, stripe_fx_fee, tax_fee, topup, /// topup_reversal, transfer, transfer_cancel, transfer_failure, /// or transfer_refund. diff --git a/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopeOptions.cs b/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopeOptions.cs index 16808a8646..f51102dedc 100644 --- a/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopeOptions.cs +++ b/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopeOptions.cs @@ -6,7 +6,7 @@ namespace Stripe.Billing public class CreditBalanceSummaryFilterApplicabilityScopeOptions : INestedOptions { /// - /// The price type for which credit grants can apply. We currently only support the + /// The price type that credit grants can apply to. We currently only support the /// metered price type. /// [JsonProperty("price_type")] diff --git a/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryService.cs b/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryService.cs index 734cf988a3..5691441acf 100644 --- a/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryService.cs +++ b/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryService.cs @@ -24,7 +24,7 @@ public CreditBalanceSummaryService(IStripeClient client) } /// - ///

Retrieves the credit balance summary for a customer

. + ///

Retrieves the credit balance summary for a customer.

. ///
public virtual CreditBalanceSummary Get(RequestOptions requestOptions = null) { @@ -32,7 +32,7 @@ public virtual CreditBalanceSummary Get(RequestOptions requestOptions = null) } /// - ///

Retrieves the credit balance summary for a customer

. + ///

Retrieves the credit balance summary for a customer.

. ///
public virtual Task GetAsync(RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -40,7 +40,7 @@ public virtual Task GetAsync(RequestOptions requestOptions } /// - ///

Retrieves the credit balance summary for a customer

. + ///

Retrieves the credit balance summary for a customer.

. ///
public virtual CreditBalanceSummary Get(CreditBalanceSummaryGetOptions options, RequestOptions requestOptions = null) { @@ -48,7 +48,7 @@ public virtual CreditBalanceSummary Get(CreditBalanceSummaryGetOptions options, } /// - ///

Retrieves the credit balance summary for a customer

. + ///

Retrieves the credit balance summary for a customer.

. ///
public virtual Task GetAsync(CreditBalanceSummaryGetOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/Billing/CreditBalanceTransactions/CreditBalanceTransactionService.cs b/src/Stripe.net/Services/Billing/CreditBalanceTransactions/CreditBalanceTransactionService.cs index c9fb0d0f92..2262dd332b 100644 --- a/src/Stripe.net/Services/Billing/CreditBalanceTransactions/CreditBalanceTransactionService.cs +++ b/src/Stripe.net/Services/Billing/CreditBalanceTransactions/CreditBalanceTransactionService.cs @@ -27,7 +27,7 @@ public CreditBalanceTransactionService(IStripeClient client) } /// - ///

Retrieves a credit balance transaction

. + ///

Retrieves a credit balance transaction.

. ///
public virtual CreditBalanceTransaction Get(string id, CreditBalanceTransactionGetOptions options = null, RequestOptions requestOptions = null) { @@ -35,7 +35,7 @@ public virtual CreditBalanceTransaction Get(string id, CreditBalanceTransactionG } /// - ///

Retrieves a credit balance transaction

. + ///

Retrieves a credit balance transaction.

. ///
public virtual Task GetAsync(string id, CreditBalanceTransactionGetOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -43,7 +43,7 @@ public virtual Task GetAsync(string id, CreditBalanceT } /// - ///

Retrieve a list of credit balance transactions

. + ///

Retrieve a list of credit balance transactions.

. ///
public virtual StripeList List(CreditBalanceTransactionListOptions options = null, RequestOptions requestOptions = null) { @@ -51,7 +51,7 @@ public virtual StripeList List(CreditBalanceTransactio } /// - ///

Retrieve a list of credit balance transactions

. + ///

Retrieve a list of credit balance transactions.

. ///
public virtual Task> ListAsync(CreditBalanceTransactionListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -59,7 +59,7 @@ public virtual Task> ListAsync(CreditBalanc } /// - ///

Retrieve a list of credit balance transactions

. + ///

Retrieve a list of credit balance transactions.

. ///
public virtual IEnumerable ListAutoPaging(CreditBalanceTransactionListOptions options = null, RequestOptions requestOptions = null) { @@ -67,7 +67,7 @@ public virtual IEnumerable ListAutoPaging(CreditBalanc } /// - ///

Retrieve a list of credit balance transactions

. + ///

Retrieve a list of credit balance transactions.

. ///
public virtual IAsyncEnumerable ListAutoPagingAsync(CreditBalanceTransactionListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopeOptions.cs b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopeOptions.cs index 68d0cfe080..b8db21f960 100644 --- a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopeOptions.cs +++ b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopeOptions.cs @@ -6,7 +6,7 @@ namespace Stripe.Billing public class CreditGrantApplicabilityConfigScopeOptions : INestedOptions { /// - /// The price type for which credit grants can apply. We currently only support the + /// The price type that credit grants can apply to. We currently only support the /// metered price type. /// [JsonProperty("price_type")] diff --git a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantCreateOptions.cs b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantCreateOptions.cs index de7b1ef117..5c7a459d41 100644 --- a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantCreateOptions.cs +++ b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantCreateOptions.cs @@ -34,23 +34,23 @@ public class CreditGrantCreateOptions : BaseOptions, IHasMetadata public string Customer { get; set; } /// - /// The time when the billing credits become effective—when they're eligible for use. - /// Defaults to the current timestamp if not specified. + /// The time when the billing credits become effective-when they're eligible for use. It + /// defaults to the current timestamp if not specified. /// [JsonProperty("effective_at")] [JsonConverter(typeof(UnixDateTimeConverter))] public DateTime? EffectiveAt { get; set; } /// - /// The time when the billing credits will expire. If not specified, the billing credits - /// don't expire. + /// The time when the billing credits expire. If not specified, the billing credits don't + /// expire. /// [JsonProperty("expires_at")] [JsonConverter(typeof(UnixDateTimeConverter))] public DateTime? ExpiresAt { get; set; } /// - /// Set of key-value pairs that you can attach to an object. This can be useful for storing + /// Set of key-value pairs that you can attach to an object. You can use this to store /// additional information about the object (for example, cost basis) in a structured /// format. /// diff --git a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantService.cs b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantService.cs index 7bbacbd541..4e39cccadc 100644 --- a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantService.cs +++ b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantService.cs @@ -29,7 +29,7 @@ public CreditGrantService(IStripeClient client) } /// - ///

Creates a credit grant

. + ///

Creates a credit grant.

. ///
public virtual CreditGrant Create(CreditGrantCreateOptions options, RequestOptions requestOptions = null) { @@ -37,7 +37,7 @@ public virtual CreditGrant Create(CreditGrantCreateOptions options, RequestOptio } /// - ///

Creates a credit grant

. + ///

Creates a credit grant.

. ///
public virtual Task CreateAsync(CreditGrantCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -61,7 +61,7 @@ public virtual Task ExpireAsync(string id, CreditGrantExpireOptions } /// - ///

Retrieves a credit grant

. + ///

Retrieves a credit grant.

. ///
public virtual CreditGrant Get(string id, CreditGrantGetOptions options = null, RequestOptions requestOptions = null) { @@ -69,7 +69,7 @@ public virtual CreditGrant Get(string id, CreditGrantGetOptions options = null, } /// - ///

Retrieves a credit grant

. + ///

Retrieves a credit grant.

. ///
public virtual Task GetAsync(string id, CreditGrantGetOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -109,7 +109,7 @@ public virtual IAsyncEnumerable ListAutoPagingAsync(CreditGrantList } /// - ///

Updates a credit grant

. + ///

Updates a credit grant.

. ///
public virtual CreditGrant Update(string id, CreditGrantUpdateOptions options, RequestOptions requestOptions = null) { @@ -117,7 +117,7 @@ public virtual CreditGrant Update(string id, CreditGrantUpdateOptions options, R } /// - ///

Updates a credit grant

. + ///

Updates a credit grant.

. ///
public virtual Task UpdateAsync(string id, CreditGrantUpdateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantUpdateOptions.cs b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantUpdateOptions.cs index 988ed67333..7a5ca34a62 100644 --- a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantUpdateOptions.cs +++ b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantUpdateOptions.cs @@ -17,9 +17,8 @@ public class CreditGrantUpdateOptions : BaseOptions, IHasMetadata public DateTime? ExpiresAt { get; set; } /// - /// Set of key-value pairs you can attach to an object. This can be useful for storing - /// additional information about the object (for example, cost basis) in a structured - /// format. + /// Set of key-value pairs you can attach to an object. You can use this to store additional + /// information about the object (for example, cost basis) in a structured format. /// [JsonProperty("metadata")] public Dictionary Metadata { get; set; } diff --git a/src/Stripe.net/Services/Billing/MeterEventAdjustments/MeterEventAdjustmentService.cs b/src/Stripe.net/Services/Billing/MeterEventAdjustments/MeterEventAdjustmentService.cs index 0e5ff233a0..3c6a3b1dda 100644 --- a/src/Stripe.net/Services/Billing/MeterEventAdjustments/MeterEventAdjustmentService.cs +++ b/src/Stripe.net/Services/Billing/MeterEventAdjustments/MeterEventAdjustmentService.cs @@ -24,7 +24,7 @@ public MeterEventAdjustmentService(IStripeClient client) } /// - ///

Creates a billing meter event adjustment

. + ///

Creates a billing meter event adjustment.

. ///
public virtual MeterEventAdjustment Create(MeterEventAdjustmentCreateOptions options, RequestOptions requestOptions = null) { @@ -32,7 +32,7 @@ public virtual MeterEventAdjustment Create(MeterEventAdjustmentCreateOptions opt } /// - ///

Creates a billing meter event adjustment

. + ///

Creates a billing meter event adjustment.

. ///
public virtual Task CreateAsync(MeterEventAdjustmentCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/Billing/MeterEvents/MeterEventCreateOptions.cs b/src/Stripe.net/Services/Billing/MeterEvents/MeterEventCreateOptions.cs index 62ea158d0f..a1503364b9 100644 --- a/src/Stripe.net/Services/Billing/MeterEvents/MeterEventCreateOptions.cs +++ b/src/Stripe.net/Services/Billing/MeterEvents/MeterEventCreateOptions.cs @@ -15,12 +15,11 @@ public class MeterEventCreateOptions : BaseOptions public string EventName { get; set; } /// - /// A unique identifier for the event. If not provided, one will be generated. We strongly - /// advise using UUID-like identifiers. We will enforce uniqueness within a rolling period - /// of at least 24 hours. The enforcement of uniqueness primarily addresses issues arising - /// from accidental retries or other problems occurring within extremely brief time - /// intervals. This approach helps prevent duplicate entries and ensures data integrity in - /// high-frequency operations. + /// A unique identifier for the event. If not provided, one is generated. We recommend using + /// UUID-like identifiers. We will enforce uniqueness within a rolling period of at least 24 + /// hours. The enforcement of uniqueness primarily addresses issues arising from accidental + /// retries or other problems occurring within extremely brief time intervals. This approach + /// helps prevent duplicate entries and ensures data integrity in high-frequency operations. /// [JsonProperty("identifier")] public string Identifier { get; set; } diff --git a/src/Stripe.net/Services/Billing/MeterEvents/MeterEventService.cs b/src/Stripe.net/Services/Billing/MeterEvents/MeterEventService.cs index 7a679d638e..0e72b36e9c 100644 --- a/src/Stripe.net/Services/Billing/MeterEvents/MeterEventService.cs +++ b/src/Stripe.net/Services/Billing/MeterEvents/MeterEventService.cs @@ -24,7 +24,7 @@ public MeterEventService(IStripeClient client) } /// - ///

Creates a billing meter event

. + ///

Creates a billing meter event.

. ///
public virtual MeterEvent Create(MeterEventCreateOptions options, RequestOptions requestOptions = null) { @@ -32,7 +32,7 @@ public virtual MeterEvent Create(MeterEventCreateOptions options, RequestOptions } /// - ///

Creates a billing meter event

. + ///

Creates a billing meter event.

. ///
public virtual Task CreateAsync(MeterEventCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/Billing/Meters/MeterCreateOptions.cs b/src/Stripe.net/Services/Billing/Meters/MeterCreateOptions.cs index 1f0503a396..5e721013e6 100644 --- a/src/Stripe.net/Services/Billing/Meters/MeterCreateOptions.cs +++ b/src/Stripe.net/Services/Billing/Meters/MeterCreateOptions.cs @@ -18,7 +18,7 @@ public class MeterCreateOptions : BaseOptions public MeterDefaultAggregationOptions DefaultAggregation { get; set; } /// - /// The meter's name. + /// The meter’s name. Not visible to the customer. /// [JsonProperty("display_name")] public string DisplayName { get; set; } diff --git a/src/Stripe.net/Services/Billing/Meters/MeterCustomerMappingOptions.cs b/src/Stripe.net/Services/Billing/Meters/MeterCustomerMappingOptions.cs index 7af7720cef..bd66dae743 100644 --- a/src/Stripe.net/Services/Billing/Meters/MeterCustomerMappingOptions.cs +++ b/src/Stripe.net/Services/Billing/Meters/MeterCustomerMappingOptions.cs @@ -6,7 +6,7 @@ namespace Stripe.Billing public class MeterCustomerMappingOptions : INestedOptions { /// - /// The key in the usage event payload to use for mapping the event to a customer. + /// The key in the meter event payload to use for mapping the event to a customer. /// [JsonProperty("event_payload_key")] public string EventPayloadKey { get; set; } diff --git a/src/Stripe.net/Services/Billing/Meters/MeterService.cs b/src/Stripe.net/Services/Billing/Meters/MeterService.cs index 848d3db3e4..2dde43d57d 100644 --- a/src/Stripe.net/Services/Billing/Meters/MeterService.cs +++ b/src/Stripe.net/Services/Billing/Meters/MeterService.cs @@ -34,7 +34,7 @@ public MeterService(IStripeClient client) this.Requestor); /// - ///

Creates a billing meter

. + ///

Creates a billing meter.

. ///
public virtual Meter Create(MeterCreateOptions options, RequestOptions requestOptions = null) { @@ -42,7 +42,7 @@ public virtual Meter Create(MeterCreateOptions options, RequestOptions requestOp } /// - ///

Creates a billing meter

. + ///

Creates a billing meter.

. ///
public virtual Task CreateAsync(MeterCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -50,7 +50,8 @@ public virtual Task CreateAsync(MeterCreateOptions options, RequestOption } /// - ///

Deactivates a billing meter

. + ///

When a meter is deactivated, no more meter events will be accepted for this meter. + /// You can’t attach a deactivated meter to a price.

. ///
public virtual Meter Deactivate(string id, MeterDeactivateOptions options = null, RequestOptions requestOptions = null) { @@ -58,7 +59,8 @@ public virtual Meter Deactivate(string id, MeterDeactivateOptions options = null } /// - ///

Deactivates a billing meter

. + ///

When a meter is deactivated, no more meter events will be accepted for this meter. + /// You can’t attach a deactivated meter to a price.

. ///
public virtual Task DeactivateAsync(string id, MeterDeactivateOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -66,7 +68,7 @@ public virtual Task DeactivateAsync(string id, MeterDeactivateOptions opt } /// - ///

Retrieves a billing meter given an ID

. + ///

Retrieves a billing meter given an ID.

. ///
public virtual Meter Get(string id, MeterGetOptions options = null, RequestOptions requestOptions = null) { @@ -74,7 +76,7 @@ public virtual Meter Get(string id, MeterGetOptions options = null, RequestOptio } /// - ///

Retrieves a billing meter given an ID

. + ///

Retrieves a billing meter given an ID.

. ///
public virtual Task GetAsync(string id, MeterGetOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -114,7 +116,8 @@ public virtual IAsyncEnumerable ListAutoPagingAsync(MeterListOptions opti } /// - ///

Reactivates a billing meter

. + ///

When a meter is reactivated, events for this meter can be accepted and you can attach + /// the meter to a price.

. ///
public virtual Meter Reactivate(string id, MeterReactivateOptions options = null, RequestOptions requestOptions = null) { @@ -122,7 +125,8 @@ public virtual Meter Reactivate(string id, MeterReactivateOptions options = null } /// - ///

Reactivates a billing meter

. + ///

When a meter is reactivated, events for this meter can be accepted and you can attach + /// the meter to a price.

. ///
public virtual Task ReactivateAsync(string id, MeterReactivateOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -130,7 +134,7 @@ public virtual Task ReactivateAsync(string id, MeterReactivateOptions opt } /// - ///

Updates a billing meter

. + ///

Updates a billing meter.

. ///
public virtual Meter Update(string id, MeterUpdateOptions options, RequestOptions requestOptions = null) { @@ -138,7 +142,7 @@ public virtual Meter Update(string id, MeterUpdateOptions options, RequestOption } /// - ///

Updates a billing meter

. + ///

Updates a billing meter.

. ///
public virtual Task UpdateAsync(string id, MeterUpdateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/Billing/Meters/MeterUpdateOptions.cs b/src/Stripe.net/Services/Billing/Meters/MeterUpdateOptions.cs index 320ffcddf5..a8788a5f6d 100644 --- a/src/Stripe.net/Services/Billing/Meters/MeterUpdateOptions.cs +++ b/src/Stripe.net/Services/Billing/Meters/MeterUpdateOptions.cs @@ -6,7 +6,7 @@ namespace Stripe.Billing public class MeterUpdateOptions : BaseOptions { /// - /// The meter's name. + /// The meter’s name. Not visible to the customer. /// [JsonProperty("display_name")] public string DisplayName { get; set; } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionAutomaticTaxOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionAutomaticTaxOptions.cs index 5ce3974693..a69fafc391 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionAutomaticTaxOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionAutomaticTaxOptions.cs @@ -6,7 +6,11 @@ namespace Stripe.Checkout public class SessionAutomaticTaxOptions : INestedOptions { ///
- /// Set to true to enable automatic taxes. + /// Set to true to calculate tax + /// automatically using the customer's location. + /// + /// Enabling this parameter causes Checkout to collect any billing address information + /// necessary for tax calculation. /// [JsonProperty("enabled")] public bool? Enabled { get; set; } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs index 774dfe8fa8..e0318c35e5 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe.Checkout { + using Newtonsoft.Json; + public class SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions : INestedOptions { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs index 81539d2ae4..ef2d5df496 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe.Checkout { + using Newtonsoft.Json; + public class SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions : INestedOptions { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs b/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs index 4739fadccf..0176491175 100644 --- a/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs +++ b/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs @@ -6,38 +6,46 @@ namespace Stripe public class CustomerTaxIdCreateOptions : BaseOptions { /// - /// Type of the tax ID, one of ad_nrt, ae_trn, ar_cuit, au_abn, - /// au_arn, bg_uic, bh_vat, bo_tin, br_cnpj, - /// br_cpf, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, - /// ca_pst_mb, ca_pst_sk, ca_qst, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, + /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, + /// vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, + /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, + /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs b/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs index 3db5ff15b6..010bb64fc6 100644 --- a/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs @@ -6,38 +6,46 @@ namespace Stripe public class CustomerTaxIdDataOptions : INestedOptions { /// - /// Type of the tax ID, one of ad_nrt, ae_trn, ar_cuit, au_abn, - /// au_arn, bg_uic, bh_vat, bo_tin, br_cnpj, - /// br_cpf, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, - /// ca_pst_mb, ca_pst_sk, ca_qst, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, + /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, + /// vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, + /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, + /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/Customers/CustomerTaxOptions.cs b/src/Stripe.net/Services/Customers/CustomerTaxOptions.cs index c965cd7dcd..9b166e88fe 100644 --- a/src/Stripe.net/Services/Customers/CustomerTaxOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerTaxOptions.cs @@ -16,7 +16,7 @@ public class CustomerTaxOptions : INestedOptions /// /// A flag that indicates when Stripe should validate the customer tax location. Defaults to - /// deferred. + /// auto. /// One of: auto, deferred, or immediately. /// [JsonProperty("validate_location")] diff --git a/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs index 62b1a16bbf..6baa2d899c 100644 --- a/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs +++ b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs @@ -10,5 +10,11 @@ public class DisputeEvidenceEnhancedEvidenceOptions : INestedOptions /// [JsonProperty("visa_compelling_evidence_3")] public DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3Options VisaCompellingEvidence3 { get; set; } + + /// + /// Evidence provided for Visa Compliance evidence submission. + /// + [JsonProperty("visa_compliance")] + public DisputeEvidenceEnhancedEvidenceVisaComplianceOptions VisaCompliance { get; set; } } } diff --git a/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceVisaComplianceOptions.cs b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceVisaComplianceOptions.cs new file mode 100644 index 0000000000..fb976a25f8 --- /dev/null +++ b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceVisaComplianceOptions.cs @@ -0,0 +1,16 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; + + public class DisputeEvidenceEnhancedEvidenceVisaComplianceOptions : INestedOptions + { + /// + /// A field acknowledging the fee incurred when countering a Visa Compliance dispute. If + /// this field is set to true, evidence can be submitted for the compliance dispute, and you + /// may incur a $500 fee if the case is lost. + /// + [JsonProperty("fee_acknowledged")] + public bool? FeeAcknowledged { get; set; } + } +} diff --git a/src/Stripe.net/Services/Forwarding/Requests/RequestCreateOptions.cs b/src/Stripe.net/Services/Forwarding/Requests/RequestCreateOptions.cs index 40b70f79c8..1fbfcdbb98 100644 --- a/src/Stripe.net/Services/Forwarding/Requests/RequestCreateOptions.cs +++ b/src/Stripe.net/Services/Forwarding/Requests/RequestCreateOptions.cs @@ -24,8 +24,8 @@ public class RequestCreateOptions : BaseOptions, IHasMetadata /// /// The field kinds to be replaced in the forwarded request. - /// One of: card_cvc, card_expiry, card_number, or - /// cardholder_name. + /// One of: card_cvc, card_expiry, card_number, cardholder_name, + /// or request_signature. /// [JsonProperty("replacements")] public List Replacements { get; set; } diff --git a/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesCustomerDetailsTaxIdOptions.cs index 191cb4b15c..cd5b13a007 100644 --- a/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesCustomerDetailsTaxIdOptions.cs +++ b/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesCustomerDetailsTaxIdOptions.cs @@ -6,38 +6,46 @@ namespace Stripe public class InvoiceUpcomingLinesCustomerDetailsTaxIdOptions : INestedOptions { /// - /// Type of the tax ID, one of ad_nrt, ae_trn, ar_cuit, au_abn, - /// au_arn, bg_uic, bh_vat, bo_tin, br_cnpj, - /// br_cpf, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, - /// ca_pst_mb, ca_pst_sk, ca_qst, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, + /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, + /// vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, + /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, + /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesSubscriptionDetailsItemOptions.cs b/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesSubscriptionDetailsItemOptions.cs index ea07a4cede..6a8edcfe40 100644 --- a/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesSubscriptionDetailsItemOptions.cs +++ b/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesSubscriptionDetailsItemOptions.cs @@ -15,8 +15,9 @@ public class InvoiceUpcomingLinesSubscriptionDetailsItemOptions : INestedOptions public InvoiceUpcomingLinesSubscriptionDetailsItemBillingThresholdsOptions BillingThresholds { get; set; } /// - /// Delete all usage for a given subscription item. Allowed only when deleted is set - /// to true and the current plan's usage_type is metered. + /// Delete all usage for a given subscription item. You must pass this when deleting a usage + /// records subscription item. clear_usage has no effect if the plan has a billing + /// meter attached. /// [JsonProperty("clear_usage")] public bool? ClearUsage { get; set; } diff --git a/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesSubscriptionItemOptions.cs b/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesSubscriptionItemOptions.cs index e3f26aa86f..9ec6b7760e 100644 --- a/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesSubscriptionItemOptions.cs +++ b/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesSubscriptionItemOptions.cs @@ -15,8 +15,9 @@ public class InvoiceUpcomingLinesSubscriptionItemOptions : INestedOptions, IHasI public InvoiceUpcomingLinesSubscriptionItemBillingThresholdsOptions BillingThresholds { get; set; } /// - /// Delete all usage for a given subscription item. Allowed only when deleted is set - /// to true and the current plan's usage_type is metered. + /// Delete all usage for a given subscription item. You must pass this when deleting a usage + /// records subscription item. clear_usage has no effect if the plan has a billing + /// meter attached. /// [JsonProperty("clear_usage")] public bool? ClearUsage { get; set; } diff --git a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs index 10a08a67a8..5913d0870f 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs @@ -6,38 +6,46 @@ namespace Stripe public class InvoiceCustomerDetailsTaxIdOptions : INestedOptions { /// - /// Type of the tax ID, one of ad_nrt, ae_trn, ar_cuit, au_abn, - /// au_arn, bg_uic, bh_vat, bo_tin, br_cnpj, - /// br_cpf, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, - /// ca_pst_mb, ca_pst_sk, ca_qst, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, + /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, + /// vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, + /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, + /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs index ea86b3c451..ca320ba88a 100644 --- a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs @@ -26,7 +26,7 @@ public class InvoicePaymentSettingsOptions : INestedOptions /// the invoice’s default payment method, the subscription’s default payment method, the /// customer’s default payment method, and your invoice template - /// settings. + /// settings. Should not be specified with payment_method_configuration. /// One of: ach_credit_transfer, ach_debit, acss_debit, /// amazon_pay, au_becs_debit, bacs_debit, bancontact, /// boleto, card, cashapp, customer_balance, eps, diff --git a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemOptions.cs index 95b89132eb..0478a4b070 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemOptions.cs @@ -15,8 +15,9 @@ public class InvoiceSubscriptionDetailsItemOptions : INestedOptions, IHasId, IHa public InvoiceSubscriptionDetailsItemBillingThresholdsOptions BillingThresholds { get; set; } /// - /// Delete all usage for a given subscription item. Allowed only when deleted is set - /// to true and the current plan's usage_type is metered. + /// Delete all usage for a given subscription item. You must pass this when deleting a usage + /// records subscription item. clear_usage has no effect if the plan has a billing + /// meter attached. /// [JsonProperty("clear_usage")] public bool? ClearUsage { get; set; } diff --git a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionItemOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionItemOptions.cs index bdd64206c5..e7db32aaae 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionItemOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionItemOptions.cs @@ -15,8 +15,9 @@ public class InvoiceSubscriptionItemOptions : INestedOptions, IHasId, IHasMetada public InvoiceSubscriptionItemBillingThresholdsOptions BillingThresholds { get; set; } /// - /// Delete all usage for a given subscription item. Allowed only when deleted is set - /// to true and the current plan's usage_type is metered. + /// Delete all usage for a given subscription item. You must pass this when deleting a usage + /// records subscription item. clear_usage has no effect if the plan has a billing + /// meter attached. /// [JsonProperty("clear_usage")] public bool? ClearUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs index 1f56c03406..f2d4c41200 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe { + using Newtonsoft.Json; + public class PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions : INestedOptions { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs index 68167cabf4..17e197c7b2 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe { + using Newtonsoft.Json; + public class PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions : INestedOptions { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSwishOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSwishOptions.cs index a0aed59ac0..f198ecac19 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSwishOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSwishOptions.cs @@ -6,7 +6,7 @@ namespace Stripe public class PaymentIntentPaymentMethodOptionsSwishOptions : INestedOptions { /// - /// The order ID displayed in the Swish app after the payment is authorized. + /// A reference for this payment to be displayed in the Swish app. /// [JsonProperty("reference")] public string Reference { get; set; } diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkAutomaticTaxOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkAutomaticTaxOptions.cs index 09467817a9..b3958a3118 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkAutomaticTaxOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkAutomaticTaxOptions.cs @@ -6,7 +6,11 @@ namespace Stripe public class PaymentLinkAutomaticTaxOptions : INestedOptions { /// - /// If true, tax will be calculated automatically using the customer's location. + /// Set to true to calculate tax + /// automatically using the customer's location. + /// + /// Enabling this parameter causes the payment link to collect any billing address + /// information necessary for tax calculation. /// [JsonProperty("enabled")] public bool? Enabled { get; set; } diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs index ded1d9c829..65f058cdd0 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe { + using Newtonsoft.Json; + public class SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions : INestedOptions { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs index 9b819c550f..c31c2e7af9 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions.cs @@ -1,7 +1,16 @@ // File generated from our OpenAPI spec namespace Stripe { + using Newtonsoft.Json; + public class SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions : INestedOptions { + /// + /// Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must + /// consist of only uppercase letters, numbers, spaces, or the following special characters: + /// '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. + /// + [JsonProperty("reference_prefix")] + public string ReferencePrefix { get; set; } } } diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs index 1c6aa0e8bc..5a95205f1e 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs @@ -15,8 +15,9 @@ public class SubscriptionItemOptions : INestedOptions, IHasId, IHasMetadata public SubscriptionItemBillingThresholdsOptions BillingThresholds { get; set; } /// - /// Delete all usage for a given subscription item. Allowed only when deleted is set - /// to true and the current plan's usage_type is metered. + /// Delete all usage for a given subscription item. You must pass this when deleting a usage + /// records subscription item. clear_usage has no effect if the plan has a billing + /// meter attached. /// [JsonProperty("clear_usage")] public bool? ClearUsage { get; set; } diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs index ac9fbe81bc..c8fcd499f8 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs @@ -19,7 +19,7 @@ public class SubscriptionPaymentSettingsOptions : INestedOptions /// the invoice’s default payment method, the subscription’s default payment method, the /// customer’s default payment method, and your invoice template - /// settings. + /// settings. Should not be specified with payment_method_configuration. /// One of: ach_credit_transfer, ach_debit, acss_debit, /// amazon_pay, au_becs_debit, bacs_debit, bancontact, /// boleto, card, cashapp, customer_balance, eps, diff --git a/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs index c54a0da019..0078ebe422 100644 --- a/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs +++ b/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs @@ -6,38 +6,46 @@ namespace Stripe.Tax public class CalculationCustomerDetailsTaxIdOptions : INestedOptions { /// - /// Type of the tax ID, one of ad_nrt, ae_trn, ar_cuit, au_abn, - /// au_arn, bg_uic, bh_vat, bo_tin, br_cnpj, - /// br_cpf, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, - /// ca_pst_mb, ca_pst_sk, ca_qst, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, + /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, + /// vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, + /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, + /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs b/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs index 3c1cacb726..6b44e860ec 100644 --- a/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs +++ b/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs @@ -12,38 +12,46 @@ public class TaxIdCreateOptions : BaseOptions public TaxIdOwnerOptions Owner { get; set; } /// - /// Type of the tax ID, one of ad_nrt, ae_trn, ar_cuit, au_abn, - /// au_arn, bg_uic, bh_vat, bo_tin, br_cnpj, - /// br_cpf, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, - /// ca_pst_mb, ca_pst_sk, ca_qst, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. - /// One of: ad_nrt, ae_trn, ar_cuit, au_abn, au_arn, + /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, + /// vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, + /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, + /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, ch_uid, ch_vat, cl_tin, - /// cn_tin, co_nit, cr_tin, de_stn, do_rcn, - /// ec_ruc, eg_tin, es_cif, eu_oss_vat, eu_vat, - /// gb_vat, ge_vat, hk_br, hr_oib, hu_tin, - /// id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, - /// jp_trn, ke_pin, kr_brn, kz_bin, li_uid, - /// li_vat, ma_vat, md_vat, mx_rfc, my_frp, + /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, + /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, + /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, + /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, + /// hu_tin, id_npwp, il_vat, in_gst, is_vat, + /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, + /// kz_bin, li_uid, li_vat, ma_vat, md_vat, + /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// nz_gst, om_vat, pe_ruc, ph_tin, ro_tin, - /// rs_pib, ru_inn, ru_kpp, sa_vat, sg_gst, - /// sg_uen, si_tin, sv_nit, th_vat, tr_tin, - /// tw_vat, tz_vat, ua_vat, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, or za_vat. + /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, + /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, + /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, + /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, + /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, + /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, + /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/Terminal/Locations/LocationUpdateOptions.cs b/src/Stripe.net/Services/Terminal/Locations/LocationUpdateOptions.cs index a9cb7ba9b3..273fbb72e6 100644 --- a/src/Stripe.net/Services/Terminal/Locations/LocationUpdateOptions.cs +++ b/src/Stripe.net/Services/Terminal/Locations/LocationUpdateOptions.cs @@ -7,9 +7,9 @@ namespace Stripe.Terminal public class LocationUpdateOptions : BaseOptions, IHasMetadata { /// - /// The full address of the location. If you're updating the address field, avoid - /// changing the country. If you need to modify the country field, create a - /// new Location object and re-register any existing readers to that location. + /// The full address of the location. You can't change the location's country. If you + /// need to modify the country field, create a new Location object and + /// re-register any existing readers to that location. /// [JsonProperty("address")] public AddressOptions Address { get; set; } diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs index 8be80d5990..2c541c5dee 100644 --- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs +++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs @@ -35,7 +35,7 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata /// 2019-11-05, 2019-12-03, 2020-03-02, 2020-08-27, /// 2022-08-01, 2022-11-15, 2023-08-16, 2023-10-16, /// 2024-04-10, 2024-06-20, 2024-09-30.acacia, - /// 2024-10-28.acacia, or 2024-11-20.acacia. + /// 2024-10-28.acacia, 2024-11-20.acacia, or 2024-12-18.acacia. /// [JsonProperty("api_version")] public string ApiVersion { get; set; }