stripe 15.4.0.pre.beta.1 → 15.4.0

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