stripe 13.3.0 → 13.4.0.pre.beta.2

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