stripe 15.1.0.pre.beta.2 → 15.1.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 (597) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +696 -1554
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +6 -0
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +0 -28
  7. data/lib/stripe/api_version.rb +1 -1
  8. data/lib/stripe/errors.rb +0 -54
  9. data/lib/stripe/event_types.rb +1 -75
  10. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
  11. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
  12. data/lib/stripe/events/{v2_core_account_including_identity_updated_event.rb → v2_core_event_destination_ping_event.rb} +3 -3
  13. data/lib/stripe/object_types.rb +0 -53
  14. data/lib/stripe/resources/account.rb +3 -655
  15. data/lib/stripe/resources/account_session.rb +1 -299
  16. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  17. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  18. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  19. data/lib/stripe/resources/billing_portal/session.rb +0 -6
  20. data/lib/stripe/resources/card.rb +0 -2
  21. data/lib/stripe/resources/cash_balance.rb +0 -2
  22. data/lib/stripe/resources/charge.rb +0 -1470
  23. data/lib/stripe/resources/checkout/session.rb +3 -327
  24. data/lib/stripe/resources/confirmation_token.rb +3 -177
  25. data/lib/stripe/resources/coupon.rb +1 -30
  26. data/lib/stripe/resources/credit_note.rb +0 -10
  27. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  28. data/lib/stripe/resources/customer.rb +2 -4
  29. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  30. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  31. data/lib/stripe/resources/customer_session.rb +1 -6
  32. data/lib/stripe/resources/discount.rb +0 -2
  33. data/lib/stripe/resources/event.rb +0 -31
  34. data/lib/stripe/resources/financial_connections/account.rb +1 -20
  35. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  36. data/lib/stripe/resources/identity/verification_session.rb +0 -10
  37. data/lib/stripe/resources/invoice.rb +17 -1123
  38. data/lib/stripe/resources/invoice_item.rb +2 -78
  39. data/lib/stripe/resources/invoice_line_item.rb +1 -55
  40. data/lib/stripe/resources/invoice_payment.rb +53 -2
  41. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  42. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  43. data/lib/stripe/resources/line_item.rb +0 -37
  44. data/lib/stripe/resources/mandate.rb +0 -24
  45. data/lib/stripe/resources/payment_intent.rb +331 -5153
  46. data/lib/stripe/resources/payment_method.rb +1 -196
  47. data/lib/stripe/resources/payment_method_configuration.rb +0 -295
  48. data/lib/stripe/resources/payout.rb +0 -6
  49. data/lib/stripe/resources/price.rb +0 -30
  50. data/lib/stripe/resources/product.rb +0 -59
  51. data/lib/stripe/resources/promotion_code.rb +0 -10
  52. data/lib/stripe/resources/quote.rb +6 -2040
  53. data/lib/stripe/resources/refund.rb +0 -9
  54. data/lib/stripe/resources/setup_attempt.rb +0 -21
  55. data/lib/stripe/resources/setup_intent.rb +9 -596
  56. data/lib/stripe/resources/source.rb +0 -29
  57. data/lib/stripe/resources/subscription.rb +11 -294
  58. data/lib/stripe/resources/subscription_item.rb +3 -84
  59. data/lib/stripe/resources/subscription_schedule.rb +10 -1007
  60. data/lib/stripe/resources/tax/calculation.rb +2 -2
  61. data/lib/stripe/resources/tax/registration.rb +60 -0
  62. data/lib/stripe/resources/tax/transaction.rb +1 -1
  63. data/lib/stripe/resources/tax_id.rb +4 -14
  64. data/lib/stripe/resources/terminal/reader.rb +0 -406
  65. data/lib/stripe/resources/transfer.rb +0 -6
  66. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  67. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  68. data/lib/stripe/resources/treasury/outbound_payment.rb +1 -4
  69. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  70. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  71. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  72. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
  73. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
  74. data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
  75. data/lib/stripe/resources/v2/event.rb +2 -2
  76. data/lib/stripe/resources/v2/event_destination.rb +2 -2
  77. data/lib/stripe/resources.rb +1 -90
  78. data/lib/stripe/services/account_external_account_service.rb +1 -1
  79. data/lib/stripe/services/account_service.rb +3 -564
  80. data/lib/stripe/services/account_session_service.rb +1 -269
  81. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  82. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  83. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  84. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  85. data/lib/stripe/services/charge_service.rb +0 -1350
  86. data/lib/stripe/services/checkout/session_service.rb +2 -243
  87. data/lib/stripe/services/coupon_service.rb +1 -17
  88. data/lib/stripe/services/credit_note_service.rb +0 -4
  89. data/lib/stripe/services/customer_payment_method_service.rb +1 -1
  90. data/lib/stripe/services/customer_service.rb +1 -1
  91. data/lib/stripe/services/customer_session_service.rb +1 -4
  92. data/lib/stripe/services/customer_tax_id_service.rb +1 -1
  93. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  94. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  95. data/lib/stripe/services/financial_connections_service.rb +1 -2
  96. data/lib/stripe/services/identity/verification_session_service.rb +0 -8
  97. data/lib/stripe/services/invoice_item_service.rb +2 -74
  98. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  99. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  100. data/lib/stripe/services/invoice_service.rb +16 -1052
  101. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  102. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  103. data/lib/stripe/services/issuing_service.rb +1 -5
  104. data/lib/stripe/services/payment_intent_service.rb +283 -4656
  105. data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
  106. data/lib/stripe/services/payment_method_service.rb +1 -126
  107. data/lib/stripe/services/payout_service.rb +0 -4
  108. data/lib/stripe/services/price_service.rb +0 -19
  109. data/lib/stripe/services/product_service.rb +0 -38
  110. data/lib/stripe/services/promotion_code_service.rb +0 -8
  111. data/lib/stripe/services/quote_service.rb +7 -1726
  112. data/lib/stripe/services/setup_intent_service.rb +9 -556
  113. data/lib/stripe/services/subscription_item_service.rb +3 -75
  114. data/lib/stripe/services/subscription_schedule_service.rb +10 -911
  115. data/lib/stripe/services/subscription_service.rb +10 -254
  116. data/lib/stripe/services/tax/calculation_service.rb +1 -1
  117. data/lib/stripe/services/tax/registration_service.rb +39 -0
  118. data/lib/stripe/services/tax_id_service.rb +3 -9
  119. data/lib/stripe/services/tax_service.rb +1 -3
  120. data/lib/stripe/services/terminal/reader_service.rb +0 -180
  121. data/lib/stripe/services/terminal_service.rb +1 -2
  122. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +3 -106
  123. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
  124. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  125. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  126. data/lib/stripe/services/transfer_service.rb +0 -4
  127. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  128. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  129. data/lib/stripe/services/treasury/outbound_payment_service.rb +1 -4
  130. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  131. data/lib/stripe/services/v1_services.rb +2 -12
  132. data/lib/stripe/services/v2/core_service.rb +1 -4
  133. data/lib/stripe/services/v2_services.rb +2 -4
  134. data/lib/stripe/services.rb +1 -54
  135. data/lib/stripe/stripe_configuration.rb +1 -3
  136. data/lib/stripe/stripe_object.rb +1 -1
  137. data/lib/stripe/util.rb +1 -7
  138. data/lib/stripe/version.rb +1 -1
  139. data/lib/stripe.rb +0 -53
  140. data/rbi/stripe/resources/account.rbi +4903 -0
  141. data/rbi/stripe/resources/account_link.rbi +74 -0
  142. data/rbi/stripe/resources/account_session.rbi +894 -0
  143. data/rbi/stripe/resources/apple_pay_domain.rbi +90 -0
  144. data/rbi/stripe/resources/application.rbi +20 -0
  145. data/rbi/stripe/resources/application_fee.rbi +118 -0
  146. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  147. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  148. data/rbi/stripe/resources/balance.rbi +180 -0
  149. data/rbi/stripe/resources/balance_transaction.rbi +144 -0
  150. data/rbi/stripe/resources/bank_account.rbi +127 -0
  151. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  152. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  153. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  154. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  155. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  156. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  157. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  158. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  159. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  160. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  161. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  162. data/rbi/stripe/resources/capability.rbi +125 -0
  163. data/rbi/stripe/resources/card.rbi +125 -0
  164. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  165. data/rbi/stripe/resources/charge.rbi +2057 -0
  166. data/rbi/stripe/resources/checkout/session.rbi +3988 -0
  167. data/rbi/stripe/resources/climate/order.rbi +245 -0
  168. data/rbi/stripe/resources/climate/product.rbi +75 -0
  169. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  170. data/rbi/stripe/resources/confirmation_token.rbi +1873 -0
  171. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  172. data/rbi/stripe/resources/country_spec.rbi +85 -0
  173. data/rbi/stripe/resources/coupon.rbi +252 -0
  174. data/rbi/stripe/resources/credit_note.rbi +747 -0
  175. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  176. data/rbi/stripe/resources/customer.rbi +1009 -0
  177. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  178. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  179. data/rbi/stripe/resources/customer_session.rbi +200 -0
  180. data/rbi/stripe/resources/discount.rbi +53 -0
  181. data/rbi/stripe/resources/dispute.rbi +761 -0
  182. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  183. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  184. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  185. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  186. data/rbi/stripe/resources/event.rbi +149 -0
  187. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  188. data/rbi/stripe/resources/file.rbi +143 -0
  189. data/rbi/stripe/resources/file_link.rbi +141 -0
  190. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  191. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  192. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  193. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  194. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  195. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  196. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  197. data/rbi/stripe/resources/identity/verification_report.rbi +351 -0
  198. data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
  199. data/rbi/stripe/resources/invoice.rbi +3736 -0
  200. data/rbi/stripe/resources/invoice_item.rbi +475 -0
  201. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  202. data/rbi/stripe/resources/invoice_payment.rbi +114 -0
  203. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  204. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  205. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  206. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  207. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  208. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  209. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  210. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  211. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  212. data/rbi/stripe/resources/line_item.rbi +72 -0
  213. data/rbi/stripe/resources/login_link.rbi +19 -0
  214. data/rbi/stripe/resources/mandate.rbi +187 -0
  215. data/rbi/stripe/resources/payment_intent.rbi +9795 -0
  216. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  217. data/rbi/stripe/resources/payment_method.rbi +1831 -0
  218. data/rbi/stripe/resources/payment_method_configuration.rbi +3220 -0
  219. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  220. data/rbi/stripe/resources/payout.rbi +300 -0
  221. data/rbi/stripe/resources/person.rbi +401 -0
  222. data/rbi/stripe/resources/plan.rbi +373 -0
  223. data/rbi/stripe/resources/price.rbi +694 -0
  224. data/rbi/stripe/resources/product.rbi +557 -0
  225. data/rbi/stripe/resources/product_feature.rbi +26 -0
  226. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  227. data/rbi/stripe/resources/quote.rbi +1126 -0
  228. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  229. data/rbi/stripe/resources/radar/value_list.rbi +170 -0
  230. data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
  231. data/rbi/stripe/resources/refund.rbi +519 -0
  232. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  233. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  234. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  235. data/rbi/stripe/resources/reversal.rbi +51 -0
  236. data/rbi/stripe/resources/review.rbi +154 -0
  237. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  238. data/rbi/stripe/resources/setup_intent.rbi +3869 -0
  239. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  240. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  241. data/rbi/stripe/resources/source.rbi +1496 -0
  242. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  243. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  244. data/rbi/stripe/resources/subscription.rbi +1964 -0
  245. data/rbi/stripe/resources/subscription_item.rbi +370 -0
  246. data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
  247. data/rbi/stripe/resources/tax/calculation.rbi +474 -0
  248. data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
  249. data/rbi/stripe/resources/tax/registration.rbi +2713 -0
  250. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  251. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  252. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  253. data/rbi/stripe/resources/tax_code.rbi +44 -0
  254. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  255. data/rbi/stripe/resources/tax_id.rbi +167 -0
  256. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  257. data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
  258. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  259. data/rbi/stripe/resources/terminal/location.rbi +224 -0
  260. data/rbi/stripe/resources/terminal/reader.rbi +587 -0
  261. data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
  262. data/rbi/stripe/resources/token.rbi +1283 -0
  263. data/rbi/stripe/resources/topup.rbi +222 -0
  264. data/rbi/stripe/resources/transfer.rbi +199 -0
  265. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  266. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  267. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  268. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  269. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  270. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  271. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  272. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  273. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  274. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  275. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  276. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  277. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  278. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  279. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  280. data/rbi/stripe/resources/v2/event.rbi +48 -0
  281. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  282. data/rbi/stripe/resources/webhook_endpoint.rbi +170 -0
  283. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  284. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -136
  285. data/rbi/stripe/services/account_link_service.rbi +58 -0
  286. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  287. data/rbi/stripe/services/account_person_service.rbi +1013 -0
  288. data/rbi/stripe/services/account_service.rbi +4189 -0
  289. data/rbi/stripe/services/account_session_service.rbi +572 -0
  290. data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
  291. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  292. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  293. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  294. data/rbi/stripe/services/apps_service.rbi +9 -0
  295. data/rbi/stripe/services/balance_service.rbi +21 -0
  296. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  297. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  298. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  299. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  300. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  301. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  302. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  303. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  304. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  305. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  306. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  307. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  308. data/rbi/stripe/services/billing_service.rbi +15 -0
  309. data/rbi/stripe/services/charge_service.rbi +448 -0
  310. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  311. data/rbi/stripe/services/checkout/session_service.rbi +2607 -0
  312. data/rbi/stripe/services/checkout_service.rbi +9 -0
  313. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  314. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/product_service.rbi} +25 -36
  315. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  316. data/rbi/stripe/services/climate_service.rbi +11 -0
  317. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  318. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  319. data/rbi/stripe/services/coupon_service.rbi +196 -0
  320. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  321. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  322. data/rbi/stripe/services/credit_note_service.rbi +416 -0
  323. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  324. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  325. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  326. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  327. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  328. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  329. data/rbi/stripe/services/customer_service.rbi +651 -0
  330. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  331. data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
  332. data/rbi/stripe/services/dispute_service.rbi +424 -0
  333. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  334. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  335. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  336. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  337. data/rbi/stripe/services/event_service.rbi +83 -0
  338. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  339. data/rbi/stripe/services/file_link_service.rbi +124 -0
  340. data/rbi/stripe/services/file_service.rbi +116 -0
  341. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  342. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  343. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  344. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  345. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  346. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  347. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  348. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  349. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  350. data/rbi/stripe/services/identity_service.rbi +10 -0
  351. data/rbi/stripe/services/invoice_item_service.rbi +368 -0
  352. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  353. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  354. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  355. data/rbi/stripe/services/invoice_service.rbi +2920 -0
  356. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  357. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  358. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  359. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  360. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  361. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  362. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  363. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  364. data/rbi/stripe/services/issuing_service.rbi +16 -0
  365. data/rbi/stripe/services/mandate_service.rbi +20 -0
  366. data/rbi/stripe/services/payment_intent_service.rbi +7819 -0
  367. data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  368. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  369. data/rbi/stripe/services/payment_method_configuration_service.rbi +2255 -0
  370. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  371. data/rbi/stripe/services/payment_method_service.rbi +846 -0
  372. data/rbi/stripe/services/payout_service.rbi +205 -0
  373. data/rbi/stripe/services/plan_service.rbi +284 -0
  374. data/rbi/stripe/services/price_service.rbi +546 -0
  375. data/rbi/stripe/services/product_feature_service.rbi +69 -0
  376. data/rbi/stripe/services/product_service.rbi +479 -0
  377. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  378. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  379. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  380. data/rbi/stripe/services/quote_service.rbi +686 -0
  381. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  382. data/rbi/stripe/services/radar/value_list_item_service.rbi +111 -0
  383. data/rbi/stripe/services/radar/value_list_service.rbi +143 -0
  384. data/rbi/stripe/services/radar_service.rbi +11 -0
  385. data/rbi/stripe/services/refund_service.rbi +185 -0
  386. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  387. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  388. data/rbi/stripe/services/reporting_service.rbi +10 -0
  389. data/rbi/stripe/services/review_service.rbi +84 -0
  390. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  391. data/rbi/stripe/services/setup_intent_service.rbi +3605 -0
  392. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  393. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  394. data/rbi/stripe/services/sigma_service.rbi +9 -0
  395. data/rbi/stripe/services/source_service.rbi +663 -0
  396. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  397. data/rbi/stripe/services/subscription_item_service.rbi +324 -0
  398. data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
  399. data/rbi/stripe/services/subscription_service.rbi +1596 -0
  400. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
  401. data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
  402. data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
  403. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  404. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  405. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  406. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  407. data/rbi/stripe/services/tax_id_service.rbi +112 -0
  408. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  409. data/rbi/stripe/services/tax_service.rbi +12 -0
  410. data/rbi/stripe/services/terminal/configuration_service.rbi +1120 -0
  411. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  412. data/rbi/stripe/services/terminal/location_service.rbi +184 -0
  413. data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
  414. data/rbi/stripe/services/terminal_service.rbi +12 -0
  415. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +805 -0
  416. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  417. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  418. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  419. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  420. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  421. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  422. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  423. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
  424. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  425. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -0
  426. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  427. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  428. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  429. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  430. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  431. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  432. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  433. data/rbi/stripe/services/token_service.rbi +1257 -0
  434. data/rbi/stripe/services/topup_service.rbi +176 -0
  435. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  436. data/rbi/stripe/services/transfer_service.rbi +152 -0
  437. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  438. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  439. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  440. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  441. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  442. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  443. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  444. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  445. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  446. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  447. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  448. data/rbi/stripe/services/treasury_service.rbi +18 -0
  449. data/rbi/stripe/services/v1_services.rbi +77 -0
  450. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  451. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  452. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
  453. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  454. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  455. data/rbi/stripe/services/v2/core/event_destination_service.rbi +200 -0
  456. data/rbi/stripe/services/v2/core/event_service.rbi +38 -0
  457. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  458. data/rbi/stripe/services/v2_services.rbi +10 -0
  459. data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
  460. data/stripe.gemspec +1 -4
  461. metadata +326 -149
  462. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  463. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  464. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  465. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  466. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  467. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  468. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  469. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  470. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  471. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  472. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  473. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  474. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  475. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  476. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  477. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  478. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  479. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  480. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  481. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  482. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  483. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  484. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  485. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  486. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  487. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  488. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  489. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  490. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  491. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  492. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  493. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  494. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  495. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  496. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  497. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  498. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  499. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  500. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  501. data/lib/stripe/resources/account_notice.rb +0 -123
  502. data/lib/stripe/resources/balance_settings.rb +0 -105
  503. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  504. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  505. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  506. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  507. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  508. data/lib/stripe/resources/financial_connections/institution.rb +0 -90
  509. data/lib/stripe/resources/fx_quote.rb +0 -184
  510. data/lib/stripe/resources/gift_cards/card.rb +0 -208
  511. data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
  512. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  513. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  514. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  515. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  516. data/lib/stripe/resources/margin.rb +0 -115
  517. data/lib/stripe/resources/order.rb +0 -2859
  518. data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
  519. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
  520. data/lib/stripe/resources/payment_record.rb +0 -1607
  521. data/lib/stripe/resources/privacy/redaction_job.rb +0 -254
  522. data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +0 -35
  523. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
  524. data/lib/stripe/resources/quote_line.rb +0 -274
  525. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  526. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -337
  527. data/lib/stripe/resources/tax/association.rb +0 -89
  528. data/lib/stripe/resources/tax/form.rb +0 -211
  529. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  530. data/lib/stripe/resources/v2/core/account.rb +0 -1715
  531. data/lib/stripe/resources/v2/core/account_link.rb +0 -54
  532. data/lib/stripe/resources/v2/core/person.rb +0 -272
  533. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -72
  534. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -37
  535. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -18
  536. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -20
  537. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -49
  538. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -56
  539. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -66
  540. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -92
  541. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -127
  542. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -74
  543. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -43
  544. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -115
  545. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -73
  546. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -47
  547. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -134
  548. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -106
  549. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -76
  550. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -66
  551. data/lib/stripe/services/account_notice_service.rb +0 -101
  552. data/lib/stripe/services/balance_settings_service.rb +0 -96
  553. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  554. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  555. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  556. data/lib/stripe/services/capital_service.rb +0 -15
  557. data/lib/stripe/services/fx_quote_service.rb +0 -123
  558. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  559. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  560. data/lib/stripe/services/gift_cards_service.rb +0 -14
  561. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  562. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  563. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  564. data/lib/stripe/services/margin_service.rb +0 -119
  565. data/lib/stripe/services/order_service.rb +0 -2268
  566. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  567. data/lib/stripe/services/payment_record_service.rb +0 -542
  568. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
  569. data/lib/stripe/services/privacy_service.rb +0 -13
  570. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  571. data/lib/stripe/services/tax/association_service.rb +0 -31
  572. data/lib/stripe/services/tax/form_service.rb +0 -100
  573. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  574. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  575. data/lib/stripe/services/v2/core/account_service.rb +0 -4130
  576. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1040
  577. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
  578. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
  579. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  580. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
  581. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
  582. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  583. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
  584. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -80
  585. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
  586. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
  587. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
  588. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
  589. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  590. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
  591. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
  592. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
  593. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
  594. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  595. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  596. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
  597. data/rbi/stripe.rbi +0 -191592
@@ -0,0 +1,1845 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ # typed: true
5
+ module Stripe
6
+ module Tax
7
+ class RegistrationService < StripeService
8
+ class ListParams < Stripe::RequestParams
9
+ # 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.
10
+ sig { returns(T.nilable(String)) }
11
+ attr_accessor :ending_before
12
+ # Specifies which fields in the response should be expanded.
13
+ sig { returns(T.nilable(T::Array[String])) }
14
+ attr_accessor :expand
15
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
16
+ sig { returns(T.nilable(Integer)) }
17
+ attr_accessor :limit
18
+ # 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.
19
+ sig { returns(T.nilable(String)) }
20
+ attr_accessor :starting_after
21
+ # The status of the Tax Registration.
22
+ sig { returns(T.nilable(String)) }
23
+ attr_accessor :status
24
+ sig {
25
+ params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), status: T.nilable(String)).void
26
+ }
27
+ def initialize(
28
+ ending_before: nil,
29
+ expand: nil,
30
+ limit: nil,
31
+ starting_after: nil,
32
+ status: nil
33
+ ); end
34
+ end
35
+ class CreateParams < Stripe::RequestParams
36
+ class CountryOptions < Stripe::RequestParams
37
+ class Ae < Stripe::RequestParams
38
+ # Type of registration to be created in `country`.
39
+ sig { returns(String) }
40
+ attr_accessor :type
41
+ sig { params(type: String).void }
42
+ def initialize(type: nil); end
43
+ end
44
+ class Al < Stripe::RequestParams
45
+ # Type of registration to be created in `country`.
46
+ sig { returns(String) }
47
+ attr_accessor :type
48
+ sig { params(type: String).void }
49
+ def initialize(type: nil); end
50
+ end
51
+ class Am < Stripe::RequestParams
52
+ # Type of registration to be created in `country`.
53
+ sig { returns(String) }
54
+ attr_accessor :type
55
+ sig { params(type: String).void }
56
+ def initialize(type: nil); end
57
+ end
58
+ class Ao < Stripe::RequestParams
59
+ # Type of registration to be created in `country`.
60
+ sig { returns(String) }
61
+ attr_accessor :type
62
+ sig { params(type: String).void }
63
+ def initialize(type: nil); end
64
+ end
65
+ class At < Stripe::RequestParams
66
+ class Standard < Stripe::RequestParams
67
+ # Place of supply scheme used in an EU standard registration.
68
+ sig { returns(String) }
69
+ attr_accessor :place_of_supply_scheme
70
+ sig { params(place_of_supply_scheme: String).void }
71
+ def initialize(place_of_supply_scheme: nil); end
72
+ end
73
+ # Options for the standard registration.
74
+ sig {
75
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At::Standard))
76
+ }
77
+ attr_accessor :standard
78
+ # Type of registration to be created in an EU country.
79
+ sig { returns(String) }
80
+ attr_accessor :type
81
+ sig {
82
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At::Standard), type: String).void
83
+ }
84
+ def initialize(standard: nil, type: nil); end
85
+ end
86
+ class Au < Stripe::RequestParams
87
+ # Type of registration to be created in `country`.
88
+ sig { returns(String) }
89
+ attr_accessor :type
90
+ sig { params(type: String).void }
91
+ def initialize(type: nil); end
92
+ end
93
+ class Aw < Stripe::RequestParams
94
+ # Type of registration to be created in `country`.
95
+ sig { returns(String) }
96
+ attr_accessor :type
97
+ sig { params(type: String).void }
98
+ def initialize(type: nil); end
99
+ end
100
+ class Az < Stripe::RequestParams
101
+ # Type of registration to be created in `country`.
102
+ sig { returns(String) }
103
+ attr_accessor :type
104
+ sig { params(type: String).void }
105
+ def initialize(type: nil); end
106
+ end
107
+ class Ba < Stripe::RequestParams
108
+ # Type of registration to be created in `country`.
109
+ sig { returns(String) }
110
+ attr_accessor :type
111
+ sig { params(type: String).void }
112
+ def initialize(type: nil); end
113
+ end
114
+ class Bb < Stripe::RequestParams
115
+ # Type of registration to be created in `country`.
116
+ sig { returns(String) }
117
+ attr_accessor :type
118
+ sig { params(type: String).void }
119
+ def initialize(type: nil); end
120
+ end
121
+ class Bd < Stripe::RequestParams
122
+ # Type of registration to be created in `country`.
123
+ sig { returns(String) }
124
+ attr_accessor :type
125
+ sig { params(type: String).void }
126
+ def initialize(type: nil); end
127
+ end
128
+ class Be < Stripe::RequestParams
129
+ class Standard < Stripe::RequestParams
130
+ # Place of supply scheme used in an EU standard registration.
131
+ sig { returns(String) }
132
+ attr_accessor :place_of_supply_scheme
133
+ sig { params(place_of_supply_scheme: 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::Be::Standard))
139
+ }
140
+ attr_accessor :standard
141
+ # Type of registration to be created in an EU country.
142
+ sig { returns(String) }
143
+ attr_accessor :type
144
+ sig {
145
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be::Standard), type: String).void
146
+ }
147
+ def initialize(standard: nil, type: nil); end
148
+ end
149
+ class Bf < Stripe::RequestParams
150
+ # Type of registration to be created in `country`.
151
+ sig { returns(String) }
152
+ attr_accessor :type
153
+ sig { params(type: String).void }
154
+ def initialize(type: nil); end
155
+ end
156
+ class Bg < Stripe::RequestParams
157
+ class Standard < Stripe::RequestParams
158
+ # Place of supply scheme used in an EU standard registration.
159
+ sig { returns(String) }
160
+ attr_accessor :place_of_supply_scheme
161
+ sig { params(place_of_supply_scheme: String).void }
162
+ def initialize(place_of_supply_scheme: nil); end
163
+ end
164
+ # Options for the standard registration.
165
+ sig {
166
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg::Standard))
167
+ }
168
+ attr_accessor :standard
169
+ # Type of registration to be created in an EU country.
170
+ sig { returns(String) }
171
+ attr_accessor :type
172
+ sig {
173
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg::Standard), type: String).void
174
+ }
175
+ def initialize(standard: nil, type: nil); end
176
+ end
177
+ class Bh < Stripe::RequestParams
178
+ # Type of registration to be created in `country`.
179
+ sig { returns(String) }
180
+ attr_accessor :type
181
+ sig { params(type: String).void }
182
+ def initialize(type: nil); end
183
+ end
184
+ class Bj < Stripe::RequestParams
185
+ # Type of registration to be created in `country`.
186
+ sig { returns(String) }
187
+ attr_accessor :type
188
+ sig { params(type: String).void }
189
+ def initialize(type: nil); end
190
+ end
191
+ class Bs < Stripe::RequestParams
192
+ # Type of registration to be created in `country`.
193
+ sig { returns(String) }
194
+ attr_accessor :type
195
+ sig { params(type: String).void }
196
+ def initialize(type: nil); end
197
+ end
198
+ class By < Stripe::RequestParams
199
+ # Type of registration to be created in `country`.
200
+ sig { returns(String) }
201
+ attr_accessor :type
202
+ sig { params(type: String).void }
203
+ def initialize(type: nil); end
204
+ end
205
+ class Ca < Stripe::RequestParams
206
+ class ProvinceStandard < Stripe::RequestParams
207
+ # Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
208
+ sig { returns(String) }
209
+ attr_accessor :province
210
+ sig { params(province: String).void }
211
+ def initialize(province: nil); end
212
+ end
213
+ # Options for the provincial tax registration.
214
+ sig {
215
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca::ProvinceStandard))
216
+ }
217
+ attr_accessor :province_standard
218
+ # Type of registration to be created in Canada.
219
+ sig { returns(String) }
220
+ attr_accessor :type
221
+ sig {
222
+ params(province_standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca::ProvinceStandard), type: String).void
223
+ }
224
+ def initialize(province_standard: nil, type: nil); end
225
+ end
226
+ class Cd < Stripe::RequestParams
227
+ # Type of registration to be created in `country`.
228
+ sig { returns(String) }
229
+ attr_accessor :type
230
+ sig { params(type: String).void }
231
+ def initialize(type: nil); end
232
+ end
233
+ class Ch < Stripe::RequestParams
234
+ # Type of registration to be created in `country`.
235
+ sig { returns(String) }
236
+ attr_accessor :type
237
+ sig { params(type: String).void }
238
+ def initialize(type: nil); end
239
+ end
240
+ class Cl < Stripe::RequestParams
241
+ # Type of registration to be created in `country`.
242
+ sig { returns(String) }
243
+ attr_accessor :type
244
+ sig { params(type: String).void }
245
+ def initialize(type: nil); end
246
+ end
247
+ class Cm < Stripe::RequestParams
248
+ # Type of registration to be created in `country`.
249
+ sig { returns(String) }
250
+ attr_accessor :type
251
+ sig { params(type: String).void }
252
+ def initialize(type: nil); end
253
+ end
254
+ class Co < Stripe::RequestParams
255
+ # Type of registration to be created in `country`.
256
+ sig { returns(String) }
257
+ attr_accessor :type
258
+ sig { params(type: String).void }
259
+ def initialize(type: nil); end
260
+ end
261
+ class Cr < Stripe::RequestParams
262
+ # Type of registration to be created in `country`.
263
+ sig { returns(String) }
264
+ attr_accessor :type
265
+ sig { params(type: String).void }
266
+ def initialize(type: nil); end
267
+ end
268
+ class Cv < Stripe::RequestParams
269
+ # Type of registration to be created in `country`.
270
+ sig { returns(String) }
271
+ attr_accessor :type
272
+ sig { params(type: String).void }
273
+ def initialize(type: nil); end
274
+ end
275
+ class Cy < Stripe::RequestParams
276
+ class Standard < Stripe::RequestParams
277
+ # Place of supply scheme used in an EU standard registration.
278
+ sig { returns(String) }
279
+ attr_accessor :place_of_supply_scheme
280
+ sig { params(place_of_supply_scheme: String).void }
281
+ def initialize(place_of_supply_scheme: nil); end
282
+ end
283
+ # Options for the standard registration.
284
+ sig {
285
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy::Standard))
286
+ }
287
+ attr_accessor :standard
288
+ # Type of registration to be created in an EU country.
289
+ sig { returns(String) }
290
+ attr_accessor :type
291
+ sig {
292
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy::Standard), type: String).void
293
+ }
294
+ def initialize(standard: nil, type: nil); end
295
+ end
296
+ class Cz < Stripe::RequestParams
297
+ class Standard < Stripe::RequestParams
298
+ # Place of supply scheme used in an EU standard registration.
299
+ sig { returns(String) }
300
+ attr_accessor :place_of_supply_scheme
301
+ sig { params(place_of_supply_scheme: String).void }
302
+ def initialize(place_of_supply_scheme: nil); end
303
+ end
304
+ # Options for the standard registration.
305
+ sig {
306
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz::Standard))
307
+ }
308
+ attr_accessor :standard
309
+ # Type of registration to be created in an EU country.
310
+ sig { returns(String) }
311
+ attr_accessor :type
312
+ sig {
313
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz::Standard), type: String).void
314
+ }
315
+ def initialize(standard: nil, type: nil); end
316
+ end
317
+ class De < Stripe::RequestParams
318
+ class Standard < Stripe::RequestParams
319
+ # Place of supply scheme used in an EU standard registration.
320
+ sig { returns(String) }
321
+ attr_accessor :place_of_supply_scheme
322
+ sig { params(place_of_supply_scheme: String).void }
323
+ def initialize(place_of_supply_scheme: nil); end
324
+ end
325
+ # Options for the standard registration.
326
+ sig {
327
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De::Standard))
328
+ }
329
+ attr_accessor :standard
330
+ # Type of registration to be created in an EU country.
331
+ sig { returns(String) }
332
+ attr_accessor :type
333
+ sig {
334
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De::Standard), type: String).void
335
+ }
336
+ def initialize(standard: nil, type: nil); end
337
+ end
338
+ class Dk < Stripe::RequestParams
339
+ class Standard < Stripe::RequestParams
340
+ # Place of supply scheme used in an EU standard registration.
341
+ sig { returns(String) }
342
+ attr_accessor :place_of_supply_scheme
343
+ sig { params(place_of_supply_scheme: String).void }
344
+ def initialize(place_of_supply_scheme: nil); end
345
+ end
346
+ # Options for the standard registration.
347
+ sig {
348
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk::Standard))
349
+ }
350
+ attr_accessor :standard
351
+ # Type of registration to be created in an EU country.
352
+ sig { returns(String) }
353
+ attr_accessor :type
354
+ sig {
355
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk::Standard), type: String).void
356
+ }
357
+ def initialize(standard: nil, type: nil); end
358
+ end
359
+ class Ec < Stripe::RequestParams
360
+ # Type of registration to be created in `country`.
361
+ sig { returns(String) }
362
+ attr_accessor :type
363
+ sig { params(type: String).void }
364
+ def initialize(type: nil); end
365
+ end
366
+ class Ee < Stripe::RequestParams
367
+ class Standard < Stripe::RequestParams
368
+ # Place of supply scheme used in an EU standard registration.
369
+ sig { returns(String) }
370
+ attr_accessor :place_of_supply_scheme
371
+ sig { params(place_of_supply_scheme: String).void }
372
+ def initialize(place_of_supply_scheme: nil); end
373
+ end
374
+ # Options for the standard registration.
375
+ sig {
376
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee::Standard))
377
+ }
378
+ attr_accessor :standard
379
+ # Type of registration to be created in an EU country.
380
+ sig { returns(String) }
381
+ attr_accessor :type
382
+ sig {
383
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee::Standard), type: String).void
384
+ }
385
+ def initialize(standard: nil, type: nil); end
386
+ end
387
+ class Eg < Stripe::RequestParams
388
+ # Type of registration to be created in `country`.
389
+ sig { returns(String) }
390
+ attr_accessor :type
391
+ sig { params(type: String).void }
392
+ def initialize(type: nil); end
393
+ end
394
+ class Es < Stripe::RequestParams
395
+ class Standard < Stripe::RequestParams
396
+ # Place of supply scheme used in an EU standard registration.
397
+ sig { returns(String) }
398
+ attr_accessor :place_of_supply_scheme
399
+ sig { params(place_of_supply_scheme: String).void }
400
+ def initialize(place_of_supply_scheme: nil); end
401
+ end
402
+ # Options for the standard registration.
403
+ sig {
404
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es::Standard))
405
+ }
406
+ attr_accessor :standard
407
+ # Type of registration to be created in an EU country.
408
+ sig { returns(String) }
409
+ attr_accessor :type
410
+ sig {
411
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es::Standard), type: String).void
412
+ }
413
+ def initialize(standard: nil, type: nil); end
414
+ end
415
+ class Et < Stripe::RequestParams
416
+ # Type of registration to be created in `country`.
417
+ sig { returns(String) }
418
+ attr_accessor :type
419
+ sig { params(type: String).void }
420
+ def initialize(type: nil); end
421
+ end
422
+ class Fi < Stripe::RequestParams
423
+ class Standard < Stripe::RequestParams
424
+ # Place of supply scheme used in an EU standard registration.
425
+ sig { returns(String) }
426
+ attr_accessor :place_of_supply_scheme
427
+ sig { params(place_of_supply_scheme: String).void }
428
+ def initialize(place_of_supply_scheme: nil); end
429
+ end
430
+ # Options for the standard registration.
431
+ sig {
432
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi::Standard))
433
+ }
434
+ attr_accessor :standard
435
+ # Type of registration to be created in an EU country.
436
+ sig { returns(String) }
437
+ attr_accessor :type
438
+ sig {
439
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi::Standard), type: String).void
440
+ }
441
+ def initialize(standard: nil, type: nil); end
442
+ end
443
+ class Fr < Stripe::RequestParams
444
+ class Standard < Stripe::RequestParams
445
+ # Place of supply scheme used in an EU standard registration.
446
+ sig { returns(String) }
447
+ attr_accessor :place_of_supply_scheme
448
+ sig { params(place_of_supply_scheme: String).void }
449
+ def initialize(place_of_supply_scheme: nil); end
450
+ end
451
+ # Options for the standard registration.
452
+ sig {
453
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr::Standard))
454
+ }
455
+ attr_accessor :standard
456
+ # Type of registration to be created in an EU country.
457
+ sig { returns(String) }
458
+ attr_accessor :type
459
+ sig {
460
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr::Standard), type: String).void
461
+ }
462
+ def initialize(standard: nil, type: nil); end
463
+ end
464
+ class Gb < Stripe::RequestParams
465
+ # Type of registration to be created in `country`.
466
+ sig { returns(String) }
467
+ attr_accessor :type
468
+ sig { params(type: String).void }
469
+ def initialize(type: nil); end
470
+ end
471
+ class Ge < Stripe::RequestParams
472
+ # Type of registration to be created in `country`.
473
+ sig { returns(String) }
474
+ attr_accessor :type
475
+ sig { params(type: String).void }
476
+ def initialize(type: nil); end
477
+ end
478
+ class Gn < Stripe::RequestParams
479
+ # Type of registration to be created in `country`.
480
+ sig { returns(String) }
481
+ attr_accessor :type
482
+ sig { params(type: String).void }
483
+ def initialize(type: nil); end
484
+ end
485
+ class Gr < Stripe::RequestParams
486
+ class Standard < Stripe::RequestParams
487
+ # Place of supply scheme used in an EU standard registration.
488
+ sig { returns(String) }
489
+ attr_accessor :place_of_supply_scheme
490
+ sig { params(place_of_supply_scheme: String).void }
491
+ def initialize(place_of_supply_scheme: nil); end
492
+ end
493
+ # Options for the standard registration.
494
+ sig {
495
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr::Standard))
496
+ }
497
+ attr_accessor :standard
498
+ # Type of registration to be created in an EU country.
499
+ sig { returns(String) }
500
+ attr_accessor :type
501
+ sig {
502
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr::Standard), type: String).void
503
+ }
504
+ def initialize(standard: nil, type: nil); end
505
+ end
506
+ class Hr < Stripe::RequestParams
507
+ class Standard < Stripe::RequestParams
508
+ # Place of supply scheme used in an EU standard registration.
509
+ sig { returns(String) }
510
+ attr_accessor :place_of_supply_scheme
511
+ sig { params(place_of_supply_scheme: String).void }
512
+ def initialize(place_of_supply_scheme: nil); end
513
+ end
514
+ # Options for the standard registration.
515
+ sig {
516
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr::Standard))
517
+ }
518
+ attr_accessor :standard
519
+ # Type of registration to be created in an EU country.
520
+ sig { returns(String) }
521
+ attr_accessor :type
522
+ sig {
523
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr::Standard), type: String).void
524
+ }
525
+ def initialize(standard: nil, type: nil); end
526
+ end
527
+ class Hu < Stripe::RequestParams
528
+ class Standard < Stripe::RequestParams
529
+ # Place of supply scheme used in an EU standard registration.
530
+ sig { returns(String) }
531
+ attr_accessor :place_of_supply_scheme
532
+ sig { params(place_of_supply_scheme: String).void }
533
+ def initialize(place_of_supply_scheme: nil); end
534
+ end
535
+ # Options for the standard registration.
536
+ sig {
537
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu::Standard))
538
+ }
539
+ attr_accessor :standard
540
+ # Type of registration to be created in an EU country.
541
+ sig { returns(String) }
542
+ attr_accessor :type
543
+ sig {
544
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu::Standard), type: String).void
545
+ }
546
+ def initialize(standard: nil, type: nil); end
547
+ end
548
+ class Id < Stripe::RequestParams
549
+ # Type of registration to be created in `country`.
550
+ sig { returns(String) }
551
+ attr_accessor :type
552
+ sig { params(type: String).void }
553
+ def initialize(type: nil); end
554
+ end
555
+ class Ie < Stripe::RequestParams
556
+ class Standard < Stripe::RequestParams
557
+ # Place of supply scheme used in an EU standard registration.
558
+ sig { returns(String) }
559
+ attr_accessor :place_of_supply_scheme
560
+ sig { params(place_of_supply_scheme: String).void }
561
+ def initialize(place_of_supply_scheme: nil); end
562
+ end
563
+ # Options for the standard registration.
564
+ sig {
565
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie::Standard))
566
+ }
567
+ attr_accessor :standard
568
+ # Type of registration to be created in an EU country.
569
+ sig { returns(String) }
570
+ attr_accessor :type
571
+ sig {
572
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie::Standard), type: String).void
573
+ }
574
+ def initialize(standard: nil, type: nil); end
575
+ end
576
+ class In < Stripe::RequestParams
577
+ # Type of registration to be created in `country`.
578
+ sig { returns(String) }
579
+ attr_accessor :type
580
+ sig { params(type: String).void }
581
+ def initialize(type: nil); end
582
+ end
583
+ class Is < Stripe::RequestParams
584
+ # Type of registration to be created in `country`.
585
+ sig { returns(String) }
586
+ attr_accessor :type
587
+ sig { params(type: String).void }
588
+ def initialize(type: nil); end
589
+ end
590
+ class It < Stripe::RequestParams
591
+ class Standard < Stripe::RequestParams
592
+ # Place of supply scheme used in an EU standard registration.
593
+ sig { returns(String) }
594
+ attr_accessor :place_of_supply_scheme
595
+ sig { params(place_of_supply_scheme: String).void }
596
+ def initialize(place_of_supply_scheme: nil); end
597
+ end
598
+ # Options for the standard registration.
599
+ sig {
600
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It::Standard))
601
+ }
602
+ attr_accessor :standard
603
+ # Type of registration to be created in an EU country.
604
+ sig { returns(String) }
605
+ attr_accessor :type
606
+ sig {
607
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It::Standard), type: String).void
608
+ }
609
+ def initialize(standard: nil, type: nil); end
610
+ end
611
+ class Jp < Stripe::RequestParams
612
+ # Type of registration to be created in `country`.
613
+ sig { returns(String) }
614
+ attr_accessor :type
615
+ sig { params(type: String).void }
616
+ def initialize(type: nil); end
617
+ end
618
+ class Ke < Stripe::RequestParams
619
+ # Type of registration to be created in `country`.
620
+ sig { returns(String) }
621
+ attr_accessor :type
622
+ sig { params(type: String).void }
623
+ def initialize(type: nil); end
624
+ end
625
+ class Kg < Stripe::RequestParams
626
+ # Type of registration to be created in `country`.
627
+ sig { returns(String) }
628
+ attr_accessor :type
629
+ sig { params(type: String).void }
630
+ def initialize(type: nil); end
631
+ end
632
+ class Kh < Stripe::RequestParams
633
+ # Type of registration to be created in `country`.
634
+ sig { returns(String) }
635
+ attr_accessor :type
636
+ sig { params(type: String).void }
637
+ def initialize(type: nil); end
638
+ end
639
+ class Kr < Stripe::RequestParams
640
+ # Type of registration to be created in `country`.
641
+ sig { returns(String) }
642
+ attr_accessor :type
643
+ sig { params(type: String).void }
644
+ def initialize(type: nil); end
645
+ end
646
+ class Kz < Stripe::RequestParams
647
+ # Type of registration to be created in `country`.
648
+ sig { returns(String) }
649
+ attr_accessor :type
650
+ sig { params(type: String).void }
651
+ def initialize(type: nil); end
652
+ end
653
+ class La < Stripe::RequestParams
654
+ # Type of registration to be created in `country`.
655
+ sig { returns(String) }
656
+ attr_accessor :type
657
+ sig { params(type: String).void }
658
+ def initialize(type: nil); end
659
+ end
660
+ class Lt < Stripe::RequestParams
661
+ class Standard < Stripe::RequestParams
662
+ # Place of supply scheme used in an EU standard registration.
663
+ sig { returns(String) }
664
+ attr_accessor :place_of_supply_scheme
665
+ sig { params(place_of_supply_scheme: 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::Lt::Standard))
671
+ }
672
+ attr_accessor :standard
673
+ # Type of registration to be created in an EU country.
674
+ sig { returns(String) }
675
+ attr_accessor :type
676
+ sig {
677
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt::Standard), type: String).void
678
+ }
679
+ def initialize(standard: nil, type: nil); end
680
+ end
681
+ class Lu < Stripe::RequestParams
682
+ class Standard < Stripe::RequestParams
683
+ # Place of supply scheme used in an EU standard registration.
684
+ sig { returns(String) }
685
+ attr_accessor :place_of_supply_scheme
686
+ sig { params(place_of_supply_scheme: String).void }
687
+ def initialize(place_of_supply_scheme: nil); end
688
+ end
689
+ # Options for the standard registration.
690
+ sig {
691
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu::Standard))
692
+ }
693
+ attr_accessor :standard
694
+ # Type of registration to be created in an EU country.
695
+ sig { returns(String) }
696
+ attr_accessor :type
697
+ sig {
698
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu::Standard), type: String).void
699
+ }
700
+ def initialize(standard: nil, type: nil); end
701
+ end
702
+ class Lv < Stripe::RequestParams
703
+ class Standard < Stripe::RequestParams
704
+ # Place of supply scheme used in an EU standard registration.
705
+ sig { returns(String) }
706
+ attr_accessor :place_of_supply_scheme
707
+ sig { params(place_of_supply_scheme: String).void }
708
+ def initialize(place_of_supply_scheme: nil); end
709
+ end
710
+ # Options for the standard registration.
711
+ sig {
712
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv::Standard))
713
+ }
714
+ attr_accessor :standard
715
+ # Type of registration to be created in an EU country.
716
+ sig { returns(String) }
717
+ attr_accessor :type
718
+ sig {
719
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv::Standard), type: String).void
720
+ }
721
+ def initialize(standard: nil, type: nil); end
722
+ end
723
+ class Ma < Stripe::RequestParams
724
+ # Type of registration to be created in `country`.
725
+ sig { returns(String) }
726
+ attr_accessor :type
727
+ sig { params(type: String).void }
728
+ def initialize(type: nil); end
729
+ end
730
+ class Md < Stripe::RequestParams
731
+ # Type of registration to be created in `country`.
732
+ sig { returns(String) }
733
+ attr_accessor :type
734
+ sig { params(type: String).void }
735
+ def initialize(type: nil); end
736
+ end
737
+ class Me < Stripe::RequestParams
738
+ # Type of registration to be created in `country`.
739
+ sig { returns(String) }
740
+ attr_accessor :type
741
+ sig { params(type: String).void }
742
+ def initialize(type: nil); end
743
+ end
744
+ class Mk < Stripe::RequestParams
745
+ # Type of registration to be created in `country`.
746
+ sig { returns(String) }
747
+ attr_accessor :type
748
+ sig { params(type: String).void }
749
+ def initialize(type: nil); end
750
+ end
751
+ class Mr < Stripe::RequestParams
752
+ # Type of registration to be created in `country`.
753
+ sig { returns(String) }
754
+ attr_accessor :type
755
+ sig { params(type: String).void }
756
+ def initialize(type: nil); end
757
+ end
758
+ class Mt < Stripe::RequestParams
759
+ class Standard < Stripe::RequestParams
760
+ # Place of supply scheme used in an EU standard registration.
761
+ sig { returns(String) }
762
+ attr_accessor :place_of_supply_scheme
763
+ sig { params(place_of_supply_scheme: String).void }
764
+ def initialize(place_of_supply_scheme: nil); end
765
+ end
766
+ # Options for the standard registration.
767
+ sig {
768
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt::Standard))
769
+ }
770
+ attr_accessor :standard
771
+ # Type of registration to be created in an EU country.
772
+ sig { returns(String) }
773
+ attr_accessor :type
774
+ sig {
775
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt::Standard), type: String).void
776
+ }
777
+ def initialize(standard: nil, type: nil); end
778
+ end
779
+ class Mx < Stripe::RequestParams
780
+ # Type of registration to be created in `country`.
781
+ sig { returns(String) }
782
+ attr_accessor :type
783
+ sig { params(type: String).void }
784
+ def initialize(type: nil); end
785
+ end
786
+ class My < Stripe::RequestParams
787
+ # Type of registration to be created in `country`.
788
+ sig { returns(String) }
789
+ attr_accessor :type
790
+ sig { params(type: String).void }
791
+ def initialize(type: nil); end
792
+ end
793
+ class Ng < Stripe::RequestParams
794
+ # Type of registration to be created in `country`.
795
+ sig { returns(String) }
796
+ attr_accessor :type
797
+ sig { params(type: String).void }
798
+ def initialize(type: nil); end
799
+ end
800
+ class Nl < Stripe::RequestParams
801
+ class Standard < Stripe::RequestParams
802
+ # Place of supply scheme used in an EU standard registration.
803
+ sig { returns(String) }
804
+ attr_accessor :place_of_supply_scheme
805
+ sig { params(place_of_supply_scheme: String).void }
806
+ def initialize(place_of_supply_scheme: nil); end
807
+ end
808
+ # Options for the standard registration.
809
+ sig {
810
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl::Standard))
811
+ }
812
+ attr_accessor :standard
813
+ # Type of registration to be created in an EU country.
814
+ sig { returns(String) }
815
+ attr_accessor :type
816
+ sig {
817
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl::Standard), type: String).void
818
+ }
819
+ def initialize(standard: nil, type: nil); end
820
+ end
821
+ class No < Stripe::RequestParams
822
+ # Type of registration to be created in `country`.
823
+ sig { returns(String) }
824
+ attr_accessor :type
825
+ sig { params(type: String).void }
826
+ def initialize(type: nil); end
827
+ end
828
+ class Np < Stripe::RequestParams
829
+ # Type of registration to be created in `country`.
830
+ sig { returns(String) }
831
+ attr_accessor :type
832
+ sig { params(type: String).void }
833
+ def initialize(type: nil); end
834
+ end
835
+ class Nz < Stripe::RequestParams
836
+ # Type of registration to be created in `country`.
837
+ sig { returns(String) }
838
+ attr_accessor :type
839
+ sig { params(type: String).void }
840
+ def initialize(type: nil); end
841
+ end
842
+ class Om < Stripe::RequestParams
843
+ # Type of registration to be created in `country`.
844
+ sig { returns(String) }
845
+ attr_accessor :type
846
+ sig { params(type: String).void }
847
+ def initialize(type: nil); end
848
+ end
849
+ class Pe < Stripe::RequestParams
850
+ # Type of registration to be created in `country`.
851
+ sig { returns(String) }
852
+ attr_accessor :type
853
+ sig { params(type: String).void }
854
+ def initialize(type: nil); end
855
+ end
856
+ class Ph < Stripe::RequestParams
857
+ # Type of registration to be created in `country`.
858
+ sig { returns(String) }
859
+ attr_accessor :type
860
+ sig { params(type: String).void }
861
+ def initialize(type: nil); end
862
+ end
863
+ class Pl < Stripe::RequestParams
864
+ class Standard < Stripe::RequestParams
865
+ # Place of supply scheme used in an EU standard registration.
866
+ sig { returns(String) }
867
+ attr_accessor :place_of_supply_scheme
868
+ sig { params(place_of_supply_scheme: String).void }
869
+ def initialize(place_of_supply_scheme: nil); end
870
+ end
871
+ # Options for the standard registration.
872
+ sig {
873
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl::Standard))
874
+ }
875
+ attr_accessor :standard
876
+ # Type of registration to be created in an EU country.
877
+ sig { returns(String) }
878
+ attr_accessor :type
879
+ sig {
880
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl::Standard), type: String).void
881
+ }
882
+ def initialize(standard: nil, type: nil); end
883
+ end
884
+ class Pt < Stripe::RequestParams
885
+ class Standard < Stripe::RequestParams
886
+ # Place of supply scheme used in an EU standard registration.
887
+ sig { returns(String) }
888
+ attr_accessor :place_of_supply_scheme
889
+ sig { params(place_of_supply_scheme: String).void }
890
+ def initialize(place_of_supply_scheme: nil); end
891
+ end
892
+ # Options for the standard registration.
893
+ sig {
894
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt::Standard))
895
+ }
896
+ attr_accessor :standard
897
+ # Type of registration to be created in an EU country.
898
+ sig { returns(String) }
899
+ attr_accessor :type
900
+ sig {
901
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt::Standard), type: String).void
902
+ }
903
+ def initialize(standard: nil, type: nil); end
904
+ end
905
+ class Ro < Stripe::RequestParams
906
+ class Standard < Stripe::RequestParams
907
+ # Place of supply scheme used in an EU standard registration.
908
+ sig { returns(String) }
909
+ attr_accessor :place_of_supply_scheme
910
+ sig { params(place_of_supply_scheme: String).void }
911
+ def initialize(place_of_supply_scheme: nil); end
912
+ end
913
+ # Options for the standard registration.
914
+ sig {
915
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro::Standard))
916
+ }
917
+ attr_accessor :standard
918
+ # Type of registration to be created in an EU country.
919
+ sig { returns(String) }
920
+ attr_accessor :type
921
+ sig {
922
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro::Standard), type: String).void
923
+ }
924
+ def initialize(standard: nil, type: nil); end
925
+ end
926
+ class Rs < Stripe::RequestParams
927
+ # Type of registration to be created in `country`.
928
+ sig { returns(String) }
929
+ attr_accessor :type
930
+ sig { params(type: String).void }
931
+ def initialize(type: nil); end
932
+ end
933
+ class Ru < Stripe::RequestParams
934
+ # Type of registration to be created in `country`.
935
+ sig { returns(String) }
936
+ attr_accessor :type
937
+ sig { params(type: String).void }
938
+ def initialize(type: nil); end
939
+ end
940
+ class Sa < Stripe::RequestParams
941
+ # Type of registration to be created in `country`.
942
+ sig { returns(String) }
943
+ attr_accessor :type
944
+ sig { params(type: String).void }
945
+ def initialize(type: nil); end
946
+ end
947
+ class Se < Stripe::RequestParams
948
+ class Standard < Stripe::RequestParams
949
+ # Place of supply scheme used in an EU standard registration.
950
+ sig { returns(String) }
951
+ attr_accessor :place_of_supply_scheme
952
+ sig { params(place_of_supply_scheme: String).void }
953
+ def initialize(place_of_supply_scheme: nil); end
954
+ end
955
+ # Options for the standard registration.
956
+ sig {
957
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se::Standard))
958
+ }
959
+ attr_accessor :standard
960
+ # Type of registration to be created in an EU country.
961
+ sig { returns(String) }
962
+ attr_accessor :type
963
+ sig {
964
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se::Standard), type: String).void
965
+ }
966
+ def initialize(standard: nil, type: nil); end
967
+ end
968
+ class Sg < Stripe::RequestParams
969
+ # Type of registration to be created in `country`.
970
+ sig { returns(String) }
971
+ attr_accessor :type
972
+ sig { params(type: String).void }
973
+ def initialize(type: nil); end
974
+ end
975
+ class Si < Stripe::RequestParams
976
+ class Standard < Stripe::RequestParams
977
+ # Place of supply scheme used in an EU standard registration.
978
+ sig { returns(String) }
979
+ attr_accessor :place_of_supply_scheme
980
+ sig { params(place_of_supply_scheme: String).void }
981
+ def initialize(place_of_supply_scheme: nil); end
982
+ end
983
+ # Options for the standard registration.
984
+ sig {
985
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si::Standard))
986
+ }
987
+ attr_accessor :standard
988
+ # Type of registration to be created in an EU country.
989
+ sig { returns(String) }
990
+ attr_accessor :type
991
+ sig {
992
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si::Standard), type: String).void
993
+ }
994
+ def initialize(standard: nil, type: nil); end
995
+ end
996
+ class Sk < Stripe::RequestParams
997
+ class Standard < Stripe::RequestParams
998
+ # Place of supply scheme used in an EU standard registration.
999
+ sig { returns(String) }
1000
+ attr_accessor :place_of_supply_scheme
1001
+ sig { params(place_of_supply_scheme: String).void }
1002
+ def initialize(place_of_supply_scheme: nil); end
1003
+ end
1004
+ # Options for the standard registration.
1005
+ sig {
1006
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk::Standard))
1007
+ }
1008
+ attr_accessor :standard
1009
+ # Type of registration to be created in an EU country.
1010
+ sig { returns(String) }
1011
+ attr_accessor :type
1012
+ sig {
1013
+ params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk::Standard), type: String).void
1014
+ }
1015
+ def initialize(standard: nil, type: nil); end
1016
+ end
1017
+ class Sn < Stripe::RequestParams
1018
+ # Type of registration to be created in `country`.
1019
+ sig { returns(String) }
1020
+ attr_accessor :type
1021
+ sig { params(type: String).void }
1022
+ def initialize(type: nil); end
1023
+ end
1024
+ class Sr < Stripe::RequestParams
1025
+ # Type of registration to be created in `country`.
1026
+ sig { returns(String) }
1027
+ attr_accessor :type
1028
+ sig { params(type: String).void }
1029
+ def initialize(type: nil); end
1030
+ end
1031
+ class Th < Stripe::RequestParams
1032
+ # Type of registration to be created in `country`.
1033
+ sig { returns(String) }
1034
+ attr_accessor :type
1035
+ sig { params(type: String).void }
1036
+ def initialize(type: nil); end
1037
+ end
1038
+ class Tj < Stripe::RequestParams
1039
+ # Type of registration to be created in `country`.
1040
+ sig { returns(String) }
1041
+ attr_accessor :type
1042
+ sig { params(type: String).void }
1043
+ def initialize(type: nil); end
1044
+ end
1045
+ class Tr < Stripe::RequestParams
1046
+ # Type of registration to be created in `country`.
1047
+ sig { returns(String) }
1048
+ attr_accessor :type
1049
+ sig { params(type: String).void }
1050
+ def initialize(type: nil); end
1051
+ end
1052
+ class Tz < Stripe::RequestParams
1053
+ # Type of registration to be created in `country`.
1054
+ sig { returns(String) }
1055
+ attr_accessor :type
1056
+ sig { params(type: String).void }
1057
+ def initialize(type: nil); end
1058
+ end
1059
+ class Ug < Stripe::RequestParams
1060
+ # Type of registration to be created in `country`.
1061
+ sig { returns(String) }
1062
+ attr_accessor :type
1063
+ sig { params(type: String).void }
1064
+ def initialize(type: nil); end
1065
+ end
1066
+ class Us < Stripe::RequestParams
1067
+ class LocalAmusementTax < Stripe::RequestParams
1068
+ # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `64343` (River Grove), and `68081` (Schiller Park).
1069
+ sig { returns(String) }
1070
+ attr_accessor :jurisdiction
1071
+ sig { params(jurisdiction: String).void }
1072
+ def initialize(jurisdiction: nil); end
1073
+ end
1074
+ class LocalLeaseTax < Stripe::RequestParams
1075
+ # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago).
1076
+ sig { returns(String) }
1077
+ attr_accessor :jurisdiction
1078
+ sig { params(jurisdiction: String).void }
1079
+ def initialize(jurisdiction: nil); end
1080
+ end
1081
+ class StateSalesTax < Stripe::RequestParams
1082
+ class Election < Stripe::RequestParams
1083
+ # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `003` (Allegheny County) and `60000` (Philadelphia City).
1084
+ sig { returns(T.nilable(String)) }
1085
+ attr_accessor :jurisdiction
1086
+ # The type of the election for the state sales tax registration.
1087
+ sig { returns(String) }
1088
+ attr_accessor :type
1089
+ sig { params(jurisdiction: T.nilable(String), type: String).void }
1090
+ def initialize(jurisdiction: nil, type: nil); end
1091
+ end
1092
+ # Elections for the state sales tax registration.
1093
+ sig {
1094
+ returns(T::Array[::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::StateSalesTax::Election])
1095
+ }
1096
+ attr_accessor :elections
1097
+ sig {
1098
+ params(elections: T::Array[::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::StateSalesTax::Election]).void
1099
+ }
1100
+ def initialize(elections: nil); end
1101
+ end
1102
+ # Options for the local amusement tax registration.
1103
+ sig {
1104
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::LocalAmusementTax))
1105
+ }
1106
+ attr_accessor :local_amusement_tax
1107
+ # Options for the local lease tax registration.
1108
+ sig {
1109
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::LocalLeaseTax))
1110
+ }
1111
+ attr_accessor :local_lease_tax
1112
+ # Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1113
+ sig { returns(String) }
1114
+ attr_accessor :state
1115
+ # Options for the state sales tax registration.
1116
+ sig {
1117
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::StateSalesTax))
1118
+ }
1119
+ attr_accessor :state_sales_tax
1120
+ # Type of registration to be created in the US.
1121
+ sig { returns(String) }
1122
+ attr_accessor :type
1123
+ sig {
1124
+ params(local_amusement_tax: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::LocalAmusementTax), local_lease_tax: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::LocalLeaseTax), state: String, state_sales_tax: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::StateSalesTax), type: String).void
1125
+ }
1126
+ def initialize(
1127
+ local_amusement_tax: nil,
1128
+ local_lease_tax: nil,
1129
+ state: nil,
1130
+ state_sales_tax: nil,
1131
+ type: nil
1132
+ ); end
1133
+ end
1134
+ class Uy < Stripe::RequestParams
1135
+ # Type of registration to be created in `country`.
1136
+ sig { returns(String) }
1137
+ attr_accessor :type
1138
+ sig { params(type: String).void }
1139
+ def initialize(type: nil); end
1140
+ end
1141
+ class Uz < Stripe::RequestParams
1142
+ # Type of registration to be created in `country`.
1143
+ sig { returns(String) }
1144
+ attr_accessor :type
1145
+ sig { params(type: String).void }
1146
+ def initialize(type: nil); end
1147
+ end
1148
+ class Vn < Stripe::RequestParams
1149
+ # Type of registration to be created in `country`.
1150
+ sig { returns(String) }
1151
+ attr_accessor :type
1152
+ sig { params(type: String).void }
1153
+ def initialize(type: nil); end
1154
+ end
1155
+ class Za < Stripe::RequestParams
1156
+ # Type of registration to be created in `country`.
1157
+ sig { returns(String) }
1158
+ attr_accessor :type
1159
+ sig { params(type: String).void }
1160
+ def initialize(type: nil); end
1161
+ end
1162
+ class Zm < Stripe::RequestParams
1163
+ # Type of registration to be created in `country`.
1164
+ sig { returns(String) }
1165
+ attr_accessor :type
1166
+ sig { params(type: String).void }
1167
+ def initialize(type: nil); end
1168
+ end
1169
+ class Zw < Stripe::RequestParams
1170
+ # Type of registration to be created in `country`.
1171
+ sig { returns(String) }
1172
+ attr_accessor :type
1173
+ sig { params(type: String).void }
1174
+ def initialize(type: nil); end
1175
+ end
1176
+ # Options for the registration in AE.
1177
+ sig {
1178
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae))
1179
+ }
1180
+ attr_accessor :ae
1181
+ # Options for the registration in AL.
1182
+ sig {
1183
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al))
1184
+ }
1185
+ attr_accessor :al
1186
+ # Options for the registration in AM.
1187
+ sig {
1188
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Am))
1189
+ }
1190
+ attr_accessor :am
1191
+ # Options for the registration in AO.
1192
+ sig {
1193
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao))
1194
+ }
1195
+ attr_accessor :ao
1196
+ # Options for the registration in AT.
1197
+ sig {
1198
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At))
1199
+ }
1200
+ attr_accessor :at
1201
+ # Options for the registration in AU.
1202
+ sig {
1203
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au))
1204
+ }
1205
+ attr_accessor :au
1206
+ # Options for the registration in AW.
1207
+ sig {
1208
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Aw))
1209
+ }
1210
+ attr_accessor :aw
1211
+ # Options for the registration in AZ.
1212
+ sig {
1213
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Az))
1214
+ }
1215
+ attr_accessor :az
1216
+ # Options for the registration in BA.
1217
+ sig {
1218
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba))
1219
+ }
1220
+ attr_accessor :ba
1221
+ # Options for the registration in BB.
1222
+ sig {
1223
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb))
1224
+ }
1225
+ attr_accessor :bb
1226
+ # Options for the registration in BD.
1227
+ sig {
1228
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bd))
1229
+ }
1230
+ attr_accessor :bd
1231
+ # Options for the registration in BE.
1232
+ sig {
1233
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be))
1234
+ }
1235
+ attr_accessor :be
1236
+ # Options for the registration in BF.
1237
+ sig {
1238
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bf))
1239
+ }
1240
+ attr_accessor :bf
1241
+ # Options for the registration in BG.
1242
+ sig {
1243
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg))
1244
+ }
1245
+ attr_accessor :bg
1246
+ # Options for the registration in BH.
1247
+ sig {
1248
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh))
1249
+ }
1250
+ attr_accessor :bh
1251
+ # Options for the registration in BJ.
1252
+ sig {
1253
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bj))
1254
+ }
1255
+ attr_accessor :bj
1256
+ # Options for the registration in BS.
1257
+ sig {
1258
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs))
1259
+ }
1260
+ attr_accessor :bs
1261
+ # Options for the registration in BY.
1262
+ sig {
1263
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::By))
1264
+ }
1265
+ attr_accessor :by
1266
+ # Options for the registration in CA.
1267
+ sig {
1268
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca))
1269
+ }
1270
+ attr_accessor :ca
1271
+ # Options for the registration in CD.
1272
+ sig {
1273
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd))
1274
+ }
1275
+ attr_accessor :cd
1276
+ # Options for the registration in CH.
1277
+ sig {
1278
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch))
1279
+ }
1280
+ attr_accessor :ch
1281
+ # Options for the registration in CL.
1282
+ sig {
1283
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl))
1284
+ }
1285
+ attr_accessor :cl
1286
+ # Options for the registration in CM.
1287
+ sig {
1288
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cm))
1289
+ }
1290
+ attr_accessor :cm
1291
+ # Options for the registration in CO.
1292
+ sig {
1293
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co))
1294
+ }
1295
+ attr_accessor :co
1296
+ # Options for the registration in CR.
1297
+ sig {
1298
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr))
1299
+ }
1300
+ attr_accessor :cr
1301
+ # Options for the registration in CV.
1302
+ sig {
1303
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cv))
1304
+ }
1305
+ attr_accessor :cv
1306
+ # Options for the registration in CY.
1307
+ sig {
1308
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy))
1309
+ }
1310
+ attr_accessor :cy
1311
+ # Options for the registration in CZ.
1312
+ sig {
1313
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz))
1314
+ }
1315
+ attr_accessor :cz
1316
+ # Options for the registration in DE.
1317
+ sig {
1318
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De))
1319
+ }
1320
+ attr_accessor :de
1321
+ # Options for the registration in DK.
1322
+ sig {
1323
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk))
1324
+ }
1325
+ attr_accessor :dk
1326
+ # Options for the registration in EC.
1327
+ sig {
1328
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ec))
1329
+ }
1330
+ attr_accessor :ec
1331
+ # Options for the registration in EE.
1332
+ sig {
1333
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee))
1334
+ }
1335
+ attr_accessor :ee
1336
+ # Options for the registration in EG.
1337
+ sig {
1338
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Eg))
1339
+ }
1340
+ attr_accessor :eg
1341
+ # Options for the registration in ES.
1342
+ sig {
1343
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es))
1344
+ }
1345
+ attr_accessor :es
1346
+ # Options for the registration in ET.
1347
+ sig {
1348
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Et))
1349
+ }
1350
+ attr_accessor :et
1351
+ # Options for the registration in FI.
1352
+ sig {
1353
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi))
1354
+ }
1355
+ attr_accessor :fi
1356
+ # Options for the registration in FR.
1357
+ sig {
1358
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr))
1359
+ }
1360
+ attr_accessor :fr
1361
+ # Options for the registration in GB.
1362
+ sig {
1363
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb))
1364
+ }
1365
+ attr_accessor :gb
1366
+ # Options for the registration in GE.
1367
+ sig {
1368
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ge))
1369
+ }
1370
+ attr_accessor :ge
1371
+ # Options for the registration in GN.
1372
+ sig {
1373
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn))
1374
+ }
1375
+ attr_accessor :gn
1376
+ # Options for the registration in GR.
1377
+ sig {
1378
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr))
1379
+ }
1380
+ attr_accessor :gr
1381
+ # Options for the registration in HR.
1382
+ sig {
1383
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr))
1384
+ }
1385
+ attr_accessor :hr
1386
+ # Options for the registration in HU.
1387
+ sig {
1388
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu))
1389
+ }
1390
+ attr_accessor :hu
1391
+ # Options for the registration in ID.
1392
+ sig {
1393
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Id))
1394
+ }
1395
+ attr_accessor :id
1396
+ # Options for the registration in IE.
1397
+ sig {
1398
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie))
1399
+ }
1400
+ attr_accessor :ie
1401
+ # Options for the registration in IN.
1402
+ sig {
1403
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::In))
1404
+ }
1405
+ attr_accessor :in
1406
+ # Options for the registration in IS.
1407
+ sig {
1408
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is))
1409
+ }
1410
+ attr_accessor :is
1411
+ # Options for the registration in IT.
1412
+ sig {
1413
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It))
1414
+ }
1415
+ attr_accessor :it
1416
+ # Options for the registration in JP.
1417
+ sig {
1418
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp))
1419
+ }
1420
+ attr_accessor :jp
1421
+ # Options for the registration in KE.
1422
+ sig {
1423
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke))
1424
+ }
1425
+ attr_accessor :ke
1426
+ # Options for the registration in KG.
1427
+ sig {
1428
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kg))
1429
+ }
1430
+ attr_accessor :kg
1431
+ # Options for the registration in KH.
1432
+ sig {
1433
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh))
1434
+ }
1435
+ attr_accessor :kh
1436
+ # Options for the registration in KR.
1437
+ sig {
1438
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kr))
1439
+ }
1440
+ attr_accessor :kr
1441
+ # Options for the registration in KZ.
1442
+ sig {
1443
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz))
1444
+ }
1445
+ attr_accessor :kz
1446
+ # Options for the registration in LA.
1447
+ sig {
1448
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::La))
1449
+ }
1450
+ attr_accessor :la
1451
+ # Options for the registration in LT.
1452
+ sig {
1453
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt))
1454
+ }
1455
+ attr_accessor :lt
1456
+ # Options for the registration in LU.
1457
+ sig {
1458
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu))
1459
+ }
1460
+ attr_accessor :lu
1461
+ # Options for the registration in LV.
1462
+ sig {
1463
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv))
1464
+ }
1465
+ attr_accessor :lv
1466
+ # Options for the registration in MA.
1467
+ sig {
1468
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ma))
1469
+ }
1470
+ attr_accessor :ma
1471
+ # Options for the registration in MD.
1472
+ sig {
1473
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Md))
1474
+ }
1475
+ attr_accessor :md
1476
+ # Options for the registration in ME.
1477
+ sig {
1478
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me))
1479
+ }
1480
+ attr_accessor :me
1481
+ # Options for the registration in MK.
1482
+ sig {
1483
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk))
1484
+ }
1485
+ attr_accessor :mk
1486
+ # Options for the registration in MR.
1487
+ sig {
1488
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr))
1489
+ }
1490
+ attr_accessor :mr
1491
+ # Options for the registration in MT.
1492
+ sig {
1493
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt))
1494
+ }
1495
+ attr_accessor :mt
1496
+ # Options for the registration in MX.
1497
+ sig {
1498
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mx))
1499
+ }
1500
+ attr_accessor :mx
1501
+ # Options for the registration in MY.
1502
+ sig {
1503
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::My))
1504
+ }
1505
+ attr_accessor :my
1506
+ # Options for the registration in NG.
1507
+ sig {
1508
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ng))
1509
+ }
1510
+ attr_accessor :ng
1511
+ # Options for the registration in NL.
1512
+ sig {
1513
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl))
1514
+ }
1515
+ attr_accessor :nl
1516
+ # Options for the registration in NO.
1517
+ sig {
1518
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No))
1519
+ }
1520
+ attr_accessor :no
1521
+ # Options for the registration in NP.
1522
+ sig {
1523
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Np))
1524
+ }
1525
+ attr_accessor :np
1526
+ # Options for the registration in NZ.
1527
+ sig {
1528
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz))
1529
+ }
1530
+ attr_accessor :nz
1531
+ # Options for the registration in OM.
1532
+ sig {
1533
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om))
1534
+ }
1535
+ attr_accessor :om
1536
+ # Options for the registration in PE.
1537
+ sig {
1538
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe))
1539
+ }
1540
+ attr_accessor :pe
1541
+ # Options for the registration in PH.
1542
+ sig {
1543
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ph))
1544
+ }
1545
+ attr_accessor :ph
1546
+ # Options for the registration in PL.
1547
+ sig {
1548
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl))
1549
+ }
1550
+ attr_accessor :pl
1551
+ # Options for the registration in PT.
1552
+ sig {
1553
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt))
1554
+ }
1555
+ attr_accessor :pt
1556
+ # Options for the registration in RO.
1557
+ sig {
1558
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro))
1559
+ }
1560
+ attr_accessor :ro
1561
+ # Options for the registration in RS.
1562
+ sig {
1563
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs))
1564
+ }
1565
+ attr_accessor :rs
1566
+ # Options for the registration in RU.
1567
+ sig {
1568
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ru))
1569
+ }
1570
+ attr_accessor :ru
1571
+ # Options for the registration in SA.
1572
+ sig {
1573
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sa))
1574
+ }
1575
+ attr_accessor :sa
1576
+ # Options for the registration in SE.
1577
+ sig {
1578
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se))
1579
+ }
1580
+ attr_accessor :se
1581
+ # Options for the registration in SG.
1582
+ sig {
1583
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg))
1584
+ }
1585
+ attr_accessor :sg
1586
+ # Options for the registration in SI.
1587
+ sig {
1588
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si))
1589
+ }
1590
+ attr_accessor :si
1591
+ # Options for the registration in SK.
1592
+ sig {
1593
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk))
1594
+ }
1595
+ attr_accessor :sk
1596
+ # Options for the registration in SN.
1597
+ sig {
1598
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sn))
1599
+ }
1600
+ attr_accessor :sn
1601
+ # Options for the registration in SR.
1602
+ sig {
1603
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr))
1604
+ }
1605
+ attr_accessor :sr
1606
+ # Options for the registration in TH.
1607
+ sig {
1608
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Th))
1609
+ }
1610
+ attr_accessor :th
1611
+ # Options for the registration in TJ.
1612
+ sig {
1613
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tj))
1614
+ }
1615
+ attr_accessor :tj
1616
+ # Options for the registration in TR.
1617
+ sig {
1618
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tr))
1619
+ }
1620
+ attr_accessor :tr
1621
+ # Options for the registration in TZ.
1622
+ sig {
1623
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tz))
1624
+ }
1625
+ attr_accessor :tz
1626
+ # Options for the registration in UG.
1627
+ sig {
1628
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ug))
1629
+ }
1630
+ attr_accessor :ug
1631
+ # Options for the registration in US.
1632
+ sig {
1633
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us))
1634
+ }
1635
+ attr_accessor :us
1636
+ # Options for the registration in UY.
1637
+ sig {
1638
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy))
1639
+ }
1640
+ attr_accessor :uy
1641
+ # Options for the registration in UZ.
1642
+ sig {
1643
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uz))
1644
+ }
1645
+ attr_accessor :uz
1646
+ # Options for the registration in VN.
1647
+ sig {
1648
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Vn))
1649
+ }
1650
+ attr_accessor :vn
1651
+ # Options for the registration in ZA.
1652
+ sig {
1653
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za))
1654
+ }
1655
+ attr_accessor :za
1656
+ # Options for the registration in ZM.
1657
+ sig {
1658
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zm))
1659
+ }
1660
+ attr_accessor :zm
1661
+ # Options for the registration in ZW.
1662
+ sig {
1663
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw))
1664
+ }
1665
+ attr_accessor :zw
1666
+ sig {
1667
+ params(ae: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au), aw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Aw), az: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Az), ba: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb), bd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bd), be: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be), bf: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bf), bg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh), bj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bj), bs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl), cm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cm), co: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr), cv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cv), cy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es), et: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Et), fi: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke), kg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kg), kh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz), la: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::La), lt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe), ph: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ph), pl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw)).void
1668
+ }
1669
+ def initialize(
1670
+ ae: nil,
1671
+ al: nil,
1672
+ am: nil,
1673
+ ao: nil,
1674
+ at: nil,
1675
+ au: nil,
1676
+ aw: nil,
1677
+ az: nil,
1678
+ ba: nil,
1679
+ bb: nil,
1680
+ bd: nil,
1681
+ be: nil,
1682
+ bf: nil,
1683
+ bg: nil,
1684
+ bh: nil,
1685
+ bj: nil,
1686
+ bs: nil,
1687
+ by: nil,
1688
+ ca: nil,
1689
+ cd: nil,
1690
+ ch: nil,
1691
+ cl: nil,
1692
+ cm: nil,
1693
+ co: nil,
1694
+ cr: nil,
1695
+ cv: nil,
1696
+ cy: nil,
1697
+ cz: nil,
1698
+ de: nil,
1699
+ dk: nil,
1700
+ ec: nil,
1701
+ ee: nil,
1702
+ eg: nil,
1703
+ es: nil,
1704
+ et: nil,
1705
+ fi: nil,
1706
+ fr: nil,
1707
+ gb: nil,
1708
+ ge: nil,
1709
+ gn: nil,
1710
+ gr: nil,
1711
+ hr: nil,
1712
+ hu: nil,
1713
+ id: nil,
1714
+ ie: nil,
1715
+ in_: nil,
1716
+ is: nil,
1717
+ it: nil,
1718
+ jp: nil,
1719
+ ke: nil,
1720
+ kg: nil,
1721
+ kh: nil,
1722
+ kr: nil,
1723
+ kz: nil,
1724
+ la: nil,
1725
+ lt: nil,
1726
+ lu: nil,
1727
+ lv: nil,
1728
+ ma: nil,
1729
+ md: nil,
1730
+ me: nil,
1731
+ mk: nil,
1732
+ mr: nil,
1733
+ mt: nil,
1734
+ mx: nil,
1735
+ my: nil,
1736
+ ng: nil,
1737
+ nl: nil,
1738
+ no: nil,
1739
+ np: nil,
1740
+ nz: nil,
1741
+ om: nil,
1742
+ pe: nil,
1743
+ ph: nil,
1744
+ pl: nil,
1745
+ pt: nil,
1746
+ ro: nil,
1747
+ rs: nil,
1748
+ ru: nil,
1749
+ sa: nil,
1750
+ se: nil,
1751
+ sg: nil,
1752
+ si: nil,
1753
+ sk: nil,
1754
+ sn: nil,
1755
+ sr: nil,
1756
+ th: nil,
1757
+ tj: nil,
1758
+ tr: nil,
1759
+ tz: nil,
1760
+ ug: nil,
1761
+ us: nil,
1762
+ uy: nil,
1763
+ uz: nil,
1764
+ vn: nil,
1765
+ za: nil,
1766
+ zm: nil,
1767
+ zw: nil
1768
+ ); end
1769
+ end
1770
+ # Time at which the Tax Registration becomes active. It can be either `now` to indicate the current time, or a future timestamp measured in seconds since the Unix epoch.
1771
+ sig { returns(T.any(String, Integer)) }
1772
+ attr_accessor :active_from
1773
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1774
+ sig { returns(String) }
1775
+ attr_accessor :country
1776
+ # Specific options for a registration in the specified `country`.
1777
+ sig { returns(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions) }
1778
+ attr_accessor :country_options
1779
+ # Specifies which fields in the response should be expanded.
1780
+ sig { returns(T.nilable(T::Array[String])) }
1781
+ attr_accessor :expand
1782
+ # If set, the Tax Registration stops being active at this time. If not set, the Tax Registration will be active indefinitely. Timestamp measured in seconds since the Unix epoch.
1783
+ sig { returns(T.nilable(Integer)) }
1784
+ attr_accessor :expires_at
1785
+ sig {
1786
+ params(active_from: T.any(String, Integer), country: String, country_options: ::Stripe::Tax::RegistrationService::CreateParams::CountryOptions, expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer)).void
1787
+ }
1788
+ def initialize(
1789
+ active_from: nil,
1790
+ country: nil,
1791
+ country_options: nil,
1792
+ expand: nil,
1793
+ expires_at: nil
1794
+ ); end
1795
+ end
1796
+ class RetrieveParams < Stripe::RequestParams
1797
+ # Specifies which fields in the response should be expanded.
1798
+ sig { returns(T.nilable(T::Array[String])) }
1799
+ attr_accessor :expand
1800
+ sig { params(expand: T.nilable(T::Array[String])).void }
1801
+ def initialize(expand: nil); end
1802
+ end
1803
+ class UpdateParams < Stripe::RequestParams
1804
+ # Time at which the registration becomes active. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch.
1805
+ sig { returns(T.nilable(T.any(String, Integer))) }
1806
+ attr_accessor :active_from
1807
+ # Specifies which fields in the response should be expanded.
1808
+ sig { returns(T.nilable(T::Array[String])) }
1809
+ attr_accessor :expand
1810
+ # If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch.
1811
+ sig { returns(T.nilable(T.nilable(T.any(String, T.any(String, Integer))))) }
1812
+ attr_accessor :expires_at
1813
+ sig {
1814
+ params(active_from: T.nilable(T.any(String, Integer)), expand: T.nilable(T::Array[String]), expires_at: T.nilable(T.nilable(T.any(String, T.any(String, Integer))))).void
1815
+ }
1816
+ def initialize(active_from: nil, expand: nil, expires_at: nil); end
1817
+ end
1818
+ # Creates a new Tax Registration object.
1819
+ sig {
1820
+ params(params: T.any(::Stripe::Tax::RegistrationService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration)
1821
+ }
1822
+ def create(params = {}, opts = {}); end
1823
+
1824
+ # Returns a list of Tax Registration objects.
1825
+ sig {
1826
+ params(params: T.any(::Stripe::Tax::RegistrationService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
1827
+ }
1828
+ def list(params = {}, opts = {}); end
1829
+
1830
+ # Returns a Tax Registration object.
1831
+ sig {
1832
+ params(id: String, params: T.any(::Stripe::Tax::RegistrationService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration)
1833
+ }
1834
+ def retrieve(id, params = {}, opts = {}); end
1835
+
1836
+ # Updates an existing Tax Registration object.
1837
+ #
1838
+ # A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at.
1839
+ sig {
1840
+ params(id: String, params: T.any(::Stripe::Tax::RegistrationService::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration)
1841
+ }
1842
+ def update(id, params = {}, opts = {}); end
1843
+ end
1844
+ end
1845
+ end