stripe 15.1.0.pre.beta.2 → 15.1.0

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