stripe 18.2.0.pre.alpha.1 → 18.2.0.pre.alpha.3

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 (66) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +1 -1
  3. data/lib/stripe/event_types.rb +4 -0
  4. data/lib/stripe/events/v2_core_account_including_future_requirements_updated_event.rb +44 -0
  5. data/lib/stripe/object_types.rb +1 -0
  6. data/lib/stripe/params/checkout/session_create_params.rb +4 -1
  7. data/lib/stripe/params/checkout/session_update_params.rb +4 -1
  8. data/lib/stripe/params/invoice_add_lines_params.rb +4 -1
  9. data/lib/stripe/params/invoice_create_preview_params.rb +2 -2
  10. data/lib/stripe/params/invoice_line_item_update_params.rb +4 -1
  11. data/lib/stripe/params/invoice_update_lines_params.rb +4 -1
  12. data/lib/stripe/params/payment_link_create_params.rb +4 -1
  13. data/lib/stripe/params/plan_create_params.rb +16 -1
  14. data/lib/stripe/params/price_create_params.rb +16 -1
  15. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +4 -1
  16. data/lib/stripe/params/product_create_params.rb +4 -1
  17. data/lib/stripe/params/product_update_params.rb +4 -1
  18. data/lib/stripe/params/quote_create_params.rb +3 -3
  19. data/lib/stripe/params/quote_update_params.rb +3 -3
  20. data/lib/stripe/params/radar/account_evaluation_update_params.rb +24 -1
  21. data/lib/stripe/params/shared_payment/{granted_token_update_params.rb → granted_token_revoke_params.rb} +1 -1
  22. data/lib/stripe/params/subscription_pause_params.rb +33 -0
  23. data/lib/stripe/params/subscription_schedule_amend_params.rb +1 -1
  24. data/lib/stripe/params/subscription_schedule_create_params.rb +2 -2
  25. data/lib/stripe/params/subscription_schedule_update_params.rb +2 -2
  26. data/lib/stripe/params/tax/calculation_create_params.rb +5 -1
  27. data/lib/stripe/params/tax/location_create_params.rb +54 -0
  28. data/lib/stripe/params/tax/location_list_params.rb +27 -0
  29. data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
  30. data/lib/stripe/params/test_helpers/shared_payment/{granted_token_update_params.rb → granted_token_revoke_params.rb} +1 -1
  31. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +21 -4
  32. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +4 -4
  33. data/lib/stripe/params.rb +6 -2
  34. data/lib/stripe/resources/delegated_checkout/requested_session.rb +36 -6
  35. data/lib/stripe/resources/invoice.rb +2 -0
  36. data/lib/stripe/resources/plan.rb +2 -0
  37. data/lib/stripe/resources/price.rb +2 -0
  38. data/lib/stripe/resources/product_catalog/trial_offer.rb +2 -0
  39. data/lib/stripe/resources/quote.rb +2 -2
  40. data/lib/stripe/resources/quote_line.rb +1 -1
  41. data/lib/stripe/resources/quote_preview_invoice.rb +2 -0
  42. data/lib/stripe/resources/radar/account_evaluation.rb +30 -1
  43. data/lib/stripe/resources/shared_payment/granted_token.rb +2 -2
  44. data/lib/stripe/resources/subscription.rb +20 -0
  45. data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
  46. data/lib/stripe/resources/tax/location.rb +72 -0
  47. data/lib/stripe/resources/tax/registration.rb +128 -0
  48. data/lib/stripe/resources/tax_code.rb +15 -1
  49. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +85 -3
  50. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +2 -2
  51. data/lib/stripe/resources.rb +2 -0
  52. data/lib/stripe/services/subscription_service.rb +11 -0
  53. data/lib/stripe/services/tax/location_service.rb +45 -0
  54. data/lib/stripe/services/tax_service.rb +2 -1
  55. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +1 -1
  56. data/lib/stripe/services/v2/core/account_link_service.rb +2 -0
  57. data/lib/stripe/services/v2/core/account_service.rb +10 -0
  58. data/lib/stripe/services/v2/core/account_token_service.rb +4 -0
  59. data/lib/stripe/services/v2/core/accounts/person_service.rb +10 -0
  60. data/lib/stripe/services/v2/core/accounts/person_token_service.rb +4 -0
  61. data/lib/stripe/services/v2/iam/api_key_service.rb +5 -5
  62. data/lib/stripe/services.rb +1 -0
  63. data/lib/stripe/util.rb +9 -3
  64. data/lib/stripe/version.rb +1 -1
  65. data/rbi/stripe.rbi +896 -107
  66. metadata +11 -4
data/rbi/stripe.rbi CHANGED
@@ -445,6 +445,9 @@ module Stripe
445
445
  # The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for this resource.
446
446
  sig { returns(String) }
447
447
  def tax_code; end
448
+ # A tax location for a line item that acts as a performance location. This indicates that the line item might be taxed at the place where it is being performed at. This is helpful for events or other services being performed at non-customer addresses like venues or offices. This can be left empty for tax codes that do not require a tax location. For tax codes where the location requirement is "optional", this would override the customer address in most use cases.
449
+ sig { returns(T.nilable(String)) }
450
+ def performance_location; end
448
451
  end
449
452
  end
450
453
  end
@@ -2456,7 +2459,7 @@ module Stripe
2456
2459
  # A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with `quote_acceptance_date` for `starts_at`. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for modifications to the metadata, collection_method or invoice_settings.
2457
2460
  sig { returns(T.nilable(CancelSubscriptionSchedule)) }
2458
2461
  def cancel_subscription_schedule; end
2459
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
2462
+ # Configures how the subscription schedule handles billing for phase transitions.
2460
2463
  sig { returns(T.nilable(String)) }
2461
2464
  def effective_at; end
2462
2465
  # Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at `starts_at`, and a restricted set of attributes is supported on the quote line.
@@ -18180,18 +18183,9 @@ module Stripe
18180
18183
  # The total before any discounts or taxes are applied.
18181
18184
  sig { returns(Integer) }
18182
18185
  def amount_subtotal; end
18183
- # The description of the line item.
18184
- sig { returns(T.nilable(String)) }
18185
- def description; end
18186
- # The images of the line item.
18187
- sig { returns(T.nilable(T::Array[String])) }
18188
- def images; end
18189
18186
  # The key of the line item.
18190
18187
  sig { returns(String) }
18191
18188
  def key; end
18192
- # The name of the line item.
18193
- sig { returns(String) }
18194
- def name; end
18195
18189
  # Attribute for field product_details
18196
18190
  sig { returns(T.nilable(ProductDetails)) }
18197
18191
  def product_details; end
@@ -18353,6 +18347,40 @@ module Stripe
18353
18347
  @field_remappings = {}
18354
18348
  end
18355
18349
  end
18350
+ class RiskDetails < ::Stripe::StripeObject
18351
+ class ClientDeviceMetadataDetails < ::Stripe::StripeObject
18352
+ # The radar session for the client device.
18353
+ sig { returns(T.nilable(String)) }
18354
+ def radar_session; end
18355
+ # The referrer of the client device.
18356
+ sig { returns(T.nilable(String)) }
18357
+ def referrer; end
18358
+ # The remote IP address of the client device.
18359
+ sig { returns(T.nilable(String)) }
18360
+ def remote_ip; end
18361
+ # The time spent on the page by the client device.
18362
+ sig { returns(T.nilable(Integer)) }
18363
+ def time_on_page_ms; end
18364
+ # The user agent of the client device.
18365
+ sig { returns(T.nilable(String)) }
18366
+ def user_agent; end
18367
+ def self.inner_class_types
18368
+ @inner_class_types = {}
18369
+ end
18370
+ def self.field_remappings
18371
+ @field_remappings = {}
18372
+ end
18373
+ end
18374
+ # The risk metadata for the client device.
18375
+ sig { returns(T.nilable(ClientDeviceMetadataDetails)) }
18376
+ def client_device_metadata_details; end
18377
+ def self.inner_class_types
18378
+ @inner_class_types = {client_device_metadata_details: ClientDeviceMetadataDetails}
18379
+ end
18380
+ def self.field_remappings
18381
+ @field_remappings = {}
18382
+ end
18383
+ end
18356
18384
  # The subtotal amount of the requested session.
18357
18385
  sig { returns(T.nilable(Integer)) }
18358
18386
  def amount_subtotal; end
@@ -18419,6 +18447,9 @@ module Stripe
18419
18447
  # Time at which the object was last updated. Measured in seconds since the Unix epoch.
18420
18448
  sig { returns(Integer) }
18421
18449
  def updated_at; end
18450
+ # The risk details of the requested session.
18451
+ sig { returns(T.nilable(RiskDetails)) }
18452
+ def risk_details; end
18422
18453
  # Confirms a requested session
18423
18454
  sig {
18424
18455
  params(params: T.any(::Stripe::DelegatedCheckout::RequestedSessionConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
@@ -22067,6 +22098,9 @@ module Stripe
22067
22098
  # The schedule that generated this invoice
22068
22099
  sig { returns(String) }
22069
22100
  def schedule; end
22101
+ # The subscription associated with this schedule
22102
+ sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) }
22103
+ def subscription; end
22070
22104
  def self.inner_class_types
22071
22105
  @inner_class_types = {}
22072
22106
  end
@@ -41737,6 +41771,9 @@ module Stripe
41737
41771
  # Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.
41738
41772
  sig { returns(String) }
41739
41773
  def usage_type; end
41774
+ # A custom identifier for this price, such as a SKU number or product code, that can be used to reference records from external systems.
41775
+ sig { returns(T.nilable(String)) }
41776
+ def external_reference; end
41740
41777
  # Always true for a deleted object
41741
41778
  sig { returns(T.nilable(T::Boolean)) }
41742
41779
  def deleted; end
@@ -42003,6 +42040,9 @@ module Stripe
42003
42040
  # The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.
42004
42041
  sig { returns(T.nilable(String)) }
42005
42042
  def unit_amount_decimal; end
42043
+ # A custom identifier for this price, such as a SKU number or product code, that can be used to reference records from external systems.
42044
+ sig { returns(T.nilable(String)) }
42045
+ def external_reference; end
42006
42046
  # Always true for a deleted object
42007
42047
  sig { returns(T.nilable(T::Boolean)) }
42008
42048
  def deleted; end
@@ -42290,6 +42330,9 @@ module Stripe
42290
42330
  # The price during the trial offer.
42291
42331
  sig { returns(T.any(String, ::Stripe::Price)) }
42292
42332
  def price; end
42333
+ # A brief, user-friendly name for the trial offer-for identification purposes.
42334
+ sig { returns(T.nilable(String)) }
42335
+ def name; end
42293
42336
  # Creates a trial offer.
42294
42337
  sig {
42295
42338
  params(params: T.any(::Stripe::ProductCatalog::TrialOfferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ProductCatalog::TrialOffer)
@@ -43319,7 +43362,7 @@ module Stripe
43319
43362
  # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values.
43320
43363
  sig { returns(T.nilable(T::Hash[String, String])) }
43321
43364
  def metadata; end
43322
- # Configures how the quote handles billing for line transitions. Possible values are `line_start` (default) or `billing_period_start`. `line_start` bills based on the current state of the line, ignoring changes scheduled for future lines. `billing_period_start` bills predictively for upcoming line transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
43365
+ # Configures how the subscription schedule handles billing for phase transitions when the quote is accepted.
43323
43366
  sig { returns(T.nilable(String)) }
43324
43367
  def phase_effective_at; end
43325
43368
  # If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`.
@@ -43588,7 +43631,7 @@ module Stripe
43588
43631
  # Behavior of the subscription schedule and underlying subscription when it ends.
43589
43632
  sig { returns(T.nilable(String)) }
43590
43633
  def end_behavior; end
43591
- # Configures how the quote handles billing for line transitions. Possible values are `line_start` (default) or `billing_period_start`. `line_start` bills based on the current state of the line, ignoring changes scheduled for future lines. `billing_period_start` bills predictively for upcoming line transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
43634
+ # Configures how the subscription schedule handles billing for phase transitions when the quote is accepted.
43592
43635
  sig { returns(T.nilable(String)) }
43593
43636
  def phase_effective_at; end
43594
43637
  # Determines how to handle [prorations](https://docs.stripe.com/subscriptions/billing-cycle#prorations) when the quote is accepted.
@@ -44385,6 +44428,9 @@ module Stripe
44385
44428
  # The schedule that generated this invoice
44386
44429
  sig { returns(String) }
44387
44430
  def schedule; end
44431
+ # The subscription associated with this schedule
44432
+ sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) }
44433
+ def subscription; end
44388
44434
  def self.inner_class_types
44389
44435
  @inner_class_types = {}
44390
44436
  end
@@ -46137,14 +46183,42 @@ module Stripe
46137
46183
  # Account Evaluation resource returned by the Radar Account Evaluations API.
46138
46184
  class AccountEvaluation < APIResource
46139
46185
  class Event < ::Stripe::StripeObject
46186
+ class LoginFailed < ::Stripe::StripeObject
46187
+ # The reason why this login failed.
46188
+ sig { returns(String) }
46189
+ def reason; end
46190
+ def self.inner_class_types
46191
+ @inner_class_types = {}
46192
+ end
46193
+ def self.field_remappings
46194
+ @field_remappings = {}
46195
+ end
46196
+ end
46197
+ class RegistrationFailed < ::Stripe::StripeObject
46198
+ # The reason why this registration failed.
46199
+ sig { returns(String) }
46200
+ def reason; end
46201
+ def self.inner_class_types
46202
+ @inner_class_types = {}
46203
+ end
46204
+ def self.field_remappings
46205
+ @field_remappings = {}
46206
+ end
46207
+ end
46140
46208
  # Time at which the event occurred. Measured in seconds since the Unix epoch.
46141
46209
  sig { returns(Integer) }
46142
46210
  def occurred_at; end
46143
46211
  # The type of event that occurred.
46144
46212
  sig { returns(String) }
46145
46213
  def type; end
46214
+ # Data about a failed login event.
46215
+ sig { returns(T.nilable(LoginFailed)) }
46216
+ def login_failed; end
46217
+ # Data about a failed registration event.
46218
+ sig { returns(T.nilable(RegistrationFailed)) }
46219
+ def registration_failed; end
46146
46220
  def self.inner_class_types
46147
- @inner_class_types = {}
46221
+ @inner_class_types = {login_failed: LoginFailed, registration_failed: RegistrationFailed}
46148
46222
  end
46149
46223
  def self.field_remappings
46150
46224
  @field_remappings = {}
@@ -52492,6 +52566,18 @@ module Stripe
52492
52566
  }
52493
52567
  def self.migrate(subscription, params = {}, opts = {}); end
52494
52568
 
52569
+ # Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.
52570
+ sig {
52571
+ params(params: T.any(::Stripe::SubscriptionPauseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription)
52572
+ }
52573
+ def pause(params = {}, opts = {}); end
52574
+
52575
+ # Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.
52576
+ sig {
52577
+ params(subscription: String, params: T.any(::Stripe::SubscriptionPauseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription)
52578
+ }
52579
+ def self.pause(subscription, params = {}, opts = {}); end
52580
+
52495
52581
  # Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date.
52496
52582
  sig {
52497
52583
  params(params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription)
@@ -53095,6 +53181,70 @@ module Stripe
53095
53181
  end
53096
53182
  end
53097
53183
  # typed: true
53184
+ module Stripe
53185
+ module Tax
53186
+ # Tax locations represent venues for services, tickets, or other product types.
53187
+ class Location < APIResource
53188
+ class Address < ::Stripe::StripeObject
53189
+ # City, district, suburb, town, or village.
53190
+ sig { returns(T.nilable(String)) }
53191
+ def city; end
53192
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
53193
+ sig { returns(T.nilable(String)) }
53194
+ def country; end
53195
+ # Address line 1, such as the street, PO Box, or company name.
53196
+ sig { returns(T.nilable(String)) }
53197
+ def line1; end
53198
+ # Address line 2, such as the apartment, suite, unit, or building.
53199
+ sig { returns(T.nilable(String)) }
53200
+ def line2; end
53201
+ # ZIP or postal code.
53202
+ sig { returns(T.nilable(String)) }
53203
+ def postal_code; end
53204
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
53205
+ sig { returns(T.nilable(String)) }
53206
+ def state; end
53207
+ def self.inner_class_types
53208
+ @inner_class_types = {}
53209
+ end
53210
+ def self.field_remappings
53211
+ @field_remappings = {}
53212
+ end
53213
+ end
53214
+ # Attribute for field address
53215
+ sig { returns(Address) }
53216
+ def address; end
53217
+ # A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (e.g., "A spacious auditorium suitable for large concerts and events.").
53218
+ sig { returns(T.nilable(String)) }
53219
+ def description; end
53220
+ # Unique identifier for the object.
53221
+ sig { returns(String) }
53222
+ def id; end
53223
+ # String representing the object's type. Objects of the same type share the same value.
53224
+ sig { returns(String) }
53225
+ def object; end
53226
+ # The type of tax location to be defined. Currently the only option is `performance`.
53227
+ sig { returns(String) }
53228
+ def type; end
53229
+ # Create a tax location to use in calculating taxes for a service, ticket, or other type of product. The resulting object contains the id, address, name, description, and current operational status of the tax location.
53230
+ sig {
53231
+ params(params: T.any(::Stripe::Tax::LocationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Location)
53232
+ }
53233
+ def self.create(params = {}, opts = {}); end
53234
+
53235
+ # Retrieve a list of all tax locations. Tax locations can represent the venues for services, tickets, or other product types.
53236
+ #
53237
+ # The response includes detailed information for each tax location, such as its address, name, description, and current operational status.
53238
+ #
53239
+ # You can paginate through the list by using the limit parameter to control the number of results returned in each request.
53240
+ sig {
53241
+ params(params: T.any(::Stripe::Tax::LocationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
53242
+ }
53243
+ def self.list(params = {}, opts = {}); end
53244
+ end
53245
+ end
53246
+ end
53247
+ # typed: true
53098
53248
  module Stripe
53099
53249
  module Tax
53100
53250
  # A Tax `Registration` lets us know that your business is registered to collect tax on payments within a region, enabling you to [automatically collect tax](https://docs.stripe.com/tax).
@@ -54632,6 +54782,61 @@ module Stripe
54632
54782
  end
54633
54783
  end
54634
54784
  class Us < ::Stripe::StripeObject
54785
+ class AdmissionsTax < ::Stripe::StripeObject
54786
+ # A [jurisdiction code](https://docs.stripe.com/tax/registering?type=admissions_tax#registration-types) representing the local jurisdiction.
54787
+ sig { returns(String) }
54788
+ def jurisdiction; end
54789
+ def self.inner_class_types
54790
+ @inner_class_types = {}
54791
+ end
54792
+ def self.field_remappings
54793
+ @field_remappings = {}
54794
+ end
54795
+ end
54796
+ class AttendanceTax < ::Stripe::StripeObject
54797
+ # A [jurisdiction code](https://docs.stripe.com/tax/registering?type=attendance_tax#registration-types) representing the local jurisdiction.
54798
+ sig { returns(String) }
54799
+ def jurisdiction; end
54800
+ def self.inner_class_types
54801
+ @inner_class_types = {}
54802
+ end
54803
+ def self.field_remappings
54804
+ @field_remappings = {}
54805
+ end
54806
+ end
54807
+ class EntertainmentTax < ::Stripe::StripeObject
54808
+ # A [jurisdiction code](https://docs.stripe.com/tax/registering?type=entertainment_tax#registration-types) representing the local jurisdiction.
54809
+ sig { returns(String) }
54810
+ def jurisdiction; end
54811
+ def self.inner_class_types
54812
+ @inner_class_types = {}
54813
+ end
54814
+ def self.field_remappings
54815
+ @field_remappings = {}
54816
+ end
54817
+ end
54818
+ class GrossReceiptsTax < ::Stripe::StripeObject
54819
+ # A [jurisdiction code](https://docs.stripe.com/tax/registering?type=gross_receipts_tax#registration-types) representing the local jurisdiction.
54820
+ sig { returns(String) }
54821
+ def jurisdiction; end
54822
+ def self.inner_class_types
54823
+ @inner_class_types = {}
54824
+ end
54825
+ def self.field_remappings
54826
+ @field_remappings = {}
54827
+ end
54828
+ end
54829
+ class HospitalityTax < ::Stripe::StripeObject
54830
+ # A [jurisdiction code](https://docs.stripe.com/tax/registering?type=hospitality_tax#registration-types) representing the local jurisdiction.
54831
+ sig { returns(String) }
54832
+ def jurisdiction; end
54833
+ def self.inner_class_types
54834
+ @inner_class_types = {}
54835
+ end
54836
+ def self.field_remappings
54837
+ @field_remappings = {}
54838
+ end
54839
+ end
54635
54840
  class LocalAmusementTax < ::Stripe::StripeObject
54636
54841
  # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
54637
54842
  sig { returns(String) }
@@ -54654,6 +54859,28 @@ module Stripe
54654
54859
  @field_remappings = {}
54655
54860
  end
54656
54861
  end
54862
+ class LuxuryTax < ::Stripe::StripeObject
54863
+ # A [jurisdiction code](https://docs.stripe.com/tax/registering?type=luxury_tax#registration-types) representing the local jurisdiction.
54864
+ sig { returns(String) }
54865
+ def jurisdiction; end
54866
+ def self.inner_class_types
54867
+ @inner_class_types = {}
54868
+ end
54869
+ def self.field_remappings
54870
+ @field_remappings = {}
54871
+ end
54872
+ end
54873
+ class ResortTax < ::Stripe::StripeObject
54874
+ # A [jurisdiction code](https://docs.stripe.com/tax/registering?type=resort_tax#registration-types) representing the local jurisdiction.
54875
+ sig { returns(String) }
54876
+ def jurisdiction; end
54877
+ def self.inner_class_types
54878
+ @inner_class_types = {}
54879
+ end
54880
+ def self.field_remappings
54881
+ @field_remappings = {}
54882
+ end
54883
+ end
54657
54884
  class StateSalesTax < ::Stripe::StripeObject
54658
54885
  class Election < ::Stripe::StripeObject
54659
54886
  # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
@@ -54679,6 +54906,17 @@ module Stripe
54679
54906
  @field_remappings = {}
54680
54907
  end
54681
54908
  end
54909
+ class TourismTax < ::Stripe::StripeObject
54910
+ # A [jurisdiction code](https://docs.stripe.com/tax/registering?type=tourism_tax#registration-types) representing the local jurisdiction.
54911
+ sig { returns(String) }
54912
+ def jurisdiction; end
54913
+ def self.inner_class_types
54914
+ @inner_class_types = {}
54915
+ end
54916
+ def self.field_remappings
54917
+ @field_remappings = {}
54918
+ end
54919
+ end
54682
54920
  # Attribute for field local_amusement_tax
54683
54921
  sig { returns(T.nilable(LocalAmusementTax)) }
54684
54922
  def local_amusement_tax; end
@@ -54694,11 +54932,43 @@ module Stripe
54694
54932
  # Type of registration in the US.
54695
54933
  sig { returns(String) }
54696
54934
  def type; end
54935
+ # Attribute for field admissions_tax
54936
+ sig { returns(T.nilable(AdmissionsTax)) }
54937
+ def admissions_tax; end
54938
+ # Attribute for field attendance_tax
54939
+ sig { returns(T.nilable(AttendanceTax)) }
54940
+ def attendance_tax; end
54941
+ # Attribute for field entertainment_tax
54942
+ sig { returns(T.nilable(EntertainmentTax)) }
54943
+ def entertainment_tax; end
54944
+ # Attribute for field gross_receipts_tax
54945
+ sig { returns(T.nilable(GrossReceiptsTax)) }
54946
+ def gross_receipts_tax; end
54947
+ # Attribute for field hospitality_tax
54948
+ sig { returns(T.nilable(HospitalityTax)) }
54949
+ def hospitality_tax; end
54950
+ # Attribute for field luxury_tax
54951
+ sig { returns(T.nilable(LuxuryTax)) }
54952
+ def luxury_tax; end
54953
+ # Attribute for field resort_tax
54954
+ sig { returns(T.nilable(ResortTax)) }
54955
+ def resort_tax; end
54956
+ # Attribute for field tourism_tax
54957
+ sig { returns(T.nilable(TourismTax)) }
54958
+ def tourism_tax; end
54697
54959
  def self.inner_class_types
54698
54960
  @inner_class_types = {
54699
54961
  local_amusement_tax: LocalAmusementTax,
54700
54962
  local_lease_tax: LocalLeaseTax,
54701
54963
  state_sales_tax: StateSalesTax,
54964
+ admissions_tax: AdmissionsTax,
54965
+ attendance_tax: AttendanceTax,
54966
+ entertainment_tax: EntertainmentTax,
54967
+ gross_receipts_tax: GrossReceiptsTax,
54968
+ hospitality_tax: HospitalityTax,
54969
+ luxury_tax: LuxuryTax,
54970
+ resort_tax: ResortTax,
54971
+ tourism_tax: TourismTax,
54702
54972
  }
54703
54973
  end
54704
54974
  def self.field_remappings
@@ -55628,6 +55898,17 @@ end
55628
55898
  module Stripe
55629
55899
  # [Tax codes](https://stripe.com/docs/tax/tax-categories) classify goods and services for tax purposes.
55630
55900
  class TaxCode < APIResource
55901
+ class Requirements < ::Stripe::StripeObject
55902
+ # Describes whether a performance location is required for a successful tax calculation with a tax code.
55903
+ sig { returns(T.nilable(String)) }
55904
+ def performance_location; end
55905
+ def self.inner_class_types
55906
+ @inner_class_types = {}
55907
+ end
55908
+ def self.field_remappings
55909
+ @field_remappings = {}
55910
+ end
55911
+ end
55631
55912
  # A detailed description of which types of products the tax code represents.
55632
55913
  sig { returns(String) }
55633
55914
  def description; end
@@ -55640,6 +55921,9 @@ module Stripe
55640
55921
  # String representing the object's type. Objects of the same type share the same value.
55641
55922
  sig { returns(String) }
55642
55923
  def object; end
55924
+ # An object that describes more information about the tax location required for this tax code. Some [tax codes](/tax/tax-for-tickets/integration-guide#types-of-products) require a tax location of type `performance` to calculate tax correctly.
55925
+ sig { returns(T.nilable(Requirements)) }
55926
+ def requirements; end
55643
55927
  # A list of [all tax codes available](https://stripe.com/docs/tax/tax-categories) to add to Products in order to allow specific tax calculations.
55644
55928
  sig {
55645
55929
  params(params: T.any(::Stripe::TaxCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
@@ -70563,12 +70847,12 @@ module Stripe
70563
70847
  end
70564
70848
  end
70565
70849
  class DeliveryOptions < ::Stripe::StripeObject
70566
- # Open Enum. Method for bank account.
70567
- sig { returns(T.nilable(String)) }
70568
- def bank_account; end
70569
70850
  # Open Enum. Speed of the payout.
70570
70851
  sig { returns(T.nilable(String)) }
70571
70852
  def speed; end
70853
+ # Open Enum. Method for bank account.
70854
+ sig { returns(T.nilable(String)) }
70855
+ def bank_account; end
70572
70856
  def self.inner_class_types
70573
70857
  @inner_class_types = {}
70574
70858
  end
@@ -70753,14 +71037,34 @@ module Stripe
70753
71037
  end
70754
71038
  end
70755
71039
  class DeliveryOptions < ::Stripe::StripeObject
70756
- # Open Enum. Method for bank account.
70757
- sig { returns(T.nilable(String)) }
70758
- def bank_account; end
71040
+ class PaperCheck < ::Stripe::StripeObject
71041
+ # Memo printed on the memo field of the check.
71042
+ sig { returns(T.nilable(String)) }
71043
+ def memo; end
71044
+ # Open Enum. Shipping speed of the paper check.
71045
+ sig { returns(String) }
71046
+ def shipping_speed; end
71047
+ # Signature for the paper check.
71048
+ sig { returns(String) }
71049
+ def signature; end
71050
+ def self.inner_class_types
71051
+ @inner_class_types = {}
71052
+ end
71053
+ def self.field_remappings
71054
+ @field_remappings = {}
71055
+ end
71056
+ end
70759
71057
  # Open Enum. Speed of the payout.
70760
71058
  sig { returns(T.nilable(String)) }
70761
71059
  def speed; end
71060
+ # Open Enum. Method for bank account.
71061
+ sig { returns(T.nilable(String)) }
71062
+ def bank_account; end
71063
+ # Delivery options for paper check.
71064
+ sig { returns(T.nilable(PaperCheck)) }
71065
+ def paper_check; end
70762
71066
  def self.inner_class_types
70763
- @inner_class_types = {}
71067
+ @inner_class_types = {paper_check: PaperCheck}
70764
71068
  end
70765
71069
  def self.field_remappings
70766
71070
  @field_remappings = {}
@@ -70914,6 +71218,75 @@ module Stripe
70914
71218
  @field_remappings = {}
70915
71219
  end
70916
71220
  end
71221
+ class TrackingDetails < ::Stripe::StripeObject
71222
+ class PaperCheck < ::Stripe::StripeObject
71223
+ class MailingAddress < ::Stripe::StripeObject
71224
+ # City, district, suburb, town, or village.
71225
+ sig { returns(T.nilable(String)) }
71226
+ def city; end
71227
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
71228
+ sig { returns(T.nilable(String)) }
71229
+ def country; end
71230
+ # Address line 1 (e.g., street, PO Box, or company name).
71231
+ sig { returns(T.nilable(String)) }
71232
+ def line1; end
71233
+ # Address line 2 (e.g., apartment, suite, unit, or building).
71234
+ sig { returns(T.nilable(String)) }
71235
+ def line2; end
71236
+ # ZIP or postal code.
71237
+ sig { returns(T.nilable(String)) }
71238
+ def postal_code; end
71239
+ # State, county, province, or region.
71240
+ sig { returns(T.nilable(String)) }
71241
+ def state; end
71242
+ # Town or district.
71243
+ sig { returns(T.nilable(String)) }
71244
+ def town; end
71245
+ def self.inner_class_types
71246
+ @inner_class_types = {}
71247
+ end
71248
+ def self.field_remappings
71249
+ @field_remappings = {}
71250
+ end
71251
+ end
71252
+ # Open Enum. Carrier of the paper check.
71253
+ sig { returns(String) }
71254
+ def carrier; end
71255
+ # Check number.
71256
+ sig { returns(String) }
71257
+ def check_number; end
71258
+ # Postal code of the latest tracking update.
71259
+ sig { returns(String) }
71260
+ def current_postal_code; end
71261
+ # Mailing address of the paper check.
71262
+ sig { returns(MailingAddress) }
71263
+ def mailing_address; end
71264
+ # Tracking number for the check.
71265
+ sig { returns(String) }
71266
+ def tracking_number; end
71267
+ # Open Enum. Tracking status of the paper check.
71268
+ sig { returns(String) }
71269
+ def tracking_status; end
71270
+ # When the tracking details were last updated.
71271
+ sig { returns(String) }
71272
+ def updated_at; end
71273
+ def self.inner_class_types
71274
+ @inner_class_types = {mailing_address: MailingAddress}
71275
+ end
71276
+ def self.field_remappings
71277
+ @field_remappings = {}
71278
+ end
71279
+ end
71280
+ # Paper check tracking details.
71281
+ sig { returns(T.nilable(PaperCheck)) }
71282
+ def paper_check; end
71283
+ def self.inner_class_types
71284
+ @inner_class_types = {paper_check: PaperCheck}
71285
+ end
71286
+ def self.field_remappings
71287
+ @field_remappings = {}
71288
+ end
71289
+ end
70917
71290
  # The "presentment amount" for the OutboundPayment.
70918
71291
  sig { returns(Amount) }
70919
71292
  def amount; end
@@ -70979,6 +71352,9 @@ module Stripe
70979
71352
  # A unique identifier that can be used to track this OutboundPayment with recipient bank. Banks might call this a “reference number” or something similar.
70980
71353
  sig { returns(TraceId) }
70981
71354
  def trace_id; end
71355
+ # Information to track this OutboundPayment with the recipient bank.
71356
+ sig { returns(T.nilable(TrackingDetails)) }
71357
+ def tracking_details; end
70982
71358
  # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
70983
71359
  sig { returns(T::Boolean) }
70984
71360
  def livemode; end
@@ -77095,6 +77471,12 @@ module Stripe
77095
77471
  }
77096
77472
  def migrate(subscription, params = {}, opts = {}); end
77097
77473
 
77474
+ # Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.
77475
+ sig {
77476
+ params(subscription: String, params: T.any(::Stripe::SubscriptionPauseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription)
77477
+ }
77478
+ def pause(subscription, params = {}, opts = {}); end
77479
+
77098
77480
  # Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date.
77099
77481
  sig {
77100
77482
  params(subscription: String, params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription)
@@ -77229,6 +77611,7 @@ module Stripe
77229
77611
  attr_reader :associations
77230
77612
  attr_reader :calculations
77231
77613
  attr_reader :forms
77614
+ attr_reader :locations
77232
77615
  attr_reader :registrations
77233
77616
  attr_reader :settings
77234
77617
  attr_reader :transactions
@@ -77302,6 +77685,34 @@ module Stripe
77302
77685
  end
77303
77686
  end
77304
77687
  # typed: true
77688
+ module Stripe
77689
+ module Tax
77690
+ class LocationService < StripeService
77691
+ # Create a tax location to use in calculating taxes for a service, ticket, or other type of product. The resulting object contains the id, address, name, description, and current operational status of the tax location.
77692
+ sig {
77693
+ params(params: T.any(::Stripe::Tax::LocationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Location)
77694
+ }
77695
+ def create(params = {}, opts = {}); end
77696
+
77697
+ # Retrieve a list of all tax locations. Tax locations can represent the venues for services, tickets, or other product types.
77698
+ #
77699
+ # The response includes detailed information for each tax location, such as its address, name, description, and current operational status.
77700
+ #
77701
+ # You can paginate through the list by using the limit parameter to control the number of results returned in each request.
77702
+ sig {
77703
+ params(params: T.any(::Stripe::Tax::LocationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
77704
+ }
77705
+ def list(params = {}, opts = {}); end
77706
+
77707
+ # Fetch the details of a specific tax location using its unique identifier. Use a tax location to calculate taxes based on the location of the end product, such as a performance, instead of the customer address. For more details, check the [integration guide](https://docs.stripe.com/tax/tax-for-tickets/integration-guide).
77708
+ sig {
77709
+ params(location: String, params: T.any(::Stripe::Tax::LocationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Location)
77710
+ }
77711
+ def retrieve(location, params = {}, opts = {}); end
77712
+ end
77713
+ end
77714
+ end
77715
+ # typed: true
77305
77716
  module Stripe
77306
77717
  module Tax
77307
77718
  class RegistrationService < StripeService
@@ -77914,9 +78325,9 @@ module Stripe
77914
78325
 
77915
78326
  # Revokes a test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to revoke SharedPaymentGrantedTokens for testing their integration
77916
78327
  sig {
77917
- params(shared_payment_granted_token: String, params: T.any(::Stripe::TestHelpers::SharedPayment::GrantedTokenUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SharedPayment::GrantedToken)
78328
+ params(shared_payment_granted_token: String, params: T.any(::Stripe::TestHelpers::SharedPayment::GrantedTokenRevokeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SharedPayment::GrantedToken)
77918
78329
  }
77919
- def update(shared_payment_granted_token, params = {}, opts = {}); end
78330
+ def revoke(shared_payment_granted_token, params = {}, opts = {}); end
77920
78331
  end
77921
78332
  end
77922
78333
  end
@@ -79382,30 +79793,40 @@ module Stripe
79382
79793
  attr_reader :persons
79383
79794
  attr_reader :person_tokens
79384
79795
  # Removes access to the Account and its associated resources. Closed Accounts can no longer be operated on, but limited information can still be retrieved through the API in order to be able to track their history.
79796
+ #
79797
+ # ** raises RateLimitError
79385
79798
  sig {
79386
79799
  params(id: String, params: T.any(::Stripe::V2::Core::AccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account)
79387
79800
  }
79388
79801
  def close(id, params = {}, opts = {}); end
79389
79802
 
79390
79803
  # An Account is a representation of a company, individual or other entity that a user interacts with. Accounts contain identifying information about the entity, and configurations that store the features an account has access to. An account can be configured as any or all of the following configurations: Customer, Merchant and/or Recipient.
79804
+ #
79805
+ # ** raises RateLimitError
79391
79806
  sig {
79392
79807
  params(params: T.any(::Stripe::V2::Core::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account)
79393
79808
  }
79394
79809
  def create(params = {}, opts = {}); end
79395
79810
 
79396
79811
  # Returns a list of Accounts.
79812
+ #
79813
+ # ** raises RateLimitError
79397
79814
  sig {
79398
79815
  params(params: T.any(::Stripe::V2::Core::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject)
79399
79816
  }
79400
79817
  def list(params = {}, opts = {}); end
79401
79818
 
79402
79819
  # Retrieves the details of an Account.
79820
+ #
79821
+ # ** raises RateLimitError
79403
79822
  sig {
79404
79823
  params(id: String, params: T.any(::Stripe::V2::Core::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account)
79405
79824
  }
79406
79825
  def retrieve(id, params = {}, opts = {}); end
79407
79826
 
79408
79827
  # Updates the details of an Account.
79828
+ #
79829
+ # ** raises RateLimitError
79409
79830
  sig {
79410
79831
  params(id: String, params: T.any(::Stripe::V2::Core::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account)
79411
79832
  }
@@ -79421,30 +79842,40 @@ module Stripe
79421
79842
  module Accounts
79422
79843
  class PersonService < StripeService
79423
79844
  # Create a Person. Adds an individual to an Account's identity. You can set relationship attributes and identity information at creation.
79845
+ #
79846
+ # ** raises RateLimitError
79424
79847
  sig {
79425
79848
  params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPerson)
79426
79849
  }
79427
79850
  def create(account_id, params = {}, opts = {}); end
79428
79851
 
79429
79852
  # Delete a Person associated with an Account.
79853
+ #
79854
+ # ** raises RateLimitError
79430
79855
  sig {
79431
79856
  params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::DeletedObject)
79432
79857
  }
79433
79858
  def delete(account_id, id, params = {}, opts = {}); end
79434
79859
 
79435
79860
  # Returns a paginated list of Persons associated with an Account.
79861
+ #
79862
+ # ** raises RateLimitError
79436
79863
  sig {
79437
79864
  params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject)
79438
79865
  }
79439
79866
  def list(account_id, params = {}, opts = {}); end
79440
79867
 
79441
79868
  # Retrieves a Person associated with an Account.
79869
+ #
79870
+ # ** raises RateLimitError
79442
79871
  sig {
79443
79872
  params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPerson)
79444
79873
  }
79445
79874
  def retrieve(account_id, id, params = {}, opts = {}); end
79446
79875
 
79447
79876
  # Updates a Person associated with an Account.
79877
+ #
79878
+ # ** raises RateLimitError
79448
79879
  sig {
79449
79880
  params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPerson)
79450
79881
  }
@@ -79461,12 +79892,16 @@ module Stripe
79461
79892
  module Accounts
79462
79893
  class PersonTokenService < StripeService
79463
79894
  # Creates a Person Token associated with an Account.
79895
+ #
79896
+ # ** raises RateLimitError
79464
79897
  sig {
79465
79898
  params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPersonToken)
79466
79899
  }
79467
79900
  def create(account_id, params = {}, opts = {}); end
79468
79901
 
79469
79902
  # Retrieves a Person Token associated with an Account.
79903
+ #
79904
+ # ** raises RateLimitError
79470
79905
  sig {
79471
79906
  params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonTokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPersonToken)
79472
79907
  }
@@ -79482,6 +79917,8 @@ module Stripe
79482
79917
  module Core
79483
79918
  class AccountLinkService < StripeService
79484
79919
  # Creates an AccountLink object that includes a single-use URL that an account can use to access a Stripe-hosted flow for collecting or updating required information.
79920
+ #
79921
+ # ** raises RateLimitError
79485
79922
  sig {
79486
79923
  params(params: T.any(::Stripe::V2::Core::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountLink)
79487
79924
  }
@@ -79496,12 +79933,16 @@ module Stripe
79496
79933
  module Core
79497
79934
  class AccountTokenService < StripeService
79498
79935
  # Creates an Account Token.
79936
+ #
79937
+ # ** raises RateLimitError
79499
79938
  sig {
79500
79939
  params(params: T.any(::Stripe::V2::Core::AccountTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountToken)
79501
79940
  }
79502
79941
  def create(params = {}, opts = {}); end
79503
79942
 
79504
79943
  # Retrieves an Account Token.
79944
+ #
79945
+ # ** raises RateLimitError
79505
79946
  sig {
79506
79947
  params(id: String, params: T.any(::Stripe::V2::Core::AccountTokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountToken)
79507
79948
  }
@@ -79750,13 +80191,13 @@ module Stripe
79750
80191
  module V2
79751
80192
  module Iam
79752
80193
  class ApiKeyService < StripeService
79753
- # Create an API key.
80194
+ # Create an API key. To create a secret key in livemode, a public key for encryption must be provided.
79754
80195
  sig {
79755
80196
  params(params: T.any(::Stripe::V2::Iam::ApiKeyCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Iam::ApiKey)
79756
80197
  }
79757
80198
  def create(params = {}, opts = {}); end
79758
80199
 
79759
- # Expire an API key.
80200
+ # Expire an API key. The specified key becomes invalid immediately.
79760
80201
  sig {
79761
80202
  params(id: String, params: T.any(::Stripe::V2::Iam::ApiKeyExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Iam::ApiKey)
79762
80203
  }
@@ -79768,19 +80209,19 @@ module Stripe
79768
80209
  }
79769
80210
  def list(params = {}, opts = {}); end
79770
80211
 
79771
- # Retrieve an API key.
80212
+ # Retrieve an API key. For livemode secret keys, secret tokens are only returned on creation, and never returned here.
79772
80213
  sig {
79773
80214
  params(id: String, params: T.any(::Stripe::V2::Iam::ApiKeyRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Iam::ApiKey)
79774
80215
  }
79775
80216
  def retrieve(id, params = {}, opts = {}); end
79776
80217
 
79777
- # Rotate an API key.
80218
+ # Rotate an API key. A new key with the same properties is created and returned. The existing key is expired immediately, unless an expiry time is specified.
79778
80219
  sig {
79779
80220
  params(id: String, params: T.any(::Stripe::V2::Iam::ApiKeyRotateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Iam::ApiKey)
79780
80221
  }
79781
80222
  def rotate(id, params = {}, opts = {}); end
79782
80223
 
79783
- # Update an API key.
80224
+ # Update an API key. Only parameters that are specified in the request will be updated.
79784
80225
  sig {
79785
80226
  params(id: String, params: T.any(::Stripe::V2::Iam::ApiKeyUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Iam::ApiKey)
79786
80227
  }
@@ -98698,13 +99139,18 @@ module Stripe
98698
99139
  class PriceData < ::Stripe::RequestParams
98699
99140
  class ProductData < ::Stripe::RequestParams
98700
99141
  class TaxDetails < ::Stripe::RequestParams
99142
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
99143
+ sig { returns(T.nilable(String)) }
99144
+ def performance_location; end
99145
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
99146
+ def performance_location=(_performance_location); end
98701
99147
  # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
98702
99148
  sig { returns(String) }
98703
99149
  def tax_code; end
98704
99150
  sig { params(_tax_code: String).returns(String) }
98705
99151
  def tax_code=(_tax_code); end
98706
- sig { params(tax_code: String).void }
98707
- def initialize(tax_code: nil); end
99152
+ sig { params(performance_location: T.nilable(String), tax_code: String).void }
99153
+ def initialize(performance_location: nil, tax_code: nil); end
98708
99154
  end
98709
99155
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
98710
99156
  sig { returns(T.nilable(String)) }
@@ -102117,13 +102563,18 @@ module Stripe
102117
102563
  class PriceData < ::Stripe::RequestParams
102118
102564
  class ProductData < ::Stripe::RequestParams
102119
102565
  class TaxDetails < ::Stripe::RequestParams
102566
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
102567
+ sig { returns(T.nilable(String)) }
102568
+ def performance_location; end
102569
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
102570
+ def performance_location=(_performance_location); end
102120
102571
  # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
102121
102572
  sig { returns(String) }
102122
102573
  def tax_code; end
102123
102574
  sig { params(_tax_code: String).returns(String) }
102124
102575
  def tax_code=(_tax_code); end
102125
- sig { params(tax_code: String).void }
102126
- def initialize(tax_code: nil); end
102576
+ sig { params(performance_location: T.nilable(String), tax_code: String).void }
102577
+ def initialize(performance_location: nil, tax_code: nil); end
102127
102578
  end
102128
102579
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
102129
102580
  sig { returns(T.nilable(String)) }
@@ -106805,10 +107256,10 @@ module Stripe
106805
107256
  }
106806
107257
  def line_item_details=(_line_item_details); end
106807
107258
  # The metadata for this requested session.
106808
- sig { returns(T.nilable(T::Hash[String, String])) }
107259
+ sig { returns(T.nilable(T.any(String, T::Hash[String, String]))) }
106809
107260
  def metadata; end
106810
107261
  sig {
106811
- params(_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String]))
107262
+ params(_metadata: T.nilable(T.any(String, T::Hash[String, String]))).returns(T.nilable(T.any(String, T::Hash[String, String])))
106812
107263
  }
106813
107264
  def metadata=(_metadata); end
106814
107265
  # The payment method for this requested session.
@@ -106817,21 +107268,23 @@ module Stripe
106817
107268
  sig { params(_payment_method: T.nilable(String)).returns(T.nilable(String)) }
106818
107269
  def payment_method=(_payment_method); end
106819
107270
  # The payment method data for this requested session.
106820
- sig { returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData)) }
107271
+ sig {
107272
+ returns(T.nilable(T.any(String, DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData)))
107273
+ }
106821
107274
  def payment_method_data; end
106822
107275
  sig {
106823
- params(_payment_method_data: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData)).returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData))
107276
+ params(_payment_method_data: T.nilable(T.any(String, DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData))).returns(T.nilable(T.any(String, DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData)))
106824
107277
  }
106825
107278
  def payment_method_data=(_payment_method_data); end
106826
107279
  # The shared metadata for this requested session.
106827
- sig { returns(T.nilable(T::Hash[String, String])) }
107280
+ sig { returns(T.nilable(T.any(String, T::Hash[String, String]))) }
106828
107281
  def shared_metadata; end
106829
107282
  sig {
106830
- params(_shared_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String]))
107283
+ params(_shared_metadata: T.nilable(T.any(String, T::Hash[String, String]))).returns(T.nilable(T.any(String, T::Hash[String, String])))
106831
107284
  }
106832
107285
  def shared_metadata=(_shared_metadata); end
106833
107286
  sig {
106834
- params(expand: T.nilable(T::Array[String]), fulfillment_details: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails), line_item_details: T.nilable(T::Array[DelegatedCheckout::RequestedSessionUpdateParams::LineItemDetail]), metadata: T.nilable(T::Hash[String, String]), payment_method: T.nilable(String), payment_method_data: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData), shared_metadata: T.nilable(T::Hash[String, String])).void
107287
+ params(expand: T.nilable(T::Array[String]), fulfillment_details: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails), line_item_details: T.nilable(T::Array[DelegatedCheckout::RequestedSessionUpdateParams::LineItemDetail]), metadata: T.nilable(T.any(String, T::Hash[String, String])), payment_method: T.nilable(String), payment_method_data: T.nilable(T.any(String, DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData)), shared_metadata: T.nilable(T.any(String, T::Hash[String, String]))).void
106835
107288
  }
106836
107289
  def initialize(
106837
107290
  expand: nil,
@@ -113169,13 +113622,18 @@ module Stripe
113169
113622
  class PriceData < ::Stripe::RequestParams
113170
113623
  class ProductData < ::Stripe::RequestParams
113171
113624
  class TaxDetails < ::Stripe::RequestParams
113625
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
113626
+ sig { returns(T.nilable(String)) }
113627
+ def performance_location; end
113628
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
113629
+ def performance_location=(_performance_location); end
113172
113630
  # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
113173
113631
  sig { returns(String) }
113174
113632
  def tax_code; end
113175
113633
  sig { params(_tax_code: String).returns(String) }
113176
113634
  def tax_code=(_tax_code); end
113177
- sig { params(tax_code: String).void }
113178
- def initialize(tax_code: nil); end
113635
+ sig { params(performance_location: T.nilable(String), tax_code: String).void }
113636
+ def initialize(performance_location: nil, tax_code: nil); end
113179
113637
  end
113180
113638
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
113181
113639
  sig { returns(T.nilable(String)) }
@@ -113817,13 +114275,18 @@ module Stripe
113817
114275
  class PriceData < ::Stripe::RequestParams
113818
114276
  class ProductData < ::Stripe::RequestParams
113819
114277
  class TaxDetails < ::Stripe::RequestParams
114278
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
114279
+ sig { returns(T.nilable(String)) }
114280
+ def performance_location; end
114281
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
114282
+ def performance_location=(_performance_location); end
113820
114283
  # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
113821
114284
  sig { returns(String) }
113822
114285
  def tax_code; end
113823
114286
  sig { params(_tax_code: String).returns(String) }
113824
114287
  def tax_code=(_tax_code); end
113825
- sig { params(tax_code: String).void }
113826
- def initialize(tax_code: nil); end
114288
+ sig { params(performance_location: T.nilable(String), tax_code: String).void }
114289
+ def initialize(performance_location: nil, tax_code: nil); end
113827
114290
  end
113828
114291
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
113829
114292
  sig { returns(T.nilable(String)) }
@@ -115435,7 +115898,7 @@ module Stripe
115435
115898
  params(_discount_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::DiscountAction])).returns(T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::DiscountAction]))
115436
115899
  }
115437
115900
  def discount_actions=(_discount_actions); end
115438
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
115901
+ # Configures how the subscription schedule handles billing for phase transitions.
115439
115902
  sig { returns(T.nilable(String)) }
115440
115903
  def effective_at; end
115441
115904
  sig { params(_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -116382,7 +116845,7 @@ module Stripe
116382
116845
  params(_duration: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Phase::Duration)).returns(T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Phase::Duration))
116383
116846
  }
116384
116847
  def duration=(_duration); end
116385
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
116848
+ # Configures how the subscription schedule handles billing for phase transitions.
116386
116849
  sig { returns(T.nilable(String)) }
116387
116850
  def effective_at; end
116388
116851
  sig { params(_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -117334,13 +117797,18 @@ module Stripe
117334
117797
  class PriceData < ::Stripe::RequestParams
117335
117798
  class ProductData < ::Stripe::RequestParams
117336
117799
  class TaxDetails < ::Stripe::RequestParams
117800
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
117801
+ sig { returns(T.nilable(String)) }
117802
+ def performance_location; end
117803
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
117804
+ def performance_location=(_performance_location); end
117337
117805
  # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
117338
117806
  sig { returns(String) }
117339
117807
  def tax_code; end
117340
117808
  sig { params(_tax_code: String).returns(String) }
117341
117809
  def tax_code=(_tax_code); end
117342
- sig { params(tax_code: String).void }
117343
- def initialize(tax_code: nil); end
117810
+ sig { params(performance_location: T.nilable(String), tax_code: String).void }
117811
+ def initialize(performance_location: nil, tax_code: nil); end
117344
117812
  end
117345
117813
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
117346
117814
  sig { returns(T.nilable(String)) }
@@ -131205,15 +131673,15 @@ module Stripe
131205
131673
  end
131206
131674
  # French meal voucher benefit details for this PaymentIntent.
131207
131675
  sig {
131208
- returns(T.nilable(PaymentIntentCreateParams::PaymentDetails::Benefit::FrMealVoucher))
131676
+ returns(T.nilable(T.any(String, PaymentIntentCreateParams::PaymentDetails::Benefit::FrMealVoucher)))
131209
131677
  }
131210
131678
  def fr_meal_voucher; end
131211
131679
  sig {
131212
- params(_fr_meal_voucher: T.nilable(PaymentIntentCreateParams::PaymentDetails::Benefit::FrMealVoucher)).returns(T.nilable(PaymentIntentCreateParams::PaymentDetails::Benefit::FrMealVoucher))
131680
+ params(_fr_meal_voucher: T.nilable(T.any(String, PaymentIntentCreateParams::PaymentDetails::Benefit::FrMealVoucher))).returns(T.nilable(T.any(String, PaymentIntentCreateParams::PaymentDetails::Benefit::FrMealVoucher)))
131213
131681
  }
131214
131682
  def fr_meal_voucher=(_fr_meal_voucher); end
131215
131683
  sig {
131216
- params(fr_meal_voucher: T.nilable(PaymentIntentCreateParams::PaymentDetails::Benefit::FrMealVoucher)).void
131684
+ params(fr_meal_voucher: T.nilable(T.any(String, PaymentIntentCreateParams::PaymentDetails::Benefit::FrMealVoucher))).void
131217
131685
  }
131218
131686
  def initialize(fr_meal_voucher: nil); end
131219
131687
  end
@@ -139953,15 +140421,15 @@ module Stripe
139953
140421
  end
139954
140422
  # French meal voucher benefit details for this PaymentIntent.
139955
140423
  sig {
139956
- returns(T.nilable(PaymentIntentUpdateParams::PaymentDetails::Benefit::FrMealVoucher))
140424
+ returns(T.nilable(T.any(String, PaymentIntentUpdateParams::PaymentDetails::Benefit::FrMealVoucher)))
139957
140425
  }
139958
140426
  def fr_meal_voucher; end
139959
140427
  sig {
139960
- params(_fr_meal_voucher: T.nilable(PaymentIntentUpdateParams::PaymentDetails::Benefit::FrMealVoucher)).returns(T.nilable(PaymentIntentUpdateParams::PaymentDetails::Benefit::FrMealVoucher))
140428
+ params(_fr_meal_voucher: T.nilable(T.any(String, PaymentIntentUpdateParams::PaymentDetails::Benefit::FrMealVoucher))).returns(T.nilable(T.any(String, PaymentIntentUpdateParams::PaymentDetails::Benefit::FrMealVoucher)))
139961
140429
  }
139962
140430
  def fr_meal_voucher=(_fr_meal_voucher); end
139963
140431
  sig {
139964
- params(fr_meal_voucher: T.nilable(PaymentIntentUpdateParams::PaymentDetails::Benefit::FrMealVoucher)).void
140432
+ params(fr_meal_voucher: T.nilable(T.any(String, PaymentIntentUpdateParams::PaymentDetails::Benefit::FrMealVoucher))).void
139965
140433
  }
139966
140434
  def initialize(fr_meal_voucher: nil); end
139967
140435
  end
@@ -151592,15 +152060,15 @@ module Stripe
151592
152060
  end
151593
152061
  # French meal voucher benefit details for this PaymentIntent.
151594
152062
  sig {
151595
- returns(T.nilable(PaymentIntentConfirmParams::PaymentDetails::Benefit::FrMealVoucher))
152063
+ returns(T.nilable(T.any(String, PaymentIntentConfirmParams::PaymentDetails::Benefit::FrMealVoucher)))
151596
152064
  }
151597
152065
  def fr_meal_voucher; end
151598
152066
  sig {
151599
- params(_fr_meal_voucher: T.nilable(PaymentIntentConfirmParams::PaymentDetails::Benefit::FrMealVoucher)).returns(T.nilable(PaymentIntentConfirmParams::PaymentDetails::Benefit::FrMealVoucher))
152067
+ params(_fr_meal_voucher: T.nilable(T.any(String, PaymentIntentConfirmParams::PaymentDetails::Benefit::FrMealVoucher))).returns(T.nilable(T.any(String, PaymentIntentConfirmParams::PaymentDetails::Benefit::FrMealVoucher)))
151600
152068
  }
151601
152069
  def fr_meal_voucher=(_fr_meal_voucher); end
151602
152070
  sig {
151603
- params(fr_meal_voucher: T.nilable(PaymentIntentConfirmParams::PaymentDetails::Benefit::FrMealVoucher)).void
152071
+ params(fr_meal_voucher: T.nilable(T.any(String, PaymentIntentConfirmParams::PaymentDetails::Benefit::FrMealVoucher))).void
151604
152072
  }
151605
152073
  def initialize(fr_meal_voucher: nil); end
151606
152074
  end
@@ -160976,13 +161444,18 @@ module Stripe
160976
161444
  class PriceData < ::Stripe::RequestParams
160977
161445
  class ProductData < ::Stripe::RequestParams
160978
161446
  class TaxDetails < ::Stripe::RequestParams
161447
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
161448
+ sig { returns(T.nilable(String)) }
161449
+ def performance_location; end
161450
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
161451
+ def performance_location=(_performance_location); end
160979
161452
  # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
160980
161453
  sig { returns(String) }
160981
161454
  def tax_code; end
160982
161455
  sig { params(_tax_code: String).returns(String) }
160983
161456
  def tax_code=(_tax_code); end
160984
- sig { params(tax_code: String).void }
160985
- def initialize(tax_code: nil); end
161457
+ sig { params(performance_location: T.nilable(String), tax_code: String).void }
161458
+ def initialize(performance_location: nil, tax_code: nil); end
160986
161459
  end
160987
161460
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
160988
161461
  sig { returns(T.nilable(String)) }
@@ -169287,6 +169760,20 @@ end
169287
169760
  module Stripe
169288
169761
  class PlanCreateParams < ::Stripe::RequestParams
169289
169762
  class Product < ::Stripe::RequestParams
169763
+ class TaxDetails < ::Stripe::RequestParams
169764
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
169765
+ sig { returns(T.nilable(String)) }
169766
+ def performance_location; end
169767
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
169768
+ def performance_location=(_performance_location); end
169769
+ # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
169770
+ sig { returns(String) }
169771
+ def tax_code; end
169772
+ sig { params(_tax_code: String).returns(String) }
169773
+ def tax_code=(_tax_code); end
169774
+ sig { params(performance_location: T.nilable(String), tax_code: String).void }
169775
+ def initialize(performance_location: nil, tax_code: nil); end
169776
+ end
169290
169777
  # Whether the product is currently available for purchase. Defaults to `true`.
169291
169778
  sig { returns(T.nilable(T::Boolean)) }
169292
169779
  def active; end
@@ -169326,8 +169813,15 @@ module Stripe
169326
169813
  def unit_label; end
169327
169814
  sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
169328
169815
  def unit_label=(_unit_label); end
169816
+ # Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
169817
+ sig { returns(T.nilable(PlanCreateParams::Product::TaxDetails)) }
169818
+ def tax_details; end
169819
+ sig {
169820
+ params(_tax_details: T.nilable(PlanCreateParams::Product::TaxDetails)).returns(T.nilable(PlanCreateParams::Product::TaxDetails))
169821
+ }
169822
+ def tax_details=(_tax_details); end
169329
169823
  sig {
169330
- params(active: T.nilable(T::Boolean), id: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), name: String, statement_descriptor: T.nilable(String), tax_code: T.nilable(String), unit_label: T.nilable(String)).void
169824
+ params(active: T.nilable(T::Boolean), id: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), name: String, statement_descriptor: T.nilable(String), tax_code: T.nilable(String), unit_label: T.nilable(String), tax_details: T.nilable(PlanCreateParams::Product::TaxDetails)).void
169331
169825
  }
169332
169826
  def initialize(
169333
169827
  active: nil,
@@ -169336,7 +169830,8 @@ module Stripe
169336
169830
  name: nil,
169337
169831
  statement_descriptor: nil,
169338
169832
  tax_code: nil,
169339
- unit_label: nil
169833
+ unit_label: nil,
169834
+ tax_details: nil
169340
169835
  ); end
169341
169836
  end
169342
169837
  class Tier < ::Stripe::RequestParams
@@ -169774,6 +170269,20 @@ module Stripe
169774
170269
  def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end
169775
170270
  end
169776
170271
  class ProductData < ::Stripe::RequestParams
170272
+ class TaxDetails < ::Stripe::RequestParams
170273
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
170274
+ sig { returns(T.nilable(String)) }
170275
+ def performance_location; end
170276
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
170277
+ def performance_location=(_performance_location); end
170278
+ # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
170279
+ sig { returns(String) }
170280
+ def tax_code; end
170281
+ sig { params(_tax_code: String).returns(String) }
170282
+ def tax_code=(_tax_code); end
170283
+ sig { params(performance_location: T.nilable(String), tax_code: String).void }
170284
+ def initialize(performance_location: nil, tax_code: nil); end
170285
+ end
169777
170286
  # Whether the product is currently available for purchase. Defaults to `true`.
169778
170287
  sig { returns(T.nilable(T::Boolean)) }
169779
170288
  def active; end
@@ -169813,8 +170322,15 @@ module Stripe
169813
170322
  def unit_label; end
169814
170323
  sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
169815
170324
  def unit_label=(_unit_label); end
170325
+ # Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
170326
+ sig { returns(T.nilable(PriceCreateParams::ProductData::TaxDetails)) }
170327
+ def tax_details; end
170328
+ sig {
170329
+ params(_tax_details: T.nilable(PriceCreateParams::ProductData::TaxDetails)).returns(T.nilable(PriceCreateParams::ProductData::TaxDetails))
170330
+ }
170331
+ def tax_details=(_tax_details); end
169816
170332
  sig {
169817
- params(active: T.nilable(T::Boolean), id: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), name: String, statement_descriptor: T.nilable(String), tax_code: T.nilable(String), unit_label: T.nilable(String)).void
170333
+ params(active: T.nilable(T::Boolean), id: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), name: String, statement_descriptor: T.nilable(String), tax_code: T.nilable(String), unit_label: T.nilable(String), tax_details: T.nilable(PriceCreateParams::ProductData::TaxDetails)).void
169818
170334
  }
169819
170335
  def initialize(
169820
170336
  active: nil,
@@ -169823,7 +170339,8 @@ module Stripe
169823
170339
  name: nil,
169824
170340
  statement_descriptor: nil,
169825
170341
  tax_code: nil,
169826
- unit_label: nil
170342
+ unit_label: nil,
170343
+ tax_details: nil
169827
170344
  ); end
169828
170345
  end
169829
170346
  class Recurring < ::Stripe::RequestParams
@@ -170562,10 +171079,15 @@ module Stripe
170562
171079
  def price; end
170563
171080
  sig { params(_price: String).returns(String) }
170564
171081
  def price=(_price); end
171082
+ # A brief, user-friendly name for the trial offer-for identification purposes.
171083
+ sig { returns(T.nilable(String)) }
171084
+ def name; end
171085
+ sig { params(_name: T.nilable(String)).returns(T.nilable(String)) }
171086
+ def name=(_name); end
170565
171087
  sig {
170566
- params(duration: ProductCatalog::TrialOfferCreateParams::Duration, end_behavior: ProductCatalog::TrialOfferCreateParams::EndBehavior, expand: T.nilable(T::Array[String]), price: String).void
171088
+ params(duration: ProductCatalog::TrialOfferCreateParams::Duration, end_behavior: ProductCatalog::TrialOfferCreateParams::EndBehavior, expand: T.nilable(T::Array[String]), price: String, name: T.nilable(String)).void
170567
171089
  }
170568
- def initialize(duration: nil, end_behavior: nil, expand: nil, price: nil); end
171090
+ def initialize(duration: nil, end_behavior: nil, expand: nil, price: nil, name: nil); end
170569
171091
  end
170570
171092
  end
170571
171093
  end
@@ -170610,13 +171132,18 @@ module Stripe
170610
171132
  def initialize(height: nil, length: nil, weight: nil, width: nil); end
170611
171133
  end
170612
171134
  class TaxDetails < ::Stripe::RequestParams
171135
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
171136
+ sig { returns(T.nilable(String)) }
171137
+ def performance_location; end
171138
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
171139
+ def performance_location=(_performance_location); end
170613
171140
  # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
170614
171141
  sig { returns(String) }
170615
171142
  def tax_code; end
170616
171143
  sig { params(_tax_code: String).returns(String) }
170617
171144
  def tax_code=(_tax_code); end
170618
- sig { params(tax_code: String).void }
170619
- def initialize(tax_code: nil); end
171145
+ sig { params(performance_location: T.nilable(String), tax_code: String).void }
171146
+ def initialize(performance_location: nil, tax_code: nil); end
170620
171147
  end
170621
171148
  # Whether the product is available for purchase.
170622
171149
  sig { returns(T.nilable(T::Boolean)) }
@@ -171076,13 +171603,18 @@ module Stripe
171076
171603
  def initialize(height: nil, length: nil, weight: nil, width: nil); end
171077
171604
  end
171078
171605
  class TaxDetails < ::Stripe::RequestParams
171606
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
171607
+ sig { returns(T.nilable(String)) }
171608
+ def performance_location; end
171609
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
171610
+ def performance_location=(_performance_location); end
171079
171611
  # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
171080
171612
  sig { returns(String) }
171081
171613
  def tax_code; end
171082
171614
  sig { params(_tax_code: String).returns(String) }
171083
171615
  def tax_code=(_tax_code); end
171084
- sig { params(tax_code: String).void }
171085
- def initialize(tax_code: nil); end
171616
+ sig { params(performance_location: T.nilable(String), tax_code: String).void }
171617
+ def initialize(performance_location: nil, tax_code: nil); end
171086
171618
  end
171087
171619
  # Whether the product is currently available for purchase. Defaults to `true`.
171088
171620
  sig { returns(T.nilable(T::Boolean)) }
@@ -172423,7 +172955,7 @@ module Stripe
172423
172955
  params(_cancel_subscription_schedule: T.nilable(QuoteCreateParams::Line::CancelSubscriptionSchedule)).returns(T.nilable(QuoteCreateParams::Line::CancelSubscriptionSchedule))
172424
172956
  }
172425
172957
  def cancel_subscription_schedule=(_cancel_subscription_schedule); end
172426
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
172958
+ # Configures how the quote handles billing for line transitions.
172427
172959
  sig { returns(T.nilable(String)) }
172428
172960
  def effective_at; end
172429
172961
  sig { params(_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -173017,7 +173549,7 @@ module Stripe
173017
173549
  params(_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String]))
173018
173550
  }
173019
173551
  def metadata=(_metadata); end
173020
- # Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
173552
+ # Configures how the subscription schedule handles billing for phase transitions when the quote is accepted.
173021
173553
  sig { returns(T.nilable(String)) }
173022
173554
  def phase_effective_at; end
173023
173555
  sig { params(_phase_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -173406,7 +173938,7 @@ module Stripe
173406
173938
  def end_behavior; end
173407
173939
  sig { params(_end_behavior: T.nilable(String)).returns(T.nilable(String)) }
173408
173940
  def end_behavior=(_end_behavior); end
173409
- # Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
173941
+ # Configures how the subscription schedule handles billing for phase transitions when the quote is accepted.
173410
173942
  sig { returns(T.nilable(String)) }
173411
173943
  def phase_effective_at; end
173412
173944
  sig { params(_phase_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -174459,7 +174991,7 @@ module Stripe
174459
174991
  params(_cancel_subscription_schedule: T.nilable(QuoteUpdateParams::Line::CancelSubscriptionSchedule)).returns(T.nilable(QuoteUpdateParams::Line::CancelSubscriptionSchedule))
174460
174992
  }
174461
174993
  def cancel_subscription_schedule=(_cancel_subscription_schedule); end
174462
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
174994
+ # Configures how the quote handles billing for line transitions.
174463
174995
  sig { returns(T.nilable(String)) }
174464
174996
  def effective_at; end
174465
174997
  sig { params(_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -175030,7 +175562,7 @@ module Stripe
175030
175562
  params(_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String]))
175031
175563
  }
175032
175564
  def metadata=(_metadata); end
175033
- # Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
175565
+ # Configures how the subscription schedule handles billing for phase transitions when the quote is accepted.
175034
175566
  sig { returns(T.nilable(String)) }
175035
175567
  def phase_effective_at; end
175036
175568
  sig { params(_phase_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -175423,7 +175955,7 @@ module Stripe
175423
175955
  def end_behavior; end
175424
175956
  sig { params(_end_behavior: T.nilable(String)).returns(T.nilable(String)) }
175425
175957
  def end_behavior=(_end_behavior); end
175426
- # Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
175958
+ # Configures how the subscription schedule handles billing for phase transitions when the quote is accepted.
175427
175959
  sig { returns(T.nilable(String)) }
175428
175960
  def phase_effective_at; end
175429
175961
  sig { params(_phase_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -175975,6 +176507,24 @@ end
175975
176507
  module Stripe
175976
176508
  module Radar
175977
176509
  class AccountEvaluationUpdateParams < ::Stripe::RequestParams
176510
+ class LoginFailed < ::Stripe::RequestParams
176511
+ # The reason why this login failed.
176512
+ sig { returns(String) }
176513
+ def reason; end
176514
+ sig { params(_reason: String).returns(String) }
176515
+ def reason=(_reason); end
176516
+ sig { params(reason: String).void }
176517
+ def initialize(reason: nil); end
176518
+ end
176519
+ class RegistrationFailed < ::Stripe::RequestParams
176520
+ # The reason why this registration failed.
176521
+ sig { returns(String) }
176522
+ def reason; end
176523
+ sig { params(_reason: String).returns(String) }
176524
+ def reason=(_reason); end
176525
+ sig { params(reason: String).void }
176526
+ def initialize(reason: nil); end
176527
+ end
175978
176528
  # Specifies which fields in the response should be expanded.
175979
176529
  sig { returns(T.nilable(T::Array[String])) }
175980
176530
  def expand; end
@@ -175985,8 +176535,24 @@ module Stripe
175985
176535
  def type; end
175986
176536
  sig { params(_type: String).returns(String) }
175987
176537
  def type=(_type); end
175988
- sig { params(expand: T.nilable(T::Array[String]), type: String).void }
175989
- def initialize(expand: nil, type: nil); end
176538
+ # Event payload for login_failed.
176539
+ sig { returns(T.nilable(Radar::AccountEvaluationUpdateParams::LoginFailed)) }
176540
+ def login_failed; end
176541
+ sig {
176542
+ params(_login_failed: T.nilable(Radar::AccountEvaluationUpdateParams::LoginFailed)).returns(T.nilable(Radar::AccountEvaluationUpdateParams::LoginFailed))
176543
+ }
176544
+ def login_failed=(_login_failed); end
176545
+ # Event payload for registration_failed.
176546
+ sig { returns(T.nilable(Radar::AccountEvaluationUpdateParams::RegistrationFailed)) }
176547
+ def registration_failed; end
176548
+ sig {
176549
+ params(_registration_failed: T.nilable(Radar::AccountEvaluationUpdateParams::RegistrationFailed)).returns(T.nilable(Radar::AccountEvaluationUpdateParams::RegistrationFailed))
176550
+ }
176551
+ def registration_failed=(_registration_failed); end
176552
+ sig {
176553
+ params(expand: T.nilable(T::Array[String]), type: String, login_failed: T.nilable(Radar::AccountEvaluationUpdateParams::LoginFailed), registration_failed: T.nilable(Radar::AccountEvaluationUpdateParams::RegistrationFailed)).void
176554
+ }
176555
+ def initialize(expand: nil, type: nil, login_failed: nil, registration_failed: nil); end
175990
176556
  end
175991
176557
  end
175992
176558
  end
@@ -178883,14 +179449,16 @@ module Stripe
178883
179449
  def initialize(siret: nil); end
178884
179450
  end
178885
179451
  # French meal voucher benefit details for this SetupIntent.
178886
- sig { returns(T.nilable(SetupIntentCreateParams::SetupDetails::Benefit::FrMealVoucher)) }
179452
+ sig {
179453
+ returns(T.nilable(T.any(String, SetupIntentCreateParams::SetupDetails::Benefit::FrMealVoucher)))
179454
+ }
178887
179455
  def fr_meal_voucher; end
178888
179456
  sig {
178889
- params(_fr_meal_voucher: T.nilable(SetupIntentCreateParams::SetupDetails::Benefit::FrMealVoucher)).returns(T.nilable(SetupIntentCreateParams::SetupDetails::Benefit::FrMealVoucher))
179457
+ params(_fr_meal_voucher: T.nilable(T.any(String, SetupIntentCreateParams::SetupDetails::Benefit::FrMealVoucher))).returns(T.nilable(T.any(String, SetupIntentCreateParams::SetupDetails::Benefit::FrMealVoucher)))
178890
179458
  }
178891
179459
  def fr_meal_voucher=(_fr_meal_voucher); end
178892
179460
  sig {
178893
- params(fr_meal_voucher: T.nilable(SetupIntentCreateParams::SetupDetails::Benefit::FrMealVoucher)).void
179461
+ params(fr_meal_voucher: T.nilable(T.any(String, SetupIntentCreateParams::SetupDetails::Benefit::FrMealVoucher))).void
178894
179462
  }
178895
179463
  def initialize(fr_meal_voucher: nil); end
178896
179464
  end
@@ -180933,14 +181501,16 @@ module Stripe
180933
181501
  def initialize(siret: nil); end
180934
181502
  end
180935
181503
  # French meal voucher benefit details for this SetupIntent.
180936
- sig { returns(T.nilable(SetupIntentUpdateParams::SetupDetails::Benefit::FrMealVoucher)) }
181504
+ sig {
181505
+ returns(T.nilable(T.any(String, SetupIntentUpdateParams::SetupDetails::Benefit::FrMealVoucher)))
181506
+ }
180937
181507
  def fr_meal_voucher; end
180938
181508
  sig {
180939
- params(_fr_meal_voucher: T.nilable(SetupIntentUpdateParams::SetupDetails::Benefit::FrMealVoucher)).returns(T.nilable(SetupIntentUpdateParams::SetupDetails::Benefit::FrMealVoucher))
181509
+ params(_fr_meal_voucher: T.nilable(T.any(String, SetupIntentUpdateParams::SetupDetails::Benefit::FrMealVoucher))).returns(T.nilable(T.any(String, SetupIntentUpdateParams::SetupDetails::Benefit::FrMealVoucher)))
180940
181510
  }
180941
181511
  def fr_meal_voucher=(_fr_meal_voucher); end
180942
181512
  sig {
180943
- params(fr_meal_voucher: T.nilable(SetupIntentUpdateParams::SetupDetails::Benefit::FrMealVoucher)).void
181513
+ params(fr_meal_voucher: T.nilable(T.any(String, SetupIntentUpdateParams::SetupDetails::Benefit::FrMealVoucher))).void
180944
181514
  }
180945
181515
  def initialize(fr_meal_voucher: nil); end
180946
181516
  end
@@ -182986,14 +183556,16 @@ module Stripe
182986
183556
  def initialize(siret: nil); end
182987
183557
  end
182988
183558
  # French meal voucher benefit details for this SetupIntent.
182989
- sig { returns(T.nilable(SetupIntentConfirmParams::SetupDetails::Benefit::FrMealVoucher)) }
183559
+ sig {
183560
+ returns(T.nilable(T.any(String, SetupIntentConfirmParams::SetupDetails::Benefit::FrMealVoucher)))
183561
+ }
182990
183562
  def fr_meal_voucher; end
182991
183563
  sig {
182992
- params(_fr_meal_voucher: T.nilable(SetupIntentConfirmParams::SetupDetails::Benefit::FrMealVoucher)).returns(T.nilable(SetupIntentConfirmParams::SetupDetails::Benefit::FrMealVoucher))
183564
+ params(_fr_meal_voucher: T.nilable(T.any(String, SetupIntentConfirmParams::SetupDetails::Benefit::FrMealVoucher))).returns(T.nilable(T.any(String, SetupIntentConfirmParams::SetupDetails::Benefit::FrMealVoucher)))
182993
183565
  }
182994
183566
  def fr_meal_voucher=(_fr_meal_voucher); end
182995
183567
  sig {
182996
- params(fr_meal_voucher: T.nilable(SetupIntentConfirmParams::SetupDetails::Benefit::FrMealVoucher)).void
183568
+ params(fr_meal_voucher: T.nilable(T.any(String, SetupIntentConfirmParams::SetupDetails::Benefit::FrMealVoucher))).void
182997
183569
  }
182998
183570
  def initialize(fr_meal_voucher: nil); end
182999
183571
  end
@@ -183173,7 +183745,7 @@ end
183173
183745
  # typed: true
183174
183746
  module Stripe
183175
183747
  module SharedPayment
183176
- class GrantedTokenUpdateParams < ::Stripe::RequestParams
183748
+ class GrantedTokenRevokeParams < ::Stripe::RequestParams
183177
183749
  # Specifies which fields in the response should be expanded.
183178
183750
  sig { returns(T.nilable(T::Array[String])) }
183179
183751
  def expand; end
@@ -185457,7 +186029,7 @@ module Stripe
185457
186029
  def on_behalf_of; end
185458
186030
  sig { params(_on_behalf_of: T.nilable(String)).returns(T.nilable(String)) }
185459
186031
  def on_behalf_of=(_on_behalf_of); end
185460
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
186032
+ # Configures how the subscription schedule handles billing for phase transitions.
185461
186033
  sig { returns(T.nilable(String)) }
185462
186034
  def phase_effective_at; end
185463
186035
  sig { params(_phase_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -186235,7 +186807,7 @@ module Stripe
186235
186807
  params(_duration: T.nilable(SubscriptionScheduleCreateParams::Phase::Duration)).returns(T.nilable(SubscriptionScheduleCreateParams::Phase::Duration))
186236
186808
  }
186237
186809
  def duration=(_duration); end
186238
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
186810
+ # Configures how the subscription schedule handles billing for phase transitions.
186239
186811
  sig { returns(T.nilable(String)) }
186240
186812
  def effective_at; end
186241
186813
  sig { params(_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -186700,7 +187272,7 @@ module Stripe
186700
187272
  def on_behalf_of; end
186701
187273
  sig { params(_on_behalf_of: T.nilable(String)).returns(T.nilable(String)) }
186702
187274
  def on_behalf_of=(_on_behalf_of); end
186703
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
187275
+ # Configures how the subscription schedule handles billing for phase transitions.
186704
187276
  sig { returns(T.nilable(String)) }
186705
187277
  def phase_effective_at; end
186706
187278
  sig { params(_phase_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -187478,7 +188050,7 @@ module Stripe
187478
188050
  params(_duration: T.nilable(SubscriptionScheduleUpdateParams::Phase::Duration)).returns(T.nilable(SubscriptionScheduleUpdateParams::Phase::Duration))
187479
188051
  }
187480
188052
  def duration=(_duration); end
187481
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
188053
+ # Configures how the subscription schedule handles billing for phase transitions.
187482
188054
  sig { returns(T.nilable(String)) }
187483
188055
  def effective_at; end
187484
188056
  sig { params(_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -188411,7 +188983,7 @@ module Stripe
188411
188983
  params(_discount_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::DiscountAction])).returns(T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::DiscountAction]))
188412
188984
  }
188413
188985
  def discount_actions=(_discount_actions); end
188414
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
188986
+ # Configures how the subscription schedule handles billing for phase transitions.
188415
188987
  sig { returns(T.nilable(String)) }
188416
188988
  def effective_at; end
188417
188989
  sig { params(_effective_at: T.nilable(String)).returns(T.nilable(String)) }
@@ -192074,6 +192646,53 @@ module Stripe
192074
192646
  end
192075
192647
  end
192076
192648
  # typed: true
192649
+ module Stripe
192650
+ class SubscriptionPauseParams < ::Stripe::RequestParams
192651
+ class BillFor < ::Stripe::RequestParams
192652
+ # Controls whether to debit for accrued metered usage in the current billing period. The default is `false`.
192653
+ sig { returns(T.nilable(T::Boolean)) }
192654
+ def outstanding_usage; end
192655
+ sig { params(_outstanding_usage: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
192656
+ def outstanding_usage=(_outstanding_usage); end
192657
+ # Controls whether to credit for licensed items in the current billing period. The default is `false`.
192658
+ sig { returns(T.nilable(T::Boolean)) }
192659
+ def unused_time; end
192660
+ sig { params(_unused_time: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
192661
+ def unused_time=(_unused_time); end
192662
+ sig {
192663
+ params(outstanding_usage: T.nilable(T::Boolean), unused_time: T.nilable(T::Boolean)).void
192664
+ }
192665
+ def initialize(outstanding_usage: nil, unused_time: nil); end
192666
+ end
192667
+ # Controls what to bill for when pausing the subscription.
192668
+ sig { returns(T.nilable(SubscriptionPauseParams::BillFor)) }
192669
+ def bill_for; end
192670
+ sig {
192671
+ params(_bill_for: T.nilable(SubscriptionPauseParams::BillFor)).returns(T.nilable(SubscriptionPauseParams::BillFor))
192672
+ }
192673
+ def bill_for=(_bill_for); end
192674
+ # Specifies which fields in the response should be expanded.
192675
+ sig { returns(T.nilable(T::Array[String])) }
192676
+ def expand; end
192677
+ sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
192678
+ def expand=(_expand); end
192679
+ # Determines how to handle debits and credits when pausing. The default is `pending_invoice_item`.
192680
+ sig { returns(T.nilable(String)) }
192681
+ def invoicing_behavior; end
192682
+ sig { params(_invoicing_behavior: T.nilable(String)).returns(T.nilable(String)) }
192683
+ def invoicing_behavior=(_invoicing_behavior); end
192684
+ # The type of pause to apply.
192685
+ sig { returns(String) }
192686
+ def type; end
192687
+ sig { params(_type: String).returns(String) }
192688
+ def type=(_type); end
192689
+ sig {
192690
+ params(bill_for: T.nilable(SubscriptionPauseParams::BillFor), expand: T.nilable(T::Array[String]), invoicing_behavior: T.nilable(String), type: String).void
192691
+ }
192692
+ def initialize(bill_for: nil, expand: nil, invoicing_behavior: nil, type: nil); end
192693
+ end
192694
+ end
192695
+ # typed: true
192077
192696
  module Stripe
192078
192697
  class SubscriptionResumeParams < ::Stripe::RequestParams
192079
192698
  # The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
@@ -192279,8 +192898,13 @@ module Stripe
192279
192898
  def tax_code; end
192280
192899
  sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
192281
192900
  def tax_code=(_tax_code); end
192901
+ # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
192902
+ sig { returns(T.nilable(String)) }
192903
+ def performance_location; end
192904
+ sig { params(_performance_location: T.nilable(String)).returns(T.nilable(String)) }
192905
+ def performance_location=(_performance_location); end
192282
192906
  sig {
192283
- params(amount: Integer, metadata: T.nilable(T::Hash[String, String]), product: T.nilable(String), quantity: T.nilable(Integer), reference: T.nilable(String), tax_behavior: T.nilable(String), tax_code: T.nilable(String)).void
192907
+ params(amount: Integer, metadata: T.nilable(T::Hash[String, String]), product: T.nilable(String), quantity: T.nilable(Integer), reference: T.nilable(String), tax_behavior: T.nilable(String), tax_code: T.nilable(String), performance_location: T.nilable(String)).void
192284
192908
  }
192285
192909
  def initialize(
192286
192910
  amount: nil,
@@ -192289,7 +192913,8 @@ module Stripe
192289
192913
  quantity: nil,
192290
192914
  reference: nil,
192291
192915
  tax_behavior: nil,
192292
- tax_code: nil
192916
+ tax_code: nil,
192917
+ performance_location: nil
192293
192918
  ); end
192294
192919
  end
192295
192920
  class ShipFromDetails < ::Stripe::RequestParams
@@ -192520,6 +193145,124 @@ module Stripe
192520
193145
  end
192521
193146
  end
192522
193147
  # typed: true
193148
+ module Stripe
193149
+ module Tax
193150
+ class LocationListParams < ::Stripe::RequestParams
193151
+ # 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.
193152
+ sig { returns(T.nilable(String)) }
193153
+ def ending_before; end
193154
+ sig { params(_ending_before: T.nilable(String)).returns(T.nilable(String)) }
193155
+ def ending_before=(_ending_before); end
193156
+ # Specifies which fields in the response should be expanded.
193157
+ sig { returns(T.nilable(T::Array[String])) }
193158
+ def expand; end
193159
+ sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
193160
+ def expand=(_expand); end
193161
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
193162
+ sig { returns(T.nilable(Integer)) }
193163
+ def limit; end
193164
+ sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
193165
+ def limit=(_limit); end
193166
+ # 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.
193167
+ sig { returns(T.nilable(String)) }
193168
+ def starting_after; end
193169
+ sig { params(_starting_after: T.nilable(String)).returns(T.nilable(String)) }
193170
+ def starting_after=(_starting_after); end
193171
+ # Type of the tax location. Currently the only option is `performance`.
193172
+ sig { returns(String) }
193173
+ def type; end
193174
+ sig { params(_type: String).returns(String) }
193175
+ def type=(_type); end
193176
+ sig {
193177
+ params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), type: String).void
193178
+ }
193179
+ def initialize(
193180
+ ending_before: nil,
193181
+ expand: nil,
193182
+ limit: nil,
193183
+ starting_after: nil,
193184
+ type: nil
193185
+ ); end
193186
+ end
193187
+ end
193188
+ end
193189
+ # typed: true
193190
+ module Stripe
193191
+ module Tax
193192
+ class LocationCreateParams < ::Stripe::RequestParams
193193
+ class Address < ::Stripe::RequestParams
193194
+ # City, district, suburb, town, or village.
193195
+ sig { returns(T.nilable(String)) }
193196
+ def city; end
193197
+ sig { params(_city: T.nilable(String)).returns(T.nilable(String)) }
193198
+ def city=(_city); end
193199
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
193200
+ sig { returns(String) }
193201
+ def country; end
193202
+ sig { params(_country: String).returns(String) }
193203
+ def country=(_country); end
193204
+ # Address line 1, such as the street, PO Box, or company name.
193205
+ sig { returns(T.nilable(String)) }
193206
+ def line1; end
193207
+ sig { params(_line1: T.nilable(String)).returns(T.nilable(String)) }
193208
+ def line1=(_line1); end
193209
+ # Address line 2, such as the apartment, suite, unit, or building.
193210
+ sig { returns(T.nilable(String)) }
193211
+ def line2; end
193212
+ sig { params(_line2: T.nilable(String)).returns(T.nilable(String)) }
193213
+ def line2=(_line2); end
193214
+ # ZIP or postal code.
193215
+ sig { returns(T.nilable(String)) }
193216
+ def postal_code; end
193217
+ sig { params(_postal_code: T.nilable(String)).returns(T.nilable(String)) }
193218
+ def postal_code=(_postal_code); end
193219
+ # State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix, such as "NY" or "TX".
193220
+ sig { returns(T.nilable(String)) }
193221
+ def state; end
193222
+ sig { params(_state: T.nilable(String)).returns(T.nilable(String)) }
193223
+ def state=(_state); end
193224
+ sig {
193225
+ params(city: T.nilable(String), country: String, line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
193226
+ }
193227
+ def initialize(
193228
+ city: nil,
193229
+ country: nil,
193230
+ line1: nil,
193231
+ line2: nil,
193232
+ postal_code: nil,
193233
+ state: nil
193234
+ ); end
193235
+ end
193236
+ # The physical address of the tax location.
193237
+ sig { returns(Tax::LocationCreateParams::Address) }
193238
+ def address; end
193239
+ sig {
193240
+ params(_address: Tax::LocationCreateParams::Address).returns(Tax::LocationCreateParams::Address)
193241
+ }
193242
+ def address=(_address); end
193243
+ # Details to identify the tax location by its venue, types of events held, or available services, such as "A spacious auditorium suitable for large concerts and events.".
193244
+ sig { returns(T.nilable(String)) }
193245
+ def description; end
193246
+ sig { params(_description: T.nilable(String)).returns(T.nilable(String)) }
193247
+ def description=(_description); end
193248
+ # Specifies which fields in the response should be expanded.
193249
+ sig { returns(T.nilable(T::Array[String])) }
193250
+ def expand; end
193251
+ sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
193252
+ def expand=(_expand); end
193253
+ # The type of tax location. The only supported value is "performance".
193254
+ sig { returns(String) }
193255
+ def type; end
193256
+ sig { params(_type: String).returns(String) }
193257
+ def type=(_type); end
193258
+ sig {
193259
+ params(address: Tax::LocationCreateParams::Address, description: T.nilable(String), expand: T.nilable(T::Array[String]), type: String).void
193260
+ }
193261
+ def initialize(address: nil, description: nil, expand: nil, type: nil); end
193262
+ end
193263
+ end
193264
+ end
193265
+ # typed: true
192523
193266
  module Stripe
192524
193267
  module Tax
192525
193268
  class RegistrationListParams < ::Stripe::RequestParams
@@ -210547,6 +211290,20 @@ module Stripe
210547
211290
  end
210548
211291
  end
210549
211292
  # typed: true
211293
+ module Stripe
211294
+ module Tax
211295
+ class LocationRetrieveParams < ::Stripe::RequestParams
211296
+ # Specifies which fields in the response should be expanded.
211297
+ sig { returns(T.nilable(T::Array[String])) }
211298
+ def expand; end
211299
+ sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
211300
+ def expand=(_expand); end
211301
+ sig { params(expand: T.nilable(T::Array[String])).void }
211302
+ def initialize(expand: nil); end
211303
+ end
211304
+ end
211305
+ end
211306
+ # typed: true
210550
211307
  module Stripe
210551
211308
  module Tax
210552
211309
  class RegistrationRetrieveParams < ::Stripe::RequestParams
@@ -214630,7 +215387,7 @@ end
214630
215387
  module Stripe
214631
215388
  module TestHelpers
214632
215389
  module SharedPayment
214633
- class GrantedTokenUpdateParams < ::Stripe::RequestParams
215390
+ class GrantedTokenRevokeParams < ::Stripe::RequestParams
214634
215391
  # Specifies which fields in the response should be expanded.
214635
215392
  sig { returns(T.nilable(T::Array[String])) }
214636
215393
  def expand; end
@@ -236625,18 +237382,50 @@ module Stripe
236625
237382
  def initialize(value: nil, currency: nil); end
236626
237383
  end
236627
237384
  class DeliveryOptions < ::Stripe::RequestParams
236628
- # Open Enum. Method for bank account.
236629
- sig { returns(T.nilable(String)) }
236630
- def bank_account; end
236631
- sig { params(_bank_account: T.nilable(String)).returns(T.nilable(String)) }
236632
- def bank_account=(_bank_account); end
237385
+ class PaperCheck < ::Stripe::RequestParams
237386
+ # Memo printed on the memo field of the check.
237387
+ sig { returns(T.nilable(String)) }
237388
+ def memo; end
237389
+ sig { params(_memo: T.nilable(String)).returns(T.nilable(String)) }
237390
+ def memo=(_memo); end
237391
+ # Open Enum. Shipping speed of the paper check. Defaults to standard.
237392
+ sig { returns(T.nilable(String)) }
237393
+ def shipping_speed; end
237394
+ sig { params(_shipping_speed: T.nilable(String)).returns(T.nilable(String)) }
237395
+ def shipping_speed=(_shipping_speed); end
237396
+ # Signature for the paper check.
237397
+ sig { returns(String) }
237398
+ def signature; end
237399
+ sig { params(_signature: String).returns(String) }
237400
+ def signature=(_signature); end
237401
+ sig {
237402
+ params(memo: T.nilable(String), shipping_speed: T.nilable(String), signature: String).void
237403
+ }
237404
+ def initialize(memo: nil, shipping_speed: nil, signature: nil); end
237405
+ end
236633
237406
  # Open Enum. Speed of the payout.
236634
237407
  sig { returns(T.nilable(String)) }
236635
237408
  def speed; end
236636
237409
  sig { params(_speed: T.nilable(String)).returns(T.nilable(String)) }
236637
237410
  def speed=(_speed); end
236638
- sig { params(bank_account: T.nilable(String), speed: T.nilable(String)).void }
236639
- def initialize(bank_account: nil, speed: nil); end
237411
+ # Open Enum. Method for bank account.
237412
+ sig { returns(T.nilable(String)) }
237413
+ def bank_account; end
237414
+ sig { params(_bank_account: T.nilable(String)).returns(T.nilable(String)) }
237415
+ def bank_account=(_bank_account); end
237416
+ # Delivery options for paper check.
237417
+ sig {
237418
+ returns(T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOptions::PaperCheck))
237419
+ }
237420
+ def paper_check; end
237421
+ sig {
237422
+ params(_paper_check: T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOptions::PaperCheck)).returns(T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOptions::PaperCheck))
237423
+ }
237424
+ def paper_check=(_paper_check); end
237425
+ sig {
237426
+ params(speed: T.nilable(String), bank_account: T.nilable(String), paper_check: T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOptions::PaperCheck)).void
237427
+ }
237428
+ def initialize(speed: nil, bank_account: nil, paper_check: nil); end
236640
237429
  end
236641
237430
  class From < ::Stripe::RequestParams
236642
237431
  # Describes the FinancialAmount's currency drawn from.
@@ -236804,18 +237593,18 @@ module Stripe
236804
237593
  def initialize(value: nil, currency: nil); end
236805
237594
  end
236806
237595
  class DeliveryOptions < ::Stripe::RequestParams
236807
- # Open Enum. Method for bank account.
236808
- sig { returns(T.nilable(String)) }
236809
- def bank_account; end
236810
- sig { params(_bank_account: T.nilable(String)).returns(T.nilable(String)) }
236811
- def bank_account=(_bank_account); end
236812
237596
  # Open Enum. Speed of the payout.
236813
237597
  sig { returns(T.nilable(String)) }
236814
237598
  def speed; end
236815
237599
  sig { params(_speed: T.nilable(String)).returns(T.nilable(String)) }
236816
237600
  def speed=(_speed); end
236817
- sig { params(bank_account: T.nilable(String), speed: T.nilable(String)).void }
236818
- def initialize(bank_account: nil, speed: nil); end
237601
+ # Open Enum. Method for bank account.
237602
+ sig { returns(T.nilable(String)) }
237603
+ def bank_account; end
237604
+ sig { params(_bank_account: T.nilable(String)).returns(T.nilable(String)) }
237605
+ def bank_account=(_bank_account); end
237606
+ sig { params(speed: T.nilable(String), bank_account: T.nilable(String)).void }
237607
+ def initialize(speed: nil, bank_account: nil); end
236819
237608
  end
236820
237609
  class From < ::Stripe::RequestParams
236821
237610
  # Describes the FinancialAccount's currency drawn from.