stripe 15.4.0.pre.beta.1 → 15.4.0

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