stripe 15.3.0 → 15.4.0.pre.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (589) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +1594 -667
  4. data/README.md +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +28 -0
  7. data/lib/stripe/api_version.rb +1 -2
  8. data/lib/stripe/errors.rb +54 -0
  9. data/lib/stripe/event_types.rb +98 -0
  10. data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
  11. data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
  12. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
  13. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
  14. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
  15. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
  16. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
  17. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
  18. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
  19. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  20. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  21. data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
  22. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  23. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  24. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  25. data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
  26. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
  27. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  28. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
  29. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  30. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  31. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  32. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  33. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  34. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  35. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  36. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  37. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  38. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  39. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  40. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  41. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  42. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
  43. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  44. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  45. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  46. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  47. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  48. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
  49. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  50. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  51. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  52. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  53. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  54. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  55. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  56. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  57. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  58. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
  59. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
  60. data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +21 -0
  61. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
  62. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +21 -0
  63. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
  64. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
  65. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
  66. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
  67. data/lib/stripe/object_types.rb +50 -0
  68. data/lib/stripe/resources/account.rb +653 -1
  69. data/lib/stripe/resources/account_notice.rb +123 -0
  70. data/lib/stripe/resources/account_session.rb +256 -1
  71. data/lib/stripe/resources/balance_settings.rb +105 -0
  72. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  73. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  74. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  75. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  76. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  77. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  78. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  79. data/lib/stripe/resources/card.rb +2 -0
  80. data/lib/stripe/resources/cash_balance.rb +2 -0
  81. data/lib/stripe/resources/charge.rb +1538 -0
  82. data/lib/stripe/resources/checkout/session.rb +326 -2
  83. data/lib/stripe/resources/confirmation_token.rb +170 -0
  84. data/lib/stripe/resources/coupon.rb +30 -1
  85. data/lib/stripe/resources/credit_note.rb +6 -0
  86. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  87. data/lib/stripe/resources/customer.rb +2 -0
  88. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  89. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  90. data/lib/stripe/resources/customer_session.rb +6 -1
  91. data/lib/stripe/resources/discount.rb +2 -0
  92. data/lib/stripe/resources/dispute.rb +2 -0
  93. data/lib/stripe/resources/event.rb +31 -0
  94. data/lib/stripe/resources/financial_connections/account.rb +22 -1
  95. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  96. data/lib/stripe/resources/financial_connections/institution.rb +92 -0
  97. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  98. data/lib/stripe/resources/fx_quote.rb +184 -0
  99. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  100. data/lib/stripe/resources/invoice.rb +1063 -16
  101. data/lib/stripe/resources/invoice_item.rb +78 -2
  102. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  103. data/lib/stripe/resources/invoice_payment.rb +2 -53
  104. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  105. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  106. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  107. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  108. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  109. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  110. data/lib/stripe/resources/line_item.rb +37 -0
  111. data/lib/stripe/resources/mandate.rb +24 -0
  112. data/lib/stripe/resources/margin.rb +115 -0
  113. data/lib/stripe/resources/order.rb +2958 -0
  114. data/lib/stripe/resources/payment_attempt_record.rb +1099 -0
  115. data/lib/stripe/resources/payment_intent.rb +8540 -3584
  116. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +72 -0
  117. data/lib/stripe/resources/payment_method.rb +192 -1
  118. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  119. data/lib/stripe/resources/payment_record.rb +1628 -0
  120. data/lib/stripe/resources/payout.rb +6 -0
  121. data/lib/stripe/resources/price.rb +30 -0
  122. data/lib/stripe/resources/privacy/redaction_job.rb +298 -0
  123. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +33 -0
  124. data/lib/stripe/resources/promotion_code.rb +10 -0
  125. data/lib/stripe/resources/quote.rb +2038 -7
  126. data/lib/stripe/resources/quote_line.rb +274 -0
  127. data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
  128. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +371 -0
  129. data/lib/stripe/resources/refund.rb +9 -0
  130. data/lib/stripe/resources/setup_attempt.rb +21 -0
  131. data/lib/stripe/resources/setup_intent.rb +578 -9
  132. data/lib/stripe/resources/source.rb +29 -0
  133. data/lib/stripe/resources/subscription.rb +288 -9
  134. data/lib/stripe/resources/subscription_item.rb +84 -3
  135. data/lib/stripe/resources/subscription_schedule.rb +1007 -10
  136. data/lib/stripe/resources/tax/association.rb +66 -0
  137. data/lib/stripe/resources/tax/form.rb +211 -0
  138. data/lib/stripe/resources/tax_id.rb +12 -2
  139. data/lib/stripe/resources/terminal/reader.rb +8 -0
  140. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  141. data/lib/stripe/resources/transfer.rb +6 -0
  142. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  143. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  144. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  145. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  146. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  147. data/lib/stripe/resources/v2/core/account.rb +1755 -0
  148. data/lib/stripe/resources/v2/core/account_link.rb +56 -0
  149. data/lib/stripe/resources/v2/core/person.rb +276 -0
  150. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
  151. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
  152. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
  153. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
  154. data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
  155. data/lib/stripe/resources/v2/money_management/financial_account.rb +58 -0
  156. data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
  157. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
  158. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
  159. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
  160. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
  161. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
  162. data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
  163. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
  164. data/lib/stripe/resources/v2/money_management/received_credit.rb +122 -0
  165. data/lib/stripe/resources/v2/money_management/received_debit.rb +84 -0
  166. data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
  167. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
  168. data/lib/stripe/resources/v2/payments/off_session_payment.rb +72 -0
  169. data/lib/stripe/resources.rb +104 -0
  170. data/lib/stripe/services/account_notice_service.rb +101 -0
  171. data/lib/stripe/services/account_service.rb +562 -1
  172. data/lib/stripe/services/account_session_service.rb +226 -1
  173. data/lib/stripe/services/balance_settings_service.rb +96 -0
  174. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  175. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  176. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  177. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  178. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  179. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  180. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  181. data/lib/stripe/services/capital_service.rb +15 -0
  182. data/lib/stripe/services/charge_service.rb +1418 -0
  183. data/lib/stripe/services/checkout/session_service.rb +243 -2
  184. data/lib/stripe/services/coupon_service.rb +17 -1
  185. data/lib/stripe/services/credit_note_service.rb +4 -0
  186. data/lib/stripe/services/customer_session_service.rb +4 -1
  187. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
  188. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  189. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  190. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  191. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  192. data/lib/stripe/services/financial_connections_service.rb +2 -1
  193. data/lib/stripe/services/fx_quote_service.rb +123 -0
  194. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  195. data/lib/stripe/services/invoice_item_service.rb +74 -2
  196. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  197. data/lib/stripe/services/invoice_service.rb +1014 -16
  198. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  199. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  200. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  201. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  202. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  203. data/lib/stripe/services/issuing_service.rb +5 -1
  204. data/lib/stripe/services/margin_service.rb +119 -0
  205. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  206. data/lib/stripe/services/order_service.rb +2388 -0
  207. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  208. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  209. data/lib/stripe/services/payment_intent_service.rb +4879 -391
  210. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  211. data/lib/stripe/services/payment_method_service.rb +120 -1
  212. data/lib/stripe/services/payment_record_service.rb +542 -0
  213. data/lib/stripe/services/payout_service.rb +4 -0
  214. data/lib/stripe/services/price_service.rb +19 -0
  215. data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
  216. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  217. data/lib/stripe/services/privacy_service.rb +13 -0
  218. data/lib/stripe/services/promotion_code_service.rb +8 -0
  219. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  220. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  221. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  222. data/lib/stripe/services/quote_service.rb +1723 -8
  223. data/lib/stripe/services/setup_intent_service.rb +538 -9
  224. data/lib/stripe/services/subscription_item_service.rb +75 -3
  225. data/lib/stripe/services/subscription_schedule_service.rb +911 -10
  226. data/lib/stripe/services/subscription_service.rb +249 -9
  227. data/lib/stripe/services/tax/association_service.rb +31 -0
  228. data/lib/stripe/services/tax/form_service.rb +100 -0
  229. data/lib/stripe/services/tax_id_service.rb +8 -2
  230. data/lib/stripe/services/tax_service.rb +3 -1
  231. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  232. data/lib/stripe/services/terminal_service.rb +2 -1
  233. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
  234. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  235. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  236. data/lib/stripe/services/transfer_service.rb +4 -0
  237. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  238. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  239. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  240. data/lib/stripe/services/v1_services.rb +11 -2
  241. data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
  242. data/lib/stripe/services/v2/core/account_service.rb +4170 -0
  243. data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
  244. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
  245. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
  246. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  247. data/lib/stripe/services/v2/core_service.rb +4 -1
  248. data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
  249. data/lib/stripe/services/v2/money_management/financial_account_service.rb +43 -0
  250. data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
  251. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
  252. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
  253. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
  254. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
  255. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
  256. data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
  257. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  258. data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
  259. data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
  260. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
  261. data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
  262. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  263. data/lib/stripe/services/v2/payment_service.rb +15 -0
  264. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +137 -0
  265. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  266. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +49 -0
  267. data/lib/stripe/services/v2_services.rb +4 -1
  268. data/lib/stripe/services.rb +53 -1
  269. data/lib/stripe/stripe_configuration.rb +3 -1
  270. data/lib/stripe/stripe_object.rb +1 -1
  271. data/lib/stripe/util.rb +7 -1
  272. data/lib/stripe/version.rb +1 -1
  273. data/lib/stripe.rb +53 -0
  274. data/rbi/stripe.rbi +193855 -0
  275. data/stripe.gemspec +4 -1
  276. metadata +161 -324
  277. data/lib/stripe/services/invoice_payment_service.rb +0 -83
  278. data/rbi/stripe/resources/account.rbi +0 -4995
  279. data/rbi/stripe/resources/account_link.rbi +0 -74
  280. data/rbi/stripe/resources/account_session.rbi +0 -1013
  281. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
  282. data/rbi/stripe/resources/application.rbi +0 -20
  283. data/rbi/stripe/resources/application_fee.rbi +0 -118
  284. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  285. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  286. data/rbi/stripe/resources/balance.rbi +0 -235
  287. data/rbi/stripe/resources/balance_transaction.rbi +0 -147
  288. data/rbi/stripe/resources/bank_account.rbi +0 -127
  289. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  290. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  291. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  292. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  293. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  294. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  295. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  296. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  297. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  298. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
  299. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  300. data/rbi/stripe/resources/capability.rbi +0 -125
  301. data/rbi/stripe/resources/card.rbi +0 -125
  302. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  303. data/rbi/stripe/resources/charge.rbi +0 -2086
  304. data/rbi/stripe/resources/checkout/session.rbi +0 -4060
  305. data/rbi/stripe/resources/climate/order.rbi +0 -245
  306. data/rbi/stripe/resources/climate/product.rbi +0 -75
  307. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  308. data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
  309. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  310. data/rbi/stripe/resources/country_spec.rbi +0 -85
  311. data/rbi/stripe/resources/coupon.rbi +0 -250
  312. data/rbi/stripe/resources/credit_note.rbi +0 -752
  313. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  314. data/rbi/stripe/resources/customer.rbi +0 -1005
  315. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  316. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  317. data/rbi/stripe/resources/customer_session.rbi +0 -200
  318. data/rbi/stripe/resources/discount.rbi +0 -53
  319. data/rbi/stripe/resources/dispute.rbi +0 -761
  320. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  321. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  322. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  323. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  324. data/rbi/stripe/resources/event.rbi +0 -149
  325. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  326. data/rbi/stripe/resources/file.rbi +0 -143
  327. data/rbi/stripe/resources/file_link.rbi +0 -141
  328. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  329. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  330. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  331. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  332. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  333. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  334. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  335. data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
  336. data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
  337. data/rbi/stripe/resources/invoice.rbi +0 -3842
  338. data/rbi/stripe/resources/invoice_item.rbi +0 -470
  339. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  340. data/rbi/stripe/resources/invoice_payment.rbi +0 -121
  341. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  342. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  343. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  344. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  345. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  346. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  347. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  348. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  349. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  350. data/rbi/stripe/resources/line_item.rbi +0 -72
  351. data/rbi/stripe/resources/login_link.rbi +0 -19
  352. data/rbi/stripe/resources/mandate.rbi +0 -191
  353. data/rbi/stripe/resources/payment_intent.rbi +0 -9987
  354. data/rbi/stripe/resources/payment_link.rbi +0 -1801
  355. data/rbi/stripe/resources/payment_method.rbi +0 -1770
  356. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
  357. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  358. data/rbi/stripe/resources/payout.rbi +0 -300
  359. data/rbi/stripe/resources/person.rbi +0 -401
  360. data/rbi/stripe/resources/plan.rbi +0 -371
  361. data/rbi/stripe/resources/price.rbi +0 -694
  362. data/rbi/stripe/resources/product.rbi +0 -555
  363. data/rbi/stripe/resources/product_feature.rbi +0 -26
  364. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  365. data/rbi/stripe/resources/quote.rbi +0 -1145
  366. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  367. data/rbi/stripe/resources/radar/value_list.rbi +0 -168
  368. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
  369. data/rbi/stripe/resources/refund.rbi +0 -523
  370. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  371. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  372. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  373. data/rbi/stripe/resources/reversal.rbi +0 -51
  374. data/rbi/stripe/resources/review.rbi +0 -154
  375. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  376. data/rbi/stripe/resources/setup_intent.rbi +0 -3978
  377. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  378. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  379. data/rbi/stripe/resources/source.rbi +0 -1496
  380. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  381. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  382. data/rbi/stripe/resources/subscription.rbi +0 -2080
  383. data/rbi/stripe/resources/subscription_item.rbi +0 -404
  384. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1645
  385. data/rbi/stripe/resources/tax/calculation.rbi +0 -478
  386. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
  387. data/rbi/stripe/resources/tax/registration.rbi +0 -2732
  388. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  389. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  390. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  391. data/rbi/stripe/resources/tax_code.rbi +0 -44
  392. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  393. data/rbi/stripe/resources/tax_id.rbi +0 -165
  394. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  395. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1387
  396. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  397. data/rbi/stripe/resources/terminal/location.rbi +0 -222
  398. data/rbi/stripe/resources/terminal/reader.rbi +0 -994
  399. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
  400. data/rbi/stripe/resources/token.rbi +0 -1283
  401. data/rbi/stripe/resources/topup.rbi +0 -222
  402. data/rbi/stripe/resources/transfer.rbi +0 -199
  403. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  404. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  405. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
  406. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  407. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  408. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  409. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  410. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  411. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  412. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  413. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  414. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  415. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  416. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  417. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  418. data/rbi/stripe/resources/v2/event.rbi +0 -48
  419. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  420. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
  421. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  422. data/rbi/stripe/services/account_link_service.rbi +0 -58
  423. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  424. data/rbi/stripe/services/account_person_service.rbi +0 -1011
  425. data/rbi/stripe/services/account_service.rbi +0 -4281
  426. data/rbi/stripe/services/account_session_service.rbi +0 -646
  427. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
  428. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  429. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  430. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  431. data/rbi/stripe/services/apps_service.rbi +0 -9
  432. data/rbi/stripe/services/balance_service.rbi +0 -21
  433. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  434. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  435. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  436. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  437. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  438. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  439. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  440. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  441. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  442. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
  443. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  444. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  445. data/rbi/stripe/services/billing_service.rbi +0 -15
  446. data/rbi/stripe/services/charge_service.rbi +0 -448
  447. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  448. data/rbi/stripe/services/checkout/session_service.rbi +0 -2670
  449. data/rbi/stripe/services/checkout_service.rbi +0 -9
  450. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  451. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  452. data/rbi/stripe/services/climate_service.rbi +0 -11
  453. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  454. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  455. data/rbi/stripe/services/coupon_service.rbi +0 -194
  456. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  457. data/rbi/stripe/services/credit_note_service.rbi +0 -415
  458. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  459. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  460. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  461. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  462. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  463. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  464. data/rbi/stripe/services/customer_service.rbi +0 -647
  465. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  466. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
  467. data/rbi/stripe/services/dispute_service.rbi +0 -424
  468. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  469. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  470. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  471. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  472. data/rbi/stripe/services/event_service.rbi +0 -83
  473. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  474. data/rbi/stripe/services/file_link_service.rbi +0 -124
  475. data/rbi/stripe/services/file_service.rbi +0 -116
  476. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  477. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  478. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  479. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  480. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  481. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  482. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  483. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  484. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
  485. data/rbi/stripe/services/identity_service.rbi +0 -10
  486. data/rbi/stripe/services/invoice_item_service.rbi +0 -366
  487. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  488. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  489. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  490. data/rbi/stripe/services/invoice_service.rbi +0 -3011
  491. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  492. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  493. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  494. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  495. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  496. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  497. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  498. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  499. data/rbi/stripe/services/issuing_service.rbi +0 -16
  500. data/rbi/stripe/services/mandate_service.rbi +0 -20
  501. data/rbi/stripe/services/payment_intent_service.rbi +0 -7989
  502. data/rbi/stripe/services/payment_link_service.rbi +0 -1352
  503. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
  504. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  505. data/rbi/stripe/services/payment_method_service.rbi +0 -781
  506. data/rbi/stripe/services/payout_service.rbi +0 -205
  507. data/rbi/stripe/services/plan_service.rbi +0 -282
  508. data/rbi/stripe/services/price_service.rbi +0 -546
  509. data/rbi/stripe/services/product_feature_service.rbi +0 -67
  510. data/rbi/stripe/services/product_service.rbi +0 -477
  511. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  512. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  513. data/rbi/stripe/services/quote_service.rbi +0 -699
  514. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  515. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
  516. data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
  517. data/rbi/stripe/services/radar_service.rbi +0 -11
  518. data/rbi/stripe/services/refund_service.rbi +0 -185
  519. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  520. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  521. data/rbi/stripe/services/reporting_service.rbi +0 -10
  522. data/rbi/stripe/services/review_service.rbi +0 -84
  523. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  524. data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
  525. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  526. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  527. data/rbi/stripe/services/sigma_service.rbi +0 -9
  528. data/rbi/stripe/services/source_service.rbi +0 -663
  529. data/rbi/stripe/services/subscription_item_service.rbi +0 -350
  530. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1301
  531. data/rbi/stripe/services/subscription_service.rbi +0 -1684
  532. data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
  533. data/rbi/stripe/services/tax/registration_service.rbi +0 -1858
  534. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  535. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  536. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  537. data/rbi/stripe/services/tax_id_service.rbi +0 -110
  538. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  539. data/rbi/stripe/services/tax_service.rbi +0 -12
  540. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1118
  541. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  542. data/rbi/stripe/services/terminal/location_service.rbi +0 -182
  543. data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
  544. data/rbi/stripe/services/terminal_service.rbi +0 -12
  545. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  546. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  547. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  548. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  549. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  550. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  551. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  552. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  553. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -93
  554. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  555. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  556. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  557. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  558. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  559. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  560. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  561. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  562. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  563. data/rbi/stripe/services/token_service.rbi +0 -1257
  564. data/rbi/stripe/services/topup_service.rbi +0 -176
  565. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  566. data/rbi/stripe/services/transfer_service.rbi +0 -152
  567. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  568. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  569. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  570. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  571. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  572. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  573. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  574. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  575. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  576. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  577. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  578. data/rbi/stripe/services/treasury_service.rbi +0 -18
  579. data/rbi/stripe/services/v1_services.rbi +0 -77
  580. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  581. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  582. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
  583. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  584. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  585. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
  586. data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
  587. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  588. data/rbi/stripe/services/v2_services.rbi +0 -10
  589. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -1,1858 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- # typed: true
5
- module Stripe
6
- module Tax
7
- class RegistrationService < StripeService
8
- class ListParams < Stripe::RequestParams
9
- # 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.
10
- sig { returns(T.nilable(String)) }
11
- attr_accessor :ending_before
12
- # Specifies which fields in the response should be expanded.
13
- sig { returns(T.nilable(T::Array[String])) }
14
- attr_accessor :expand
15
- # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
16
- sig { returns(T.nilable(Integer)) }
17
- attr_accessor :limit
18
- # 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.
19
- sig { returns(T.nilable(String)) }
20
- attr_accessor :starting_after
21
- # The status of the Tax Registration.
22
- sig { returns(T.nilable(String)) }
23
- attr_accessor :status
24
- sig {
25
- params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), status: T.nilable(String)).void
26
- }
27
- def initialize(
28
- ending_before: nil,
29
- expand: nil,
30
- limit: nil,
31
- starting_after: nil,
32
- status: nil
33
- ); end
34
- end
35
- class CreateParams < Stripe::RequestParams
36
- class CountryOptions < Stripe::RequestParams
37
- class Ae < Stripe::RequestParams
38
- # Type of registration to be created in `country`.
39
- sig { returns(String) }
40
- attr_accessor :type
41
- sig { params(type: String).void }
42
- def initialize(type: nil); end
43
- end
44
- class Al < Stripe::RequestParams
45
- # Type of registration to be created in `country`.
46
- sig { returns(String) }
47
- attr_accessor :type
48
- sig { params(type: String).void }
49
- def initialize(type: nil); end
50
- end
51
- class Am < Stripe::RequestParams
52
- # Type of registration to be created in `country`.
53
- sig { returns(String) }
54
- attr_accessor :type
55
- sig { params(type: String).void }
56
- def initialize(type: nil); end
57
- end
58
- class Ao < Stripe::RequestParams
59
- # Type of registration to be created in `country`.
60
- sig { returns(String) }
61
- attr_accessor :type
62
- sig { params(type: String).void }
63
- def initialize(type: nil); end
64
- end
65
- class At < Stripe::RequestParams
66
- class Standard < Stripe::RequestParams
67
- # Place of supply scheme used in an EU standard registration.
68
- sig { returns(String) }
69
- attr_accessor :place_of_supply_scheme
70
- sig { params(place_of_supply_scheme: String).void }
71
- def initialize(place_of_supply_scheme: nil); end
72
- end
73
- # Options for the standard registration.
74
- sig {
75
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At::Standard))
76
- }
77
- attr_accessor :standard
78
- # Type of registration to be created in an EU country.
79
- sig { returns(String) }
80
- attr_accessor :type
81
- sig {
82
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At::Standard), type: String).void
83
- }
84
- def initialize(standard: nil, type: nil); end
85
- end
86
- class Au < Stripe::RequestParams
87
- # Type of registration to be created in `country`.
88
- sig { returns(String) }
89
- attr_accessor :type
90
- sig { params(type: String).void }
91
- def initialize(type: nil); end
92
- end
93
- class Aw < Stripe::RequestParams
94
- # Type of registration to be created in `country`.
95
- sig { returns(String) }
96
- attr_accessor :type
97
- sig { params(type: String).void }
98
- def initialize(type: nil); end
99
- end
100
- class Az < Stripe::RequestParams
101
- # Type of registration to be created in `country`.
102
- sig { returns(String) }
103
- attr_accessor :type
104
- sig { params(type: String).void }
105
- def initialize(type: nil); end
106
- end
107
- class Ba < Stripe::RequestParams
108
- # Type of registration to be created in `country`.
109
- sig { returns(String) }
110
- attr_accessor :type
111
- sig { params(type: String).void }
112
- def initialize(type: nil); end
113
- end
114
- class Bb < Stripe::RequestParams
115
- # Type of registration to be created in `country`.
116
- sig { returns(String) }
117
- attr_accessor :type
118
- sig { params(type: String).void }
119
- def initialize(type: nil); end
120
- end
121
- class Bd < Stripe::RequestParams
122
- # Type of registration to be created in `country`.
123
- sig { returns(String) }
124
- attr_accessor :type
125
- sig { params(type: String).void }
126
- def initialize(type: nil); end
127
- end
128
- class Be < Stripe::RequestParams
129
- class Standard < Stripe::RequestParams
130
- # Place of supply scheme used in an EU standard registration.
131
- sig { returns(String) }
132
- attr_accessor :place_of_supply_scheme
133
- sig { params(place_of_supply_scheme: String).void }
134
- def initialize(place_of_supply_scheme: nil); end
135
- end
136
- # Options for the standard registration.
137
- sig {
138
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be::Standard))
139
- }
140
- attr_accessor :standard
141
- # Type of registration to be created in an EU country.
142
- sig { returns(String) }
143
- attr_accessor :type
144
- sig {
145
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be::Standard), type: String).void
146
- }
147
- def initialize(standard: nil, type: nil); end
148
- end
149
- class Bf < Stripe::RequestParams
150
- # Type of registration to be created in `country`.
151
- sig { returns(String) }
152
- attr_accessor :type
153
- sig { params(type: String).void }
154
- def initialize(type: nil); end
155
- end
156
- class Bg < Stripe::RequestParams
157
- class Standard < Stripe::RequestParams
158
- # Place of supply scheme used in an EU standard registration.
159
- sig { returns(String) }
160
- attr_accessor :place_of_supply_scheme
161
- sig { params(place_of_supply_scheme: String).void }
162
- def initialize(place_of_supply_scheme: nil); end
163
- end
164
- # Options for the standard registration.
165
- sig {
166
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg::Standard))
167
- }
168
- attr_accessor :standard
169
- # Type of registration to be created in an EU country.
170
- sig { returns(String) }
171
- attr_accessor :type
172
- sig {
173
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg::Standard), type: String).void
174
- }
175
- def initialize(standard: nil, type: nil); end
176
- end
177
- class Bh < Stripe::RequestParams
178
- # Type of registration to be created in `country`.
179
- sig { returns(String) }
180
- attr_accessor :type
181
- sig { params(type: String).void }
182
- def initialize(type: nil); end
183
- end
184
- class Bj < Stripe::RequestParams
185
- # Type of registration to be created in `country`.
186
- sig { returns(String) }
187
- attr_accessor :type
188
- sig { params(type: String).void }
189
- def initialize(type: nil); end
190
- end
191
- class Bs < Stripe::RequestParams
192
- # Type of registration to be created in `country`.
193
- sig { returns(String) }
194
- attr_accessor :type
195
- sig { params(type: String).void }
196
- def initialize(type: nil); end
197
- end
198
- class By < Stripe::RequestParams
199
- # Type of registration to be created in `country`.
200
- sig { returns(String) }
201
- attr_accessor :type
202
- sig { params(type: String).void }
203
- def initialize(type: nil); end
204
- end
205
- class Ca < Stripe::RequestParams
206
- class ProvinceStandard < Stripe::RequestParams
207
- # Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
208
- sig { returns(String) }
209
- attr_accessor :province
210
- sig { params(province: String).void }
211
- def initialize(province: nil); end
212
- end
213
- # Options for the provincial tax registration.
214
- sig {
215
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca::ProvinceStandard))
216
- }
217
- attr_accessor :province_standard
218
- # Type of registration to be created in Canada.
219
- sig { returns(String) }
220
- attr_accessor :type
221
- sig {
222
- params(province_standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca::ProvinceStandard), type: String).void
223
- }
224
- def initialize(province_standard: nil, type: nil); end
225
- end
226
- class Cd < Stripe::RequestParams
227
- # Type of registration to be created in `country`.
228
- sig { returns(String) }
229
- attr_accessor :type
230
- sig { params(type: String).void }
231
- def initialize(type: nil); end
232
- end
233
- class Ch < Stripe::RequestParams
234
- # Type of registration to be created in `country`.
235
- sig { returns(String) }
236
- attr_accessor :type
237
- sig { params(type: String).void }
238
- def initialize(type: nil); end
239
- end
240
- class Cl < Stripe::RequestParams
241
- # Type of registration to be created in `country`.
242
- sig { returns(String) }
243
- attr_accessor :type
244
- sig { params(type: String).void }
245
- def initialize(type: nil); end
246
- end
247
- class Cm < Stripe::RequestParams
248
- # Type of registration to be created in `country`.
249
- sig { returns(String) }
250
- attr_accessor :type
251
- sig { params(type: String).void }
252
- def initialize(type: nil); end
253
- end
254
- class Co < Stripe::RequestParams
255
- # Type of registration to be created in `country`.
256
- sig { returns(String) }
257
- attr_accessor :type
258
- sig { params(type: String).void }
259
- def initialize(type: nil); end
260
- end
261
- class Cr < Stripe::RequestParams
262
- # Type of registration to be created in `country`.
263
- sig { returns(String) }
264
- attr_accessor :type
265
- sig { params(type: String).void }
266
- def initialize(type: nil); end
267
- end
268
- class Cv < Stripe::RequestParams
269
- # Type of registration to be created in `country`.
270
- sig { returns(String) }
271
- attr_accessor :type
272
- sig { params(type: String).void }
273
- def initialize(type: nil); end
274
- end
275
- class Cy < Stripe::RequestParams
276
- class Standard < Stripe::RequestParams
277
- # Place of supply scheme used in an EU standard registration.
278
- sig { returns(String) }
279
- attr_accessor :place_of_supply_scheme
280
- sig { params(place_of_supply_scheme: String).void }
281
- def initialize(place_of_supply_scheme: nil); end
282
- end
283
- # Options for the standard registration.
284
- sig {
285
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy::Standard))
286
- }
287
- attr_accessor :standard
288
- # Type of registration to be created in an EU country.
289
- sig { returns(String) }
290
- attr_accessor :type
291
- sig {
292
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy::Standard), type: String).void
293
- }
294
- def initialize(standard: nil, type: nil); end
295
- end
296
- class Cz < Stripe::RequestParams
297
- class Standard < Stripe::RequestParams
298
- # Place of supply scheme used in an EU standard registration.
299
- sig { returns(String) }
300
- attr_accessor :place_of_supply_scheme
301
- sig { params(place_of_supply_scheme: String).void }
302
- def initialize(place_of_supply_scheme: nil); end
303
- end
304
- # Options for the standard registration.
305
- sig {
306
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz::Standard))
307
- }
308
- attr_accessor :standard
309
- # Type of registration to be created in an EU country.
310
- sig { returns(String) }
311
- attr_accessor :type
312
- sig {
313
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz::Standard), type: String).void
314
- }
315
- def initialize(standard: nil, type: nil); end
316
- end
317
- class De < Stripe::RequestParams
318
- class Standard < Stripe::RequestParams
319
- # Place of supply scheme used in an EU standard registration.
320
- sig { returns(String) }
321
- attr_accessor :place_of_supply_scheme
322
- sig { params(place_of_supply_scheme: String).void }
323
- def initialize(place_of_supply_scheme: nil); end
324
- end
325
- # Options for the standard registration.
326
- sig {
327
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De::Standard))
328
- }
329
- attr_accessor :standard
330
- # Type of registration to be created in an EU country.
331
- sig { returns(String) }
332
- attr_accessor :type
333
- sig {
334
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De::Standard), type: String).void
335
- }
336
- def initialize(standard: nil, type: nil); end
337
- end
338
- class Dk < Stripe::RequestParams
339
- class Standard < Stripe::RequestParams
340
- # Place of supply scheme used in an EU standard registration.
341
- sig { returns(String) }
342
- attr_accessor :place_of_supply_scheme
343
- sig { params(place_of_supply_scheme: String).void }
344
- def initialize(place_of_supply_scheme: nil); end
345
- end
346
- # Options for the standard registration.
347
- sig {
348
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk::Standard))
349
- }
350
- attr_accessor :standard
351
- # Type of registration to be created in an EU country.
352
- sig { returns(String) }
353
- attr_accessor :type
354
- sig {
355
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk::Standard), type: String).void
356
- }
357
- def initialize(standard: nil, type: nil); end
358
- end
359
- class Ec < Stripe::RequestParams
360
- # Type of registration to be created in `country`.
361
- sig { returns(String) }
362
- attr_accessor :type
363
- sig { params(type: String).void }
364
- def initialize(type: nil); end
365
- end
366
- class Ee < Stripe::RequestParams
367
- class Standard < Stripe::RequestParams
368
- # Place of supply scheme used in an EU standard registration.
369
- sig { returns(String) }
370
- attr_accessor :place_of_supply_scheme
371
- sig { params(place_of_supply_scheme: String).void }
372
- def initialize(place_of_supply_scheme: nil); end
373
- end
374
- # Options for the standard registration.
375
- sig {
376
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee::Standard))
377
- }
378
- attr_accessor :standard
379
- # Type of registration to be created in an EU country.
380
- sig { returns(String) }
381
- attr_accessor :type
382
- sig {
383
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee::Standard), type: String).void
384
- }
385
- def initialize(standard: nil, type: nil); end
386
- end
387
- class Eg < Stripe::RequestParams
388
- # Type of registration to be created in `country`.
389
- sig { returns(String) }
390
- attr_accessor :type
391
- sig { params(type: String).void }
392
- def initialize(type: nil); end
393
- end
394
- class Es < Stripe::RequestParams
395
- class Standard < Stripe::RequestParams
396
- # Place of supply scheme used in an EU standard registration.
397
- sig { returns(String) }
398
- attr_accessor :place_of_supply_scheme
399
- sig { params(place_of_supply_scheme: String).void }
400
- def initialize(place_of_supply_scheme: nil); end
401
- end
402
- # Options for the standard registration.
403
- sig {
404
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es::Standard))
405
- }
406
- attr_accessor :standard
407
- # Type of registration to be created in an EU country.
408
- sig { returns(String) }
409
- attr_accessor :type
410
- sig {
411
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es::Standard), type: String).void
412
- }
413
- def initialize(standard: nil, type: nil); end
414
- end
415
- class Et < Stripe::RequestParams
416
- # Type of registration to be created in `country`.
417
- sig { returns(String) }
418
- attr_accessor :type
419
- sig { params(type: String).void }
420
- def initialize(type: nil); end
421
- end
422
- class Fi < Stripe::RequestParams
423
- class Standard < Stripe::RequestParams
424
- # Place of supply scheme used in an EU standard registration.
425
- sig { returns(String) }
426
- attr_accessor :place_of_supply_scheme
427
- sig { params(place_of_supply_scheme: String).void }
428
- def initialize(place_of_supply_scheme: nil); end
429
- end
430
- # Options for the standard registration.
431
- sig {
432
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi::Standard))
433
- }
434
- attr_accessor :standard
435
- # Type of registration to be created in an EU country.
436
- sig { returns(String) }
437
- attr_accessor :type
438
- sig {
439
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi::Standard), type: String).void
440
- }
441
- def initialize(standard: nil, type: nil); end
442
- end
443
- class Fr < Stripe::RequestParams
444
- class Standard < Stripe::RequestParams
445
- # Place of supply scheme used in an EU standard registration.
446
- sig { returns(String) }
447
- attr_accessor :place_of_supply_scheme
448
- sig { params(place_of_supply_scheme: String).void }
449
- def initialize(place_of_supply_scheme: nil); end
450
- end
451
- # Options for the standard registration.
452
- sig {
453
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr::Standard))
454
- }
455
- attr_accessor :standard
456
- # Type of registration to be created in an EU country.
457
- sig { returns(String) }
458
- attr_accessor :type
459
- sig {
460
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr::Standard), type: String).void
461
- }
462
- def initialize(standard: nil, type: nil); end
463
- end
464
- class Gb < Stripe::RequestParams
465
- # Type of registration to be created in `country`.
466
- sig { returns(String) }
467
- attr_accessor :type
468
- sig { params(type: String).void }
469
- def initialize(type: nil); end
470
- end
471
- class Ge < Stripe::RequestParams
472
- # Type of registration to be created in `country`.
473
- sig { returns(String) }
474
- attr_accessor :type
475
- sig { params(type: String).void }
476
- def initialize(type: nil); end
477
- end
478
- class Gn < Stripe::RequestParams
479
- # Type of registration to be created in `country`.
480
- sig { returns(String) }
481
- attr_accessor :type
482
- sig { params(type: String).void }
483
- def initialize(type: nil); end
484
- end
485
- class Gr < Stripe::RequestParams
486
- class Standard < Stripe::RequestParams
487
- # Place of supply scheme used in an EU standard registration.
488
- sig { returns(String) }
489
- attr_accessor :place_of_supply_scheme
490
- sig { params(place_of_supply_scheme: String).void }
491
- def initialize(place_of_supply_scheme: nil); end
492
- end
493
- # Options for the standard registration.
494
- sig {
495
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr::Standard))
496
- }
497
- attr_accessor :standard
498
- # Type of registration to be created in an EU country.
499
- sig { returns(String) }
500
- attr_accessor :type
501
- sig {
502
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr::Standard), type: String).void
503
- }
504
- def initialize(standard: nil, type: nil); end
505
- end
506
- class Hr < Stripe::RequestParams
507
- class Standard < Stripe::RequestParams
508
- # Place of supply scheme used in an EU standard registration.
509
- sig { returns(String) }
510
- attr_accessor :place_of_supply_scheme
511
- sig { params(place_of_supply_scheme: String).void }
512
- def initialize(place_of_supply_scheme: nil); end
513
- end
514
- # Options for the standard registration.
515
- sig {
516
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr::Standard))
517
- }
518
- attr_accessor :standard
519
- # Type of registration to be created in an EU country.
520
- sig { returns(String) }
521
- attr_accessor :type
522
- sig {
523
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr::Standard), type: String).void
524
- }
525
- def initialize(standard: nil, type: nil); end
526
- end
527
- class Hu < Stripe::RequestParams
528
- class Standard < Stripe::RequestParams
529
- # Place of supply scheme used in an EU standard registration.
530
- sig { returns(String) }
531
- attr_accessor :place_of_supply_scheme
532
- sig { params(place_of_supply_scheme: String).void }
533
- def initialize(place_of_supply_scheme: nil); end
534
- end
535
- # Options for the standard registration.
536
- sig {
537
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu::Standard))
538
- }
539
- attr_accessor :standard
540
- # Type of registration to be created in an EU country.
541
- sig { returns(String) }
542
- attr_accessor :type
543
- sig {
544
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu::Standard), type: String).void
545
- }
546
- def initialize(standard: nil, type: nil); end
547
- end
548
- class Id < Stripe::RequestParams
549
- # Type of registration to be created in `country`.
550
- sig { returns(String) }
551
- attr_accessor :type
552
- sig { params(type: String).void }
553
- def initialize(type: nil); end
554
- end
555
- class Ie < Stripe::RequestParams
556
- class Standard < Stripe::RequestParams
557
- # Place of supply scheme used in an EU standard registration.
558
- sig { returns(String) }
559
- attr_accessor :place_of_supply_scheme
560
- sig { params(place_of_supply_scheme: String).void }
561
- def initialize(place_of_supply_scheme: nil); end
562
- end
563
- # Options for the standard registration.
564
- sig {
565
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie::Standard))
566
- }
567
- attr_accessor :standard
568
- # Type of registration to be created in an EU country.
569
- sig { returns(String) }
570
- attr_accessor :type
571
- sig {
572
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie::Standard), type: String).void
573
- }
574
- def initialize(standard: nil, type: nil); end
575
- end
576
- class In < Stripe::RequestParams
577
- # Type of registration to be created in `country`.
578
- sig { returns(String) }
579
- attr_accessor :type
580
- sig { params(type: String).void }
581
- def initialize(type: nil); end
582
- end
583
- class Is < Stripe::RequestParams
584
- # Type of registration to be created in `country`.
585
- sig { returns(String) }
586
- attr_accessor :type
587
- sig { params(type: String).void }
588
- def initialize(type: nil); end
589
- end
590
- class It < Stripe::RequestParams
591
- class Standard < Stripe::RequestParams
592
- # Place of supply scheme used in an EU standard registration.
593
- sig { returns(String) }
594
- attr_accessor :place_of_supply_scheme
595
- sig { params(place_of_supply_scheme: String).void }
596
- def initialize(place_of_supply_scheme: nil); end
597
- end
598
- # Options for the standard registration.
599
- sig {
600
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It::Standard))
601
- }
602
- attr_accessor :standard
603
- # Type of registration to be created in an EU country.
604
- sig { returns(String) }
605
- attr_accessor :type
606
- sig {
607
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It::Standard), type: String).void
608
- }
609
- def initialize(standard: nil, type: nil); end
610
- end
611
- class Jp < Stripe::RequestParams
612
- # Type of registration to be created in `country`.
613
- sig { returns(String) }
614
- attr_accessor :type
615
- sig { params(type: String).void }
616
- def initialize(type: nil); end
617
- end
618
- class Ke < Stripe::RequestParams
619
- # Type of registration to be created in `country`.
620
- sig { returns(String) }
621
- attr_accessor :type
622
- sig { params(type: String).void }
623
- def initialize(type: nil); end
624
- end
625
- class Kg < Stripe::RequestParams
626
- # Type of registration to be created in `country`.
627
- sig { returns(String) }
628
- attr_accessor :type
629
- sig { params(type: String).void }
630
- def initialize(type: nil); end
631
- end
632
- class Kh < Stripe::RequestParams
633
- # Type of registration to be created in `country`.
634
- sig { returns(String) }
635
- attr_accessor :type
636
- sig { params(type: String).void }
637
- def initialize(type: nil); end
638
- end
639
- class Kr < Stripe::RequestParams
640
- # Type of registration to be created in `country`.
641
- sig { returns(String) }
642
- attr_accessor :type
643
- sig { params(type: String).void }
644
- def initialize(type: nil); end
645
- end
646
- class Kz < Stripe::RequestParams
647
- # Type of registration to be created in `country`.
648
- sig { returns(String) }
649
- attr_accessor :type
650
- sig { params(type: String).void }
651
- def initialize(type: nil); end
652
- end
653
- class La < Stripe::RequestParams
654
- # Type of registration to be created in `country`.
655
- sig { returns(String) }
656
- attr_accessor :type
657
- sig { params(type: String).void }
658
- def initialize(type: nil); end
659
- end
660
- class Lt < Stripe::RequestParams
661
- class Standard < Stripe::RequestParams
662
- # Place of supply scheme used in an EU standard registration.
663
- sig { returns(String) }
664
- attr_accessor :place_of_supply_scheme
665
- sig { params(place_of_supply_scheme: String).void }
666
- def initialize(place_of_supply_scheme: nil); end
667
- end
668
- # Options for the standard registration.
669
- sig {
670
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt::Standard))
671
- }
672
- attr_accessor :standard
673
- # Type of registration to be created in an EU country.
674
- sig { returns(String) }
675
- attr_accessor :type
676
- sig {
677
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt::Standard), type: String).void
678
- }
679
- def initialize(standard: nil, type: nil); end
680
- end
681
- class Lu < Stripe::RequestParams
682
- class Standard < Stripe::RequestParams
683
- # Place of supply scheme used in an EU standard registration.
684
- sig { returns(String) }
685
- attr_accessor :place_of_supply_scheme
686
- sig { params(place_of_supply_scheme: String).void }
687
- def initialize(place_of_supply_scheme: nil); end
688
- end
689
- # Options for the standard registration.
690
- sig {
691
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu::Standard))
692
- }
693
- attr_accessor :standard
694
- # Type of registration to be created in an EU country.
695
- sig { returns(String) }
696
- attr_accessor :type
697
- sig {
698
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu::Standard), type: String).void
699
- }
700
- def initialize(standard: nil, type: nil); end
701
- end
702
- class Lv < Stripe::RequestParams
703
- class Standard < Stripe::RequestParams
704
- # Place of supply scheme used in an EU standard registration.
705
- sig { returns(String) }
706
- attr_accessor :place_of_supply_scheme
707
- sig { params(place_of_supply_scheme: String).void }
708
- def initialize(place_of_supply_scheme: nil); end
709
- end
710
- # Options for the standard registration.
711
- sig {
712
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv::Standard))
713
- }
714
- attr_accessor :standard
715
- # Type of registration to be created in an EU country.
716
- sig { returns(String) }
717
- attr_accessor :type
718
- sig {
719
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv::Standard), type: String).void
720
- }
721
- def initialize(standard: nil, type: nil); end
722
- end
723
- class Ma < Stripe::RequestParams
724
- # Type of registration to be created in `country`.
725
- sig { returns(String) }
726
- attr_accessor :type
727
- sig { params(type: String).void }
728
- def initialize(type: nil); end
729
- end
730
- class Md < Stripe::RequestParams
731
- # Type of registration to be created in `country`.
732
- sig { returns(String) }
733
- attr_accessor :type
734
- sig { params(type: String).void }
735
- def initialize(type: nil); end
736
- end
737
- class Me < Stripe::RequestParams
738
- # Type of registration to be created in `country`.
739
- sig { returns(String) }
740
- attr_accessor :type
741
- sig { params(type: String).void }
742
- def initialize(type: nil); end
743
- end
744
- class Mk < Stripe::RequestParams
745
- # Type of registration to be created in `country`.
746
- sig { returns(String) }
747
- attr_accessor :type
748
- sig { params(type: String).void }
749
- def initialize(type: nil); end
750
- end
751
- class Mr < Stripe::RequestParams
752
- # Type of registration to be created in `country`.
753
- sig { returns(String) }
754
- attr_accessor :type
755
- sig { params(type: String).void }
756
- def initialize(type: nil); end
757
- end
758
- class Mt < Stripe::RequestParams
759
- class Standard < Stripe::RequestParams
760
- # Place of supply scheme used in an EU standard registration.
761
- sig { returns(String) }
762
- attr_accessor :place_of_supply_scheme
763
- sig { params(place_of_supply_scheme: String).void }
764
- def initialize(place_of_supply_scheme: nil); end
765
- end
766
- # Options for the standard registration.
767
- sig {
768
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt::Standard))
769
- }
770
- attr_accessor :standard
771
- # Type of registration to be created in an EU country.
772
- sig { returns(String) }
773
- attr_accessor :type
774
- sig {
775
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt::Standard), type: String).void
776
- }
777
- def initialize(standard: nil, type: nil); end
778
- end
779
- class Mx < Stripe::RequestParams
780
- # Type of registration to be created in `country`.
781
- sig { returns(String) }
782
- attr_accessor :type
783
- sig { params(type: String).void }
784
- def initialize(type: nil); end
785
- end
786
- class My < Stripe::RequestParams
787
- # Type of registration to be created in `country`.
788
- sig { returns(String) }
789
- attr_accessor :type
790
- sig { params(type: String).void }
791
- def initialize(type: nil); end
792
- end
793
- class Ng < Stripe::RequestParams
794
- # Type of registration to be created in `country`.
795
- sig { returns(String) }
796
- attr_accessor :type
797
- sig { params(type: String).void }
798
- def initialize(type: nil); end
799
- end
800
- class Nl < Stripe::RequestParams
801
- class Standard < Stripe::RequestParams
802
- # Place of supply scheme used in an EU standard registration.
803
- sig { returns(String) }
804
- attr_accessor :place_of_supply_scheme
805
- sig { params(place_of_supply_scheme: String).void }
806
- def initialize(place_of_supply_scheme: nil); end
807
- end
808
- # Options for the standard registration.
809
- sig {
810
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl::Standard))
811
- }
812
- attr_accessor :standard
813
- # Type of registration to be created in an EU country.
814
- sig { returns(String) }
815
- attr_accessor :type
816
- sig {
817
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl::Standard), type: String).void
818
- }
819
- def initialize(standard: nil, type: nil); end
820
- end
821
- class No < Stripe::RequestParams
822
- # Type of registration to be created in `country`.
823
- sig { returns(String) }
824
- attr_accessor :type
825
- sig { params(type: String).void }
826
- def initialize(type: nil); end
827
- end
828
- class Np < Stripe::RequestParams
829
- # Type of registration to be created in `country`.
830
- sig { returns(String) }
831
- attr_accessor :type
832
- sig { params(type: String).void }
833
- def initialize(type: nil); end
834
- end
835
- class Nz < Stripe::RequestParams
836
- # Type of registration to be created in `country`.
837
- sig { returns(String) }
838
- attr_accessor :type
839
- sig { params(type: String).void }
840
- def initialize(type: nil); end
841
- end
842
- class Om < Stripe::RequestParams
843
- # Type of registration to be created in `country`.
844
- sig { returns(String) }
845
- attr_accessor :type
846
- sig { params(type: String).void }
847
- def initialize(type: nil); end
848
- end
849
- class Pe < Stripe::RequestParams
850
- # Type of registration to be created in `country`.
851
- sig { returns(String) }
852
- attr_accessor :type
853
- sig { params(type: String).void }
854
- def initialize(type: nil); end
855
- end
856
- class Ph < Stripe::RequestParams
857
- # Type of registration to be created in `country`.
858
- sig { returns(String) }
859
- attr_accessor :type
860
- sig { params(type: String).void }
861
- def initialize(type: nil); end
862
- end
863
- class Pl < Stripe::RequestParams
864
- class Standard < Stripe::RequestParams
865
- # Place of supply scheme used in an EU standard registration.
866
- sig { returns(String) }
867
- attr_accessor :place_of_supply_scheme
868
- sig { params(place_of_supply_scheme: String).void }
869
- def initialize(place_of_supply_scheme: nil); end
870
- end
871
- # Options for the standard registration.
872
- sig {
873
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl::Standard))
874
- }
875
- attr_accessor :standard
876
- # Type of registration to be created in an EU country.
877
- sig { returns(String) }
878
- attr_accessor :type
879
- sig {
880
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl::Standard), type: String).void
881
- }
882
- def initialize(standard: nil, type: nil); end
883
- end
884
- class Pt < Stripe::RequestParams
885
- class Standard < Stripe::RequestParams
886
- # Place of supply scheme used in an EU standard registration.
887
- sig { returns(String) }
888
- attr_accessor :place_of_supply_scheme
889
- sig { params(place_of_supply_scheme: String).void }
890
- def initialize(place_of_supply_scheme: nil); end
891
- end
892
- # Options for the standard registration.
893
- sig {
894
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt::Standard))
895
- }
896
- attr_accessor :standard
897
- # Type of registration to be created in an EU country.
898
- sig { returns(String) }
899
- attr_accessor :type
900
- sig {
901
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt::Standard), type: String).void
902
- }
903
- def initialize(standard: nil, type: nil); end
904
- end
905
- class Ro < Stripe::RequestParams
906
- class Standard < Stripe::RequestParams
907
- # Place of supply scheme used in an EU standard registration.
908
- sig { returns(String) }
909
- attr_accessor :place_of_supply_scheme
910
- sig { params(place_of_supply_scheme: String).void }
911
- def initialize(place_of_supply_scheme: nil); end
912
- end
913
- # Options for the standard registration.
914
- sig {
915
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro::Standard))
916
- }
917
- attr_accessor :standard
918
- # Type of registration to be created in an EU country.
919
- sig { returns(String) }
920
- attr_accessor :type
921
- sig {
922
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro::Standard), type: String).void
923
- }
924
- def initialize(standard: nil, type: nil); end
925
- end
926
- class Rs < Stripe::RequestParams
927
- # Type of registration to be created in `country`.
928
- sig { returns(String) }
929
- attr_accessor :type
930
- sig { params(type: String).void }
931
- def initialize(type: nil); end
932
- end
933
- class Ru < Stripe::RequestParams
934
- # Type of registration to be created in `country`.
935
- sig { returns(String) }
936
- attr_accessor :type
937
- sig { params(type: String).void }
938
- def initialize(type: nil); end
939
- end
940
- class Sa < Stripe::RequestParams
941
- # Type of registration to be created in `country`.
942
- sig { returns(String) }
943
- attr_accessor :type
944
- sig { params(type: String).void }
945
- def initialize(type: nil); end
946
- end
947
- class Se < Stripe::RequestParams
948
- class Standard < Stripe::RequestParams
949
- # Place of supply scheme used in an EU standard registration.
950
- sig { returns(String) }
951
- attr_accessor :place_of_supply_scheme
952
- sig { params(place_of_supply_scheme: String).void }
953
- def initialize(place_of_supply_scheme: nil); end
954
- end
955
- # Options for the standard registration.
956
- sig {
957
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se::Standard))
958
- }
959
- attr_accessor :standard
960
- # Type of registration to be created in an EU country.
961
- sig { returns(String) }
962
- attr_accessor :type
963
- sig {
964
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se::Standard), type: String).void
965
- }
966
- def initialize(standard: nil, type: nil); end
967
- end
968
- class Sg < Stripe::RequestParams
969
- # Type of registration to be created in `country`.
970
- sig { returns(String) }
971
- attr_accessor :type
972
- sig { params(type: String).void }
973
- def initialize(type: nil); end
974
- end
975
- class Si < Stripe::RequestParams
976
- class Standard < Stripe::RequestParams
977
- # Place of supply scheme used in an EU standard registration.
978
- sig { returns(String) }
979
- attr_accessor :place_of_supply_scheme
980
- sig { params(place_of_supply_scheme: String).void }
981
- def initialize(place_of_supply_scheme: nil); end
982
- end
983
- # Options for the standard registration.
984
- sig {
985
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si::Standard))
986
- }
987
- attr_accessor :standard
988
- # Type of registration to be created in an EU country.
989
- sig { returns(String) }
990
- attr_accessor :type
991
- sig {
992
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si::Standard), type: String).void
993
- }
994
- def initialize(standard: nil, type: nil); end
995
- end
996
- class Sk < Stripe::RequestParams
997
- class Standard < Stripe::RequestParams
998
- # Place of supply scheme used in an EU standard registration.
999
- sig { returns(String) }
1000
- attr_accessor :place_of_supply_scheme
1001
- sig { params(place_of_supply_scheme: String).void }
1002
- def initialize(place_of_supply_scheme: nil); end
1003
- end
1004
- # Options for the standard registration.
1005
- sig {
1006
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk::Standard))
1007
- }
1008
- attr_accessor :standard
1009
- # Type of registration to be created in an EU country.
1010
- sig { returns(String) }
1011
- attr_accessor :type
1012
- sig {
1013
- params(standard: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk::Standard), type: String).void
1014
- }
1015
- def initialize(standard: nil, type: nil); end
1016
- end
1017
- class Sn < Stripe::RequestParams
1018
- # Type of registration to be created in `country`.
1019
- sig { returns(String) }
1020
- attr_accessor :type
1021
- sig { params(type: String).void }
1022
- def initialize(type: nil); end
1023
- end
1024
- class Sr < Stripe::RequestParams
1025
- # Type of registration to be created in `country`.
1026
- sig { returns(String) }
1027
- attr_accessor :type
1028
- sig { params(type: String).void }
1029
- def initialize(type: nil); end
1030
- end
1031
- class Th < Stripe::RequestParams
1032
- # Type of registration to be created in `country`.
1033
- sig { returns(String) }
1034
- attr_accessor :type
1035
- sig { params(type: String).void }
1036
- def initialize(type: nil); end
1037
- end
1038
- class Tj < Stripe::RequestParams
1039
- # Type of registration to be created in `country`.
1040
- sig { returns(String) }
1041
- attr_accessor :type
1042
- sig { params(type: String).void }
1043
- def initialize(type: nil); end
1044
- end
1045
- class Tr < Stripe::RequestParams
1046
- # Type of registration to be created in `country`.
1047
- sig { returns(String) }
1048
- attr_accessor :type
1049
- sig { params(type: String).void }
1050
- def initialize(type: nil); end
1051
- end
1052
- class Tz < Stripe::RequestParams
1053
- # Type of registration to be created in `country`.
1054
- sig { returns(String) }
1055
- attr_accessor :type
1056
- sig { params(type: String).void }
1057
- def initialize(type: nil); end
1058
- end
1059
- class Ua < Stripe::RequestParams
1060
- # Type of registration to be created in `country`.
1061
- sig { returns(String) }
1062
- attr_accessor :type
1063
- sig { params(type: String).void }
1064
- def initialize(type: nil); end
1065
- end
1066
- class Ug < Stripe::RequestParams
1067
- # Type of registration to be created in `country`.
1068
- sig { returns(String) }
1069
- attr_accessor :type
1070
- sig { params(type: String).void }
1071
- def initialize(type: nil); end
1072
- end
1073
- class Us < Stripe::RequestParams
1074
- class LocalAmusementTax < Stripe::RequestParams
1075
- # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `48892` (Midlothian), `64343` (River Grove), and `68081` (Schiller Park).
1076
- sig { returns(String) }
1077
- attr_accessor :jurisdiction
1078
- sig { params(jurisdiction: String).void }
1079
- def initialize(jurisdiction: nil); end
1080
- end
1081
- class LocalLeaseTax < Stripe::RequestParams
1082
- # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago).
1083
- sig { returns(String) }
1084
- attr_accessor :jurisdiction
1085
- sig { params(jurisdiction: String).void }
1086
- def initialize(jurisdiction: nil); end
1087
- end
1088
- class StateSalesTax < Stripe::RequestParams
1089
- class Election < Stripe::RequestParams
1090
- # 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).
1091
- sig { returns(T.nilable(String)) }
1092
- attr_accessor :jurisdiction
1093
- # The type of the election for the state sales tax registration.
1094
- sig { returns(String) }
1095
- attr_accessor :type
1096
- sig { params(jurisdiction: T.nilable(String), type: String).void }
1097
- def initialize(jurisdiction: nil, type: nil); end
1098
- end
1099
- # Elections for the state sales tax registration.
1100
- sig {
1101
- returns(T::Array[::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::StateSalesTax::Election])
1102
- }
1103
- attr_accessor :elections
1104
- sig {
1105
- params(elections: T::Array[::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::StateSalesTax::Election]).void
1106
- }
1107
- def initialize(elections: nil); end
1108
- end
1109
- # Options for the local amusement tax registration.
1110
- sig {
1111
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::LocalAmusementTax))
1112
- }
1113
- attr_accessor :local_amusement_tax
1114
- # Options for the local lease tax registration.
1115
- sig {
1116
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::LocalLeaseTax))
1117
- }
1118
- attr_accessor :local_lease_tax
1119
- # Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1120
- sig { returns(String) }
1121
- attr_accessor :state
1122
- # Options for the state sales tax registration.
1123
- sig {
1124
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::StateSalesTax))
1125
- }
1126
- attr_accessor :state_sales_tax
1127
- # Type of registration to be created in the US.
1128
- sig { returns(String) }
1129
- attr_accessor :type
1130
- sig {
1131
- params(local_amusement_tax: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::LocalAmusementTax), local_lease_tax: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::LocalLeaseTax), state: String, state_sales_tax: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us::StateSalesTax), type: String).void
1132
- }
1133
- def initialize(
1134
- local_amusement_tax: nil,
1135
- local_lease_tax: nil,
1136
- state: nil,
1137
- state_sales_tax: nil,
1138
- type: nil
1139
- ); end
1140
- end
1141
- class Uy < Stripe::RequestParams
1142
- # Type of registration to be created in `country`.
1143
- sig { returns(String) }
1144
- attr_accessor :type
1145
- sig { params(type: String).void }
1146
- def initialize(type: nil); end
1147
- end
1148
- class Uz < Stripe::RequestParams
1149
- # Type of registration to be created in `country`.
1150
- sig { returns(String) }
1151
- attr_accessor :type
1152
- sig { params(type: String).void }
1153
- def initialize(type: nil); end
1154
- end
1155
- class Vn < Stripe::RequestParams
1156
- # Type of registration to be created in `country`.
1157
- sig { returns(String) }
1158
- attr_accessor :type
1159
- sig { params(type: String).void }
1160
- def initialize(type: nil); end
1161
- end
1162
- class Za < Stripe::RequestParams
1163
- # Type of registration to be created in `country`.
1164
- sig { returns(String) }
1165
- attr_accessor :type
1166
- sig { params(type: String).void }
1167
- def initialize(type: nil); end
1168
- end
1169
- class Zm < Stripe::RequestParams
1170
- # Type of registration to be created in `country`.
1171
- sig { returns(String) }
1172
- attr_accessor :type
1173
- sig { params(type: String).void }
1174
- def initialize(type: nil); end
1175
- end
1176
- class Zw < Stripe::RequestParams
1177
- # Type of registration to be created in `country`.
1178
- sig { returns(String) }
1179
- attr_accessor :type
1180
- sig { params(type: String).void }
1181
- def initialize(type: nil); end
1182
- end
1183
- # Options for the registration in AE.
1184
- sig {
1185
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae))
1186
- }
1187
- attr_accessor :ae
1188
- # Options for the registration in AL.
1189
- sig {
1190
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al))
1191
- }
1192
- attr_accessor :al
1193
- # Options for the registration in AM.
1194
- sig {
1195
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Am))
1196
- }
1197
- attr_accessor :am
1198
- # Options for the registration in AO.
1199
- sig {
1200
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao))
1201
- }
1202
- attr_accessor :ao
1203
- # Options for the registration in AT.
1204
- sig {
1205
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At))
1206
- }
1207
- attr_accessor :at
1208
- # Options for the registration in AU.
1209
- sig {
1210
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au))
1211
- }
1212
- attr_accessor :au
1213
- # Options for the registration in AW.
1214
- sig {
1215
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Aw))
1216
- }
1217
- attr_accessor :aw
1218
- # Options for the registration in AZ.
1219
- sig {
1220
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Az))
1221
- }
1222
- attr_accessor :az
1223
- # Options for the registration in BA.
1224
- sig {
1225
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba))
1226
- }
1227
- attr_accessor :ba
1228
- # Options for the registration in BB.
1229
- sig {
1230
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb))
1231
- }
1232
- attr_accessor :bb
1233
- # Options for the registration in BD.
1234
- sig {
1235
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bd))
1236
- }
1237
- attr_accessor :bd
1238
- # Options for the registration in BE.
1239
- sig {
1240
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be))
1241
- }
1242
- attr_accessor :be
1243
- # Options for the registration in BF.
1244
- sig {
1245
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bf))
1246
- }
1247
- attr_accessor :bf
1248
- # Options for the registration in BG.
1249
- sig {
1250
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg))
1251
- }
1252
- attr_accessor :bg
1253
- # Options for the registration in BH.
1254
- sig {
1255
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh))
1256
- }
1257
- attr_accessor :bh
1258
- # Options for the registration in BJ.
1259
- sig {
1260
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bj))
1261
- }
1262
- attr_accessor :bj
1263
- # Options for the registration in BS.
1264
- sig {
1265
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs))
1266
- }
1267
- attr_accessor :bs
1268
- # Options for the registration in BY.
1269
- sig {
1270
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::By))
1271
- }
1272
- attr_accessor :by
1273
- # Options for the registration in CA.
1274
- sig {
1275
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca))
1276
- }
1277
- attr_accessor :ca
1278
- # Options for the registration in CD.
1279
- sig {
1280
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd))
1281
- }
1282
- attr_accessor :cd
1283
- # Options for the registration in CH.
1284
- sig {
1285
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch))
1286
- }
1287
- attr_accessor :ch
1288
- # Options for the registration in CL.
1289
- sig {
1290
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl))
1291
- }
1292
- attr_accessor :cl
1293
- # Options for the registration in CM.
1294
- sig {
1295
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cm))
1296
- }
1297
- attr_accessor :cm
1298
- # Options for the registration in CO.
1299
- sig {
1300
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co))
1301
- }
1302
- attr_accessor :co
1303
- # Options for the registration in CR.
1304
- sig {
1305
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr))
1306
- }
1307
- attr_accessor :cr
1308
- # Options for the registration in CV.
1309
- sig {
1310
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cv))
1311
- }
1312
- attr_accessor :cv
1313
- # Options for the registration in CY.
1314
- sig {
1315
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy))
1316
- }
1317
- attr_accessor :cy
1318
- # Options for the registration in CZ.
1319
- sig {
1320
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz))
1321
- }
1322
- attr_accessor :cz
1323
- # Options for the registration in DE.
1324
- sig {
1325
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De))
1326
- }
1327
- attr_accessor :de
1328
- # Options for the registration in DK.
1329
- sig {
1330
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk))
1331
- }
1332
- attr_accessor :dk
1333
- # Options for the registration in EC.
1334
- sig {
1335
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ec))
1336
- }
1337
- attr_accessor :ec
1338
- # Options for the registration in EE.
1339
- sig {
1340
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee))
1341
- }
1342
- attr_accessor :ee
1343
- # Options for the registration in EG.
1344
- sig {
1345
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Eg))
1346
- }
1347
- attr_accessor :eg
1348
- # Options for the registration in ES.
1349
- sig {
1350
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es))
1351
- }
1352
- attr_accessor :es
1353
- # Options for the registration in ET.
1354
- sig {
1355
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Et))
1356
- }
1357
- attr_accessor :et
1358
- # Options for the registration in FI.
1359
- sig {
1360
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi))
1361
- }
1362
- attr_accessor :fi
1363
- # Options for the registration in FR.
1364
- sig {
1365
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr))
1366
- }
1367
- attr_accessor :fr
1368
- # Options for the registration in GB.
1369
- sig {
1370
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb))
1371
- }
1372
- attr_accessor :gb
1373
- # Options for the registration in GE.
1374
- sig {
1375
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ge))
1376
- }
1377
- attr_accessor :ge
1378
- # Options for the registration in GN.
1379
- sig {
1380
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn))
1381
- }
1382
- attr_accessor :gn
1383
- # Options for the registration in GR.
1384
- sig {
1385
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr))
1386
- }
1387
- attr_accessor :gr
1388
- # Options for the registration in HR.
1389
- sig {
1390
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr))
1391
- }
1392
- attr_accessor :hr
1393
- # Options for the registration in HU.
1394
- sig {
1395
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu))
1396
- }
1397
- attr_accessor :hu
1398
- # Options for the registration in ID.
1399
- sig {
1400
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Id))
1401
- }
1402
- attr_accessor :id
1403
- # Options for the registration in IE.
1404
- sig {
1405
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie))
1406
- }
1407
- attr_accessor :ie
1408
- # Options for the registration in IN.
1409
- sig {
1410
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::In))
1411
- }
1412
- attr_accessor :in
1413
- # Options for the registration in IS.
1414
- sig {
1415
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is))
1416
- }
1417
- attr_accessor :is
1418
- # Options for the registration in IT.
1419
- sig {
1420
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It))
1421
- }
1422
- attr_accessor :it
1423
- # Options for the registration in JP.
1424
- sig {
1425
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp))
1426
- }
1427
- attr_accessor :jp
1428
- # Options for the registration in KE.
1429
- sig {
1430
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke))
1431
- }
1432
- attr_accessor :ke
1433
- # Options for the registration in KG.
1434
- sig {
1435
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kg))
1436
- }
1437
- attr_accessor :kg
1438
- # Options for the registration in KH.
1439
- sig {
1440
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh))
1441
- }
1442
- attr_accessor :kh
1443
- # Options for the registration in KR.
1444
- sig {
1445
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kr))
1446
- }
1447
- attr_accessor :kr
1448
- # Options for the registration in KZ.
1449
- sig {
1450
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz))
1451
- }
1452
- attr_accessor :kz
1453
- # Options for the registration in LA.
1454
- sig {
1455
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::La))
1456
- }
1457
- attr_accessor :la
1458
- # Options for the registration in LT.
1459
- sig {
1460
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt))
1461
- }
1462
- attr_accessor :lt
1463
- # Options for the registration in LU.
1464
- sig {
1465
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu))
1466
- }
1467
- attr_accessor :lu
1468
- # Options for the registration in LV.
1469
- sig {
1470
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv))
1471
- }
1472
- attr_accessor :lv
1473
- # Options for the registration in MA.
1474
- sig {
1475
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ma))
1476
- }
1477
- attr_accessor :ma
1478
- # Options for the registration in MD.
1479
- sig {
1480
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Md))
1481
- }
1482
- attr_accessor :md
1483
- # Options for the registration in ME.
1484
- sig {
1485
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me))
1486
- }
1487
- attr_accessor :me
1488
- # Options for the registration in MK.
1489
- sig {
1490
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk))
1491
- }
1492
- attr_accessor :mk
1493
- # Options for the registration in MR.
1494
- sig {
1495
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr))
1496
- }
1497
- attr_accessor :mr
1498
- # Options for the registration in MT.
1499
- sig {
1500
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt))
1501
- }
1502
- attr_accessor :mt
1503
- # Options for the registration in MX.
1504
- sig {
1505
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mx))
1506
- }
1507
- attr_accessor :mx
1508
- # Options for the registration in MY.
1509
- sig {
1510
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::My))
1511
- }
1512
- attr_accessor :my
1513
- # Options for the registration in NG.
1514
- sig {
1515
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ng))
1516
- }
1517
- attr_accessor :ng
1518
- # Options for the registration in NL.
1519
- sig {
1520
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl))
1521
- }
1522
- attr_accessor :nl
1523
- # Options for the registration in NO.
1524
- sig {
1525
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No))
1526
- }
1527
- attr_accessor :no
1528
- # Options for the registration in NP.
1529
- sig {
1530
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Np))
1531
- }
1532
- attr_accessor :np
1533
- # Options for the registration in NZ.
1534
- sig {
1535
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz))
1536
- }
1537
- attr_accessor :nz
1538
- # Options for the registration in OM.
1539
- sig {
1540
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om))
1541
- }
1542
- attr_accessor :om
1543
- # Options for the registration in PE.
1544
- sig {
1545
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe))
1546
- }
1547
- attr_accessor :pe
1548
- # Options for the registration in PH.
1549
- sig {
1550
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ph))
1551
- }
1552
- attr_accessor :ph
1553
- # Options for the registration in PL.
1554
- sig {
1555
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl))
1556
- }
1557
- attr_accessor :pl
1558
- # Options for the registration in PT.
1559
- sig {
1560
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt))
1561
- }
1562
- attr_accessor :pt
1563
- # Options for the registration in RO.
1564
- sig {
1565
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro))
1566
- }
1567
- attr_accessor :ro
1568
- # Options for the registration in RS.
1569
- sig {
1570
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs))
1571
- }
1572
- attr_accessor :rs
1573
- # Options for the registration in RU.
1574
- sig {
1575
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ru))
1576
- }
1577
- attr_accessor :ru
1578
- # Options for the registration in SA.
1579
- sig {
1580
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sa))
1581
- }
1582
- attr_accessor :sa
1583
- # Options for the registration in SE.
1584
- sig {
1585
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se))
1586
- }
1587
- attr_accessor :se
1588
- # Options for the registration in SG.
1589
- sig {
1590
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg))
1591
- }
1592
- attr_accessor :sg
1593
- # Options for the registration in SI.
1594
- sig {
1595
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si))
1596
- }
1597
- attr_accessor :si
1598
- # Options for the registration in SK.
1599
- sig {
1600
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk))
1601
- }
1602
- attr_accessor :sk
1603
- # Options for the registration in SN.
1604
- sig {
1605
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sn))
1606
- }
1607
- attr_accessor :sn
1608
- # Options for the registration in SR.
1609
- sig {
1610
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr))
1611
- }
1612
- attr_accessor :sr
1613
- # Options for the registration in TH.
1614
- sig {
1615
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Th))
1616
- }
1617
- attr_accessor :th
1618
- # Options for the registration in TJ.
1619
- sig {
1620
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tj))
1621
- }
1622
- attr_accessor :tj
1623
- # Options for the registration in TR.
1624
- sig {
1625
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tr))
1626
- }
1627
- attr_accessor :tr
1628
- # Options for the registration in TZ.
1629
- sig {
1630
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tz))
1631
- }
1632
- attr_accessor :tz
1633
- # Options for the registration in UA.
1634
- sig {
1635
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ua))
1636
- }
1637
- attr_accessor :ua
1638
- # Options for the registration in UG.
1639
- sig {
1640
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ug))
1641
- }
1642
- attr_accessor :ug
1643
- # Options for the registration in US.
1644
- sig {
1645
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us))
1646
- }
1647
- attr_accessor :us
1648
- # Options for the registration in UY.
1649
- sig {
1650
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy))
1651
- }
1652
- attr_accessor :uy
1653
- # Options for the registration in UZ.
1654
- sig {
1655
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uz))
1656
- }
1657
- attr_accessor :uz
1658
- # Options for the registration in VN.
1659
- sig {
1660
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Vn))
1661
- }
1662
- attr_accessor :vn
1663
- # Options for the registration in ZA.
1664
- sig {
1665
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za))
1666
- }
1667
- attr_accessor :za
1668
- # Options for the registration in ZM.
1669
- sig {
1670
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zm))
1671
- }
1672
- attr_accessor :zm
1673
- # Options for the registration in ZW.
1674
- sig {
1675
- returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw))
1676
- }
1677
- attr_accessor :zw
1678
- sig {
1679
- params(ae: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au), aw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Aw), az: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Az), ba: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb), bd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bd), be: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be), bf: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bf), bg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh), bj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bj), bs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl), cm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cm), co: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr), cv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cv), cy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es), et: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Et), fi: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke), kg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kg), kh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz), la: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::La), lt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe), ph: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ph), pl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tz), ua: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ua), ug: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw)).void
1680
- }
1681
- def initialize(
1682
- ae: nil,
1683
- al: nil,
1684
- am: nil,
1685
- ao: nil,
1686
- at: nil,
1687
- au: nil,
1688
- aw: nil,
1689
- az: nil,
1690
- ba: nil,
1691
- bb: nil,
1692
- bd: nil,
1693
- be: nil,
1694
- bf: nil,
1695
- bg: nil,
1696
- bh: nil,
1697
- bj: nil,
1698
- bs: nil,
1699
- by: nil,
1700
- ca: nil,
1701
- cd: nil,
1702
- ch: nil,
1703
- cl: nil,
1704
- cm: nil,
1705
- co: nil,
1706
- cr: nil,
1707
- cv: nil,
1708
- cy: nil,
1709
- cz: nil,
1710
- de: nil,
1711
- dk: nil,
1712
- ec: nil,
1713
- ee: nil,
1714
- eg: nil,
1715
- es: nil,
1716
- et: nil,
1717
- fi: nil,
1718
- fr: nil,
1719
- gb: nil,
1720
- ge: nil,
1721
- gn: nil,
1722
- gr: nil,
1723
- hr: nil,
1724
- hu: nil,
1725
- id: nil,
1726
- ie: nil,
1727
- in_: nil,
1728
- is: nil,
1729
- it: nil,
1730
- jp: nil,
1731
- ke: nil,
1732
- kg: nil,
1733
- kh: nil,
1734
- kr: nil,
1735
- kz: nil,
1736
- la: nil,
1737
- lt: nil,
1738
- lu: nil,
1739
- lv: nil,
1740
- ma: nil,
1741
- md: nil,
1742
- me: nil,
1743
- mk: nil,
1744
- mr: nil,
1745
- mt: nil,
1746
- mx: nil,
1747
- my: nil,
1748
- ng: nil,
1749
- nl: nil,
1750
- no: nil,
1751
- np: nil,
1752
- nz: nil,
1753
- om: nil,
1754
- pe: nil,
1755
- ph: nil,
1756
- pl: nil,
1757
- pt: nil,
1758
- ro: nil,
1759
- rs: nil,
1760
- ru: nil,
1761
- sa: nil,
1762
- se: nil,
1763
- sg: nil,
1764
- si: nil,
1765
- sk: nil,
1766
- sn: nil,
1767
- sr: nil,
1768
- th: nil,
1769
- tj: nil,
1770
- tr: nil,
1771
- tz: nil,
1772
- ua: nil,
1773
- ug: nil,
1774
- us: nil,
1775
- uy: nil,
1776
- uz: nil,
1777
- vn: nil,
1778
- za: nil,
1779
- zm: nil,
1780
- zw: nil
1781
- ); end
1782
- end
1783
- # 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.
1784
- sig { returns(T.any(String, Integer)) }
1785
- attr_accessor :active_from
1786
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1787
- sig { returns(String) }
1788
- attr_accessor :country
1789
- # Specific options for a registration in the specified `country`.
1790
- sig { returns(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions) }
1791
- attr_accessor :country_options
1792
- # Specifies which fields in the response should be expanded.
1793
- sig { returns(T.nilable(T::Array[String])) }
1794
- attr_accessor :expand
1795
- # 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.
1796
- sig { returns(T.nilable(Integer)) }
1797
- attr_accessor :expires_at
1798
- sig {
1799
- params(active_from: T.any(String, Integer), country: String, country_options: ::Stripe::Tax::RegistrationService::CreateParams::CountryOptions, expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer)).void
1800
- }
1801
- def initialize(
1802
- active_from: nil,
1803
- country: nil,
1804
- country_options: nil,
1805
- expand: nil,
1806
- expires_at: nil
1807
- ); end
1808
- end
1809
- class RetrieveParams < Stripe::RequestParams
1810
- # Specifies which fields in the response should be expanded.
1811
- sig { returns(T.nilable(T::Array[String])) }
1812
- attr_accessor :expand
1813
- sig { params(expand: T.nilable(T::Array[String])).void }
1814
- def initialize(expand: nil); end
1815
- end
1816
- class UpdateParams < Stripe::RequestParams
1817
- # 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.
1818
- sig { returns(T.nilable(T.any(String, Integer))) }
1819
- attr_accessor :active_from
1820
- # Specifies which fields in the response should be expanded.
1821
- sig { returns(T.nilable(T::Array[String])) }
1822
- attr_accessor :expand
1823
- # 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.
1824
- sig { returns(T.nilable(T.nilable(T.any(String, T.any(String, Integer))))) }
1825
- attr_accessor :expires_at
1826
- sig {
1827
- params(active_from: T.nilable(T.any(String, Integer)), expand: T.nilable(T::Array[String]), expires_at: T.nilable(T.nilable(T.any(String, T.any(String, Integer))))).void
1828
- }
1829
- def initialize(active_from: nil, expand: nil, expires_at: nil); end
1830
- end
1831
- # Creates a new Tax Registration object.
1832
- sig {
1833
- params(params: T.any(::Stripe::Tax::RegistrationService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration)
1834
- }
1835
- def create(params = {}, opts = {}); end
1836
-
1837
- # Returns a list of Tax Registration objects.
1838
- sig {
1839
- params(params: T.any(::Stripe::Tax::RegistrationService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
1840
- }
1841
- def list(params = {}, opts = {}); end
1842
-
1843
- # Returns a Tax Registration object.
1844
- sig {
1845
- params(id: String, params: T.any(::Stripe::Tax::RegistrationService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration)
1846
- }
1847
- def retrieve(id, params = {}, opts = {}); end
1848
-
1849
- # Updates an existing Tax Registration object.
1850
- #
1851
- # 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.
1852
- sig {
1853
- params(id: String, params: T.any(::Stripe::Tax::RegistrationService::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration)
1854
- }
1855
- def update(id, params = {}, opts = {}); end
1856
- end
1857
- end
1858
- end