stripe 15.3.0 → 15.4.0

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 (96) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +21 -1
  4. data/OPENAPI_VERSION +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_version.rb +1 -1
  7. data/lib/stripe/resources/account.rb +5 -5
  8. data/lib/stripe/resources/account_link.rb +3 -1
  9. data/lib/stripe/resources/account_session.rb +51 -0
  10. data/lib/stripe/resources/billing/credit_grant.rb +1 -1
  11. data/lib/stripe/resources/billing_portal/configuration.rb +46 -2
  12. data/lib/stripe/resources/charge.rb +7 -5
  13. data/lib/stripe/resources/checkout/session.rb +32 -4
  14. data/lib/stripe/resources/confirmation_token.rb +3 -3
  15. data/lib/stripe/resources/customer.rb +1 -1
  16. data/lib/stripe/resources/dispute.rb +1 -1
  17. data/lib/stripe/resources/event.rb +14 -26
  18. data/lib/stripe/resources/invoice.rb +24 -8
  19. data/lib/stripe/resources/invoice_item.rb +1 -1
  20. data/lib/stripe/resources/payment_intent.rb +14 -4
  21. data/lib/stripe/resources/payment_link.rb +83 -5
  22. data/lib/stripe/resources/payment_method.rb +4 -4
  23. data/lib/stripe/resources/quote.rb +1 -1
  24. data/lib/stripe/resources/radar/value_list.rb +2 -2
  25. data/lib/stripe/resources/refund.rb +1 -1
  26. data/lib/stripe/resources/review.rb +2 -2
  27. data/lib/stripe/resources/setup_attempt.rb +1 -1
  28. data/lib/stripe/resources/subscription.rb +2 -2
  29. data/lib/stripe/resources/subscription_item.rb +2 -2
  30. data/lib/stripe/resources/subscription_schedule.rb +35 -3
  31. data/lib/stripe/resources/tax/registration.rb +408 -30
  32. data/lib/stripe/resources/terminal/configuration.rb +196 -0
  33. data/lib/stripe/services/account_link_service.rb +3 -1
  34. data/lib/stripe/services/account_service.rb +3 -3
  35. data/lib/stripe/services/account_session_service.rb +34 -0
  36. data/lib/stripe/services/billing/credit_grant_service.rb +1 -1
  37. data/lib/stripe/services/billing_portal/configuration_service.rb +36 -2
  38. data/lib/stripe/services/checkout/session_service.rb +19 -3
  39. data/lib/stripe/services/invoice_item_service.rb +1 -1
  40. data/lib/stripe/services/invoice_service.rb +24 -8
  41. data/lib/stripe/services/payment_intent_service.rb +8 -3
  42. data/lib/stripe/services/payment_link_service.rb +81 -5
  43. data/lib/stripe/services/payment_method_service.rb +1 -1
  44. data/lib/stripe/services/quote_service.rb +1 -1
  45. data/lib/stripe/services/radar/value_list_service.rb +1 -1
  46. data/lib/stripe/services/subscription_item_service.rb +2 -2
  47. data/lib/stripe/services/subscription_schedule_service.rb +35 -3
  48. data/lib/stripe/services/subscription_service.rb +2 -2
  49. data/lib/stripe/services/tax/registration_service.rb +360 -30
  50. data/lib/stripe/services/terminal/configuration_service.rb +152 -0
  51. data/lib/stripe/version.rb +1 -1
  52. data/rbi/stripe/resources/account.rbi +5 -5
  53. data/rbi/stripe/resources/account_link.rbi +3 -1
  54. data/rbi/stripe/resources/account_session.rbi +62 -1
  55. data/rbi/stripe/resources/billing/credit_grant.rbi +1 -1
  56. data/rbi/stripe/resources/billing_portal/configuration.rbi +62 -4
  57. data/rbi/stripe/resources/charge.rbi +8 -5
  58. data/rbi/stripe/resources/checkout/session.rbi +42 -7
  59. data/rbi/stripe/resources/confirmation_token.rbi +3 -3
  60. data/rbi/stripe/resources/customer.rbi +1 -1
  61. data/rbi/stripe/resources/dispute.rbi +1 -1
  62. data/rbi/stripe/resources/event.rbi +14 -26
  63. data/rbi/stripe/resources/invoice.rbi +27 -11
  64. data/rbi/stripe/resources/invoice_item.rbi +1 -1
  65. data/rbi/stripe/resources/payment_intent.rbi +14 -4
  66. data/rbi/stripe/resources/payment_link.rbi +101 -9
  67. data/rbi/stripe/resources/payment_method.rbi +4 -4
  68. data/rbi/stripe/resources/quote.rbi +1 -1
  69. data/rbi/stripe/resources/radar/value_list.rbi +2 -2
  70. data/rbi/stripe/resources/refund.rbi +1 -1
  71. data/rbi/stripe/resources/review.rbi +2 -2
  72. data/rbi/stripe/resources/setup_attempt.rbi +1 -1
  73. data/rbi/stripe/resources/subscription.rbi +6 -6
  74. data/rbi/stripe/resources/subscription_item.rbi +2 -2
  75. data/rbi/stripe/resources/subscription_schedule.rbi +33 -5
  76. data/rbi/stripe/resources/tax/registration.rbi +544 -60
  77. data/rbi/stripe/resources/terminal/configuration.rbi +210 -2
  78. data/rbi/stripe/services/account_link_service.rbi +3 -1
  79. data/rbi/stripe/services/account_service.rbi +3 -3
  80. data/rbi/stripe/services/account_session_service.rbi +40 -1
  81. data/rbi/stripe/services/billing/credit_grant_service.rbi +1 -1
  82. data/rbi/stripe/services/billing_portal/configuration_service.rbi +48 -4
  83. data/rbi/stripe/services/checkout/session_service.rbi +26 -6
  84. data/rbi/stripe/services/invoice_item_service.rbi +1 -1
  85. data/rbi/stripe/services/invoice_service.rbi +27 -11
  86. data/rbi/stripe/services/payment_intent_service.rbi +8 -3
  87. data/rbi/stripe/services/payment_link_service.rbi +98 -9
  88. data/rbi/stripe/services/payment_method_service.rbi +1 -1
  89. data/rbi/stripe/services/quote_service.rbi +1 -1
  90. data/rbi/stripe/services/radar/value_list_service.rbi +1 -1
  91. data/rbi/stripe/services/subscription_item_service.rbi +2 -2
  92. data/rbi/stripe/services/subscription_schedule_service.rbi +37 -5
  93. data/rbi/stripe/services/subscription_service.rbi +6 -6
  94. data/rbi/stripe/services/tax/registration_service.rbi +480 -60
  95. data/rbi/stripe/services/terminal/configuration_service.rbi +170 -2
  96. metadata +2 -2
@@ -35,18 +35,46 @@ module Stripe
35
35
  class CreateParams < Stripe::RequestParams
36
36
  class CountryOptions < Stripe::RequestParams
37
37
  class Ae < Stripe::RequestParams
38
+ class Standard < Stripe::RequestParams
39
+ # Place of supply scheme used in an standard registration.
40
+ sig { returns(T.nilable(String)) }
41
+ attr_accessor :place_of_supply_scheme
42
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
43
+ def initialize(place_of_supply_scheme: nil); end
44
+ end
45
+ # Options for the standard registration.
46
+ sig {
47
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae::Standard))
48
+ }
49
+ attr_accessor :standard
38
50
  # Type of registration to be created in `country`.
39
51
  sig { returns(String) }
40
52
  attr_accessor :type
41
- sig { params(type: String).void }
42
- def initialize(type: nil); end
53
+ sig {
54
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae::Standard), type: String).void
55
+ }
56
+ def initialize(standard: nil, type: nil); end
43
57
  end
44
58
  class Al < Stripe::RequestParams
59
+ class Standard < Stripe::RequestParams
60
+ # Place of supply scheme used in an standard registration.
61
+ sig { returns(T.nilable(String)) }
62
+ attr_accessor :place_of_supply_scheme
63
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
64
+ def initialize(place_of_supply_scheme: nil); end
65
+ end
66
+ # Options for the standard registration.
67
+ sig {
68
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al::Standard))
69
+ }
70
+ attr_accessor :standard
45
71
  # Type of registration to be created in `country`.
46
72
  sig { returns(String) }
47
73
  attr_accessor :type
48
- sig { params(type: String).void }
49
- def initialize(type: nil); end
74
+ sig {
75
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al::Standard), type: String).void
76
+ }
77
+ def initialize(standard: nil, type: nil); end
50
78
  end
51
79
  class Am < Stripe::RequestParams
52
80
  # Type of registration to be created in `country`.
@@ -56,11 +84,25 @@ module Stripe
56
84
  def initialize(type: nil); end
57
85
  end
58
86
  class Ao < Stripe::RequestParams
87
+ class Standard < Stripe::RequestParams
88
+ # Place of supply scheme used in an standard registration.
89
+ sig { returns(T.nilable(String)) }
90
+ attr_accessor :place_of_supply_scheme
91
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
92
+ def initialize(place_of_supply_scheme: nil); end
93
+ end
94
+ # Options for the standard registration.
95
+ sig {
96
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao::Standard))
97
+ }
98
+ attr_accessor :standard
59
99
  # Type of registration to be created in `country`.
60
100
  sig { returns(String) }
61
101
  attr_accessor :type
62
- sig { params(type: String).void }
63
- def initialize(type: nil); end
102
+ sig {
103
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao::Standard), type: String).void
104
+ }
105
+ def initialize(standard: nil, type: nil); end
64
106
  end
65
107
  class At < Stripe::RequestParams
66
108
  class Standard < Stripe::RequestParams
@@ -84,18 +126,46 @@ module Stripe
84
126
  def initialize(standard: nil, type: nil); end
85
127
  end
86
128
  class Au < Stripe::RequestParams
129
+ class Standard < Stripe::RequestParams
130
+ # Place of supply scheme used in an standard registration.
131
+ sig { returns(T.nilable(String)) }
132
+ attr_accessor :place_of_supply_scheme
133
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
134
+ def initialize(place_of_supply_scheme: nil); end
135
+ end
136
+ # Options for the standard registration.
137
+ sig {
138
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au::Standard))
139
+ }
140
+ attr_accessor :standard
87
141
  # Type of registration to be created in `country`.
88
142
  sig { returns(String) }
89
143
  attr_accessor :type
90
- sig { params(type: String).void }
91
- def initialize(type: nil); end
144
+ sig {
145
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au::Standard), type: String).void
146
+ }
147
+ def initialize(standard: nil, type: nil); end
92
148
  end
93
149
  class Aw < Stripe::RequestParams
150
+ class Standard < Stripe::RequestParams
151
+ # Place of supply scheme used in an standard registration.
152
+ sig { returns(T.nilable(String)) }
153
+ attr_accessor :place_of_supply_scheme
154
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
155
+ def initialize(place_of_supply_scheme: nil); end
156
+ end
157
+ # Options for the standard registration.
158
+ sig {
159
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Aw::Standard))
160
+ }
161
+ attr_accessor :standard
94
162
  # Type of registration to be created in `country`.
95
163
  sig { returns(String) }
96
164
  attr_accessor :type
97
- sig { params(type: String).void }
98
- def initialize(type: nil); end
165
+ sig {
166
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Aw::Standard), type: String).void
167
+ }
168
+ def initialize(standard: nil, type: nil); end
99
169
  end
100
170
  class Az < Stripe::RequestParams
101
171
  # Type of registration to be created in `country`.
@@ -105,25 +175,67 @@ module Stripe
105
175
  def initialize(type: nil); end
106
176
  end
107
177
  class Ba < Stripe::RequestParams
178
+ class Standard < Stripe::RequestParams
179
+ # Place of supply scheme used in an standard registration.
180
+ sig { returns(T.nilable(String)) }
181
+ attr_accessor :place_of_supply_scheme
182
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
183
+ def initialize(place_of_supply_scheme: nil); end
184
+ end
185
+ # Options for the standard registration.
186
+ sig {
187
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba::Standard))
188
+ }
189
+ attr_accessor :standard
108
190
  # Type of registration to be created in `country`.
109
191
  sig { returns(String) }
110
192
  attr_accessor :type
111
- sig { params(type: String).void }
112
- def initialize(type: nil); end
193
+ sig {
194
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba::Standard), type: String).void
195
+ }
196
+ def initialize(standard: nil, type: nil); end
113
197
  end
114
198
  class Bb < Stripe::RequestParams
199
+ class Standard < Stripe::RequestParams
200
+ # Place of supply scheme used in an standard registration.
201
+ sig { returns(T.nilable(String)) }
202
+ attr_accessor :place_of_supply_scheme
203
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
204
+ def initialize(place_of_supply_scheme: nil); end
205
+ end
206
+ # Options for the standard registration.
207
+ sig {
208
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb::Standard))
209
+ }
210
+ attr_accessor :standard
115
211
  # Type of registration to be created in `country`.
116
212
  sig { returns(String) }
117
213
  attr_accessor :type
118
- sig { params(type: String).void }
119
- def initialize(type: nil); end
214
+ sig {
215
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb::Standard), type: String).void
216
+ }
217
+ def initialize(standard: nil, type: nil); end
120
218
  end
121
219
  class Bd < Stripe::RequestParams
220
+ class Standard < Stripe::RequestParams
221
+ # Place of supply scheme used in an standard registration.
222
+ sig { returns(T.nilable(String)) }
223
+ attr_accessor :place_of_supply_scheme
224
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
225
+ def initialize(place_of_supply_scheme: nil); end
226
+ end
227
+ # Options for the standard registration.
228
+ sig {
229
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bd::Standard))
230
+ }
231
+ attr_accessor :standard
122
232
  # Type of registration to be created in `country`.
123
233
  sig { returns(String) }
124
234
  attr_accessor :type
125
- sig { params(type: String).void }
126
- def initialize(type: nil); end
235
+ sig {
236
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bd::Standard), type: String).void
237
+ }
238
+ def initialize(standard: nil, type: nil); end
127
239
  end
128
240
  class Be < Stripe::RequestParams
129
241
  class Standard < Stripe::RequestParams
@@ -147,11 +259,25 @@ module Stripe
147
259
  def initialize(standard: nil, type: nil); end
148
260
  end
149
261
  class Bf < Stripe::RequestParams
262
+ class Standard < Stripe::RequestParams
263
+ # Place of supply scheme used in an standard registration.
264
+ sig { returns(T.nilable(String)) }
265
+ attr_accessor :place_of_supply_scheme
266
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
267
+ def initialize(place_of_supply_scheme: nil); end
268
+ end
269
+ # Options for the standard registration.
270
+ sig {
271
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bf::Standard))
272
+ }
273
+ attr_accessor :standard
150
274
  # Type of registration to be created in `country`.
151
275
  sig { returns(String) }
152
276
  attr_accessor :type
153
- sig { params(type: String).void }
154
- def initialize(type: nil); end
277
+ sig {
278
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bf::Standard), type: String).void
279
+ }
280
+ def initialize(standard: nil, type: nil); end
155
281
  end
156
282
  class Bg < Stripe::RequestParams
157
283
  class Standard < Stripe::RequestParams
@@ -175,11 +301,25 @@ module Stripe
175
301
  def initialize(standard: nil, type: nil); end
176
302
  end
177
303
  class Bh < Stripe::RequestParams
304
+ class Standard < Stripe::RequestParams
305
+ # Place of supply scheme used in an standard registration.
306
+ sig { returns(T.nilable(String)) }
307
+ attr_accessor :place_of_supply_scheme
308
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
309
+ def initialize(place_of_supply_scheme: nil); end
310
+ end
311
+ # Options for the standard registration.
312
+ sig {
313
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh::Standard))
314
+ }
315
+ attr_accessor :standard
178
316
  # Type of registration to be created in `country`.
179
317
  sig { returns(String) }
180
318
  attr_accessor :type
181
- sig { params(type: String).void }
182
- def initialize(type: nil); end
319
+ sig {
320
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh::Standard), type: String).void
321
+ }
322
+ def initialize(standard: nil, type: nil); end
183
323
  end
184
324
  class Bj < Stripe::RequestParams
185
325
  # Type of registration to be created in `country`.
@@ -189,11 +329,25 @@ module Stripe
189
329
  def initialize(type: nil); end
190
330
  end
191
331
  class Bs < Stripe::RequestParams
332
+ class Standard < Stripe::RequestParams
333
+ # Place of supply scheme used in an standard registration.
334
+ sig { returns(T.nilable(String)) }
335
+ attr_accessor :place_of_supply_scheme
336
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
337
+ def initialize(place_of_supply_scheme: nil); end
338
+ end
339
+ # Options for the standard registration.
340
+ sig {
341
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs::Standard))
342
+ }
343
+ attr_accessor :standard
192
344
  # Type of registration to be created in `country`.
193
345
  sig { returns(String) }
194
346
  attr_accessor :type
195
- sig { params(type: String).void }
196
- def initialize(type: nil); end
347
+ sig {
348
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs::Standard), type: String).void
349
+ }
350
+ def initialize(standard: nil, type: nil); end
197
351
  end
198
352
  class By < Stripe::RequestParams
199
353
  # Type of registration to be created in `country`.
@@ -224,18 +378,46 @@ module Stripe
224
378
  def initialize(province_standard: nil, type: nil); end
225
379
  end
226
380
  class Cd < Stripe::RequestParams
381
+ class Standard < Stripe::RequestParams
382
+ # Place of supply scheme used in an standard registration.
383
+ sig { returns(T.nilable(String)) }
384
+ attr_accessor :place_of_supply_scheme
385
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
386
+ def initialize(place_of_supply_scheme: nil); end
387
+ end
388
+ # Options for the standard registration.
389
+ sig {
390
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd::Standard))
391
+ }
392
+ attr_accessor :standard
227
393
  # Type of registration to be created in `country`.
228
394
  sig { returns(String) }
229
395
  attr_accessor :type
230
- sig { params(type: String).void }
231
- def initialize(type: nil); end
396
+ sig {
397
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd::Standard), type: String).void
398
+ }
399
+ def initialize(standard: nil, type: nil); end
232
400
  end
233
401
  class Ch < Stripe::RequestParams
402
+ class Standard < Stripe::RequestParams
403
+ # Place of supply scheme used in an standard registration.
404
+ sig { returns(T.nilable(String)) }
405
+ attr_accessor :place_of_supply_scheme
406
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
407
+ def initialize(place_of_supply_scheme: nil); end
408
+ end
409
+ # Options for the standard registration.
410
+ sig {
411
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch::Standard))
412
+ }
413
+ attr_accessor :standard
234
414
  # Type of registration to be created in `country`.
235
415
  sig { returns(String) }
236
416
  attr_accessor :type
237
- sig { params(type: String).void }
238
- def initialize(type: nil); end
417
+ sig {
418
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch::Standard), type: String).void
419
+ }
420
+ def initialize(standard: nil, type: nil); end
239
421
  end
240
422
  class Cl < Stripe::RequestParams
241
423
  # Type of registration to be created in `country`.
@@ -413,11 +595,25 @@ module Stripe
413
595
  def initialize(standard: nil, type: nil); end
414
596
  end
415
597
  class Et < Stripe::RequestParams
598
+ class Standard < Stripe::RequestParams
599
+ # Place of supply scheme used in an standard registration.
600
+ sig { returns(T.nilable(String)) }
601
+ attr_accessor :place_of_supply_scheme
602
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
603
+ def initialize(place_of_supply_scheme: nil); end
604
+ end
605
+ # Options for the standard registration.
606
+ sig {
607
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Et::Standard))
608
+ }
609
+ attr_accessor :standard
416
610
  # Type of registration to be created in `country`.
417
611
  sig { returns(String) }
418
612
  attr_accessor :type
419
- sig { params(type: String).void }
420
- def initialize(type: nil); end
613
+ sig {
614
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Et::Standard), type: String).void
615
+ }
616
+ def initialize(standard: nil, type: nil); end
421
617
  end
422
618
  class Fi < Stripe::RequestParams
423
619
  class Standard < Stripe::RequestParams
@@ -462,11 +658,25 @@ module Stripe
462
658
  def initialize(standard: nil, type: nil); end
463
659
  end
464
660
  class Gb < Stripe::RequestParams
661
+ class Standard < Stripe::RequestParams
662
+ # Place of supply scheme used in an standard registration.
663
+ sig { returns(T.nilable(String)) }
664
+ attr_accessor :place_of_supply_scheme
665
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
666
+ def initialize(place_of_supply_scheme: nil); end
667
+ end
668
+ # Options for the standard registration.
669
+ sig {
670
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb::Standard))
671
+ }
672
+ attr_accessor :standard
465
673
  # Type of registration to be created in `country`.
466
674
  sig { returns(String) }
467
675
  attr_accessor :type
468
- sig { params(type: String).void }
469
- def initialize(type: nil); end
676
+ sig {
677
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb::Standard), type: String).void
678
+ }
679
+ def initialize(standard: nil, type: nil); end
470
680
  end
471
681
  class Ge < Stripe::RequestParams
472
682
  # Type of registration to be created in `country`.
@@ -476,11 +686,25 @@ module Stripe
476
686
  def initialize(type: nil); end
477
687
  end
478
688
  class Gn < Stripe::RequestParams
689
+ class Standard < Stripe::RequestParams
690
+ # Place of supply scheme used in an standard registration.
691
+ sig { returns(T.nilable(String)) }
692
+ attr_accessor :place_of_supply_scheme
693
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
694
+ def initialize(place_of_supply_scheme: nil); end
695
+ end
696
+ # Options for the standard registration.
697
+ sig {
698
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn::Standard))
699
+ }
700
+ attr_accessor :standard
479
701
  # Type of registration to be created in `country`.
480
702
  sig { returns(String) }
481
703
  attr_accessor :type
482
- sig { params(type: String).void }
483
- def initialize(type: nil); end
704
+ sig {
705
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn::Standard), type: String).void
706
+ }
707
+ def initialize(standard: nil, type: nil); end
484
708
  end
485
709
  class Gr < Stripe::RequestParams
486
710
  class Standard < Stripe::RequestParams
@@ -581,11 +805,25 @@ module Stripe
581
805
  def initialize(type: nil); end
582
806
  end
583
807
  class Is < Stripe::RequestParams
808
+ class Standard < Stripe::RequestParams
809
+ # Place of supply scheme used in an standard registration.
810
+ sig { returns(T.nilable(String)) }
811
+ attr_accessor :place_of_supply_scheme
812
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
813
+ def initialize(place_of_supply_scheme: nil); end
814
+ end
815
+ # Options for the standard registration.
816
+ sig {
817
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is::Standard))
818
+ }
819
+ attr_accessor :standard
584
820
  # Type of registration to be created in `country`.
585
821
  sig { returns(String) }
586
822
  attr_accessor :type
587
- sig { params(type: String).void }
588
- def initialize(type: nil); end
823
+ sig {
824
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is::Standard), type: String).void
825
+ }
826
+ def initialize(standard: nil, type: nil); end
589
827
  end
590
828
  class It < Stripe::RequestParams
591
829
  class Standard < Stripe::RequestParams
@@ -609,11 +847,25 @@ module Stripe
609
847
  def initialize(standard: nil, type: nil); end
610
848
  end
611
849
  class Jp < Stripe::RequestParams
850
+ class Standard < Stripe::RequestParams
851
+ # Place of supply scheme used in an standard registration.
852
+ sig { returns(T.nilable(String)) }
853
+ attr_accessor :place_of_supply_scheme
854
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
855
+ def initialize(place_of_supply_scheme: nil); end
856
+ end
857
+ # Options for the standard registration.
858
+ sig {
859
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp::Standard))
860
+ }
861
+ attr_accessor :standard
612
862
  # Type of registration to be created in `country`.
613
863
  sig { returns(String) }
614
864
  attr_accessor :type
615
- sig { params(type: String).void }
616
- def initialize(type: nil); end
865
+ sig {
866
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp::Standard), type: String).void
867
+ }
868
+ def initialize(standard: nil, type: nil); end
617
869
  end
618
870
  class Ke < Stripe::RequestParams
619
871
  # Type of registration to be created in `country`.
@@ -735,25 +987,67 @@ module Stripe
735
987
  def initialize(type: nil); end
736
988
  end
737
989
  class Me < Stripe::RequestParams
990
+ class Standard < Stripe::RequestParams
991
+ # Place of supply scheme used in an standard registration.
992
+ sig { returns(T.nilable(String)) }
993
+ attr_accessor :place_of_supply_scheme
994
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
995
+ def initialize(place_of_supply_scheme: nil); end
996
+ end
997
+ # Options for the standard registration.
998
+ sig {
999
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me::Standard))
1000
+ }
1001
+ attr_accessor :standard
738
1002
  # Type of registration to be created in `country`.
739
1003
  sig { returns(String) }
740
1004
  attr_accessor :type
741
- sig { params(type: String).void }
742
- def initialize(type: nil); end
1005
+ sig {
1006
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me::Standard), type: String).void
1007
+ }
1008
+ def initialize(standard: nil, type: nil); end
743
1009
  end
744
1010
  class Mk < Stripe::RequestParams
1011
+ class Standard < Stripe::RequestParams
1012
+ # Place of supply scheme used in an standard registration.
1013
+ sig { returns(T.nilable(String)) }
1014
+ attr_accessor :place_of_supply_scheme
1015
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1016
+ def initialize(place_of_supply_scheme: nil); end
1017
+ end
1018
+ # Options for the standard registration.
1019
+ sig {
1020
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk::Standard))
1021
+ }
1022
+ attr_accessor :standard
745
1023
  # Type of registration to be created in `country`.
746
1024
  sig { returns(String) }
747
1025
  attr_accessor :type
748
- sig { params(type: String).void }
749
- def initialize(type: nil); end
1026
+ sig {
1027
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk::Standard), type: String).void
1028
+ }
1029
+ def initialize(standard: nil, type: nil); end
750
1030
  end
751
1031
  class Mr < Stripe::RequestParams
1032
+ class Standard < Stripe::RequestParams
1033
+ # Place of supply scheme used in an standard registration.
1034
+ sig { returns(T.nilable(String)) }
1035
+ attr_accessor :place_of_supply_scheme
1036
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1037
+ def initialize(place_of_supply_scheme: nil); end
1038
+ end
1039
+ # Options for the standard registration.
1040
+ sig {
1041
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr::Standard))
1042
+ }
1043
+ attr_accessor :standard
752
1044
  # Type of registration to be created in `country`.
753
1045
  sig { returns(String) }
754
1046
  attr_accessor :type
755
- sig { params(type: String).void }
756
- def initialize(type: nil); end
1047
+ sig {
1048
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr::Standard), type: String).void
1049
+ }
1050
+ def initialize(standard: nil, type: nil); end
757
1051
  end
758
1052
  class Mt < Stripe::RequestParams
759
1053
  class Standard < Stripe::RequestParams
@@ -819,11 +1113,25 @@ module Stripe
819
1113
  def initialize(standard: nil, type: nil); end
820
1114
  end
821
1115
  class No < Stripe::RequestParams
1116
+ class Standard < Stripe::RequestParams
1117
+ # Place of supply scheme used in an standard registration.
1118
+ sig { returns(T.nilable(String)) }
1119
+ attr_accessor :place_of_supply_scheme
1120
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1121
+ def initialize(place_of_supply_scheme: nil); end
1122
+ end
1123
+ # Options for the standard registration.
1124
+ sig {
1125
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No::Standard))
1126
+ }
1127
+ attr_accessor :standard
822
1128
  # Type of registration to be created in `country`.
823
1129
  sig { returns(String) }
824
1130
  attr_accessor :type
825
- sig { params(type: String).void }
826
- def initialize(type: nil); end
1131
+ sig {
1132
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No::Standard), type: String).void
1133
+ }
1134
+ def initialize(standard: nil, type: nil); end
827
1135
  end
828
1136
  class Np < Stripe::RequestParams
829
1137
  # Type of registration to be created in `country`.
@@ -833,18 +1141,46 @@ module Stripe
833
1141
  def initialize(type: nil); end
834
1142
  end
835
1143
  class Nz < Stripe::RequestParams
1144
+ class Standard < Stripe::RequestParams
1145
+ # Place of supply scheme used in an standard registration.
1146
+ sig { returns(T.nilable(String)) }
1147
+ attr_accessor :place_of_supply_scheme
1148
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1149
+ def initialize(place_of_supply_scheme: nil); end
1150
+ end
1151
+ # Options for the standard registration.
1152
+ sig {
1153
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz::Standard))
1154
+ }
1155
+ attr_accessor :standard
836
1156
  # Type of registration to be created in `country`.
837
1157
  sig { returns(String) }
838
1158
  attr_accessor :type
839
- sig { params(type: String).void }
840
- def initialize(type: nil); end
1159
+ sig {
1160
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz::Standard), type: String).void
1161
+ }
1162
+ def initialize(standard: nil, type: nil); end
841
1163
  end
842
1164
  class Om < Stripe::RequestParams
1165
+ class Standard < Stripe::RequestParams
1166
+ # Place of supply scheme used in an standard registration.
1167
+ sig { returns(T.nilable(String)) }
1168
+ attr_accessor :place_of_supply_scheme
1169
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1170
+ def initialize(place_of_supply_scheme: nil); end
1171
+ end
1172
+ # Options for the standard registration.
1173
+ sig {
1174
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om::Standard))
1175
+ }
1176
+ attr_accessor :standard
843
1177
  # Type of registration to be created in `country`.
844
1178
  sig { returns(String) }
845
1179
  attr_accessor :type
846
- sig { params(type: String).void }
847
- def initialize(type: nil); end
1180
+ sig {
1181
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om::Standard), type: String).void
1182
+ }
1183
+ def initialize(standard: nil, type: nil); end
848
1184
  end
849
1185
  class Pe < Stripe::RequestParams
850
1186
  # Type of registration to be created in `country`.
@@ -924,11 +1260,25 @@ module Stripe
924
1260
  def initialize(standard: nil, type: nil); end
925
1261
  end
926
1262
  class Rs < Stripe::RequestParams
1263
+ class Standard < Stripe::RequestParams
1264
+ # Place of supply scheme used in an standard registration.
1265
+ sig { returns(T.nilable(String)) }
1266
+ attr_accessor :place_of_supply_scheme
1267
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1268
+ def initialize(place_of_supply_scheme: nil); end
1269
+ end
1270
+ # Options for the standard registration.
1271
+ sig {
1272
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs::Standard))
1273
+ }
1274
+ attr_accessor :standard
927
1275
  # Type of registration to be created in `country`.
928
1276
  sig { returns(String) }
929
1277
  attr_accessor :type
930
- sig { params(type: String).void }
931
- def initialize(type: nil); end
1278
+ sig {
1279
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs::Standard), type: String).void
1280
+ }
1281
+ def initialize(standard: nil, type: nil); end
932
1282
  end
933
1283
  class Ru < Stripe::RequestParams
934
1284
  # Type of registration to be created in `country`.
@@ -966,11 +1316,25 @@ module Stripe
966
1316
  def initialize(standard: nil, type: nil); end
967
1317
  end
968
1318
  class Sg < Stripe::RequestParams
1319
+ class Standard < Stripe::RequestParams
1320
+ # Place of supply scheme used in an standard registration.
1321
+ sig { returns(T.nilable(String)) }
1322
+ attr_accessor :place_of_supply_scheme
1323
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1324
+ def initialize(place_of_supply_scheme: nil); end
1325
+ end
1326
+ # Options for the standard registration.
1327
+ sig {
1328
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg::Standard))
1329
+ }
1330
+ attr_accessor :standard
969
1331
  # Type of registration to be created in `country`.
970
1332
  sig { returns(String) }
971
1333
  attr_accessor :type
972
- sig { params(type: String).void }
973
- def initialize(type: nil); end
1334
+ sig {
1335
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg::Standard), type: String).void
1336
+ }
1337
+ def initialize(standard: nil, type: nil); end
974
1338
  end
975
1339
  class Si < Stripe::RequestParams
976
1340
  class Standard < Stripe::RequestParams
@@ -1022,11 +1386,25 @@ module Stripe
1022
1386
  def initialize(type: nil); end
1023
1387
  end
1024
1388
  class Sr < Stripe::RequestParams
1389
+ class Standard < Stripe::RequestParams
1390
+ # Place of supply scheme used in an standard registration.
1391
+ sig { returns(T.nilable(String)) }
1392
+ attr_accessor :place_of_supply_scheme
1393
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1394
+ def initialize(place_of_supply_scheme: nil); end
1395
+ end
1396
+ # Options for the standard registration.
1397
+ sig {
1398
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr::Standard))
1399
+ }
1400
+ attr_accessor :standard
1025
1401
  # Type of registration to be created in `country`.
1026
1402
  sig { returns(String) }
1027
1403
  attr_accessor :type
1028
- sig { params(type: String).void }
1029
- def initialize(type: nil); end
1404
+ sig {
1405
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr::Standard), type: String).void
1406
+ }
1407
+ def initialize(standard: nil, type: nil); end
1030
1408
  end
1031
1409
  class Th < Stripe::RequestParams
1032
1410
  # Type of registration to be created in `country`.
@@ -1139,11 +1517,25 @@ module Stripe
1139
1517
  ); end
1140
1518
  end
1141
1519
  class Uy < Stripe::RequestParams
1520
+ class Standard < Stripe::RequestParams
1521
+ # Place of supply scheme used in an standard registration.
1522
+ sig { returns(T.nilable(String)) }
1523
+ attr_accessor :place_of_supply_scheme
1524
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1525
+ def initialize(place_of_supply_scheme: nil); end
1526
+ end
1527
+ # Options for the standard registration.
1528
+ sig {
1529
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy::Standard))
1530
+ }
1531
+ attr_accessor :standard
1142
1532
  # Type of registration to be created in `country`.
1143
1533
  sig { returns(String) }
1144
1534
  attr_accessor :type
1145
- sig { params(type: String).void }
1146
- def initialize(type: nil); end
1535
+ sig {
1536
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy::Standard), type: String).void
1537
+ }
1538
+ def initialize(standard: nil, type: nil); end
1147
1539
  end
1148
1540
  class Uz < Stripe::RequestParams
1149
1541
  # Type of registration to be created in `country`.
@@ -1160,11 +1552,25 @@ module Stripe
1160
1552
  def initialize(type: nil); end
1161
1553
  end
1162
1554
  class Za < Stripe::RequestParams
1555
+ class Standard < Stripe::RequestParams
1556
+ # Place of supply scheme used in an standard registration.
1557
+ sig { returns(T.nilable(String)) }
1558
+ attr_accessor :place_of_supply_scheme
1559
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1560
+ def initialize(place_of_supply_scheme: nil); end
1561
+ end
1562
+ # Options for the standard registration.
1563
+ sig {
1564
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za::Standard))
1565
+ }
1566
+ attr_accessor :standard
1163
1567
  # Type of registration to be created in `country`.
1164
1568
  sig { returns(String) }
1165
1569
  attr_accessor :type
1166
- sig { params(type: String).void }
1167
- def initialize(type: nil); end
1570
+ sig {
1571
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za::Standard), type: String).void
1572
+ }
1573
+ def initialize(standard: nil, type: nil); end
1168
1574
  end
1169
1575
  class Zm < Stripe::RequestParams
1170
1576
  # Type of registration to be created in `country`.
@@ -1174,11 +1580,25 @@ module Stripe
1174
1580
  def initialize(type: nil); end
1175
1581
  end
1176
1582
  class Zw < Stripe::RequestParams
1583
+ class Standard < Stripe::RequestParams
1584
+ # Place of supply scheme used in an standard registration.
1585
+ sig { returns(T.nilable(String)) }
1586
+ attr_accessor :place_of_supply_scheme
1587
+ sig { params(place_of_supply_scheme: T.nilable(String)).void }
1588
+ def initialize(place_of_supply_scheme: nil); end
1589
+ end
1590
+ # Options for the standard registration.
1591
+ sig {
1592
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw::Standard))
1593
+ }
1594
+ attr_accessor :standard
1177
1595
  # Type of registration to be created in `country`.
1178
1596
  sig { returns(String) }
1179
1597
  attr_accessor :type
1180
- sig { params(type: String).void }
1181
- def initialize(type: nil); end
1598
+ sig {
1599
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw::Standard), type: String).void
1600
+ }
1601
+ def initialize(standard: nil, type: nil); end
1182
1602
  end
1183
1603
  # Options for the registration in AE.
1184
1604
  sig {