stripe 14.1.0.pre.beta.1 → 15.1.0.pre.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -1
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +3 -3
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/save.rb +2 -1
  7. data/lib/stripe/api_operations/singleton_save.rb +2 -1
  8. data/lib/stripe/api_requestor.rb +3 -1
  9. data/lib/stripe/api_resource.rb +10 -3
  10. data/lib/stripe/object_types.rb +3 -0
  11. data/lib/stripe/request_options.rb +2 -1
  12. data/lib/stripe/resources/account.rb +10 -0
  13. data/lib/stripe/resources/account_session.rb +52 -0
  14. data/lib/stripe/resources/balance_settings.rb +1 -1
  15. data/lib/stripe/resources/checkout/session.rb +35 -3
  16. data/lib/stripe/resources/confirmation_token.rb +3 -3
  17. data/lib/stripe/resources/invoice.rb +1 -1
  18. data/lib/stripe/resources/login_link.rb +2 -1
  19. data/lib/stripe/resources/payment_attempt_record.rb +4 -4
  20. data/lib/stripe/resources/payment_intent.rb +9 -9
  21. data/lib/stripe/resources/payment_method.rb +3 -3
  22. data/lib/stripe/resources/payment_method_domain.rb +13 -0
  23. data/lib/stripe/resources/payment_record.rb +6 -6
  24. data/lib/stripe/resources/privacy/redaction_job.rb +251 -0
  25. data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +35 -0
  26. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +54 -0
  27. data/lib/stripe/resources/setup_intent.rb +9 -9
  28. data/lib/stripe/resources/subscription.rb +3 -3
  29. data/lib/stripe/resources/tax/registration.rb +20 -0
  30. data/lib/stripe/resources.rb +3 -0
  31. data/lib/stripe/services/account_service.rb +8 -0
  32. data/lib/stripe/services/account_session_service.rb +52 -0
  33. data/lib/stripe/services/checkout/session_service.rb +23 -2
  34. data/lib/stripe/services/external_account_service.rb +112 -0
  35. data/lib/stripe/services/invoice_service.rb +1 -1
  36. data/lib/stripe/services/payment_intent_service.rb +9 -9
  37. data/lib/stripe/services/payment_method_service.rb +3 -3
  38. data/lib/stripe/services/payment_record_service.rb +2 -2
  39. data/lib/stripe/services/privacy/redaction_job_service.rb +231 -0
  40. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +57 -0
  41. data/lib/stripe/services/privacy_service.rb +13 -0
  42. data/lib/stripe/services/setup_intent_service.rb +9 -9
  43. data/lib/stripe/services/subscription_service.rb +2 -2
  44. data/lib/stripe/services/tax/registration_service.rb +13 -0
  45. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +3 -3
  46. data/lib/stripe/services/v1_services.rb +2 -1
  47. data/lib/stripe/services/v2/core/event_service.rb +5 -3
  48. data/lib/stripe/services.rb +3 -0
  49. data/lib/stripe/stripe_object.rb +13 -3
  50. data/lib/stripe/util.rb +11 -0
  51. data/lib/stripe/version.rb +1 -1
  52. data/rbi/stripe.rbi +973 -91
  53. metadata +8 -2
data/rbi/stripe.rbi CHANGED
@@ -4133,7 +4133,7 @@ module Stripe
4133
4133
  sig { returns(T.nilable(StatusDetails)) }
4134
4134
  attr_reader :status_details
4135
4135
  # The time at which the ReceivedDebit transitioned to a particular status.
4136
- sig { returns(StatusTransitions) }
4136
+ sig { returns(T.nilable(StatusTransitions)) }
4137
4137
  attr_reader :status_transitions
4138
4138
  # Open Enum. The type of the ReceivedDebit.
4139
4139
  sig { returns(String) }
@@ -4381,6 +4381,9 @@ module Stripe
4381
4381
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
4382
4382
  sig { returns(T.nilable(String)) }
4383
4383
  attr_reader :mcc
4384
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
4385
+ sig { returns(T.nilable(T::Array[String])) }
4386
+ attr_reader :minority_owned_business_designation
4384
4387
  # Attribute for field monthly_estimated_revenue
4385
4388
  sig { returns(MonthlyEstimatedRevenue) }
4386
4389
  attr_reader :monthly_estimated_revenue
@@ -5360,6 +5363,9 @@ module Stripe
5360
5363
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
5361
5364
  sig { returns(T.nilable(String)) }
5362
5365
  attr_accessor :mcc
5366
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
5367
+ sig { returns(T.nilable(T::Array[String])) }
5368
+ attr_accessor :minority_owned_business_designation
5363
5369
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
5364
5370
  sig {
5365
5371
  returns(T.nilable(::Stripe::Account::UpdateParams::BusinessProfile::MonthlyEstimatedRevenue))
@@ -5387,12 +5393,13 @@ module Stripe
5387
5393
  sig { returns(T.nilable(String)) }
5388
5394
  attr_accessor :url
5389
5395
  sig {
5390
- params(annual_revenue: T.nilable(::Stripe::Account::UpdateParams::BusinessProfile::AnnualRevenue), estimated_worker_count: T.nilable(Integer), mcc: T.nilable(String), monthly_estimated_revenue: T.nilable(::Stripe::Account::UpdateParams::BusinessProfile::MonthlyEstimatedRevenue), name: T.nilable(String), product_description: T.nilable(String), support_address: T.nilable(::Stripe::Account::UpdateParams::BusinessProfile::SupportAddress), support_email: T.nilable(String), support_phone: T.nilable(String), support_url: T.nilable(T.nilable(String)), url: T.nilable(String)).void
5396
+ params(annual_revenue: T.nilable(::Stripe::Account::UpdateParams::BusinessProfile::AnnualRevenue), estimated_worker_count: T.nilable(Integer), mcc: T.nilable(String), minority_owned_business_designation: T.nilable(T::Array[String]), monthly_estimated_revenue: T.nilable(::Stripe::Account::UpdateParams::BusinessProfile::MonthlyEstimatedRevenue), name: T.nilable(String), product_description: T.nilable(String), support_address: T.nilable(::Stripe::Account::UpdateParams::BusinessProfile::SupportAddress), support_email: T.nilable(String), support_phone: T.nilable(String), support_url: T.nilable(T.nilable(String)), url: T.nilable(String)).void
5391
5397
  }
5392
5398
  def initialize(
5393
5399
  annual_revenue: nil,
5394
5400
  estimated_worker_count: nil,
5395
5401
  mcc: nil,
5402
+ minority_owned_business_designation: nil,
5396
5403
  monthly_estimated_revenue: nil,
5397
5404
  name: nil,
5398
5405
  product_description: nil,
@@ -7526,6 +7533,9 @@ module Stripe
7526
7533
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
7527
7534
  sig { returns(T.nilable(String)) }
7528
7535
  attr_accessor :mcc
7536
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
7537
+ sig { returns(T.nilable(T::Array[String])) }
7538
+ attr_accessor :minority_owned_business_designation
7529
7539
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
7530
7540
  sig {
7531
7541
  returns(T.nilable(::Stripe::Account::CreateParams::BusinessProfile::MonthlyEstimatedRevenue))
@@ -7553,12 +7563,13 @@ module Stripe
7553
7563
  sig { returns(T.nilable(String)) }
7554
7564
  attr_accessor :url
7555
7565
  sig {
7556
- params(annual_revenue: T.nilable(::Stripe::Account::CreateParams::BusinessProfile::AnnualRevenue), estimated_worker_count: T.nilable(Integer), mcc: T.nilable(String), monthly_estimated_revenue: T.nilable(::Stripe::Account::CreateParams::BusinessProfile::MonthlyEstimatedRevenue), name: T.nilable(String), product_description: T.nilable(String), support_address: T.nilable(::Stripe::Account::CreateParams::BusinessProfile::SupportAddress), support_email: T.nilable(String), support_phone: T.nilable(String), support_url: T.nilable(T.nilable(String)), url: T.nilable(String)).void
7566
+ params(annual_revenue: T.nilable(::Stripe::Account::CreateParams::BusinessProfile::AnnualRevenue), estimated_worker_count: T.nilable(Integer), mcc: T.nilable(String), minority_owned_business_designation: T.nilable(T::Array[String]), monthly_estimated_revenue: T.nilable(::Stripe::Account::CreateParams::BusinessProfile::MonthlyEstimatedRevenue), name: T.nilable(String), product_description: T.nilable(String), support_address: T.nilable(::Stripe::Account::CreateParams::BusinessProfile::SupportAddress), support_email: T.nilable(String), support_phone: T.nilable(String), support_url: T.nilable(T.nilable(String)), url: T.nilable(String)).void
7557
7567
  }
7558
7568
  def initialize(
7559
7569
  annual_revenue: nil,
7560
7570
  estimated_worker_count: nil,
7561
7571
  mcc: nil,
7572
+ minority_owned_business_designation: nil,
7562
7573
  monthly_estimated_revenue: nil,
7563
7574
  name: nil,
7564
7575
  product_description: nil,
@@ -10587,6 +10598,23 @@ module Stripe
10587
10598
  }
10588
10599
  def initialize(enabled: nil, features: nil); end
10589
10600
  end
10601
+ class ExportTaxTransactions < Stripe::RequestParams
10602
+ class Features < Stripe::RequestParams
10603
+
10604
+ end
10605
+ # Whether the embedded component is enabled.
10606
+ sig { returns(T::Boolean) }
10607
+ attr_accessor :enabled
10608
+ # The list of features enabled in the embedded component.
10609
+ sig {
10610
+ returns(T.nilable(::Stripe::AccountSession::CreateParams::Components::ExportTaxTransactions::Features))
10611
+ }
10612
+ attr_accessor :features
10613
+ sig {
10614
+ params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSession::CreateParams::Components::ExportTaxTransactions::Features)).void
10615
+ }
10616
+ def initialize(enabled: nil, features: nil); end
10617
+ end
10590
10618
  class FinancialAccount < Stripe::RequestParams
10591
10619
  class Features < Stripe::RequestParams
10592
10620
  # 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.
@@ -10789,6 +10817,39 @@ module Stripe
10789
10817
  }
10790
10818
  def initialize(enabled: nil, features: nil); end
10791
10819
  end
10820
+ class PaymentDisputes < Stripe::RequestParams
10821
+ class Features < Stripe::RequestParams
10822
+ # Whether to allow connected accounts to manage destination charges that are created on behalf of them. This is `false` by default.
10823
+ sig { returns(T.nilable(T::Boolean)) }
10824
+ attr_accessor :destination_on_behalf_of_charge_management
10825
+ # Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.
10826
+ sig { returns(T.nilable(T::Boolean)) }
10827
+ attr_accessor :dispute_management
10828
+ # Whether to allow sending refunds. This is `true` by default.
10829
+ sig { returns(T.nilable(T::Boolean)) }
10830
+ attr_accessor :refund_management
10831
+ sig {
10832
+ params(destination_on_behalf_of_charge_management: T.nilable(T::Boolean), dispute_management: T.nilable(T::Boolean), refund_management: T.nilable(T::Boolean)).void
10833
+ }
10834
+ def initialize(
10835
+ destination_on_behalf_of_charge_management: nil,
10836
+ dispute_management: nil,
10837
+ refund_management: nil
10838
+ ); end
10839
+ end
10840
+ # Whether the embedded component is enabled.
10841
+ sig { returns(T::Boolean) }
10842
+ attr_accessor :enabled
10843
+ # The list of features enabled in the embedded component.
10844
+ sig {
10845
+ returns(T.nilable(::Stripe::AccountSession::CreateParams::Components::PaymentDisputes::Features))
10846
+ }
10847
+ attr_accessor :features
10848
+ sig {
10849
+ params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSession::CreateParams::Components::PaymentDisputes::Features)).void
10850
+ }
10851
+ def initialize(enabled: nil, features: nil); end
10852
+ end
10792
10853
  class PaymentMethodSettings < Stripe::RequestParams
10793
10854
  class Features < Stripe::RequestParams
10794
10855
 
@@ -11049,6 +11110,11 @@ module Stripe
11049
11110
  # Configuration for the documents embedded component.
11050
11111
  sig { returns(T.nilable(::Stripe::AccountSession::CreateParams::Components::Documents)) }
11051
11112
  attr_accessor :documents
11113
+ # Configuration for the export tax transactions embedded component.
11114
+ sig {
11115
+ returns(T.nilable(::Stripe::AccountSession::CreateParams::Components::ExportTaxTransactions))
11116
+ }
11117
+ attr_accessor :export_tax_transactions
11052
11118
  # Configuration for the financial account embedded component.
11053
11119
  sig {
11054
11120
  returns(T.nilable(::Stripe::AccountSession::CreateParams::Components::FinancialAccount))
@@ -11077,6 +11143,11 @@ module Stripe
11077
11143
  returns(T.nilable(::Stripe::AccountSession::CreateParams::Components::PaymentDetails))
11078
11144
  }
11079
11145
  attr_accessor :payment_details
11146
+ # Configuration for the payment disputes embedded component.
11147
+ sig {
11148
+ returns(T.nilable(::Stripe::AccountSession::CreateParams::Components::PaymentDisputes))
11149
+ }
11150
+ attr_accessor :payment_disputes
11080
11151
  # Configuration for the payment method settings embedded component.
11081
11152
  sig {
11082
11153
  returns(T.nilable(::Stripe::AccountSession::CreateParams::Components::PaymentMethodSettings))
@@ -11118,7 +11189,7 @@ module Stripe
11118
11189
  }
11119
11190
  attr_accessor :tax_threshold_monitoring
11120
11191
  sig {
11121
- params(account_management: T.nilable(::Stripe::AccountSession::CreateParams::Components::AccountManagement), account_onboarding: T.nilable(::Stripe::AccountSession::CreateParams::Components::AccountOnboarding), app_install: T.nilable(::Stripe::AccountSession::CreateParams::Components::AppInstall), app_viewport: T.nilable(::Stripe::AccountSession::CreateParams::Components::AppViewport), balances: T.nilable(::Stripe::AccountSession::CreateParams::Components::Balances), capital_financing: T.nilable(::Stripe::AccountSession::CreateParams::Components::CapitalFinancing), capital_financing_application: T.nilable(::Stripe::AccountSession::CreateParams::Components::CapitalFinancingApplication), capital_financing_promotion: T.nilable(::Stripe::AccountSession::CreateParams::Components::CapitalFinancingPromotion), capital_overview: T.nilable(::Stripe::AccountSession::CreateParams::Components::CapitalOverview), documents: T.nilable(::Stripe::AccountSession::CreateParams::Components::Documents), financial_account: T.nilable(::Stripe::AccountSession::CreateParams::Components::FinancialAccount), financial_account_transactions: T.nilable(::Stripe::AccountSession::CreateParams::Components::FinancialAccountTransactions), issuing_card: T.nilable(::Stripe::AccountSession::CreateParams::Components::IssuingCard), issuing_cards_list: T.nilable(::Stripe::AccountSession::CreateParams::Components::IssuingCardsList), notification_banner: T.nilable(::Stripe::AccountSession::CreateParams::Components::NotificationBanner), payment_details: T.nilable(::Stripe::AccountSession::CreateParams::Components::PaymentDetails), payment_method_settings: T.nilable(::Stripe::AccountSession::CreateParams::Components::PaymentMethodSettings), payments: T.nilable(::Stripe::AccountSession::CreateParams::Components::Payments), payouts: T.nilable(::Stripe::AccountSession::CreateParams::Components::Payouts), payouts_list: T.nilable(::Stripe::AccountSession::CreateParams::Components::PayoutsList), product_tax_code_selector: T.nilable(::Stripe::AccountSession::CreateParams::Components::ProductTaxCodeSelector), recipients: T.nilable(::Stripe::AccountSession::CreateParams::Components::Recipients), reporting_chart: T.nilable(::Stripe::AccountSession::CreateParams::Components::ReportingChart), tax_registrations: T.nilable(::Stripe::AccountSession::CreateParams::Components::TaxRegistrations), tax_settings: T.nilable(::Stripe::AccountSession::CreateParams::Components::TaxSettings), tax_threshold_monitoring: T.nilable(::Stripe::AccountSession::CreateParams::Components::TaxThresholdMonitoring)).void
11192
+ params(account_management: T.nilable(::Stripe::AccountSession::CreateParams::Components::AccountManagement), account_onboarding: T.nilable(::Stripe::AccountSession::CreateParams::Components::AccountOnboarding), app_install: T.nilable(::Stripe::AccountSession::CreateParams::Components::AppInstall), app_viewport: T.nilable(::Stripe::AccountSession::CreateParams::Components::AppViewport), balances: T.nilable(::Stripe::AccountSession::CreateParams::Components::Balances), capital_financing: T.nilable(::Stripe::AccountSession::CreateParams::Components::CapitalFinancing), capital_financing_application: T.nilable(::Stripe::AccountSession::CreateParams::Components::CapitalFinancingApplication), capital_financing_promotion: T.nilable(::Stripe::AccountSession::CreateParams::Components::CapitalFinancingPromotion), capital_overview: T.nilable(::Stripe::AccountSession::CreateParams::Components::CapitalOverview), documents: T.nilable(::Stripe::AccountSession::CreateParams::Components::Documents), export_tax_transactions: T.nilable(::Stripe::AccountSession::CreateParams::Components::ExportTaxTransactions), financial_account: T.nilable(::Stripe::AccountSession::CreateParams::Components::FinancialAccount), financial_account_transactions: T.nilable(::Stripe::AccountSession::CreateParams::Components::FinancialAccountTransactions), issuing_card: T.nilable(::Stripe::AccountSession::CreateParams::Components::IssuingCard), issuing_cards_list: T.nilable(::Stripe::AccountSession::CreateParams::Components::IssuingCardsList), notification_banner: T.nilable(::Stripe::AccountSession::CreateParams::Components::NotificationBanner), payment_details: T.nilable(::Stripe::AccountSession::CreateParams::Components::PaymentDetails), payment_disputes: T.nilable(::Stripe::AccountSession::CreateParams::Components::PaymentDisputes), payment_method_settings: T.nilable(::Stripe::AccountSession::CreateParams::Components::PaymentMethodSettings), payments: T.nilable(::Stripe::AccountSession::CreateParams::Components::Payments), payouts: T.nilable(::Stripe::AccountSession::CreateParams::Components::Payouts), payouts_list: T.nilable(::Stripe::AccountSession::CreateParams::Components::PayoutsList), product_tax_code_selector: T.nilable(::Stripe::AccountSession::CreateParams::Components::ProductTaxCodeSelector), recipients: T.nilable(::Stripe::AccountSession::CreateParams::Components::Recipients), reporting_chart: T.nilable(::Stripe::AccountSession::CreateParams::Components::ReportingChart), tax_registrations: T.nilable(::Stripe::AccountSession::CreateParams::Components::TaxRegistrations), tax_settings: T.nilable(::Stripe::AccountSession::CreateParams::Components::TaxSettings), tax_threshold_monitoring: T.nilable(::Stripe::AccountSession::CreateParams::Components::TaxThresholdMonitoring)).void
11122
11193
  }
11123
11194
  def initialize(
11124
11195
  account_management: nil,
@@ -11131,12 +11202,14 @@ module Stripe
11131
11202
  capital_financing_promotion: nil,
11132
11203
  capital_overview: nil,
11133
11204
  documents: nil,
11205
+ export_tax_transactions: nil,
11134
11206
  financial_account: nil,
11135
11207
  financial_account_transactions: nil,
11136
11208
  issuing_card: nil,
11137
11209
  issuing_cards_list: nil,
11138
11210
  notification_banner: nil,
11139
11211
  payment_details: nil,
11212
+ payment_disputes: nil,
11140
11213
  payment_method_settings: nil,
11141
11214
  payments: nil,
11142
11215
  payouts: nil,
@@ -11760,7 +11833,7 @@ module Stripe
11760
11833
  end
11761
11834
  # typed: true
11762
11835
  module Stripe
11763
- # "Options for customizing account balances within Stripe."
11836
+ # Options for customizing account balances within Stripe.
11764
11837
  class BalanceSettings < SingletonAPIResource
11765
11838
  class Payouts < Stripe::StripeObject
11766
11839
  class Schedule < Stripe::StripeObject
@@ -19837,6 +19910,16 @@ module Stripe
19837
19910
  sig { returns(Breakdown) }
19838
19911
  attr_reader :breakdown
19839
19912
  end
19913
+ class WalletOptions < Stripe::StripeObject
19914
+ class Link < Stripe::StripeObject
19915
+ # Describes whether Checkout should display Link. Defaults to `auto`.
19916
+ sig { returns(String) }
19917
+ attr_reader :display
19918
+ end
19919
+ # Attribute for field link
19920
+ sig { returns(Link) }
19921
+ attr_reader :link
19922
+ end
19840
19923
  # Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
19841
19924
  sig { returns(T.nilable(AdaptivePricing)) }
19842
19925
  attr_reader :adaptive_pricing
@@ -19978,7 +20061,7 @@ module Stripe
19978
20061
  attr_reader :payment_status
19979
20062
  # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object.
19980
20063
  #
19981
- # For specific permissions, please refer to their dedicated subsections, such as `permissions.update.shipping_details`.
20064
+ # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.
19982
20065
  sig { returns(T.nilable(Permissions)) }
19983
20066
  attr_reader :permissions
19984
20067
  # Attribute for field phone_number_collection
@@ -20039,6 +20122,9 @@ module Stripe
20039
20122
  # This value is only present when the session is active.
20040
20123
  sig { returns(T.nilable(String)) }
20041
20124
  attr_reader :url
20125
+ # Wallet-specific configuration for this Checkout Session.
20126
+ sig { returns(T.nilable(WalletOptions)) }
20127
+ attr_reader :wallet_options
20042
20128
  class ListParams < Stripe::RequestParams
20043
20129
  class Created < Stripe::RequestParams
20044
20130
  # Minimum value to filter by (exclusive)
@@ -22197,6 +22283,22 @@ module Stripe
22197
22283
  sig { params(enabled: T::Boolean, required: T.nilable(String)).void }
22198
22284
  def initialize(enabled: nil, required: nil); end
22199
22285
  end
22286
+ class WalletOptions < Stripe::RequestParams
22287
+ class Link < Stripe::RequestParams
22288
+ # Specifies whether Checkout should display Link as a payment option. By default, Checkout will display all the supported wallets that the Checkout Session was created with. This is the `auto` behavior, and it is the default choice.
22289
+ sig { returns(T.nilable(String)) }
22290
+ attr_accessor :display
22291
+ sig { params(display: T.nilable(String)).void }
22292
+ def initialize(display: nil); end
22293
+ end
22294
+ # contains details about the Link wallet options.
22295
+ sig { returns(T.nilable(::Stripe::Checkout::Session::CreateParams::WalletOptions::Link)) }
22296
+ attr_accessor :link
22297
+ sig {
22298
+ params(link: T.nilable(::Stripe::Checkout::Session::CreateParams::WalletOptions::Link)).void
22299
+ }
22300
+ def initialize(link: nil); end
22301
+ end
22200
22302
  # Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
22201
22303
  sig { returns(T.nilable(::Stripe::Checkout::Session::CreateParams::AdaptivePricing)) }
22202
22304
  attr_accessor :adaptive_pricing
@@ -22343,7 +22445,7 @@ module Stripe
22343
22445
  attr_accessor :payment_method_types
22344
22446
  # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object.
22345
22447
  #
22346
- # For specific permissions, please refer to their dedicated subsections, such as `permissions.update.shipping_details`.
22448
+ # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.
22347
22449
  sig { returns(T.nilable(::Stripe::Checkout::Session::CreateParams::Permissions)) }
22348
22450
  attr_accessor :permissions
22349
22451
  # Controls phone number collection settings for the session.
@@ -22400,8 +22502,11 @@ module Stripe
22400
22502
  # The UI mode of the Session. Defaults to `hosted`.
22401
22503
  sig { returns(T.nilable(String)) }
22402
22504
  attr_accessor :ui_mode
22505
+ # Wallet-specific configuration.
22506
+ sig { returns(T.nilable(::Stripe::Checkout::Session::CreateParams::WalletOptions)) }
22507
+ attr_accessor :wallet_options
22403
22508
  sig {
22404
- params(adaptive_pricing: T.nilable(::Stripe::Checkout::Session::CreateParams::AdaptivePricing), after_expiration: T.nilable(::Stripe::Checkout::Session::CreateParams::AfterExpiration), allow_promotion_codes: T.nilable(T::Boolean), automatic_tax: T.nilable(::Stripe::Checkout::Session::CreateParams::AutomaticTax), billing_address_collection: T.nilable(String), cancel_url: T.nilable(String), client_reference_id: T.nilable(String), consent_collection: T.nilable(::Stripe::Checkout::Session::CreateParams::ConsentCollection), currency: T.nilable(String), custom_fields: T.nilable(T::Array[::Stripe::Checkout::Session::CreateParams::CustomField]), custom_text: T.nilable(::Stripe::Checkout::Session::CreateParams::CustomText), customer: T.nilable(String), customer_account: T.nilable(String), customer_creation: T.nilable(String), customer_email: T.nilable(String), customer_update: T.nilable(::Stripe::Checkout::Session::CreateParams::CustomerUpdate), discounts: T.nilable(T::Array[::Stripe::Checkout::Session::CreateParams::Discount]), expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer), invoice_creation: T.nilable(::Stripe::Checkout::Session::CreateParams::InvoiceCreation), line_items: T.nilable(T::Array[::Stripe::Checkout::Session::CreateParams::LineItem]), locale: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), mode: T.nilable(String), optional_items: T.nilable(T::Array[::Stripe::Checkout::Session::CreateParams::OptionalItem]), payment_intent_data: T.nilable(::Stripe::Checkout::Session::CreateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::Checkout::Session::CreateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::Checkout::Session::CreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), permissions: T.nilable(::Stripe::Checkout::Session::CreateParams::Permissions), phone_number_collection: T.nilable(::Stripe::Checkout::Session::CreateParams::PhoneNumberCollection), redirect_on_completion: T.nilable(String), return_url: T.nilable(String), saved_payment_method_options: T.nilable(::Stripe::Checkout::Session::CreateParams::SavedPaymentMethodOptions), setup_intent_data: T.nilable(::Stripe::Checkout::Session::CreateParams::SetupIntentData), shipping_address_collection: T.nilable(::Stripe::Checkout::Session::CreateParams::ShippingAddressCollection), shipping_options: T.nilable(T::Array[::Stripe::Checkout::Session::CreateParams::ShippingOption]), submit_type: T.nilable(String), subscription_data: T.nilable(::Stripe::Checkout::Session::CreateParams::SubscriptionData), success_url: T.nilable(String), tax_id_collection: T.nilable(::Stripe::Checkout::Session::CreateParams::TaxIdCollection), ui_mode: T.nilable(String)).void
22509
+ params(adaptive_pricing: T.nilable(::Stripe::Checkout::Session::CreateParams::AdaptivePricing), after_expiration: T.nilable(::Stripe::Checkout::Session::CreateParams::AfterExpiration), allow_promotion_codes: T.nilable(T::Boolean), automatic_tax: T.nilable(::Stripe::Checkout::Session::CreateParams::AutomaticTax), billing_address_collection: T.nilable(String), cancel_url: T.nilable(String), client_reference_id: T.nilable(String), consent_collection: T.nilable(::Stripe::Checkout::Session::CreateParams::ConsentCollection), currency: T.nilable(String), custom_fields: T.nilable(T::Array[::Stripe::Checkout::Session::CreateParams::CustomField]), custom_text: T.nilable(::Stripe::Checkout::Session::CreateParams::CustomText), customer: T.nilable(String), customer_account: T.nilable(String), customer_creation: T.nilable(String), customer_email: T.nilable(String), customer_update: T.nilable(::Stripe::Checkout::Session::CreateParams::CustomerUpdate), discounts: T.nilable(T::Array[::Stripe::Checkout::Session::CreateParams::Discount]), expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer), invoice_creation: T.nilable(::Stripe::Checkout::Session::CreateParams::InvoiceCreation), line_items: T.nilable(T::Array[::Stripe::Checkout::Session::CreateParams::LineItem]), locale: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), mode: T.nilable(String), optional_items: T.nilable(T::Array[::Stripe::Checkout::Session::CreateParams::OptionalItem]), payment_intent_data: T.nilable(::Stripe::Checkout::Session::CreateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::Checkout::Session::CreateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::Checkout::Session::CreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), permissions: T.nilable(::Stripe::Checkout::Session::CreateParams::Permissions), phone_number_collection: T.nilable(::Stripe::Checkout::Session::CreateParams::PhoneNumberCollection), redirect_on_completion: T.nilable(String), return_url: T.nilable(String), saved_payment_method_options: T.nilable(::Stripe::Checkout::Session::CreateParams::SavedPaymentMethodOptions), setup_intent_data: T.nilable(::Stripe::Checkout::Session::CreateParams::SetupIntentData), shipping_address_collection: T.nilable(::Stripe::Checkout::Session::CreateParams::ShippingAddressCollection), shipping_options: T.nilable(T::Array[::Stripe::Checkout::Session::CreateParams::ShippingOption]), submit_type: T.nilable(String), subscription_data: T.nilable(::Stripe::Checkout::Session::CreateParams::SubscriptionData), success_url: T.nilable(String), tax_id_collection: T.nilable(::Stripe::Checkout::Session::CreateParams::TaxIdCollection), ui_mode: T.nilable(String), wallet_options: T.nilable(::Stripe::Checkout::Session::CreateParams::WalletOptions)).void
22405
22510
  }
22406
22511
  def initialize(
22407
22512
  adaptive_pricing: nil,
@@ -22447,7 +22552,8 @@ module Stripe
22447
22552
  subscription_data: nil,
22448
22553
  success_url: nil,
22449
22554
  tax_id_collection: nil,
22450
- ui_mode: nil
22555
+ ui_mode: nil,
22556
+ wallet_options: nil
22451
22557
  ); end
22452
22558
  end
22453
22559
  class UpdateParams < Stripe::RequestParams
@@ -24791,7 +24897,7 @@ module Stripe
24791
24897
  returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Bancontact))
24792
24898
  }
24793
24899
  attr_accessor :bancontact
24794
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
24900
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
24795
24901
  sig {
24796
24902
  returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Billie))
24797
24903
  }
@@ -24974,7 +25080,7 @@ module Stripe
24974
25080
  returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Rechnung))
24975
25081
  }
24976
25082
  attr_accessor :rechnung
24977
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
25083
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
24978
25084
  sig {
24979
25085
  returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::RevolutPay))
24980
25086
  }
@@ -24984,7 +25090,7 @@ module Stripe
24984
25090
  returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::SamsungPay))
24985
25091
  }
24986
25092
  attr_accessor :samsung_pay
24987
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
25093
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
24988
25094
  sig {
24989
25095
  returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Satispay))
24990
25096
  }
@@ -33851,7 +33957,7 @@ module Stripe
33851
33957
  # Only return invoices for the customer specified by this customer ID.
33852
33958
  sig { returns(T.nilable(String)) }
33853
33959
  attr_accessor :customer
33854
- # Attribute for param field customer_account
33960
+ # Only return invoices for the account specified by this account ID.
33855
33961
  sig { returns(T.nilable(String)) }
33856
33962
  attr_accessor :customer_account
33857
33963
  # Attribute for param field due_date
@@ -44843,7 +44949,8 @@ module Stripe
44843
44949
  end
44844
44950
  # typed: true
44845
44951
  module Stripe
44846
- # Login Links are single-use URLs for a connected account to access the Express Dashboard. The connected account's [account.controller.stripe_dashboard.type](https://stripe.com/api/accounts/object#account_object-controller-stripe_dashboard-type) must be `express` to have access to the Express Dashboard.
44952
+ # Login Links are single-use URLs that takes an Express account to the login page for their Stripe dashboard.
44953
+ # A Login Link differs from an [Account Link](https://stripe.com/docs/api/account_links) in that it takes the user directly to their [Express dashboard for the specified account](https://stripe.com/docs/connect/integrate-express-dashboard#create-login-link)
44847
44954
  class LoginLink < APIResource
44848
44955
  # Time at which the object was created. Measured in seconds since the Unix epoch.
44849
44956
  sig { returns(Integer) }
@@ -48281,7 +48388,7 @@ module Stripe
48281
48388
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
48282
48389
  sig { returns(String) }
48283
48390
  attr_reader :currency
48284
- # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
48391
+ # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.
48285
48392
  sig { returns(Integer) }
48286
48393
  attr_reader :value
48287
48394
  end
@@ -48289,7 +48396,7 @@ module Stripe
48289
48396
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
48290
48397
  sig { returns(String) }
48291
48398
  attr_reader :currency
48292
- # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
48399
+ # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.
48293
48400
  sig { returns(Integer) }
48294
48401
  attr_reader :value
48295
48402
  end
@@ -48297,7 +48404,7 @@ module Stripe
48297
48404
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
48298
48405
  sig { returns(String) }
48299
48406
  attr_reader :currency
48300
- # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
48407
+ # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.
48301
48408
  sig { returns(Integer) }
48302
48409
  attr_reader :value
48303
48410
  end
@@ -48305,7 +48412,7 @@ module Stripe
48305
48412
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
48306
48413
  sig { returns(String) }
48307
48414
  attr_reader :currency
48308
- # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
48415
+ # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.
48309
48416
  sig { returns(Integer) }
48310
48417
  attr_reader :value
48311
48418
  end
@@ -53452,7 +53559,7 @@ module Stripe
53452
53559
  returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodData::Bancontact))
53453
53560
  }
53454
53561
  attr_accessor :bancontact
53455
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
53562
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
53456
53563
  sig { returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodData::Billie)) }
53457
53564
  attr_accessor :billie
53458
53565
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
@@ -53597,7 +53704,7 @@ module Stripe
53597
53704
  returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodData::Rechnung))
53598
53705
  }
53599
53706
  attr_accessor :rechnung
53600
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
53707
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
53601
53708
  sig {
53602
53709
  returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodData::RevolutPay))
53603
53710
  }
@@ -53607,7 +53714,7 @@ module Stripe
53607
53714
  returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodData::SamsungPay))
53608
53715
  }
53609
53716
  attr_accessor :samsung_pay
53610
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
53717
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
53611
53718
  sig {
53612
53719
  returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodData::Satispay))
53613
53720
  }
@@ -57141,7 +57248,7 @@ module Stripe
57141
57248
  returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodData::Bancontact))
57142
57249
  }
57143
57250
  attr_accessor :bancontact
57144
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
57251
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
57145
57252
  sig { returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodData::Billie)) }
57146
57253
  attr_accessor :billie
57147
57254
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
@@ -57286,7 +57393,7 @@ module Stripe
57286
57393
  returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodData::Rechnung))
57287
57394
  }
57288
57395
  attr_accessor :rechnung
57289
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
57396
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
57290
57397
  sig {
57291
57398
  returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodData::RevolutPay))
57292
57399
  }
@@ -57296,7 +57403,7 @@ module Stripe
57296
57403
  returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodData::SamsungPay))
57297
57404
  }
57298
57405
  attr_accessor :samsung_pay
57299
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
57406
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
57300
57407
  sig {
57301
57408
  returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodData::Satispay))
57302
57409
  }
@@ -61621,7 +61728,7 @@ module Stripe
61621
61728
  returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::Bancontact))
61622
61729
  }
61623
61730
  attr_accessor :bancontact
61624
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
61731
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
61625
61732
  sig {
61626
61733
  returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::Billie))
61627
61734
  }
@@ -61778,7 +61885,7 @@ module Stripe
61778
61885
  returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::Rechnung))
61779
61886
  }
61780
61887
  attr_accessor :rechnung
61781
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
61888
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
61782
61889
  sig {
61783
61890
  returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::RevolutPay))
61784
61891
  }
@@ -61788,7 +61895,7 @@ module Stripe
61788
61895
  returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::SamsungPay))
61789
61896
  }
61790
61897
  attr_accessor :samsung_pay
61791
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
61898
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
61792
61899
  sig {
61793
61900
  returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::Satispay))
61794
61901
  }
@@ -67884,7 +67991,7 @@ module Stripe
67884
67991
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
67885
67992
  sig { returns(T.nilable(::Stripe::PaymentMethod::CreateParams::Bancontact)) }
67886
67993
  attr_accessor :bancontact
67887
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
67994
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
67888
67995
  sig { returns(T.nilable(::Stripe::PaymentMethod::CreateParams::Billie)) }
67889
67996
  attr_accessor :billie
67890
67997
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
@@ -68007,13 +68114,13 @@ module Stripe
68007
68114
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
68008
68115
  sig { returns(T.nilable(::Stripe::PaymentMethod::CreateParams::Rechnung)) }
68009
68116
  attr_accessor :rechnung
68010
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
68117
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
68011
68118
  sig { returns(T.nilable(::Stripe::PaymentMethod::CreateParams::RevolutPay)) }
68012
68119
  attr_accessor :revolut_pay
68013
68120
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
68014
68121
  sig { returns(T.nilable(::Stripe::PaymentMethod::CreateParams::SamsungPay)) }
68015
68122
  attr_accessor :samsung_pay
68016
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
68123
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
68017
68124
  sig { returns(T.nilable(::Stripe::PaymentMethod::CreateParams::Satispay)) }
68018
68125
  attr_accessor :satispay
68019
68126
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
@@ -71881,6 +71988,19 @@ module Stripe
71881
71988
  sig { returns(StatusDetails) }
71882
71989
  attr_reader :status_details
71883
71990
  end
71991
+ class Klarna < Stripe::StripeObject
71992
+ class StatusDetails < Stripe::StripeObject
71993
+ # The error message associated with the status of the payment method on the domain.
71994
+ sig { returns(String) }
71995
+ attr_reader :error_message
71996
+ end
71997
+ # The status of the payment method on the domain.
71998
+ sig { returns(String) }
71999
+ attr_reader :status
72000
+ # Contains additional details about the status of a payment method for a specific payment method domain.
72001
+ sig { returns(StatusDetails) }
72002
+ attr_reader :status_details
72003
+ end
71884
72004
  class Link < Stripe::StripeObject
71885
72005
  class StatusDetails < Stripe::StripeObject
71886
72006
  # The error message associated with the status of the payment method on the domain.
@@ -71929,6 +72049,9 @@ module Stripe
71929
72049
  sig { returns(String) }
71930
72050
  attr_reader :id
71931
72051
  # Indicates the status of a specific payment method on a payment method domain.
72052
+ sig { returns(Klarna) }
72053
+ attr_reader :klarna
72054
+ # Indicates the status of a specific payment method on a payment method domain.
71932
72055
  sig { returns(Link) }
71933
72056
  attr_reader :link
71934
72057
  # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
@@ -72055,7 +72178,7 @@ module Stripe
72055
72178
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
72056
72179
  sig { returns(String) }
72057
72180
  attr_reader :currency
72058
- # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
72181
+ # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.
72059
72182
  sig { returns(Integer) }
72060
72183
  attr_reader :value
72061
72184
  end
@@ -72063,7 +72186,7 @@ module Stripe
72063
72186
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
72064
72187
  sig { returns(String) }
72065
72188
  attr_reader :currency
72066
- # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
72189
+ # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.
72067
72190
  sig { returns(Integer) }
72068
72191
  attr_reader :value
72069
72192
  end
@@ -72071,7 +72194,7 @@ module Stripe
72071
72194
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
72072
72195
  sig { returns(String) }
72073
72196
  attr_reader :currency
72074
- # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
72197
+ # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.
72075
72198
  sig { returns(Integer) }
72076
72199
  attr_reader :value
72077
72200
  end
@@ -72079,7 +72202,7 @@ module Stripe
72079
72202
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
72080
72203
  sig { returns(String) }
72081
72204
  attr_reader :currency
72082
- # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
72205
+ # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.
72083
72206
  sig { returns(Integer) }
72084
72207
  attr_reader :value
72085
72208
  end
@@ -73636,7 +73759,7 @@ module Stripe
73636
73759
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
73637
73760
  sig { returns(String) }
73638
73761
  attr_accessor :currency
73639
- # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
73762
+ # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.
73640
73763
  sig { returns(Integer) }
73641
73764
  attr_accessor :value
73642
73765
  sig { params(currency: String, value: Integer).void }
@@ -73805,7 +73928,7 @@ module Stripe
73805
73928
  }
73806
73929
  def initialize(address: nil, name: nil, phone: nil); end
73807
73930
  end
73808
- # The amount you intend to collect for this payment.
73931
+ # The amount you initially requested for this payment.
73809
73932
  sig { returns(::Stripe::PaymentRecord::ReportPaymentParams::AmountRequested) }
73810
73933
  attr_accessor :amount_requested
73811
73934
  # Customer information for this payment.
@@ -75693,6 +75816,295 @@ module Stripe
75693
75816
  end
75694
75817
  end
75695
75818
  # typed: true
75819
+ module Stripe
75820
+ module Privacy
75821
+ # Redaction Jobs store the status of a redaction request. They are created
75822
+ # when a redaction request is made and track the redaction validation and execution.
75823
+ class RedactionJob < APIResource
75824
+ # Time at which the object was created. Measured in seconds since the Unix epoch.
75825
+ sig { returns(Integer) }
75826
+ attr_reader :created
75827
+ # Unique identifier for the object.
75828
+ sig { returns(String) }
75829
+ attr_reader :id
75830
+ # String representing the object's type. Objects of the same type share the same value.
75831
+ sig { returns(String) }
75832
+ attr_reader :object
75833
+ # The objects at the root level that are subject to redaction.
75834
+ sig { returns(T.nilable(Stripe::Privacy::RedactionJobRootObjects)) }
75835
+ attr_reader :objects
75836
+ # The status field represents the current state of the redaction job. It can take on any of the following values: VALIDATING, READY, REDACTING, SUCCEEDED, CANCELED, FAILED.
75837
+ sig { returns(String) }
75838
+ attr_reader :status
75839
+ # Default is "error". If "error", we will make sure all objects in the graph are redactable in the 1st traversal, otherwise error. If "fix", where possible, we will auto-fix any validation errors (e.g. by auto-transitioning objects to a terminal state, etc.) in the 2nd traversal before redacting
75840
+ sig { returns(T.nilable(String)) }
75841
+ attr_reader :validation_behavior
75842
+ class ListParams < Stripe::RequestParams
75843
+ # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
75844
+ sig { returns(T.nilable(String)) }
75845
+ attr_accessor :ending_before
75846
+ # Specifies which fields in the response should be expanded.
75847
+ sig { returns(T.nilable(T::Array[String])) }
75848
+ attr_accessor :expand
75849
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
75850
+ sig { returns(T.nilable(Integer)) }
75851
+ attr_accessor :limit
75852
+ # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
75853
+ sig { returns(T.nilable(String)) }
75854
+ attr_accessor :starting_after
75855
+ # Attribute for param field status
75856
+ sig { returns(T.nilable(String)) }
75857
+ attr_accessor :status
75858
+ sig {
75859
+ params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), status: T.nilable(String)).void
75860
+ }
75861
+ def initialize(
75862
+ ending_before: nil,
75863
+ expand: nil,
75864
+ limit: nil,
75865
+ starting_after: nil,
75866
+ status: nil
75867
+ ); end
75868
+ end
75869
+ class CreateParams < Stripe::RequestParams
75870
+ class Objects < Stripe::RequestParams
75871
+ # Attribute for param field charges
75872
+ sig { returns(T.nilable(T::Array[String])) }
75873
+ attr_accessor :charges
75874
+ # Attribute for param field checkout_sessions
75875
+ sig { returns(T.nilable(T::Array[String])) }
75876
+ attr_accessor :checkout_sessions
75877
+ # Attribute for param field customers
75878
+ sig { returns(T.nilable(T::Array[String])) }
75879
+ attr_accessor :customers
75880
+ # Attribute for param field identity_verification_sessions
75881
+ sig { returns(T.nilable(T::Array[String])) }
75882
+ attr_accessor :identity_verification_sessions
75883
+ # Attribute for param field invoices
75884
+ sig { returns(T.nilable(T::Array[String])) }
75885
+ attr_accessor :invoices
75886
+ # Attribute for param field issuing_cardholders
75887
+ sig { returns(T.nilable(T::Array[String])) }
75888
+ attr_accessor :issuing_cardholders
75889
+ # Attribute for param field issuing_cards
75890
+ sig { returns(T.nilable(T::Array[String])) }
75891
+ attr_accessor :issuing_cards
75892
+ # Attribute for param field payment_intents
75893
+ sig { returns(T.nilable(T::Array[String])) }
75894
+ attr_accessor :payment_intents
75895
+ # Attribute for param field radar_value_list_items
75896
+ sig { returns(T.nilable(T::Array[String])) }
75897
+ attr_accessor :radar_value_list_items
75898
+ # Attribute for param field setup_intents
75899
+ sig { returns(T.nilable(T::Array[String])) }
75900
+ attr_accessor :setup_intents
75901
+ sig {
75902
+ params(charges: T.nilable(T::Array[String]), checkout_sessions: T.nilable(T::Array[String]), customers: T.nilable(T::Array[String]), identity_verification_sessions: T.nilable(T::Array[String]), invoices: T.nilable(T::Array[String]), issuing_cardholders: T.nilable(T::Array[String]), issuing_cards: T.nilable(T::Array[String]), payment_intents: T.nilable(T::Array[String]), radar_value_list_items: T.nilable(T::Array[String]), setup_intents: T.nilable(T::Array[String])).void
75903
+ }
75904
+ def initialize(
75905
+ charges: nil,
75906
+ checkout_sessions: nil,
75907
+ customers: nil,
75908
+ identity_verification_sessions: nil,
75909
+ invoices: nil,
75910
+ issuing_cardholders: nil,
75911
+ issuing_cards: nil,
75912
+ payment_intents: nil,
75913
+ radar_value_list_items: nil,
75914
+ setup_intents: nil
75915
+ ); end
75916
+ end
75917
+ # Specifies which fields in the response should be expanded.
75918
+ sig { returns(T.nilable(T::Array[String])) }
75919
+ attr_accessor :expand
75920
+ # The objects at the root level that are subject to redaction.
75921
+ sig { returns(::Stripe::Privacy::RedactionJob::CreateParams::Objects) }
75922
+ attr_accessor :objects
75923
+ # Default is "error". If "error", we will make sure all objects in the graph are
75924
+ # redactable in the 1st traversal, otherwise error. If "fix", where possible, we will
75925
+ # auto-fix any validation errors (e.g. by auto-transitioning objects to a terminal
75926
+ # state, etc.) in the 2nd traversal before redacting
75927
+ sig { returns(T.nilable(String)) }
75928
+ attr_accessor :validation_behavior
75929
+ sig {
75930
+ params(expand: T.nilable(T::Array[String]), objects: ::Stripe::Privacy::RedactionJob::CreateParams::Objects, validation_behavior: T.nilable(String)).void
75931
+ }
75932
+ def initialize(expand: nil, objects: nil, validation_behavior: nil); end
75933
+ end
75934
+ class UpdateParams < Stripe::RequestParams
75935
+ # Specifies which fields in the response should be expanded.
75936
+ sig { returns(T.nilable(T::Array[String])) }
75937
+ attr_accessor :expand
75938
+ # Attribute for param field validation_behavior
75939
+ sig { returns(T.nilable(String)) }
75940
+ attr_accessor :validation_behavior
75941
+ sig {
75942
+ params(expand: T.nilable(T::Array[String]), validation_behavior: T.nilable(String)).void
75943
+ }
75944
+ def initialize(expand: nil, validation_behavior: nil); end
75945
+ end
75946
+ class CancelParams < Stripe::RequestParams
75947
+ # Specifies which fields in the response should be expanded.
75948
+ sig { returns(T.nilable(T::Array[String])) }
75949
+ attr_accessor :expand
75950
+ sig { params(expand: T.nilable(T::Array[String])).void }
75951
+ def initialize(expand: nil); end
75952
+ end
75953
+ class RunParams < Stripe::RequestParams
75954
+ # Specifies which fields in the response should be expanded.
75955
+ sig { returns(T.nilable(T::Array[String])) }
75956
+ attr_accessor :expand
75957
+ sig { params(expand: T.nilable(T::Array[String])).void }
75958
+ def initialize(expand: nil); end
75959
+ end
75960
+ class ValidateParams < Stripe::RequestParams
75961
+ # Specifies which fields in the response should be expanded.
75962
+ sig { returns(T.nilable(T::Array[String])) }
75963
+ attr_accessor :expand
75964
+ sig { params(expand: T.nilable(T::Array[String])).void }
75965
+ def initialize(expand: nil); end
75966
+ end
75967
+ # Cancel redaction job method
75968
+ sig {
75969
+ params(params: T.any(::Stripe::Privacy::RedactionJob::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
75970
+ }
75971
+ def cancel(params = {}, opts = {}); end
75972
+
75973
+ # Cancel redaction job method
75974
+ sig {
75975
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJob::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
75976
+ }
75977
+ def self.cancel(job, params = {}, opts = {}); end
75978
+
75979
+ # Create redaction job method
75980
+ sig {
75981
+ params(params: T.any(::Stripe::Privacy::RedactionJob::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
75982
+ }
75983
+ def self.create(params = {}, opts = {}); end
75984
+
75985
+ # List redaction jobs method...
75986
+ sig {
75987
+ params(params: T.any(::Stripe::Privacy::RedactionJob::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
75988
+ }
75989
+ def self.list(params = {}, opts = {}); end
75990
+
75991
+ # Run redaction job method
75992
+ sig {
75993
+ params(params: T.any(::Stripe::Privacy::RedactionJob::RunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
75994
+ }
75995
+ def run(params = {}, opts = {}); end
75996
+
75997
+ # Run redaction job method
75998
+ sig {
75999
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJob::RunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
76000
+ }
76001
+ def self.run(job, params = {}, opts = {}); end
76002
+
76003
+ # Update redaction job method
76004
+ sig {
76005
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJob::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
76006
+ }
76007
+ def self.update(job, params = {}, opts = {}); end
76008
+
76009
+ # Validate redaction job method
76010
+ sig {
76011
+ params(params: T.any(::Stripe::Privacy::RedactionJob::ValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
76012
+ }
76013
+ def validate(params = {}, opts = {}); end
76014
+
76015
+ # Validate redaction job method
76016
+ sig {
76017
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJob::ValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
76018
+ }
76019
+ def self.validate(job, params = {}, opts = {}); end
76020
+ end
76021
+ end
76022
+ end
76023
+ # typed: true
76024
+ module Stripe
76025
+ module Privacy
76026
+ # The objects to redact, grouped by type. All redactable objects associated with these objects will be redacted as well.
76027
+ class RedactionJobRootObjects < APIResource
76028
+ # Attribute for field charges
76029
+ sig { returns(T.nilable(T::Array[String])) }
76030
+ attr_reader :charges
76031
+ # Attribute for field checkout_sessions
76032
+ sig { returns(T.nilable(T::Array[String])) }
76033
+ attr_reader :checkout_sessions
76034
+ # Attribute for field customers
76035
+ sig { returns(T.nilable(T::Array[String])) }
76036
+ attr_reader :customers
76037
+ # Attribute for field identity_verification_sessions
76038
+ sig { returns(T.nilable(T::Array[String])) }
76039
+ attr_reader :identity_verification_sessions
76040
+ # Attribute for field invoices
76041
+ sig { returns(T.nilable(T::Array[String])) }
76042
+ attr_reader :invoices
76043
+ # Attribute for field issuing_cardholders
76044
+ sig { returns(T.nilable(T::Array[String])) }
76045
+ attr_reader :issuing_cardholders
76046
+ # String representing the object's type. Objects of the same type share the same value.
76047
+ sig { returns(String) }
76048
+ attr_reader :object
76049
+ # Attribute for field payment_intents
76050
+ sig { returns(T.nilable(T::Array[String])) }
76051
+ attr_reader :payment_intents
76052
+ # Attribute for field radar_value_list_items
76053
+ sig { returns(T.nilable(T::Array[String])) }
76054
+ attr_reader :radar_value_list_items
76055
+ # Attribute for field setup_intents
76056
+ sig { returns(T.nilable(T::Array[String])) }
76057
+ attr_reader :setup_intents
76058
+ end
76059
+ end
76060
+ end
76061
+ # typed: true
76062
+ module Stripe
76063
+ module Privacy
76064
+ # Validation errors
76065
+ class RedactionJobValidationError < APIResource
76066
+ # Attribute for field code
76067
+ sig { returns(String) }
76068
+ attr_reader :code
76069
+ # Attribute for field erroring_object
76070
+ sig { returns(T.nilable(T::Hash[String, String])) }
76071
+ attr_reader :erroring_object
76072
+ # Unique identifier for the object.
76073
+ sig { returns(String) }
76074
+ attr_reader :id
76075
+ # Attribute for field message
76076
+ sig { returns(String) }
76077
+ attr_reader :message
76078
+ # String representing the object's type. Objects of the same type share the same value.
76079
+ sig { returns(String) }
76080
+ attr_reader :object
76081
+ class ListParams < Stripe::RequestParams
76082
+ # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
76083
+ sig { returns(T.nilable(String)) }
76084
+ attr_accessor :ending_before
76085
+ # Specifies which fields in the response should be expanded.
76086
+ sig { returns(T.nilable(T::Array[String])) }
76087
+ attr_accessor :expand
76088
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
76089
+ sig { returns(T.nilable(Integer)) }
76090
+ attr_accessor :limit
76091
+ # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
76092
+ sig { returns(T.nilable(String)) }
76093
+ attr_accessor :starting_after
76094
+ sig {
76095
+ params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
76096
+ }
76097
+ def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil); end
76098
+ end
76099
+ # List validation errors method
76100
+ sig {
76101
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidationError::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
76102
+ }
76103
+ def self.list(job, params = {}, opts = {}); end
76104
+ end
76105
+ end
76106
+ end
76107
+ # typed: true
75696
76108
  module Stripe
75697
76109
  # Products describe the specific goods or services you offer to your customers.
75698
76110
  # For example, you might offer a Standard and Premium version of your goods or service; each version would be a separate Product.
@@ -84456,7 +84868,7 @@ module Stripe
84456
84868
  returns(T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Bancontact))
84457
84869
  }
84458
84870
  attr_accessor :bancontact
84459
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
84871
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
84460
84872
  sig { returns(T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Billie)) }
84461
84873
  attr_accessor :billie
84462
84874
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
@@ -84587,7 +84999,7 @@ module Stripe
84587
84999
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
84588
85000
  sig { returns(T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Rechnung)) }
84589
85001
  attr_accessor :rechnung
84590
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
85002
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
84591
85003
  sig {
84592
85004
  returns(T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::RevolutPay))
84593
85005
  }
@@ -84597,7 +85009,7 @@ module Stripe
84597
85009
  returns(T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::SamsungPay))
84598
85010
  }
84599
85011
  attr_accessor :samsung_pay
84600
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
85012
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
84601
85013
  sig { returns(T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Satispay)) }
84602
85014
  attr_accessor :satispay
84603
85015
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
@@ -85732,7 +86144,7 @@ module Stripe
85732
86144
  returns(T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Bancontact))
85733
86145
  }
85734
86146
  attr_accessor :bancontact
85735
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
86147
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
85736
86148
  sig { returns(T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Billie)) }
85737
86149
  attr_accessor :billie
85738
86150
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
@@ -85863,7 +86275,7 @@ module Stripe
85863
86275
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
85864
86276
  sig { returns(T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Rechnung)) }
85865
86277
  attr_accessor :rechnung
85866
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
86278
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
85867
86279
  sig {
85868
86280
  returns(T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RevolutPay))
85869
86281
  }
@@ -85873,7 +86285,7 @@ module Stripe
85873
86285
  returns(T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SamsungPay))
85874
86286
  }
85875
86287
  attr_accessor :samsung_pay
85876
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
86288
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
85877
86289
  sig { returns(T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Satispay)) }
85878
86290
  attr_accessor :satispay
85879
86291
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
@@ -87014,7 +87426,7 @@ module Stripe
87014
87426
  returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Bancontact))
87015
87427
  }
87016
87428
  attr_accessor :bancontact
87017
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
87429
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
87018
87430
  sig { returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Billie)) }
87019
87431
  attr_accessor :billie
87020
87432
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
@@ -87151,7 +87563,7 @@ module Stripe
87151
87563
  returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Rechnung))
87152
87564
  }
87153
87565
  attr_accessor :rechnung
87154
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
87566
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
87155
87567
  sig {
87156
87568
  returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RevolutPay))
87157
87569
  }
@@ -87161,7 +87573,7 @@ module Stripe
87161
87573
  returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SamsungPay))
87162
87574
  }
87163
87575
  attr_accessor :samsung_pay
87164
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
87576
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
87165
87577
  sig {
87166
87578
  returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Satispay))
87167
87579
  }
@@ -90247,7 +90659,7 @@ module Stripe
90247
90659
  # ID of the customer who owns the subscription.
90248
90660
  sig { returns(T.any(String, Stripe::Customer)) }
90249
90661
  attr_reader :customer
90250
- # Attribute for field customer_account
90662
+ # ID of the account who owns the subscription.
90251
90663
  sig { returns(T.nilable(String)) }
90252
90664
  attr_reader :customer_account
90253
90665
  # Number of days a customer has to pay invoices generated by this subscription. This value will be `null` for subscriptions where `collection_method=charge_automatically`.
@@ -91237,7 +91649,7 @@ module Stripe
91237
91649
  # The ID of the customer whose subscriptions will be retrieved.
91238
91650
  sig { returns(T.nilable(String)) }
91239
91651
  attr_accessor :customer
91240
- # Attribute for param field customer_account
91652
+ # The ID of the account whose subscriptions will be retrieved.
91241
91653
  sig { returns(T.nilable(String)) }
91242
91654
  attr_accessor :customer_account
91243
91655
  # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
@@ -91940,7 +92352,7 @@ module Stripe
91940
92352
  # The identifier of the customer to subscribe.
91941
92353
  sig { returns(T.nilable(String)) }
91942
92354
  attr_accessor :customer
91943
- # Attribute for param field customer_account
92355
+ # The identifier of the account to subscribe.
91944
92356
  sig { returns(T.nilable(String)) }
91945
92357
  attr_accessor :customer_account
91946
92358
  # Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where `collection_method` is set to `send_invoice`.
@@ -95883,7 +96295,7 @@ module Stripe
95883
96295
  sig { returns(Integer) }
95884
96296
  attr_reader :quantity
95885
96297
  # A custom identifier for this line item.
95886
- sig { returns(T.nilable(String)) }
96298
+ sig { returns(String) }
95887
96299
  attr_reader :reference
95888
96300
  # Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.
95889
96301
  sig { returns(String) }
@@ -96436,6 +96848,11 @@ module Stripe
96436
96848
  sig { returns(String) }
96437
96849
  attr_reader :type
96438
96850
  end
96851
+ class In < Stripe::StripeObject
96852
+ # Type of registration in `country`.
96853
+ sig { returns(String) }
96854
+ attr_reader :type
96855
+ end
96439
96856
  class Is < Stripe::StripeObject
96440
96857
  # Type of registration in `country`.
96441
96858
  sig { returns(String) }
@@ -96923,6 +97340,9 @@ module Stripe
96923
97340
  # Attribute for field ie
96924
97341
  sig { returns(Ie) }
96925
97342
  attr_reader :ie
97343
+ # Attribute for field in
97344
+ sig { returns(In) }
97345
+ attr_reader :in
96926
97346
  # Attribute for field is
96927
97347
  sig { returns(Is) }
96928
97348
  attr_reader :is
@@ -97610,6 +98030,13 @@ module Stripe
97610
98030
  }
97611
98031
  def initialize(standard: nil, type: nil); end
97612
98032
  end
98033
+ class In < Stripe::RequestParams
98034
+ # Type of registration to be created in `country`.
98035
+ sig { returns(String) }
98036
+ attr_accessor :type
98037
+ sig { params(type: String).void }
98038
+ def initialize(type: nil); end
98039
+ end
97613
98040
  class Is < Stripe::RequestParams
97614
98041
  # Type of registration to be created in `country`.
97615
98042
  sig { returns(String) }
@@ -98293,6 +98720,9 @@ module Stripe
98293
98720
  # Options for the registration in IE.
98294
98721
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ie)) }
98295
98722
  attr_accessor :ie
98723
+ # Options for the registration in IN.
98724
+ sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::In)) }
98725
+ attr_accessor :in
98296
98726
  # Options for the registration in IS.
98297
98727
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Is)) }
98298
98728
  attr_accessor :is
@@ -98441,7 +98871,7 @@ module Stripe
98441
98871
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zw)) }
98442
98872
  attr_accessor :zw
98443
98873
  sig {
98444
- params(ae: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Au), ba: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bb), be: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Be), bg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bh), bs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cl), co: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cr), cy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Es), fi: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ie), is: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ke), kh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kz), lt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pe), pl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zw)).void
98874
+ params(ae: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Au), ba: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bb), be: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Be), bg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bh), bs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cl), co: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cr), cy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Es), fi: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ke), kh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kz), lt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pe), pl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zw)).void
98445
98875
  }
98446
98876
  def initialize(
98447
98877
  ae: nil,
@@ -98481,6 +98911,7 @@ module Stripe
98481
98911
  hu: nil,
98482
98912
  id: nil,
98483
98913
  ie: nil,
98914
+ in_: nil,
98484
98915
  is: nil,
98485
98916
  it: nil,
98486
98917
  jp: nil,
@@ -108061,6 +108492,7 @@ module Stripe
108061
108492
  attr_reader :payouts
108062
108493
  attr_reader :plans
108063
108494
  attr_reader :prices
108495
+ attr_reader :privacy
108064
108496
  attr_reader :products
108065
108497
  attr_reader :promotion_codes
108066
108498
  attr_reader :quotes
@@ -108208,6 +108640,9 @@ module Stripe
108208
108640
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
108209
108641
  sig { returns(T.nilable(String)) }
108210
108642
  attr_accessor :mcc
108643
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
108644
+ sig { returns(T.nilable(T::Array[String])) }
108645
+ attr_accessor :minority_owned_business_designation
108211
108646
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
108212
108647
  sig {
108213
108648
  returns(T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::MonthlyEstimatedRevenue))
@@ -108237,12 +108672,13 @@ module Stripe
108237
108672
  sig { returns(T.nilable(String)) }
108238
108673
  attr_accessor :url
108239
108674
  sig {
108240
- params(annual_revenue: T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::AnnualRevenue), estimated_worker_count: T.nilable(Integer), mcc: T.nilable(String), monthly_estimated_revenue: T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::MonthlyEstimatedRevenue), name: T.nilable(String), product_description: T.nilable(String), support_address: T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::SupportAddress), support_email: T.nilable(String), support_phone: T.nilable(String), support_url: T.nilable(T.nilable(String)), url: T.nilable(String)).void
108675
+ params(annual_revenue: T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::AnnualRevenue), estimated_worker_count: T.nilable(Integer), mcc: T.nilable(String), minority_owned_business_designation: T.nilable(T::Array[String]), monthly_estimated_revenue: T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::MonthlyEstimatedRevenue), name: T.nilable(String), product_description: T.nilable(String), support_address: T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::SupportAddress), support_email: T.nilable(String), support_phone: T.nilable(String), support_url: T.nilable(T.nilable(String)), url: T.nilable(String)).void
108241
108676
  }
108242
108677
  def initialize(
108243
108678
  annual_revenue: nil,
108244
108679
  estimated_worker_count: nil,
108245
108680
  mcc: nil,
108681
+ minority_owned_business_designation: nil,
108246
108682
  monthly_estimated_revenue: nil,
108247
108683
  name: nil,
108248
108684
  product_description: nil,
@@ -110489,6 +110925,9 @@ module Stripe
110489
110925
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
110490
110926
  sig { returns(T.nilable(String)) }
110491
110927
  attr_accessor :mcc
110928
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
110929
+ sig { returns(T.nilable(T::Array[String])) }
110930
+ attr_accessor :minority_owned_business_designation
110492
110931
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
110493
110932
  sig {
110494
110933
  returns(T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::MonthlyEstimatedRevenue))
@@ -110518,12 +110957,13 @@ module Stripe
110518
110957
  sig { returns(T.nilable(String)) }
110519
110958
  attr_accessor :url
110520
110959
  sig {
110521
- params(annual_revenue: T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::AnnualRevenue), estimated_worker_count: T.nilable(Integer), mcc: T.nilable(String), monthly_estimated_revenue: T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::MonthlyEstimatedRevenue), name: T.nilable(String), product_description: T.nilable(String), support_address: T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::SupportAddress), support_email: T.nilable(String), support_phone: T.nilable(String), support_url: T.nilable(T.nilable(String)), url: T.nilable(String)).void
110960
+ params(annual_revenue: T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::AnnualRevenue), estimated_worker_count: T.nilable(Integer), mcc: T.nilable(String), minority_owned_business_designation: T.nilable(T::Array[String]), monthly_estimated_revenue: T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::MonthlyEstimatedRevenue), name: T.nilable(String), product_description: T.nilable(String), support_address: T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::SupportAddress), support_email: T.nilable(String), support_phone: T.nilable(String), support_url: T.nilable(T.nilable(String)), url: T.nilable(String)).void
110522
110961
  }
110523
110962
  def initialize(
110524
110963
  annual_revenue: nil,
110525
110964
  estimated_worker_count: nil,
110526
110965
  mcc: nil,
110966
+ minority_owned_business_designation: nil,
110527
110967
  monthly_estimated_revenue: nil,
110528
110968
  name: nil,
110529
110969
  product_description: nil,
@@ -114440,6 +114880,23 @@ module Stripe
114440
114880
  }
114441
114881
  def initialize(enabled: nil, features: nil); end
114442
114882
  end
114883
+ class ExportTaxTransactions < Stripe::RequestParams
114884
+ class Features < Stripe::RequestParams
114885
+
114886
+ end
114887
+ # Whether the embedded component is enabled.
114888
+ sig { returns(T::Boolean) }
114889
+ attr_accessor :enabled
114890
+ # The list of features enabled in the embedded component.
114891
+ sig {
114892
+ returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::ExportTaxTransactions::Features))
114893
+ }
114894
+ attr_accessor :features
114895
+ sig {
114896
+ params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::ExportTaxTransactions::Features)).void
114897
+ }
114898
+ def initialize(enabled: nil, features: nil); end
114899
+ end
114443
114900
  class FinancialAccount < Stripe::RequestParams
114444
114901
  class Features < Stripe::RequestParams
114445
114902
  # 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.
@@ -114642,6 +115099,39 @@ module Stripe
114642
115099
  }
114643
115100
  def initialize(enabled: nil, features: nil); end
114644
115101
  end
115102
+ class PaymentDisputes < Stripe::RequestParams
115103
+ class Features < Stripe::RequestParams
115104
+ # Whether to allow connected accounts to manage destination charges that are created on behalf of them. This is `false` by default.
115105
+ sig { returns(T.nilable(T::Boolean)) }
115106
+ attr_accessor :destination_on_behalf_of_charge_management
115107
+ # Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.
115108
+ sig { returns(T.nilable(T::Boolean)) }
115109
+ attr_accessor :dispute_management
115110
+ # Whether to allow sending refunds. This is `true` by default.
115111
+ sig { returns(T.nilable(T::Boolean)) }
115112
+ attr_accessor :refund_management
115113
+ sig {
115114
+ params(destination_on_behalf_of_charge_management: T.nilable(T::Boolean), dispute_management: T.nilable(T::Boolean), refund_management: T.nilable(T::Boolean)).void
115115
+ }
115116
+ def initialize(
115117
+ destination_on_behalf_of_charge_management: nil,
115118
+ dispute_management: nil,
115119
+ refund_management: nil
115120
+ ); end
115121
+ end
115122
+ # Whether the embedded component is enabled.
115123
+ sig { returns(T::Boolean) }
115124
+ attr_accessor :enabled
115125
+ # The list of features enabled in the embedded component.
115126
+ sig {
115127
+ returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDisputes::Features))
115128
+ }
115129
+ attr_accessor :features
115130
+ sig {
115131
+ params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDisputes::Features)).void
115132
+ }
115133
+ def initialize(enabled: nil, features: nil); end
115134
+ end
114645
115135
  class PaymentMethodSettings < Stripe::RequestParams
114646
115136
  class Features < Stripe::RequestParams
114647
115137
 
@@ -114910,6 +115400,11 @@ module Stripe
114910
115400
  returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents))
114911
115401
  }
114912
115402
  attr_accessor :documents
115403
+ # Configuration for the export tax transactions embedded component.
115404
+ sig {
115405
+ returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::ExportTaxTransactions))
115406
+ }
115407
+ attr_accessor :export_tax_transactions
114913
115408
  # Configuration for the financial account embedded component.
114914
115409
  sig {
114915
115410
  returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccount))
@@ -114940,6 +115435,11 @@ module Stripe
114940
115435
  returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDetails))
114941
115436
  }
114942
115437
  attr_accessor :payment_details
115438
+ # Configuration for the payment disputes embedded component.
115439
+ sig {
115440
+ returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDisputes))
115441
+ }
115442
+ attr_accessor :payment_disputes
114943
115443
  # Configuration for the payment method settings embedded component.
114944
115444
  sig {
114945
115445
  returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentMethodSettings))
@@ -114991,7 +115491,7 @@ module Stripe
114991
115491
  }
114992
115492
  attr_accessor :tax_threshold_monitoring
114993
115493
  sig {
114994
- params(account_management: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountManagement), account_onboarding: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountOnboarding), app_install: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AppInstall), app_viewport: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AppViewport), balances: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Balances), capital_financing: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::CapitalFinancing), capital_financing_application: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::CapitalFinancingApplication), capital_financing_promotion: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::CapitalFinancingPromotion), capital_overview: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::CapitalOverview), documents: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents), financial_account: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccount), financial_account_transactions: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccountTransactions), issuing_card: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCard), issuing_cards_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCardsList), notification_banner: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::NotificationBanner), payment_details: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDetails), payment_method_settings: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentMethodSettings), payments: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payments), payouts: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payouts), payouts_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PayoutsList), product_tax_code_selector: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::ProductTaxCodeSelector), recipients: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Recipients), reporting_chart: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::ReportingChart), tax_registrations: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxRegistrations), tax_settings: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxSettings), tax_threshold_monitoring: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxThresholdMonitoring)).void
115494
+ params(account_management: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountManagement), account_onboarding: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountOnboarding), app_install: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AppInstall), app_viewport: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AppViewport), balances: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Balances), capital_financing: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::CapitalFinancing), capital_financing_application: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::CapitalFinancingApplication), capital_financing_promotion: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::CapitalFinancingPromotion), capital_overview: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::CapitalOverview), documents: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents), export_tax_transactions: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::ExportTaxTransactions), financial_account: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccount), financial_account_transactions: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccountTransactions), issuing_card: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCard), issuing_cards_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCardsList), notification_banner: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::NotificationBanner), payment_details: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDetails), payment_disputes: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDisputes), payment_method_settings: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentMethodSettings), payments: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payments), payouts: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payouts), payouts_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PayoutsList), product_tax_code_selector: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::ProductTaxCodeSelector), recipients: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Recipients), reporting_chart: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::ReportingChart), tax_registrations: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxRegistrations), tax_settings: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxSettings), tax_threshold_monitoring: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxThresholdMonitoring)).void
114995
115495
  }
114996
115496
  def initialize(
114997
115497
  account_management: nil,
@@ -115004,12 +115504,14 @@ module Stripe
115004
115504
  capital_financing_promotion: nil,
115005
115505
  capital_overview: nil,
115006
115506
  documents: nil,
115507
+ export_tax_transactions: nil,
115007
115508
  financial_account: nil,
115008
115509
  financial_account_transactions: nil,
115009
115510
  issuing_card: nil,
115010
115511
  issuing_cards_list: nil,
115011
115512
  notification_banner: nil,
115012
115513
  payment_details: nil,
115514
+ payment_disputes: nil,
115013
115515
  payment_method_settings: nil,
115014
115516
  payments: nil,
115015
115517
  payouts: nil,
@@ -121367,6 +121869,24 @@ module Stripe
121367
121869
  sig { params(enabled: T::Boolean, required: T.nilable(String)).void }
121368
121870
  def initialize(enabled: nil, required: nil); end
121369
121871
  end
121872
+ class WalletOptions < Stripe::RequestParams
121873
+ class Link < Stripe::RequestParams
121874
+ # Specifies whether Checkout should display Link as a payment option. By default, Checkout will display all the supported wallets that the Checkout Session was created with. This is the `auto` behavior, and it is the default choice.
121875
+ sig { returns(T.nilable(String)) }
121876
+ attr_accessor :display
121877
+ sig { params(display: T.nilable(String)).void }
121878
+ def initialize(display: nil); end
121879
+ end
121880
+ # contains details about the Link wallet options.
121881
+ sig {
121882
+ returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::WalletOptions::Link))
121883
+ }
121884
+ attr_accessor :link
121885
+ sig {
121886
+ params(link: T.nilable(::Stripe::Checkout::SessionService::CreateParams::WalletOptions::Link)).void
121887
+ }
121888
+ def initialize(link: nil); end
121889
+ end
121370
121890
  # Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
121371
121891
  sig {
121372
121892
  returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::AdaptivePricing))
@@ -121533,7 +122053,7 @@ module Stripe
121533
122053
  attr_accessor :payment_method_types
121534
122054
  # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object.
121535
122055
  #
121536
- # For specific permissions, please refer to their dedicated subsections, such as `permissions.update.shipping_details`.
122056
+ # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.
121537
122057
  sig { returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::Permissions)) }
121538
122058
  attr_accessor :permissions
121539
122059
  # Controls phone number collection settings for the session.
@@ -121598,8 +122118,11 @@ module Stripe
121598
122118
  # The UI mode of the Session. Defaults to `hosted`.
121599
122119
  sig { returns(T.nilable(String)) }
121600
122120
  attr_accessor :ui_mode
122121
+ # Wallet-specific configuration.
122122
+ sig { returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::WalletOptions)) }
122123
+ attr_accessor :wallet_options
121601
122124
  sig {
121602
- params(adaptive_pricing: T.nilable(::Stripe::Checkout::SessionService::CreateParams::AdaptivePricing), after_expiration: T.nilable(::Stripe::Checkout::SessionService::CreateParams::AfterExpiration), allow_promotion_codes: T.nilable(T::Boolean), automatic_tax: T.nilable(::Stripe::Checkout::SessionService::CreateParams::AutomaticTax), billing_address_collection: T.nilable(String), cancel_url: T.nilable(String), client_reference_id: T.nilable(String), consent_collection: T.nilable(::Stripe::Checkout::SessionService::CreateParams::ConsentCollection), currency: T.nilable(String), custom_fields: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::CustomField]), custom_text: T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomText), customer: T.nilable(String), customer_account: T.nilable(String), customer_creation: T.nilable(String), customer_email: T.nilable(String), customer_update: T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomerUpdate), discounts: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::Discount]), expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer), invoice_creation: T.nilable(::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation), line_items: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::LineItem]), locale: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), mode: T.nilable(String), optional_items: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::OptionalItem]), payment_intent_data: T.nilable(::Stripe::Checkout::SessionService::CreateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), permissions: T.nilable(::Stripe::Checkout::SessionService::CreateParams::Permissions), phone_number_collection: T.nilable(::Stripe::Checkout::SessionService::CreateParams::PhoneNumberCollection), redirect_on_completion: T.nilable(String), return_url: T.nilable(String), saved_payment_method_options: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SavedPaymentMethodOptions), setup_intent_data: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SetupIntentData), shipping_address_collection: T.nilable(::Stripe::Checkout::SessionService::CreateParams::ShippingAddressCollection), shipping_options: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::ShippingOption]), submit_type: T.nilable(String), subscription_data: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData), success_url: T.nilable(String), tax_id_collection: T.nilable(::Stripe::Checkout::SessionService::CreateParams::TaxIdCollection), ui_mode: T.nilable(String)).void
122125
+ params(adaptive_pricing: T.nilable(::Stripe::Checkout::SessionService::CreateParams::AdaptivePricing), after_expiration: T.nilable(::Stripe::Checkout::SessionService::CreateParams::AfterExpiration), allow_promotion_codes: T.nilable(T::Boolean), automatic_tax: T.nilable(::Stripe::Checkout::SessionService::CreateParams::AutomaticTax), billing_address_collection: T.nilable(String), cancel_url: T.nilable(String), client_reference_id: T.nilable(String), consent_collection: T.nilable(::Stripe::Checkout::SessionService::CreateParams::ConsentCollection), currency: T.nilable(String), custom_fields: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::CustomField]), custom_text: T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomText), customer: T.nilable(String), customer_account: T.nilable(String), customer_creation: T.nilable(String), customer_email: T.nilable(String), customer_update: T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomerUpdate), discounts: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::Discount]), expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer), invoice_creation: T.nilable(::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation), line_items: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::LineItem]), locale: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), mode: T.nilable(String), optional_items: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::OptionalItem]), payment_intent_data: T.nilable(::Stripe::Checkout::SessionService::CreateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), permissions: T.nilable(::Stripe::Checkout::SessionService::CreateParams::Permissions), phone_number_collection: T.nilable(::Stripe::Checkout::SessionService::CreateParams::PhoneNumberCollection), redirect_on_completion: T.nilable(String), return_url: T.nilable(String), saved_payment_method_options: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SavedPaymentMethodOptions), setup_intent_data: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SetupIntentData), shipping_address_collection: T.nilable(::Stripe::Checkout::SessionService::CreateParams::ShippingAddressCollection), shipping_options: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::ShippingOption]), submit_type: T.nilable(String), subscription_data: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData), success_url: T.nilable(String), tax_id_collection: T.nilable(::Stripe::Checkout::SessionService::CreateParams::TaxIdCollection), ui_mode: T.nilable(String), wallet_options: T.nilable(::Stripe::Checkout::SessionService::CreateParams::WalletOptions)).void
121603
122126
  }
121604
122127
  def initialize(
121605
122128
  adaptive_pricing: nil,
@@ -121645,7 +122168,8 @@ module Stripe
121645
122168
  subscription_data: nil,
121646
122169
  success_url: nil,
121647
122170
  tax_id_collection: nil,
121648
- ui_mode: nil
122171
+ ui_mode: nil,
122172
+ wallet_options: nil
121649
122173
  ); end
121650
122174
  end
121651
122175
  class RetrieveParams < Stripe::RequestParams
@@ -122708,7 +123232,7 @@ module Stripe
122708
123232
  returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Bancontact))
122709
123233
  }
122710
123234
  attr_accessor :bancontact
122711
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
123235
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
122712
123236
  sig {
122713
123237
  returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Billie))
122714
123238
  }
@@ -122891,7 +123415,7 @@ module Stripe
122891
123415
  returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Rechnung))
122892
123416
  }
122893
123417
  attr_accessor :rechnung
122894
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
123418
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
122895
123419
  sig {
122896
123420
  returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::RevolutPay))
122897
123421
  }
@@ -122901,7 +123425,7 @@ module Stripe
122901
123425
  returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::SamsungPay))
122902
123426
  }
122903
123427
  attr_accessor :samsung_pay
122904
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
123428
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
122905
123429
  sig {
122906
123430
  returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Satispay))
122907
123431
  }
@@ -130900,7 +131424,7 @@ module Stripe
130900
131424
  # Only return invoices for the customer specified by this customer ID.
130901
131425
  sig { returns(T.nilable(String)) }
130902
131426
  attr_accessor :customer
130903
- # Attribute for param field customer_account
131427
+ # Only return invoices for the account specified by this account ID.
130904
131428
  sig { returns(T.nilable(String)) }
130905
131429
  attr_accessor :customer_account
130906
131430
  # Attribute for param field due_date
@@ -142049,7 +142573,7 @@ module Stripe
142049
142573
  returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodData::Bancontact))
142050
142574
  }
142051
142575
  attr_accessor :bancontact
142052
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
142576
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
142053
142577
  sig {
142054
142578
  returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodData::Billie))
142055
142579
  }
@@ -142232,7 +142756,7 @@ module Stripe
142232
142756
  returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodData::Rechnung))
142233
142757
  }
142234
142758
  attr_accessor :rechnung
142235
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
142759
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
142236
142760
  sig {
142237
142761
  returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodData::RevolutPay))
142238
142762
  }
@@ -142242,7 +142766,7 @@ module Stripe
142242
142766
  returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodData::SamsungPay))
142243
142767
  }
142244
142768
  attr_accessor :samsung_pay
142245
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
142769
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
142246
142770
  sig {
142247
142771
  returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodData::Satispay))
142248
142772
  }
@@ -145814,7 +146338,7 @@ module Stripe
145814
146338
  returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData::Bancontact))
145815
146339
  }
145816
146340
  attr_accessor :bancontact
145817
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
146341
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
145818
146342
  sig {
145819
146343
  returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData::Billie))
145820
146344
  }
@@ -145997,7 +146521,7 @@ module Stripe
145997
146521
  returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData::Rechnung))
145998
146522
  }
145999
146523
  attr_accessor :rechnung
146000
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
146524
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
146001
146525
  sig {
146002
146526
  returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData::RevolutPay))
146003
146527
  }
@@ -146007,7 +146531,7 @@ module Stripe
146007
146531
  returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData::SamsungPay))
146008
146532
  }
146009
146533
  attr_accessor :samsung_pay
146010
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
146534
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
146011
146535
  sig {
146012
146536
  returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData::Satispay))
146013
146537
  }
@@ -150356,7 +150880,7 @@ module Stripe
150356
150880
  returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::Bancontact))
150357
150881
  }
150358
150882
  attr_accessor :bancontact
150359
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
150883
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
150360
150884
  sig {
150361
150885
  returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::Billie))
150362
150886
  }
@@ -150539,7 +151063,7 @@ module Stripe
150539
151063
  returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::Rechnung))
150540
151064
  }
150541
151065
  attr_accessor :rechnung
150542
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
151066
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
150543
151067
  sig {
150544
151068
  returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::RevolutPay))
150545
151069
  }
@@ -150549,7 +151073,7 @@ module Stripe
150549
151073
  returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::SamsungPay))
150550
151074
  }
150551
151075
  attr_accessor :samsung_pay
150552
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
151076
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
150553
151077
  sig {
150554
151078
  returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::Satispay))
150555
151079
  }
@@ -155062,7 +155586,7 @@ module Stripe
155062
155586
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
155063
155587
  sig { returns(T.nilable(::Stripe::PaymentMethodService::CreateParams::Bancontact)) }
155064
155588
  attr_accessor :bancontact
155065
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
155589
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
155066
155590
  sig { returns(T.nilable(::Stripe::PaymentMethodService::CreateParams::Billie)) }
155067
155591
  attr_accessor :billie
155068
155592
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
@@ -155185,13 +155709,13 @@ module Stripe
155185
155709
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
155186
155710
  sig { returns(T.nilable(::Stripe::PaymentMethodService::CreateParams::Rechnung)) }
155187
155711
  attr_accessor :rechnung
155188
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
155712
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
155189
155713
  sig { returns(T.nilable(::Stripe::PaymentMethodService::CreateParams::RevolutPay)) }
155190
155714
  attr_accessor :revolut_pay
155191
155715
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
155192
155716
  sig { returns(T.nilable(::Stripe::PaymentMethodService::CreateParams::SamsungPay)) }
155193
155717
  attr_accessor :samsung_pay
155194
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
155718
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
155195
155719
  sig { returns(T.nilable(::Stripe::PaymentMethodService::CreateParams::Satispay)) }
155196
155720
  attr_accessor :satispay
155197
155721
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
@@ -158320,7 +158844,7 @@ module Stripe
158320
158844
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
158321
158845
  sig { returns(String) }
158322
158846
  attr_accessor :currency
158323
- # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
158847
+ # A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.
158324
158848
  sig { returns(Integer) }
158325
158849
  attr_accessor :value
158326
158850
  sig { params(currency: String, value: Integer).void }
@@ -158489,7 +159013,7 @@ module Stripe
158489
159013
  }
158490
159014
  def initialize(address: nil, name: nil, phone: nil); end
158491
159015
  end
158492
- # The amount you intend to collect for this payment.
159016
+ # The amount you initially requested for this payment.
158493
159017
  sig { returns(::Stripe::PaymentRecordService::ReportPaymentParams::AmountRequested) }
158494
159018
  attr_accessor :amount_requested
158495
159019
  # Customer information for this payment.
@@ -159644,6 +160168,236 @@ module Stripe
159644
160168
  end
159645
160169
  end
159646
160170
  # typed: true
160171
+ module Stripe
160172
+ class PrivacyService < StripeService
160173
+ attr_reader :redaction_jobs
160174
+ end
160175
+ end
160176
+ # typed: true
160177
+ module Stripe
160178
+ module Privacy
160179
+ class RedactionJobService < StripeService
160180
+ attr_reader :validation_errors
160181
+ class ListParams < Stripe::RequestParams
160182
+ # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
160183
+ sig { returns(T.nilable(String)) }
160184
+ attr_accessor :ending_before
160185
+ # Specifies which fields in the response should be expanded.
160186
+ sig { returns(T.nilable(T::Array[String])) }
160187
+ attr_accessor :expand
160188
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
160189
+ sig { returns(T.nilable(Integer)) }
160190
+ attr_accessor :limit
160191
+ # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
160192
+ sig { returns(T.nilable(String)) }
160193
+ attr_accessor :starting_after
160194
+ # Attribute for param field status
160195
+ sig { returns(T.nilable(String)) }
160196
+ attr_accessor :status
160197
+ sig {
160198
+ params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), status: T.nilable(String)).void
160199
+ }
160200
+ def initialize(
160201
+ ending_before: nil,
160202
+ expand: nil,
160203
+ limit: nil,
160204
+ starting_after: nil,
160205
+ status: nil
160206
+ ); end
160207
+ end
160208
+ class CreateParams < Stripe::RequestParams
160209
+ class Objects < Stripe::RequestParams
160210
+ # Attribute for param field charges
160211
+ sig { returns(T.nilable(T::Array[String])) }
160212
+ attr_accessor :charges
160213
+ # Attribute for param field checkout_sessions
160214
+ sig { returns(T.nilable(T::Array[String])) }
160215
+ attr_accessor :checkout_sessions
160216
+ # Attribute for param field customers
160217
+ sig { returns(T.nilable(T::Array[String])) }
160218
+ attr_accessor :customers
160219
+ # Attribute for param field identity_verification_sessions
160220
+ sig { returns(T.nilable(T::Array[String])) }
160221
+ attr_accessor :identity_verification_sessions
160222
+ # Attribute for param field invoices
160223
+ sig { returns(T.nilable(T::Array[String])) }
160224
+ attr_accessor :invoices
160225
+ # Attribute for param field issuing_cardholders
160226
+ sig { returns(T.nilable(T::Array[String])) }
160227
+ attr_accessor :issuing_cardholders
160228
+ # Attribute for param field issuing_cards
160229
+ sig { returns(T.nilable(T::Array[String])) }
160230
+ attr_accessor :issuing_cards
160231
+ # Attribute for param field payment_intents
160232
+ sig { returns(T.nilable(T::Array[String])) }
160233
+ attr_accessor :payment_intents
160234
+ # Attribute for param field radar_value_list_items
160235
+ sig { returns(T.nilable(T::Array[String])) }
160236
+ attr_accessor :radar_value_list_items
160237
+ # Attribute for param field setup_intents
160238
+ sig { returns(T.nilable(T::Array[String])) }
160239
+ attr_accessor :setup_intents
160240
+ sig {
160241
+ params(charges: T.nilable(T::Array[String]), checkout_sessions: T.nilable(T::Array[String]), customers: T.nilable(T::Array[String]), identity_verification_sessions: T.nilable(T::Array[String]), invoices: T.nilable(T::Array[String]), issuing_cardholders: T.nilable(T::Array[String]), issuing_cards: T.nilable(T::Array[String]), payment_intents: T.nilable(T::Array[String]), radar_value_list_items: T.nilable(T::Array[String]), setup_intents: T.nilable(T::Array[String])).void
160242
+ }
160243
+ def initialize(
160244
+ charges: nil,
160245
+ checkout_sessions: nil,
160246
+ customers: nil,
160247
+ identity_verification_sessions: nil,
160248
+ invoices: nil,
160249
+ issuing_cardholders: nil,
160250
+ issuing_cards: nil,
160251
+ payment_intents: nil,
160252
+ radar_value_list_items: nil,
160253
+ setup_intents: nil
160254
+ ); end
160255
+ end
160256
+ # Specifies which fields in the response should be expanded.
160257
+ sig { returns(T.nilable(T::Array[String])) }
160258
+ attr_accessor :expand
160259
+ # The objects at the root level that are subject to redaction.
160260
+ sig { returns(::Stripe::Privacy::RedactionJobService::CreateParams::Objects) }
160261
+ attr_accessor :objects
160262
+ # Default is "error". If "error", we will make sure all objects in the graph are
160263
+ # redactable in the 1st traversal, otherwise error. If "fix", where possible, we will
160264
+ # auto-fix any validation errors (e.g. by auto-transitioning objects to a terminal
160265
+ # state, etc.) in the 2nd traversal before redacting
160266
+ sig { returns(T.nilable(String)) }
160267
+ attr_accessor :validation_behavior
160268
+ sig {
160269
+ params(expand: T.nilable(T::Array[String]), objects: ::Stripe::Privacy::RedactionJobService::CreateParams::Objects, validation_behavior: T.nilable(String)).void
160270
+ }
160271
+ def initialize(expand: nil, objects: nil, validation_behavior: nil); end
160272
+ end
160273
+ class RetrieveParams < Stripe::RequestParams
160274
+ # Specifies which fields in the response should be expanded.
160275
+ sig { returns(T.nilable(T::Array[String])) }
160276
+ attr_accessor :expand
160277
+ sig { params(expand: T.nilable(T::Array[String])).void }
160278
+ def initialize(expand: nil); end
160279
+ end
160280
+ class UpdateParams < Stripe::RequestParams
160281
+ # Specifies which fields in the response should be expanded.
160282
+ sig { returns(T.nilable(T::Array[String])) }
160283
+ attr_accessor :expand
160284
+ # Attribute for param field validation_behavior
160285
+ sig { returns(T.nilable(String)) }
160286
+ attr_accessor :validation_behavior
160287
+ sig {
160288
+ params(expand: T.nilable(T::Array[String]), validation_behavior: T.nilable(String)).void
160289
+ }
160290
+ def initialize(expand: nil, validation_behavior: nil); end
160291
+ end
160292
+ class CancelParams < Stripe::RequestParams
160293
+ # Specifies which fields in the response should be expanded.
160294
+ sig { returns(T.nilable(T::Array[String])) }
160295
+ attr_accessor :expand
160296
+ sig { params(expand: T.nilable(T::Array[String])).void }
160297
+ def initialize(expand: nil); end
160298
+ end
160299
+ class RunParams < Stripe::RequestParams
160300
+ # Specifies which fields in the response should be expanded.
160301
+ sig { returns(T.nilable(T::Array[String])) }
160302
+ attr_accessor :expand
160303
+ sig { params(expand: T.nilable(T::Array[String])).void }
160304
+ def initialize(expand: nil); end
160305
+ end
160306
+ class ValidateParams < Stripe::RequestParams
160307
+ # Specifies which fields in the response should be expanded.
160308
+ sig { returns(T.nilable(T::Array[String])) }
160309
+ attr_accessor :expand
160310
+ sig { params(expand: T.nilable(T::Array[String])).void }
160311
+ def initialize(expand: nil); end
160312
+ end
160313
+ # Cancel redaction job method
160314
+ sig {
160315
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJobService::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
160316
+ }
160317
+ def cancel(job, params = {}, opts = {}); end
160318
+
160319
+ # Create redaction job method
160320
+ sig {
160321
+ params(params: T.any(::Stripe::Privacy::RedactionJobService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
160322
+ }
160323
+ def create(params = {}, opts = {}); end
160324
+
160325
+ # List redaction jobs method...
160326
+ sig {
160327
+ params(params: T.any(::Stripe::Privacy::RedactionJobService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
160328
+ }
160329
+ def list(params = {}, opts = {}); end
160330
+
160331
+ # Retrieve redaction job method
160332
+ sig {
160333
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJobService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
160334
+ }
160335
+ def retrieve(job, params = {}, opts = {}); end
160336
+
160337
+ # Run redaction job method
160338
+ sig {
160339
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJobService::RunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
160340
+ }
160341
+ def run(job, params = {}, opts = {}); end
160342
+
160343
+ # Update redaction job method
160344
+ sig {
160345
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJobService::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
160346
+ }
160347
+ def update(job, params = {}, opts = {}); end
160348
+
160349
+ # Validate redaction job method
160350
+ sig {
160351
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJobService::ValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob)
160352
+ }
160353
+ def validate(job, params = {}, opts = {}); end
160354
+ end
160355
+ end
160356
+ end
160357
+ # typed: true
160358
+ module Stripe
160359
+ module Privacy
160360
+ class RedactionJobValidationErrorService < StripeService
160361
+ class ListParams < Stripe::RequestParams
160362
+ # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
160363
+ sig { returns(T.nilable(String)) }
160364
+ attr_accessor :ending_before
160365
+ # Specifies which fields in the response should be expanded.
160366
+ sig { returns(T.nilable(T::Array[String])) }
160367
+ attr_accessor :expand
160368
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
160369
+ sig { returns(T.nilable(Integer)) }
160370
+ attr_accessor :limit
160371
+ # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
160372
+ sig { returns(T.nilable(String)) }
160373
+ attr_accessor :starting_after
160374
+ sig {
160375
+ params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
160376
+ }
160377
+ def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil); end
160378
+ end
160379
+ class RetrieveParams < Stripe::RequestParams
160380
+ # Specifies which fields in the response should be expanded.
160381
+ sig { returns(T.nilable(T::Array[String])) }
160382
+ attr_accessor :expand
160383
+ sig { params(expand: T.nilable(T::Array[String])).void }
160384
+ def initialize(expand: nil); end
160385
+ end
160386
+ # List validation errors method
160387
+ sig {
160388
+ params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidationErrorService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
160389
+ }
160390
+ def list(job, params = {}, opts = {}); end
160391
+
160392
+ # Retrieve validation error method
160393
+ sig {
160394
+ params(job: String, error: String, params: T.any(::Stripe::Privacy::RedactionJobValidationErrorService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJobValidationError)
160395
+ }
160396
+ def retrieve(job, error, params = {}, opts = {}); end
160397
+ end
160398
+ end
160399
+ end
160400
+ # typed: true
159647
160401
  module Stripe
159648
160402
  class ProductService < StripeService
159649
160403
  attr_reader :features
@@ -164535,7 +165289,7 @@ module Stripe
164535
165289
  returns(T.nilable(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Bancontact))
164536
165290
  }
164537
165291
  attr_accessor :bancontact
164538
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
165292
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
164539
165293
  sig {
164540
165294
  returns(T.nilable(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Billie))
164541
165295
  }
@@ -164718,7 +165472,7 @@ module Stripe
164718
165472
  returns(T.nilable(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Rechnung))
164719
165473
  }
164720
165474
  attr_accessor :rechnung
164721
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
165475
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
164722
165476
  sig {
164723
165477
  returns(T.nilable(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RevolutPay))
164724
165478
  }
@@ -164728,7 +165482,7 @@ module Stripe
164728
165482
  returns(T.nilable(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SamsungPay))
164729
165483
  }
164730
165484
  attr_accessor :samsung_pay
164731
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
165485
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
164732
165486
  sig {
164733
165487
  returns(T.nilable(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Satispay))
164734
165488
  }
@@ -165899,7 +166653,7 @@ module Stripe
165899
166653
  returns(T.nilable(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Bancontact))
165900
166654
  }
165901
166655
  attr_accessor :bancontact
165902
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
166656
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
165903
166657
  sig {
165904
166658
  returns(T.nilable(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Billie))
165905
166659
  }
@@ -166082,7 +166836,7 @@ module Stripe
166082
166836
  returns(T.nilable(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Rechnung))
166083
166837
  }
166084
166838
  attr_accessor :rechnung
166085
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
166839
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
166086
166840
  sig {
166087
166841
  returns(T.nilable(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RevolutPay))
166088
166842
  }
@@ -166092,7 +166846,7 @@ module Stripe
166092
166846
  returns(T.nilable(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SamsungPay))
166093
166847
  }
166094
166848
  attr_accessor :samsung_pay
166095
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
166849
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
166096
166850
  sig {
166097
166851
  returns(T.nilable(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Satispay))
166098
166852
  }
@@ -167257,7 +168011,7 @@ module Stripe
167257
168011
  returns(T.nilable(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Bancontact))
167258
168012
  }
167259
168013
  attr_accessor :bancontact
167260
- # If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
168014
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
167261
168015
  sig {
167262
168016
  returns(T.nilable(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Billie))
167263
168017
  }
@@ -167440,7 +168194,7 @@ module Stripe
167440
168194
  returns(T.nilable(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung))
167441
168195
  }
167442
168196
  attr_accessor :rechnung
167443
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
168197
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
167444
168198
  sig {
167445
168199
  returns(T.nilable(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RevolutPay))
167446
168200
  }
@@ -167450,7 +168204,7 @@ module Stripe
167450
168204
  returns(T.nilable(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SamsungPay))
167451
168205
  }
167452
168206
  attr_accessor :samsung_pay
167453
- # If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
168207
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
167454
168208
  sig {
167455
168209
  returns(T.nilable(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Satispay))
167456
168210
  }
@@ -169996,7 +170750,7 @@ module Stripe
169996
170750
  # The ID of the customer whose subscriptions will be retrieved.
169997
170751
  sig { returns(T.nilable(String)) }
169998
170752
  attr_accessor :customer
169999
- # Attribute for param field customer_account
170753
+ # The ID of the account whose subscriptions will be retrieved.
170000
170754
  sig { returns(T.nilable(String)) }
170001
170755
  attr_accessor :customer_account
170002
170756
  # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
@@ -170711,7 +171465,7 @@ module Stripe
170711
171465
  # The identifier of the customer to subscribe.
170712
171466
  sig { returns(T.nilable(String)) }
170713
171467
  attr_accessor :customer
170714
- # Attribute for param field customer_account
171468
+ # The identifier of the account to subscribe.
170715
171469
  sig { returns(T.nilable(String)) }
170716
171470
  attr_accessor :customer_account
170717
171471
  # Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where `collection_method` is set to `send_invoice`.
@@ -174425,6 +175179,13 @@ module Stripe
174425
175179
  }
174426
175180
  def initialize(standard: nil, type: nil); end
174427
175181
  end
175182
+ class In < Stripe::RequestParams
175183
+ # Type of registration to be created in `country`.
175184
+ sig { returns(String) }
175185
+ attr_accessor :type
175186
+ sig { params(type: String).void }
175187
+ def initialize(type: nil); end
175188
+ end
174428
175189
  class Is < Stripe::RequestParams
174429
175190
  # Type of registration to be created in `country`.
174430
175191
  sig { returns(String) }
@@ -175182,6 +175943,11 @@ module Stripe
175182
175943
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie))
175183
175944
  }
175184
175945
  attr_accessor :ie
175946
+ # Options for the registration in IN.
175947
+ sig {
175948
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::In))
175949
+ }
175950
+ attr_accessor :in
175185
175951
  # Options for the registration in IS.
175186
175952
  sig {
175187
175953
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is))
@@ -175428,7 +176194,7 @@ module Stripe
175428
176194
  }
175429
176195
  attr_accessor :zw
175430
176196
  sig {
175431
- params(ae: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au), ba: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb), be: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be), bg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh), bs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl), co: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr), cy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es), fi: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie), is: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke), kh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz), lt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe), pl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw)).void
176197
+ params(ae: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au), ba: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb), be: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be), bg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh), bs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl), co: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr), cy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es), fi: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke), kh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz), lt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe), pl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw)).void
175432
176198
  }
175433
176199
  def initialize(
175434
176200
  ae: nil,
@@ -175468,6 +176234,7 @@ module Stripe
175468
176234
  hu: nil,
175469
176235
  id: nil,
175470
176236
  ie: nil,
176237
+ in_: nil,
175471
176238
  is: nil,
175472
176239
  it: nil,
175473
176240
  jp: nil,
@@ -181834,6 +182601,117 @@ module Stripe
181834
182601
  ); end
181835
182602
  end
181836
182603
  class CreateParams < Stripe::RequestParams
182604
+ class BankAccount < Stripe::RequestParams
182605
+ # Attribute for param field object
182606
+ sig { returns(String) }
182607
+ attr_accessor :object
182608
+ # The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
182609
+ sig { returns(T.nilable(String)) }
182610
+ attr_accessor :account_holder_name
182611
+ # The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object.
182612
+ sig { returns(T.nilable(String)) }
182613
+ attr_accessor :account_holder_type
182614
+ # The account number for the bank account, in string form. Must be a checking account.
182615
+ sig { returns(String) }
182616
+ attr_accessor :account_number
182617
+ # The country in which the bank account is located.
182618
+ sig { returns(String) }
182619
+ attr_accessor :country
182620
+ # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
182621
+ sig { returns(T.nilable(String)) }
182622
+ attr_accessor :currency
182623
+ # The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
182624
+ sig { returns(T.nilable(String)) }
182625
+ attr_accessor :routing_number
182626
+ sig {
182627
+ params(object: String, account_holder_name: T.nilable(String), account_holder_type: T.nilable(String), account_number: String, country: String, currency: T.nilable(String), routing_number: T.nilable(String)).void
182628
+ }
182629
+ def initialize(
182630
+ object: nil,
182631
+ account_holder_name: nil,
182632
+ account_holder_type: nil,
182633
+ account_number: nil,
182634
+ country: nil,
182635
+ currency: nil,
182636
+ routing_number: nil
182637
+ ); end
182638
+ end
182639
+ class Card < Stripe::RequestParams
182640
+ # Attribute for param field object
182641
+ sig { returns(String) }
182642
+ attr_accessor :object
182643
+ # Attribute for param field address_city
182644
+ sig { returns(T.nilable(String)) }
182645
+ attr_accessor :address_city
182646
+ # Attribute for param field address_country
182647
+ sig { returns(T.nilable(String)) }
182648
+ attr_accessor :address_country
182649
+ # Attribute for param field address_line1
182650
+ sig { returns(T.nilable(String)) }
182651
+ attr_accessor :address_line1
182652
+ # Attribute for param field address_line2
182653
+ sig { returns(T.nilable(String)) }
182654
+ attr_accessor :address_line2
182655
+ # Attribute for param field address_state
182656
+ sig { returns(T.nilable(String)) }
182657
+ attr_accessor :address_state
182658
+ # Attribute for param field address_zip
182659
+ sig { returns(T.nilable(String)) }
182660
+ attr_accessor :address_zip
182661
+ # Attribute for param field currency
182662
+ sig { returns(T.nilable(String)) }
182663
+ attr_accessor :currency
182664
+ # Attribute for param field cvc
182665
+ sig { returns(T.nilable(String)) }
182666
+ attr_accessor :cvc
182667
+ # Attribute for param field exp_month
182668
+ sig { returns(Integer) }
182669
+ attr_accessor :exp_month
182670
+ # Attribute for param field exp_year
182671
+ sig { returns(Integer) }
182672
+ attr_accessor :exp_year
182673
+ # Attribute for param field name
182674
+ sig { returns(T.nilable(String)) }
182675
+ attr_accessor :name
182676
+ # Attribute for param field number
182677
+ sig { returns(String) }
182678
+ attr_accessor :number
182679
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
182680
+ sig { returns(T.nilable(T::Hash[String, String])) }
182681
+ attr_accessor :metadata
182682
+ sig {
182683
+ params(object: String, address_city: T.nilable(String), address_country: T.nilable(String), address_line1: T.nilable(String), address_line2: T.nilable(String), address_state: T.nilable(String), address_zip: T.nilable(String), currency: T.nilable(String), cvc: T.nilable(String), exp_month: Integer, exp_year: Integer, name: T.nilable(String), number: String, metadata: T.nilable(T::Hash[String, String])).void
182684
+ }
182685
+ def initialize(
182686
+ object: nil,
182687
+ address_city: nil,
182688
+ address_country: nil,
182689
+ address_line1: nil,
182690
+ address_line2: nil,
182691
+ address_state: nil,
182692
+ address_zip: nil,
182693
+ currency: nil,
182694
+ cvc: nil,
182695
+ exp_month: nil,
182696
+ exp_year: nil,
182697
+ name: nil,
182698
+ number: nil,
182699
+ metadata: nil
182700
+ ); end
182701
+ end
182702
+ class CardToken < Stripe::RequestParams
182703
+ # Attribute for param field object
182704
+ sig { returns(String) }
182705
+ attr_accessor :object
182706
+ # Attribute for param field currency
182707
+ sig { returns(T.nilable(String)) }
182708
+ attr_accessor :currency
182709
+ # Attribute for param field token
182710
+ sig { returns(String) }
182711
+ attr_accessor :token
182712
+ sig { params(object: String, currency: T.nilable(String), token: String).void }
182713
+ def initialize(object: nil, currency: nil, token: nil); end
182714
+ end
181837
182715
  # When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.
181838
182716
  sig { returns(T.nilable(T::Boolean)) }
181839
182717
  attr_accessor :default_for_currency
@@ -181841,13 +182719,15 @@ module Stripe
181841
182719
  sig { returns(T.nilable(T::Array[String])) }
181842
182720
  attr_accessor :expand
181843
182721
  # Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/js), or a dictionary containing a user’s external account details (with the options shown below).
181844
- sig { returns(String) }
182722
+ sig {
182723
+ returns(T.any(String, ::Stripe::ExternalAccountService::CreateParams::Card, ::Stripe::ExternalAccountService::CreateParams::BankAccount, ::Stripe::ExternalAccountService::CreateParams::CardToken))
182724
+ }
181845
182725
  attr_accessor :external_account
181846
182726
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
181847
182727
  sig { returns(T.nilable(T::Hash[String, String])) }
181848
182728
  attr_accessor :metadata
181849
182729
  sig {
181850
- params(default_for_currency: T.nilable(T::Boolean), expand: T.nilable(T::Array[String]), external_account: String, metadata: T.nilable(T::Hash[String, String])).void
182730
+ params(default_for_currency: T.nilable(T::Boolean), expand: T.nilable(T::Array[String]), external_account: T.any(String, ::Stripe::ExternalAccountService::CreateParams::Card, ::Stripe::ExternalAccountService::CreateParams::BankAccount, ::Stripe::ExternalAccountService::CreateParams::CardToken), metadata: T.nilable(T::Hash[String, String])).void
181851
182731
  }
181852
182732
  def initialize(
181853
182733
  default_for_currency: nil,
@@ -187625,10 +188505,12 @@ module Stripe
187625
188505
  sig { returns(T.nilable(Integer)) }
187626
188506
  attr_accessor :limit
187627
188507
  # Primary object ID used to retrieve related events.
188508
+ #
188509
+ # To avoid conflict with Ruby's ':object_id', this attribute has been renamed. If using a hash parameter map instead, please use the original name ':object_id' with NO trailing underscore as the provided param key.
187628
188510
  sig { returns(String) }
187629
- attr_accessor :object_id
187630
- sig { params(limit: T.nilable(Integer), object_id: String).void }
187631
- def initialize(limit: nil, object_id: nil); end
188511
+ attr_accessor :object_id_
188512
+ sig { params(limit: T.nilable(Integer), object_id_: String).void }
188513
+ def initialize(limit: nil, object_id_: nil); end
187632
188514
  end
187633
188515
  class RetrieveParams < Stripe::RequestParams
187634
188516