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