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