stripe 13.3.0 → 13.4.0.pre.beta.1

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