stripe 15.6.0.pre.beta.1 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1097) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +5 -34
  3. data/lib/stripe/api_resource.rb +3 -0
  4. data/lib/stripe/api_version.rb +2 -1
  5. data/lib/stripe/errors.rb +0 -60
  6. data/lib/stripe/event_types.rb +20 -108
  7. data/lib/stripe/events/unknown_event_notification.rb +19 -0
  8. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +115 -15
  9. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +93 -6
  10. data/lib/stripe/events/v2_core_event_destination_ping_event.rb +35 -12
  11. data/lib/stripe/object_types.rb +2 -54
  12. data/lib/stripe/params/account_capability_list_params.rb +13 -0
  13. data/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
  14. data/lib/stripe/params/account_capability_update_params.rb +18 -0
  15. data/lib/stripe/params/account_create_params.rb +2083 -0
  16. data/lib/stripe/params/account_delete_params.rb +6 -0
  17. data/lib/stripe/params/account_external_account_create_params.rb +134 -0
  18. data/lib/stripe/params/account_external_account_delete_params.rb +6 -0
  19. data/lib/stripe/params/account_external_account_list_params.rb +25 -0
  20. data/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
  21. data/lib/stripe/params/account_external_account_update_params.rb +91 -0
  22. data/lib/stripe/params/account_link_create_params.rb +52 -0
  23. data/lib/stripe/params/account_list_params.rb +42 -0
  24. data/lib/stripe/params/account_login_link_create_params.rb +13 -0
  25. data/lib/stripe/params/account_person_create_params.rb +435 -0
  26. data/lib/stripe/params/account_person_delete_params.rb +6 -0
  27. data/lib/stripe/params/account_person_list_params.rb +61 -0
  28. data/lib/stripe/params/account_person_retrieve_params.rb +13 -0
  29. data/lib/stripe/params/account_person_update_params.rb +435 -0
  30. data/lib/stripe/params/account_persons_params.rb +61 -0
  31. data/lib/stripe/params/account_reject_params.rb +16 -0
  32. data/lib/stripe/params/account_retrieve_current_params.rb +13 -0
  33. data/lib/stripe/params/account_retrieve_params.rb +13 -0
  34. data/lib/stripe/params/account_session_create_params.rb +598 -0
  35. data/lib/stripe/params/account_update_params.rb +2030 -0
  36. data/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
  37. data/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
  38. data/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
  39. data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
  40. data/lib/stripe/params/application_fee_list_params.rb +52 -0
  41. data/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
  42. data/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
  43. data/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
  44. data/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
  45. data/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
  46. data/lib/stripe/params/apps/secret_create_params.rb +38 -0
  47. data/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
  48. data/lib/stripe/params/apps/secret_find_params.rb +32 -0
  49. data/lib/stripe/{services/quote_line_service.rb → params/apps/secret_list_params.rb} +17 -14
  50. data/lib/stripe/params/balance_retrieve_params.rb +13 -0
  51. data/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
  52. data/lib/stripe/params/balance_settings_update_params.rb +67 -0
  53. data/lib/stripe/params/balance_transaction_list_params.rb +64 -0
  54. data/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
  55. data/lib/stripe/params/billing/alert_activate_params.rb +15 -0
  56. data/lib/stripe/params/billing/alert_archive_params.rb +15 -0
  57. data/lib/stripe/params/billing/alert_create_params.rb +52 -0
  58. data/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
  59. data/lib/stripe/params/billing/alert_list_params.rb +37 -0
  60. data/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
  61. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +54 -0
  62. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +37 -0
  63. data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
  64. data/lib/stripe/params/billing/credit_grant_create_params.rb +103 -0
  65. data/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
  66. data/lib/stripe/params/billing/credit_grant_list_params.rb +33 -0
  67. data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
  68. data/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
  69. data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
  70. data/lib/stripe/params/billing/meter_create_params.rb +70 -0
  71. data/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
  72. data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
  73. data/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
  74. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
  75. data/lib/stripe/params/billing/meter_list_params.rb +27 -0
  76. data/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
  77. data/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
  78. data/lib/stripe/params/billing/meter_update_params.rb +18 -0
  79. data/lib/stripe/params/billing_portal/configuration_create_params.rb +225 -0
  80. data/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
  81. data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
  82. data/lib/stripe/params/billing_portal/configuration_update_params.rb +231 -0
  83. data/lib/stripe/params/billing_portal/session_create_params.rb +179 -0
  84. data/lib/stripe/params/charge_capture_params.rb +57 -0
  85. data/lib/stripe/params/charge_create_params.rb +172 -0
  86. data/lib/stripe/params/charge_list_params.rb +60 -0
  87. data/lib/stripe/params/charge_retrieve_params.rb +13 -0
  88. data/lib/stripe/params/charge_search_params.rb +22 -0
  89. data/lib/stripe/params/charge_update_params.rb +102 -0
  90. data/lib/stripe/params/checkout/session_create_params.rb +2445 -0
  91. data/lib/stripe/params/checkout/session_expire_params.rb +15 -0
  92. data/lib/stripe/{services/quote_preview_subscription_schedule_service.rb → params/checkout/session_line_item_list_params.rb} +2 -13
  93. data/lib/stripe/{services/order_line_item_service.rb → params/checkout/session_list_line_items_params.rb} +2 -13
  94. data/lib/stripe/params/checkout/session_list_params.rb +83 -0
  95. data/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
  96. data/lib/stripe/params/checkout/session_update_params.rb +179 -0
  97. data/lib/stripe/params/climate/order_cancel_params.rb +15 -0
  98. data/lib/stripe/params/climate/order_create_params.rb +49 -0
  99. data/lib/stripe/params/climate/order_list_params.rb +24 -0
  100. data/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
  101. data/lib/stripe/params/climate/order_update_params.rb +29 -0
  102. data/lib/stripe/params/climate/product_list_params.rb +24 -0
  103. data/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
  104. data/lib/stripe/params/climate/supplier_list_params.rb +24 -0
  105. data/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
  106. data/lib/stripe/params/confirmation_token_create_params.rb +650 -0
  107. data/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
  108. data/lib/stripe/params/country_spec_list_params.rb +22 -0
  109. data/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
  110. data/lib/stripe/params/coupon_create_params.rb +80 -0
  111. data/lib/stripe/params/coupon_delete_params.rb +6 -0
  112. data/lib/stripe/params/coupon_list_params.rb +42 -0
  113. data/lib/stripe/params/coupon_retrieve_params.rb +13 -0
  114. data/lib/stripe/params/coupon_update_params.rb +30 -0
  115. data/lib/stripe/params/credit_note_create_params.rb +144 -0
  116. data/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
  117. data/lib/stripe/params/credit_note_list_params.rb +56 -0
  118. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +156 -0
  119. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +156 -0
  120. data/lib/stripe/params/credit_note_preview_params.rb +144 -0
  121. data/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
  122. data/lib/stripe/params/credit_note_update_params.rb +19 -0
  123. data/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
  124. data/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
  125. data/lib/stripe/params/customer_balance_transaction_list_params.rb +22 -0
  126. data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
  127. data/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
  128. data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
  129. data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
  130. data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
  131. data/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
  132. data/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
  133. data/lib/stripe/params/customer_create_params.rb +259 -0
  134. data/lib/stripe/params/customer_delete_discount_params.rb +6 -0
  135. data/lib/stripe/params/customer_delete_params.rb +6 -0
  136. data/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
  137. data/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
  138. data/lib/stripe/params/customer_list_params.rb +56 -0
  139. data/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
  140. data/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
  141. data/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
  142. data/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
  143. data/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
  144. data/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
  145. data/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
  146. data/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
  147. data/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
  148. data/lib/stripe/params/customer_retrieve_params.rb +13 -0
  149. data/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
  150. data/lib/stripe/params/customer_search_params.rb +22 -0
  151. data/lib/stripe/params/customer_session_create_params.rb +100 -0
  152. data/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
  153. data/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
  154. data/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
  155. data/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
  156. data/lib/stripe/params/customer_update_params.rb +243 -0
  157. data/lib/stripe/params/dispute_close_params.rb +13 -0
  158. data/lib/stripe/params/dispute_list_params.rb +56 -0
  159. data/lib/stripe/params/dispute_retrieve_params.rb +13 -0
  160. data/lib/stripe/params/dispute_update_params.rb +308 -0
  161. data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
  162. data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
  163. data/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
  164. data/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
  165. data/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
  166. data/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
  167. data/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
  168. data/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
  169. data/lib/stripe/params/event_list_params.rb +60 -0
  170. data/lib/stripe/params/event_retrieve_params.rb +13 -0
  171. data/lib/stripe/params/exchange_rate_list_params.rb +22 -0
  172. data/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
  173. data/lib/stripe/params/file_create_params.rb +36 -0
  174. data/lib/stripe/params/file_link_create_params.rb +22 -0
  175. data/lib/stripe/params/file_link_list_params.rb +56 -0
  176. data/lib/stripe/params/file_link_retrieve_params.rb +13 -0
  177. data/lib/stripe/params/file_link_update_params.rb +19 -0
  178. data/lib/stripe/params/file_list_params.rb +52 -0
  179. data/lib/stripe/params/file_retrieve_params.rb +13 -0
  180. data/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
  181. data/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
  182. data/lib/stripe/params/financial_connections/account_list_params.rb +48 -0
  183. data/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
  184. data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
  185. data/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
  186. data/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
  187. data/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
  188. data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
  189. data/lib/stripe/params/financial_connections/session_create_params.rb +65 -0
  190. data/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
  191. data/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
  192. data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
  193. data/lib/stripe/params/forwarding/request_create_params.rb +59 -0
  194. data/lib/stripe/params/forwarding/request_list_params.rb +44 -0
  195. data/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
  196. data/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
  197. data/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
  198. data/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
  199. data/lib/stripe/params/identity/verification_session_create_params.rb +107 -0
  200. data/lib/stripe/params/identity/verification_session_list_params.rb +62 -0
  201. data/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
  202. data/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
  203. data/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
  204. data/lib/stripe/params/invoice_add_lines_params.rb +231 -0
  205. data/lib/stripe/params/invoice_attach_payment_params.rb +16 -0
  206. data/lib/stripe/params/invoice_create_params.rb +589 -0
  207. data/lib/stripe/params/invoice_create_preview_params.rb +993 -0
  208. data/lib/stripe/params/invoice_delete_params.rb +6 -0
  209. data/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
  210. data/lib/stripe/params/invoice_item_create_params.rb +145 -0
  211. data/lib/stripe/params/invoice_item_delete_params.rb +6 -0
  212. data/lib/stripe/params/invoice_item_list_params.rb +60 -0
  213. data/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
  214. data/lib/stripe/params/invoice_item_update_params.rb +129 -0
  215. data/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
  216. data/lib/stripe/params/invoice_line_item_update_params.rb +217 -0
  217. data/lib/stripe/params/invoice_list_params.rb +86 -0
  218. data/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
  219. data/lib/stripe/params/invoice_pay_params.rb +41 -0
  220. data/lib/stripe/params/invoice_payment_list_params.rb +50 -0
  221. data/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
  222. data/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
  223. data/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
  224. data/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
  225. data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
  226. data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
  227. data/lib/stripe/params/invoice_retrieve_params.rb +13 -0
  228. data/lib/stripe/params/invoice_search_params.rb +22 -0
  229. data/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
  230. data/lib/stripe/params/invoice_update_lines_params.rb +231 -0
  231. data/lib/stripe/params/invoice_update_params.rb +557 -0
  232. data/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
  233. data/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
  234. data/lib/stripe/params/issuing/authorization_capture_params.rb +265 -0
  235. data/lib/stripe/params/issuing/authorization_create_params.rb +357 -0
  236. data/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
  237. data/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
  238. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +143 -0
  239. data/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
  240. data/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
  241. data/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
  242. data/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
  243. data/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
  244. data/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
  245. data/lib/stripe/params/issuing/card_create_params.rb +213 -0
  246. data/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
  247. data/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
  248. data/lib/stripe/params/issuing/card_list_params.rb +78 -0
  249. data/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
  250. data/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
  251. data/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
  252. data/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
  253. data/lib/stripe/params/issuing/card_update_params.rb +181 -0
  254. data/lib/stripe/params/issuing/cardholder_create_params.rb +238 -0
  255. data/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
  256. data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
  257. data/lib/stripe/params/issuing/cardholder_update_params.rb +230 -0
  258. data/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
  259. data/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
  260. data/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
  261. data/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
  262. data/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
  263. data/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
  264. data/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
  265. data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
  266. data/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
  267. data/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
  268. data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
  269. data/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
  270. data/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
  271. data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
  272. data/lib/stripe/params/issuing/token_list_params.rb +58 -0
  273. data/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
  274. data/lib/stripe/params/issuing/token_update_params.rb +18 -0
  275. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +316 -0
  276. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +316 -0
  277. data/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
  278. data/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
  279. data/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
  280. data/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
  281. data/lib/stripe/params/mandate_retrieve_params.rb +13 -0
  282. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
  283. data/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
  284. data/lib/stripe/params/payment_intent_capture_params.rb +54 -0
  285. data/lib/stripe/params/payment_intent_confirm_params.rb +2379 -0
  286. data/lib/stripe/params/payment_intent_create_params.rb +2480 -0
  287. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +48 -0
  288. data/lib/stripe/params/payment_intent_list_params.rb +52 -0
  289. data/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
  290. data/lib/stripe/params/payment_intent_search_params.rb +22 -0
  291. data/lib/stripe/params/payment_intent_update_params.rb +2353 -0
  292. data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
  293. data/lib/stripe/params/payment_link_create_params.rb +776 -0
  294. data/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
  295. data/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
  296. data/lib/stripe/params/payment_link_list_params.rb +25 -0
  297. data/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
  298. data/lib/stripe/params/payment_link_update_params.rb +564 -0
  299. data/lib/stripe/params/payment_method_attach_params.rb +16 -0
  300. data/lib/stripe/params/payment_method_configuration_create_params.rb +1135 -0
  301. data/lib/stripe/params/payment_method_configuration_list_params.rb +31 -0
  302. data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
  303. data/lib/stripe/params/payment_method_configuration_update_params.rb +1135 -0
  304. data/lib/stripe/params/payment_method_create_params.rb +583 -0
  305. data/lib/stripe/params/payment_method_detach_params.rb +13 -0
  306. data/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
  307. data/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
  308. data/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
  309. data/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
  310. data/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
  311. data/lib/stripe/params/payment_method_list_params.rb +35 -0
  312. data/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
  313. data/lib/stripe/params/payment_method_update_params.rb +120 -0
  314. data/lib/stripe/params/payout_cancel_params.rb +13 -0
  315. data/lib/stripe/params/payout_create_params.rb +51 -0
  316. data/lib/stripe/params/payout_list_params.rb +78 -0
  317. data/lib/stripe/params/payout_retrieve_params.rb +13 -0
  318. data/lib/stripe/params/payout_reverse_params.rb +16 -0
  319. data/lib/stripe/params/payout_update_params.rb +16 -0
  320. data/lib/stripe/params/plan_create_params.rb +158 -0
  321. data/lib/stripe/params/plan_delete_params.rb +6 -0
  322. data/lib/stripe/params/plan_list_params.rb +56 -0
  323. data/lib/stripe/params/plan_retrieve_params.rb +13 -0
  324. data/lib/stripe/params/plan_update_params.rb +35 -0
  325. data/lib/stripe/params/price_create_params.rb +278 -0
  326. data/lib/stripe/params/price_list_params.rb +87 -0
  327. data/lib/stripe/params/price_retrieve_params.rb +13 -0
  328. data/lib/stripe/params/price_search_params.rb +22 -0
  329. data/lib/stripe/params/price_update_params.rb +113 -0
  330. data/lib/stripe/params/product_create_params.rb +243 -0
  331. data/lib/stripe/params/product_delete_params.rb +6 -0
  332. data/lib/stripe/params/product_feature_create_params.rb +16 -0
  333. data/lib/stripe/params/product_feature_delete_params.rb +6 -0
  334. data/lib/stripe/params/product_feature_list_params.rb +22 -0
  335. data/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
  336. data/lib/stripe/params/product_list_params.rb +68 -0
  337. data/lib/stripe/params/product_retrieve_params.rb +13 -0
  338. data/lib/stripe/params/product_search_params.rb +22 -0
  339. data/lib/stripe/params/product_update_params.rb +96 -0
  340. data/lib/stripe/params/promotion_code_create_params.rb +91 -0
  341. data/lib/stripe/params/promotion_code_list_params.rb +64 -0
  342. data/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
  343. data/lib/stripe/params/promotion_code_update_params.rb +38 -0
  344. data/lib/stripe/params/quote_accept_params.rb +13 -0
  345. data/lib/stripe/params/quote_cancel_params.rb +13 -0
  346. data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
  347. data/lib/stripe/params/quote_create_params.rb +301 -0
  348. data/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
  349. data/lib/stripe/params/quote_line_item_list_params.rb +22 -0
  350. data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
  351. data/lib/stripe/params/quote_list_line_items_params.rb +22 -0
  352. data/lib/stripe/params/quote_list_params.rb +39 -0
  353. data/lib/stripe/params/quote_pdf_params.rb +13 -0
  354. data/lib/stripe/params/quote_retrieve_params.rb +13 -0
  355. data/lib/stripe/params/quote_update_params.rb +263 -0
  356. data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
  357. data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
  358. data/lib/stripe/params/radar/value_list_create_params.rb +27 -0
  359. data/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
  360. data/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
  361. data/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
  362. data/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
  363. data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
  364. data/lib/stripe/params/radar/value_list_list_params.rb +58 -0
  365. data/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
  366. data/lib/stripe/params/radar/value_list_update_params.rb +24 -0
  367. data/lib/stripe/params/refund_cancel_params.rb +13 -0
  368. data/lib/stripe/params/refund_create_params.rb +59 -0
  369. data/lib/stripe/params/refund_expire_params.rb +13 -0
  370. data/lib/stripe/params/refund_list_params.rb +56 -0
  371. data/lib/stripe/params/refund_retrieve_params.rb +13 -0
  372. data/lib/stripe/params/refund_update_params.rb +16 -0
  373. data/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
  374. data/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
  375. data/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
  376. data/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
  377. data/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
  378. data/lib/stripe/params/review_approve_params.rb +13 -0
  379. data/lib/stripe/params/review_list_params.rb +42 -0
  380. data/lib/stripe/params/review_retrieve_params.rb +13 -0
  381. data/lib/stripe/params/setup_attempt_list_params.rb +55 -0
  382. data/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
  383. data/lib/stripe/params/setup_intent_confirm_params.rb +1050 -0
  384. data/lib/stripe/params/setup_intent_create_params.rb +1130 -0
  385. data/lib/stripe/params/setup_intent_list_params.rb +62 -0
  386. data/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
  387. data/lib/stripe/params/setup_intent_update_params.rb +1025 -0
  388. data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
  389. data/lib/stripe/params/shipping_rate_create_params.rb +103 -0
  390. data/lib/stripe/params/shipping_rate_list_params.rb +56 -0
  391. data/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
  392. data/lib/stripe/params/shipping_rate_update_params.rb +44 -0
  393. data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
  394. data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
  395. data/lib/stripe/params/source_create_params.rb +317 -0
  396. data/lib/stripe/params/source_detach_params.rb +13 -0
  397. data/lib/stripe/params/source_retrieve_params.rb +16 -0
  398. data/lib/stripe/params/source_transaction_list_params.rb +22 -0
  399. data/lib/stripe/params/source_update_params.rb +259 -0
  400. data/lib/stripe/params/source_verify_params.rb +16 -0
  401. data/lib/stripe/params/subscription_cancel_params.rb +33 -0
  402. data/lib/stripe/params/subscription_create_params.rb +704 -0
  403. data/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
  404. data/lib/stripe/params/subscription_item_create_params.rb +134 -0
  405. data/lib/stripe/params/subscription_item_delete_params.rb +19 -0
  406. data/lib/stripe/params/subscription_item_list_params.rb +31 -0
  407. data/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
  408. data/lib/stripe/params/subscription_item_update_params.rb +134 -0
  409. data/lib/stripe/params/subscription_list_params.rb +129 -0
  410. data/lib/stripe/params/subscription_migrate_params.rb +35 -0
  411. data/lib/stripe/params/subscription_resume_params.rb +27 -0
  412. data/lib/stripe/params/subscription_retrieve_params.rb +13 -0
  413. data/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
  414. data/lib/stripe/params/subscription_schedule_create_params.rb +590 -0
  415. data/lib/stripe/params/subscription_schedule_list_params.rb +122 -0
  416. data/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
  417. data/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
  418. data/lib/stripe/params/subscription_schedule_update_params.rb +562 -0
  419. data/lib/stripe/params/subscription_search_params.rb +22 -0
  420. data/lib/stripe/params/subscription_update_params.rb +683 -0
  421. data/lib/stripe/params/tax/calculation_create_params.rb +206 -0
  422. data/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
  423. data/lib/stripe/{services/quote_preview_invoice_service.rb → params/tax/calculation_list_line_items_params.rb} +2 -13
  424. data/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
  425. data/lib/stripe/params/tax/registration_create_params.rb +2018 -0
  426. data/lib/stripe/params/tax/registration_list_params.rb +27 -0
  427. data/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
  428. data/lib/stripe/params/tax/registration_update_params.rb +21 -0
  429. data/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
  430. data/lib/stripe/params/tax/settings_update_params.rb +71 -0
  431. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
  432. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
  433. data/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
  434. data/lib/stripe/{services/payment_intent_amount_details_line_item_service.rb → params/tax/transaction_list_line_items_params.rb} +2 -13
  435. data/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
  436. data/lib/stripe/params/tax_code_list_params.rb +22 -0
  437. data/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
  438. data/lib/stripe/params/tax_id_create_params.rb +36 -0
  439. data/lib/stripe/params/tax_id_delete_params.rb +6 -0
  440. data/lib/stripe/params/tax_id_list_params.rb +39 -0
  441. data/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
  442. data/lib/stripe/params/tax_rate_create_params.rb +55 -0
  443. data/lib/stripe/params/tax_rate_list_params.rb +56 -0
  444. data/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
  445. data/lib/stripe/params/tax_rate_update_params.rb +47 -0
  446. data/lib/stripe/params/terminal/configuration_create_params.rb +593 -0
  447. data/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
  448. data/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
  449. data/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
  450. data/lib/stripe/params/terminal/configuration_update_params.rb +593 -0
  451. data/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
  452. data/lib/stripe/params/terminal/location_create_params.rb +153 -0
  453. data/lib/stripe/params/terminal/location_delete_params.rb +8 -0
  454. data/lib/stripe/params/terminal/location_list_params.rb +24 -0
  455. data/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
  456. data/lib/stripe/params/terminal/location_update_params.rb +153 -0
  457. data/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
  458. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
  459. data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
  460. data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
  461. data/lib/stripe/params/terminal/reader_create_params.rb +27 -0
  462. data/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
  463. data/lib/stripe/params/terminal/reader_list_params.rb +45 -0
  464. data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
  465. data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
  466. data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
  467. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
  468. data/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
  469. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
  470. data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
  471. data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
  472. data/lib/stripe/params/terminal/reader_update_params.rb +21 -0
  473. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +652 -0
  474. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
  475. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +267 -0
  476. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +359 -0
  477. data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
  478. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +145 -0
  479. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
  480. data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
  481. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
  482. data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
  483. data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
  484. data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
  485. data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
  486. data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
  487. data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
  488. data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
  489. data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
  490. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +318 -0
  491. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +318 -0
  492. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
  493. data/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
  494. data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
  495. data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
  496. data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
  497. data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
  498. data/lib/stripe/params/test_helpers/test_clock_create_params.rb +21 -0
  499. data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
  500. data/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
  501. data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
  502. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
  503. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
  504. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
  505. data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
  506. data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
  507. data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
  508. data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
  509. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
  510. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
  511. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
  512. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
  513. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
  514. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
  515. data/lib/stripe/params/token_create_params.rb +1191 -0
  516. data/lib/stripe/params/token_retrieve_params.rb +13 -0
  517. data/lib/stripe/params/topup_cancel_params.rb +13 -0
  518. data/lib/stripe/params/topup_create_params.rb +43 -0
  519. data/lib/stripe/params/topup_list_params.rb +74 -0
  520. data/lib/stripe/params/topup_retrieve_params.rb +13 -0
  521. data/lib/stripe/params/topup_update_params.rb +19 -0
  522. data/lib/stripe/params/transfer_create_params.rb +47 -0
  523. data/lib/stripe/params/transfer_list_params.rb +56 -0
  524. data/lib/stripe/params/transfer_retrieve_params.rb +13 -0
  525. data/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
  526. data/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
  527. data/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
  528. data/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
  529. data/lib/stripe/params/transfer_update_params.rb +19 -0
  530. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
  531. data/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
  532. data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
  533. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
  534. data/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
  535. data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
  536. data/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
  537. data/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
  538. data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
  539. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
  540. data/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
  541. data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
  542. data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
  543. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
  544. data/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
  545. data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
  546. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
  547. data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
  548. data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
  549. data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
  550. data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
  551. data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
  552. data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
  553. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
  554. data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
  555. data/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
  556. data/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
  557. data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
  558. data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
  559. data/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
  560. data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
  561. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
  562. data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
  563. data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
  564. data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
  565. data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
  566. data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
  567. data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
  568. data/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
  569. data/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
  570. data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
  571. data/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
  572. data/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
  573. data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
  574. data/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
  575. data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
  576. data/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
  577. data/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
  578. data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
  579. data/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
  580. data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
  581. data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
  582. data/lib/stripe/params/v2/core/event_destination_create_params.rb +79 -0
  583. data/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
  584. data/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
  585. data/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
  586. data/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
  587. data/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
  588. data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
  589. data/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
  590. data/lib/stripe/params/v2/core/event_list_params.rb +22 -0
  591. data/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
  592. data/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
  593. data/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
  594. data/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
  595. data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
  596. data/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
  597. data/lib/stripe/params.rb +588 -0
  598. data/lib/stripe/request_options.rb +14 -5
  599. data/lib/stripe/resources/account.rb +437 -4906
  600. data/lib/stripe/resources/account_link.rb +8 -47
  601. data/lib/stripe/resources/account_session.rb +338 -910
  602. data/lib/stripe/resources/apple_pay_domain.rb +8 -40
  603. data/lib/stripe/resources/application.rb +8 -0
  604. data/lib/stripe/resources/application_fee.rb +12 -44
  605. data/lib/stripe/resources/application_fee_refund.rb +8 -0
  606. data/lib/stripe/resources/apps/secret.rb +12 -112
  607. data/lib/stripe/resources/balance.rb +159 -0
  608. data/lib/stripe/resources/balance_settings.rb +40 -60
  609. data/lib/stripe/resources/balance_transaction.rb +12 -56
  610. data/lib/stripe/resources/bank_account.rb +40 -0
  611. data/lib/stripe/resources/billing/alert.rb +20 -100
  612. data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
  613. data/lib/stripe/resources/billing/credit_balance_summary.rb +48 -2
  614. data/lib/stripe/resources/billing/credit_balance_transaction.rb +73 -33
  615. data/lib/stripe/resources/billing/credit_grant.rb +42 -161
  616. data/lib/stripe/resources/billing/meter.rb +40 -116
  617. data/lib/stripe/resources/billing/meter_event.rb +8 -20
  618. data/lib/stripe/resources/billing/meter_event_adjustment.rb +12 -22
  619. data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
  620. data/lib/stripe/resources/billing_portal/configuration.rb +120 -473
  621. data/lib/stripe/resources/billing_portal/session.rb +98 -176
  622. data/lib/stripe/resources/capability.rb +56 -0
  623. data/lib/stripe/resources/card.rb +17 -3
  624. data/lib/stripe/resources/cash_balance.rb +16 -2
  625. data/lib/stripe/resources/charge.rb +949 -1945
  626. data/lib/stripe/resources/checkout/session.rb +1038 -2991
  627. data/lib/stripe/resources/climate/order.rb +28 -89
  628. data/lib/stripe/resources/climate/product.rb +13 -15
  629. data/lib/stripe/resources/climate/supplier.rb +13 -15
  630. data/lib/stripe/resources/confirmation_token.rb +883 -841
  631. data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
  632. data/lib/stripe/resources/country_spec.rb +29 -15
  633. data/lib/stripe/resources/coupon.rb +19 -166
  634. data/lib/stripe/resources/credit_note.rb +66 -510
  635. data/lib/stripe/resources/credit_note_line_item.rb +43 -8
  636. data/lib/stripe/resources/customer.rb +81 -677
  637. data/lib/stripe/resources/customer_balance_transaction.rb +8 -2
  638. data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -2
  639. data/lib/stripe/resources/customer_session.rb +49 -98
  640. data/lib/stripe/resources/discount.rb +24 -6
  641. data/lib/stripe/resources/dispute.rb +159 -376
  642. data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -26
  643. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
  644. data/lib/stripe/resources/entitlements/feature.rb +8 -66
  645. data/lib/stripe/resources/ephemeral_key.rb +8 -8
  646. data/lib/stripe/resources/event.rb +16 -79
  647. data/lib/stripe/resources/exchange_rate.rb +18 -17
  648. data/lib/stripe/resources/file.rb +8 -79
  649. data/lib/stripe/resources/file_link.rb +8 -84
  650. data/lib/stripe/resources/financial_connections/account.rb +65 -130
  651. data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
  652. data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
  653. data/lib/stripe/resources/financial_connections/session.rb +20 -115
  654. data/lib/stripe/resources/financial_connections/transaction.rb +12 -57
  655. data/lib/stripe/resources/forwarding/request.rb +48 -93
  656. data/lib/stripe/resources/funding_instructions.rb +217 -24
  657. data/lib/stripe/resources/identity/verification_report.rb +165 -56
  658. data/lib/stripe/resources/identity/verification_session.rb +124 -247
  659. data/lib/stripe/resources/invoice.rb +500 -4017
  660. data/lib/stripe/resources/invoice_item.rb +69 -385
  661. data/lib/stripe/resources/invoice_line_item.rb +124 -251
  662. data/lib/stripe/resources/invoice_payment.rb +20 -47
  663. data/lib/stripe/resources/invoice_rendering_template.rb +8 -38
  664. data/lib/stripe/resources/issuing/authorization.rb +173 -836
  665. data/lib/stripe/resources/issuing/card.rb +98 -499
  666. data/lib/stripe/resources/issuing/cardholder.rb +108 -515
  667. data/lib/stripe/resources/issuing/dispute.rb +93 -620
  668. data/lib/stripe/resources/issuing/personalization_design.rb +32 -221
  669. data/lib/stripe/resources/issuing/physical_bundle.rb +13 -28
  670. data/lib/stripe/resources/issuing/token.rb +57 -60
  671. data/lib/stripe/resources/issuing/transaction.rb +147 -702
  672. data/lib/stripe/resources/line_item.rb +22 -35
  673. data/lib/stripe/resources/login_link.rb +8 -0
  674. data/lib/stripe/resources/mandate.rb +219 -94
  675. data/lib/stripe/resources/payment_intent.rb +1241 -13361
  676. data/lib/stripe/resources/payment_link.rb +333 -1357
  677. data/lib/stripe/resources/payment_method.rb +796 -966
  678. data/lib/stripe/resources/payment_method_configuration.rb +862 -2528
  679. data/lib/stripe/resources/payment_method_domain.rb +107 -63
  680. data/lib/stripe/resources/payout.rb +12 -150
  681. data/lib/stripe/resources/person.rb +184 -4
  682. data/lib/stripe/resources/plan.rb +20 -235
  683. data/lib/stripe/resources/price.rb +65 -509
  684. data/lib/stripe/resources/product.rb +23 -411
  685. data/lib/stripe/resources/product_feature.rb +8 -0
  686. data/lib/stripe/resources/promotion_code.rb +40 -182
  687. data/lib/stripe/resources/quote.rb +280 -2743
  688. data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -51
  689. data/lib/stripe/resources/radar/value_list.rb +8 -92
  690. data/lib/stripe/resources/radar/value_list_item.rb +8 -68
  691. data/lib/stripe/resources/refund.rb +365 -159
  692. data/lib/stripe/resources/reporting/report_run.rb +12 -93
  693. data/lib/stripe/resources/reporting/report_type.rb +8 -8
  694. data/lib/stripe/resources/reserve_transaction.rb +8 -0
  695. data/lib/stripe/resources/reversal.rb +8 -0
  696. data/lib/stripe/resources/review.rb +20 -43
  697. data/lib/stripe/resources/setup_attempt.rb +284 -87
  698. data/lib/stripe/resources/setup_intent.rb +358 -4143
  699. data/lib/stripe/resources/shipping_rate.rb +44 -187
  700. data/lib/stripe/resources/sigma/scheduled_query_run.rb +13 -15
  701. data/lib/stripe/resources/source.rb +267 -611
  702. data/lib/stripe/resources/source_mandate_notification.rb +32 -0
  703. data/lib/stripe/resources/source_transaction.rb +54 -0
  704. data/lib/stripe/resources/subscription.rb +266 -1931
  705. data/lib/stripe/resources/subscription_item.rb +12 -379
  706. data/lib/stripe/resources/subscription_schedule.rb +230 -2273
  707. data/lib/stripe/resources/tax/calculation.rb +111 -220
  708. data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
  709. data/lib/stripe/resources/tax/registration.rb +1274 -2096
  710. data/lib/stripe/resources/tax/settings.rb +61 -64
  711. data/lib/stripe/resources/tax/transaction.rb +95 -122
  712. data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
  713. data/lib/stripe/resources/tax_code.rb +8 -17
  714. data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
  715. data/lib/stripe/resources/tax_id.rb +20 -75
  716. data/lib/stripe/resources/tax_rate.rb +12 -142
  717. data/lib/stripe/resources/terminal/configuration.rb +301 -1205
  718. data/lib/stripe/resources/terminal/connection_token.rb +8 -11
  719. data/lib/stripe/resources/terminal/location.rb +72 -126
  720. data/lib/stripe/resources/terminal/reader.rb +237 -509
  721. data/lib/stripe/resources/test_helpers/test_clock.rb +20 -43
  722. data/lib/stripe/resources/token.rb +8 -1191
  723. data/lib/stripe/resources/topup.rb +8 -132
  724. data/lib/stripe/resources/transfer.rb +8 -115
  725. data/lib/stripe/resources/treasury/credit_reversal.rb +12 -46
  726. data/lib/stripe/resources/treasury/debit_reversal.rb +20 -50
  727. data/lib/stripe/resources/treasury/financial_account.rb +55 -658
  728. data/lib/stripe/resources/treasury/financial_account_features.rb +192 -2
  729. data/lib/stripe/resources/treasury/inbound_transfer.rb +67 -115
  730. data/lib/stripe/resources/treasury/outbound_payment.rb +104 -334
  731. data/lib/stripe/resources/treasury/outbound_transfer.rb +93 -235
  732. data/lib/stripe/resources/treasury/received_credit.rb +76 -136
  733. data/lib/stripe/resources/treasury/received_debit.rb +68 -126
  734. data/lib/stripe/resources/treasury/transaction.rb +32 -82
  735. data/lib/stripe/resources/treasury/transaction_entry.rb +20 -74
  736. data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
  737. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
  738. data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
  739. data/lib/stripe/resources/v2/core/event.rb +67 -0
  740. data/lib/stripe/resources/v2/core/event_destination.rb +119 -0
  741. data/lib/stripe/resources/v2/core/event_notification.rb +62 -0
  742. data/lib/stripe/resources/v2/deleted_object.rb +21 -0
  743. data/lib/stripe/resources/webhook_endpoint.rb +8 -85
  744. data/lib/stripe/resources.rb +3 -110
  745. data/lib/stripe/services/account_capability_service.rb +0 -32
  746. data/lib/stripe/services/account_external_account_service.rb +0 -249
  747. data/lib/stripe/services/account_link_service.rb +0 -48
  748. data/lib/stripe/services/account_login_link_service.rb +0 -9
  749. data/lib/stripe/services/account_person_service.rb +0 -958
  750. data/lib/stripe/services/account_service.rb +0 -4710
  751. data/lib/stripe/services/account_session_service.rb +0 -862
  752. data/lib/stripe/services/apple_pay_domain_service.rb +0 -50
  753. data/lib/stripe/services/application_fee_refund_service.rb +0 -54
  754. data/lib/stripe/services/application_fee_service.rb +0 -57
  755. data/lib/stripe/services/apps/secret_service.rb +0 -116
  756. data/lib/stripe/services/balance_service.rb +0 -9
  757. data/lib/stripe/services/balance_settings_service.rb +0 -69
  758. data/lib/stripe/services/balance_transaction_service.rb +0 -69
  759. data/lib/stripe/services/billing/alert_service.rb +0 -113
  760. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -51
  761. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -44
  762. data/lib/stripe/services/billing/credit_grant_service.rb +0 -174
  763. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -26
  764. data/lib/stripe/services/billing/meter_event_service.rb +0 -21
  765. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -39
  766. data/lib/stripe/services/billing/meter_service.rb +0 -130
  767. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -486
  768. data/lib/stripe/services/billing_portal/session_service.rb +0 -177
  769. data/lib/stripe/services/billing_service.rb +1 -2
  770. data/lib/stripe/services/charge_service.rb +0 -1820
  771. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
  772. data/lib/stripe/services/checkout/session_service.rb +0 -2882
  773. data/lib/stripe/services/climate/order_service.rb +0 -102
  774. data/lib/stripe/services/climate/product_service.rb +0 -27
  775. data/lib/stripe/services/climate/supplier_service.rb +0 -27
  776. data/lib/stripe/services/confirmation_token_service.rb +0 -9
  777. data/lib/stripe/services/country_spec_service.rb +0 -27
  778. data/lib/stripe/services/coupon_service.rb +0 -167
  779. data/lib/stripe/services/credit_note_line_item_service.rb +0 -18
  780. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -152
  781. data/lib/stripe/services/credit_note_service.rb +0 -369
  782. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -63
  783. data/lib/stripe/services/customer_cash_balance_service.rb +0 -29
  784. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -27
  785. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -42
  786. data/lib/stripe/services/customer_payment_method_service.rb +0 -40
  787. data/lib/stripe/services/customer_payment_source_service.rb +0 -179
  788. data/lib/stripe/services/customer_service.rb +0 -575
  789. data/lib/stripe/services/customer_session_service.rb +0 -99
  790. data/lib/stripe/services/customer_tax_id_service.rb +0 -44
  791. data/lib/stripe/services/dispute_service.rb +0 -374
  792. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -36
  793. data/lib/stripe/services/entitlements/feature_service.rb +0 -76
  794. data/lib/stripe/services/ephemeral_key_service.rb +0 -36
  795. data/lib/stripe/services/event_service.rb +0 -65
  796. data/lib/stripe/services/exchange_rate_service.rb +4 -27
  797. data/lib/stripe/services/file_link_service.rb +0 -94
  798. data/lib/stripe/services/file_service.rb +0 -89
  799. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -27
  800. data/lib/stripe/services/financial_connections/account_service.rb +1 -102
  801. data/lib/stripe/services/financial_connections/session_service.rb +0 -100
  802. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
  803. data/lib/stripe/services/financial_connections_service.rb +1 -2
  804. data/lib/stripe/services/forwarding/request_service.rb +0 -106
  805. data/lib/stripe/services/identity/verification_report_service.rb +0 -65
  806. data/lib/stripe/services/identity/verification_session_service.rb +0 -255
  807. data/lib/stripe/services/invoice_item_service.rb +0 -405
  808. data/lib/stripe/services/invoice_line_item_service.rb +0 -253
  809. data/lib/stripe/services/invoice_payment_service.rb +0 -58
  810. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
  811. data/lib/stripe/services/invoice_service.rb +0 -3836
  812. data/lib/stripe/services/issuing/authorization_service.rb +0 -104
  813. data/lib/stripe/services/issuing/card_service.rb +0 -463
  814. data/lib/stripe/services/issuing/cardholder_service.rb +0 -526
  815. data/lib/stripe/services/issuing/dispute_service.rb +0 -633
  816. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -193
  817. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -40
  818. data/lib/stripe/services/issuing/token_service.rb +0 -73
  819. data/lib/stripe/services/issuing/transaction_service.rb +0 -81
  820. data/lib/stripe/services/issuing_service.rb +1 -5
  821. data/lib/stripe/services/mandate_service.rb +0 -49
  822. data/lib/stripe/services/payment_intent_service.rb +0 -12747
  823. data/lib/stripe/services/payment_link_line_item_service.rb +0 -18
  824. data/lib/stripe/services/payment_link_service.rb +0 -1352
  825. data/lib/stripe/services/payment_method_configuration_service.rb +0 -2466
  826. data/lib/stripe/services/payment_method_domain_service.rb +0 -76
  827. data/lib/stripe/services/payment_method_service.rb +0 -881
  828. data/lib/stripe/services/payout_service.rb +0 -163
  829. data/lib/stripe/services/plan_service.rb +0 -248
  830. data/lib/stripe/services/price_service.rb +0 -512
  831. data/lib/stripe/services/product_feature_service.rb +0 -41
  832. data/lib/stripe/services/product_service.rb +0 -424
  833. data/lib/stripe/services/promotion_code_service.rb +1 -187
  834. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -18
  835. data/lib/stripe/services/quote_line_item_service.rb +0 -18
  836. data/lib/stripe/services/quote_service.rb +1 -2344
  837. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -61
  838. data/lib/stripe/services/radar/value_list_item_service.rb +0 -78
  839. data/lib/stripe/services/radar/value_list_service.rb +0 -102
  840. data/lib/stripe/services/refund_service.rb +0 -137
  841. data/lib/stripe/services/reporting/report_run_service.rb +0 -106
  842. data/lib/stripe/services/reporting/report_type_service.rb +0 -18
  843. data/lib/stripe/services/review_service.rb +0 -56
  844. data/lib/stripe/services/setup_attempt_service.rb +0 -51
  845. data/lib/stripe/services/setup_intent_service.rb +0 -3957
  846. data/lib/stripe/services/shipping_rate_service.rb +0 -200
  847. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -27
  848. data/lib/stripe/services/source_service.rb +0 -601
  849. data/lib/stripe/services/source_transaction_service.rb +0 -18
  850. data/lib/stripe/services/subscription_item_service.rb +0 -383
  851. data/lib/stripe/services/subscription_schedule_service.rb +0 -2196
  852. data/lib/stripe/services/subscription_service.rb +0 -1894
  853. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -18
  854. data/lib/stripe/services/tax/calculation_service.rb +0 -209
  855. data/lib/stripe/services/tax/registration_service.rb +0 -2063
  856. data/lib/stripe/services/tax/settings_service.rb +0 -74
  857. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -18
  858. data/lib/stripe/services/tax/transaction_service.rb +0 -111
  859. data/lib/stripe/services/tax_code_service.rb +0 -27
  860. data/lib/stripe/services/tax_id_service.rb +0 -84
  861. data/lib/stripe/services/tax_rate_service.rb +0 -155
  862. data/lib/stripe/services/tax_service.rb +1 -3
  863. data/lib/stripe/services/terminal/configuration_service.rb +0 -1212
  864. data/lib/stripe/services/terminal/connection_token_service.rb +0 -12
  865. data/lib/stripe/services/terminal/location_service.rb +0 -143
  866. data/lib/stripe/services/terminal/reader_service.rb +0 -427
  867. data/lib/stripe/services/terminal_service.rb +1 -3
  868. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -738
  869. data/lib/stripe/services/test_helpers/customer_service.rb +0 -18
  870. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -745
  871. data/lib/stripe/services/test_helpers/issuing/card_service.rb +0 -45
  872. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -41
  873. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -632
  874. data/lib/stripe/services/test_helpers/refund_service.rb +0 -9
  875. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -87
  876. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -56
  877. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -38
  878. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -87
  879. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -87
  880. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -84
  881. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -84
  882. data/lib/stripe/services/token_service.rb +0 -1201
  883. data/lib/stripe/services/topup_service.rb +0 -142
  884. data/lib/stripe/services/transfer_reversal_service.rb +0 -66
  885. data/lib/stripe/services/transfer_service.rb +0 -123
  886. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -59
  887. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -63
  888. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -169
  889. data/lib/stripe/services/treasury/financial_account_service.rb +0 -502
  890. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -88
  891. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -258
  892. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -148
  893. data/lib/stripe/services/treasury/received_credit_service.rb +0 -52
  894. data/lib/stripe/services/treasury/received_debit_service.rb +0 -40
  895. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -87
  896. data/lib/stripe/services/treasury/transaction_service.rb +0 -95
  897. data/lib/stripe/services/v1_services.rb +1 -10
  898. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -23
  899. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -25
  900. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +0 -2
  901. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -33
  902. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -137
  903. data/lib/stripe/services/v2/core/event_service.rb +0 -16
  904. data/lib/stripe/services/v2/core_service.rb +1 -4
  905. data/lib/stripe/services/v2_services.rb +1 -4
  906. data/lib/stripe/services/webhook_endpoint_service.rb +0 -95
  907. data/lib/stripe/services.rb +0 -54
  908. data/lib/stripe/stripe_client.rb +8 -5
  909. data/lib/stripe/stripe_configuration.rb +2 -9
  910. data/lib/stripe/stripe_context.rb +68 -0
  911. data/lib/stripe/stripe_object.rb +34 -10
  912. data/lib/stripe/util.rb +25 -20
  913. data/lib/stripe/version.rb +1 -1
  914. data/lib/stripe.rb +3 -54
  915. data/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
  916. data/rbi/stripe/stripe_client.rbi +17 -0
  917. data/rbi/stripe.rbi +121931 -190301
  918. metadata +599 -189
  919. data/API_VERSION +0 -1
  920. data/CHANGELOG.md +0 -2780
  921. data/CODE_OF_CONDUCT.md +0 -77
  922. data/CONTRIBUTING.md +0 -25
  923. data/CONTRIBUTORS +0 -3
  924. data/Gemfile +0 -41
  925. data/History.txt +0 -1
  926. data/LICENSE +0 -21
  927. data/Makefile +0 -22
  928. data/OPENAPI_VERSION +0 -1
  929. data/README.md +0 -424
  930. data/Rakefile +0 -34
  931. data/VERSION +0 -1
  932. data/examples/README.md +0 -16
  933. data/examples/example_template.rb +0 -36
  934. data/examples/meter_event_stream.rb +0 -57
  935. data/examples/thinevent_webhook_handler.rb +0 -39
  936. data/justfile +0 -43
  937. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  938. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  939. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  940. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  941. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  942. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  943. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  944. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  945. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -23
  946. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -21
  947. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  948. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  949. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  950. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -13
  951. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  952. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  953. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  954. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  955. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  956. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  957. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  958. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  959. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  960. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  961. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  962. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  963. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  964. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  965. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  966. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  967. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  968. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  969. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  970. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  971. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  972. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  973. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  974. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  975. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  976. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  977. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  978. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -21
  979. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  980. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  981. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  982. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  983. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  984. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  985. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  986. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  987. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  988. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  989. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  990. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
  991. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -22
  992. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
  993. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
  994. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
  995. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
  996. data/lib/stripe/resources/account_notice.rb +0 -123
  997. data/lib/stripe/resources/billing/meter_usage.rb +0 -23
  998. data/lib/stripe/resources/billing/meter_usage_row.rb +0 -28
  999. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  1000. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  1001. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  1002. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  1003. data/lib/stripe/resources/financial_connections/institution.rb +0 -92
  1004. data/lib/stripe/resources/fx_quote.rb +0 -186
  1005. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  1006. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  1007. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  1008. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  1009. data/lib/stripe/resources/margin.rb +0 -115
  1010. data/lib/stripe/resources/order.rb +0 -2958
  1011. data/lib/stripe/resources/payment_attempt_record.rb +0 -1181
  1012. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
  1013. data/lib/stripe/resources/payment_record.rb +0 -1727
  1014. data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
  1015. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
  1016. data/lib/stripe/resources/quote_line.rb +0 -274
  1017. data/lib/stripe/resources/quote_preview_invoice.rb +0 -680
  1018. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -395
  1019. data/lib/stripe/resources/tax/association.rb +0 -66
  1020. data/lib/stripe/resources/tax/form.rb +0 -211
  1021. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -84
  1022. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  1023. data/lib/stripe/resources/v2/core/account.rb +0 -1938
  1024. data/lib/stripe/resources/v2/core/account_link.rb +0 -72
  1025. data/lib/stripe/resources/v2/core/person.rb +0 -276
  1026. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  1027. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  1028. data/lib/stripe/resources/v2/event.rb +0 -41
  1029. data/lib/stripe/resources/v2/event_destination.rb +0 -73
  1030. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  1031. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  1032. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  1033. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -79
  1034. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  1035. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  1036. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  1037. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  1038. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  1039. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  1040. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -77
  1041. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  1042. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -122
  1043. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
  1044. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -80
  1045. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -70
  1046. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -89
  1047. data/lib/stripe/services/account_notice_service.rb +0 -101
  1048. data/lib/stripe/services/billing/meter_usage_service.rb +0 -76
  1049. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  1050. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  1051. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  1052. data/lib/stripe/services/capital_service.rb +0 -15
  1053. data/lib/stripe/services/external_account_service.rb +0 -317
  1054. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
  1055. data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
  1056. data/lib/stripe/services/fx_quote_service.rb +0 -123
  1057. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  1058. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  1059. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  1060. data/lib/stripe/services/margin_service.rb +0 -119
  1061. data/lib/stripe/services/order_service.rb +0 -2388
  1062. data/lib/stripe/services/payment_attempt_record_service.rb +0 -52
  1063. data/lib/stripe/services/payment_record_service.rb +0 -562
  1064. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
  1065. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -37
  1066. data/lib/stripe/services/privacy_service.rb +0 -13
  1067. data/lib/stripe/services/tax/association_service.rb +0 -31
  1068. data/lib/stripe/services/tax/form_service.rb +0 -100
  1069. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -56
  1070. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  1071. data/lib/stripe/services/v2/core/account_link_service.rb +0 -114
  1072. data/lib/stripe/services/v2/core/account_service.rb +0 -4536
  1073. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1045
  1074. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -130
  1075. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
  1076. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  1077. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
  1078. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -119
  1079. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -82
  1080. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
  1081. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
  1082. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -199
  1083. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
  1084. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
  1085. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -90
  1086. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  1087. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
  1088. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
  1089. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
  1090. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
  1091. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  1092. data/lib/stripe/services/v2/payment_service.rb +0 -15
  1093. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -152
  1094. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  1095. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -53
  1096. data/lib/stripe/thin_event.rb +0 -37
  1097. data/stripe.gemspec +0 -47
@@ -23,687 +23,1727 @@ module Stripe
23
23
  class Standard < Stripe::StripeObject
24
24
  # Place of supply scheme used in an Default standard registration.
25
25
  attr_reader :place_of_supply_scheme
26
+
27
+ def self.inner_class_types
28
+ @inner_class_types = {}
29
+ end
30
+
31
+ def self.field_remappings
32
+ @field_remappings = {}
33
+ end
26
34
  end
27
35
  # Attribute for field standard
28
36
  attr_reader :standard
29
37
  # Type of registration in `country`.
30
38
  attr_reader :type
39
+
40
+ def self.inner_class_types
41
+ @inner_class_types = { standard: Standard }
42
+ end
43
+
44
+ def self.field_remappings
45
+ @field_remappings = {}
46
+ end
31
47
  end
32
48
 
33
49
  class Al < Stripe::StripeObject
34
50
  # Type of registration in `country`.
35
51
  attr_reader :type
52
+
53
+ def self.inner_class_types
54
+ @inner_class_types = {}
55
+ end
56
+
57
+ def self.field_remappings
58
+ @field_remappings = {}
59
+ end
36
60
  end
37
61
 
38
62
  class Am < Stripe::StripeObject
39
63
  # Type of registration in `country`.
40
64
  attr_reader :type
65
+
66
+ def self.inner_class_types
67
+ @inner_class_types = {}
68
+ end
69
+
70
+ def self.field_remappings
71
+ @field_remappings = {}
72
+ end
41
73
  end
42
74
 
43
75
  class Ao < Stripe::StripeObject
44
76
  # Type of registration in `country`.
45
77
  attr_reader :type
78
+
79
+ def self.inner_class_types
80
+ @inner_class_types = {}
81
+ end
82
+
83
+ def self.field_remappings
84
+ @field_remappings = {}
85
+ end
46
86
  end
47
87
 
48
88
  class At < Stripe::StripeObject
49
89
  class Standard < Stripe::StripeObject
50
90
  # Place of supply scheme used in an EU standard registration.
51
91
  attr_reader :place_of_supply_scheme
92
+
93
+ def self.inner_class_types
94
+ @inner_class_types = {}
95
+ end
96
+
97
+ def self.field_remappings
98
+ @field_remappings = {}
99
+ end
52
100
  end
53
101
  # Attribute for field standard
54
102
  attr_reader :standard
55
103
  # Type of registration in an EU country.
56
104
  attr_reader :type
105
+
106
+ def self.inner_class_types
107
+ @inner_class_types = { standard: Standard }
108
+ end
109
+
110
+ def self.field_remappings
111
+ @field_remappings = {}
112
+ end
57
113
  end
58
114
 
59
115
  class Au < Stripe::StripeObject
60
116
  class Standard < Stripe::StripeObject
61
117
  # Place of supply scheme used in an Default standard registration.
62
118
  attr_reader :place_of_supply_scheme
119
+
120
+ def self.inner_class_types
121
+ @inner_class_types = {}
122
+ end
123
+
124
+ def self.field_remappings
125
+ @field_remappings = {}
126
+ end
63
127
  end
64
128
  # Attribute for field standard
65
129
  attr_reader :standard
66
130
  # Type of registration in `country`.
67
131
  attr_reader :type
132
+
133
+ def self.inner_class_types
134
+ @inner_class_types = { standard: Standard }
135
+ end
136
+
137
+ def self.field_remappings
138
+ @field_remappings = {}
139
+ end
68
140
  end
69
141
 
70
142
  class Aw < Stripe::StripeObject
71
143
  # Type of registration in `country`.
72
144
  attr_reader :type
145
+
146
+ def self.inner_class_types
147
+ @inner_class_types = {}
148
+ end
149
+
150
+ def self.field_remappings
151
+ @field_remappings = {}
152
+ end
73
153
  end
74
154
 
75
155
  class Az < Stripe::StripeObject
76
156
  # Type of registration in `country`.
77
157
  attr_reader :type
158
+
159
+ def self.inner_class_types
160
+ @inner_class_types = {}
161
+ end
162
+
163
+ def self.field_remappings
164
+ @field_remappings = {}
165
+ end
78
166
  end
79
167
 
80
168
  class Ba < Stripe::StripeObject
81
169
  # Type of registration in `country`.
82
170
  attr_reader :type
171
+
172
+ def self.inner_class_types
173
+ @inner_class_types = {}
174
+ end
175
+
176
+ def self.field_remappings
177
+ @field_remappings = {}
178
+ end
83
179
  end
84
180
 
85
181
  class Bb < Stripe::StripeObject
86
182
  # Type of registration in `country`.
87
183
  attr_reader :type
184
+
185
+ def self.inner_class_types
186
+ @inner_class_types = {}
187
+ end
188
+
189
+ def self.field_remappings
190
+ @field_remappings = {}
191
+ end
88
192
  end
89
193
 
90
194
  class Bd < Stripe::StripeObject
91
195
  # Type of registration in `country`.
92
196
  attr_reader :type
197
+
198
+ def self.inner_class_types
199
+ @inner_class_types = {}
200
+ end
201
+
202
+ def self.field_remappings
203
+ @field_remappings = {}
204
+ end
93
205
  end
94
206
 
95
207
  class Be < Stripe::StripeObject
96
208
  class Standard < Stripe::StripeObject
97
209
  # Place of supply scheme used in an EU standard registration.
98
210
  attr_reader :place_of_supply_scheme
211
+
212
+ def self.inner_class_types
213
+ @inner_class_types = {}
214
+ end
215
+
216
+ def self.field_remappings
217
+ @field_remappings = {}
218
+ end
99
219
  end
100
220
  # Attribute for field standard
101
221
  attr_reader :standard
102
222
  # Type of registration in an EU country.
103
223
  attr_reader :type
224
+
225
+ def self.inner_class_types
226
+ @inner_class_types = { standard: Standard }
227
+ end
228
+
229
+ def self.field_remappings
230
+ @field_remappings = {}
231
+ end
104
232
  end
105
233
 
106
234
  class Bf < Stripe::StripeObject
107
235
  # Type of registration in `country`.
108
236
  attr_reader :type
237
+
238
+ def self.inner_class_types
239
+ @inner_class_types = {}
240
+ end
241
+
242
+ def self.field_remappings
243
+ @field_remappings = {}
244
+ end
109
245
  end
110
246
 
111
247
  class Bg < Stripe::StripeObject
112
248
  class Standard < Stripe::StripeObject
113
249
  # Place of supply scheme used in an EU standard registration.
114
250
  attr_reader :place_of_supply_scheme
251
+
252
+ def self.inner_class_types
253
+ @inner_class_types = {}
254
+ end
255
+
256
+ def self.field_remappings
257
+ @field_remappings = {}
258
+ end
115
259
  end
116
260
  # Attribute for field standard
117
261
  attr_reader :standard
118
262
  # Type of registration in an EU country.
119
263
  attr_reader :type
264
+
265
+ def self.inner_class_types
266
+ @inner_class_types = { standard: Standard }
267
+ end
268
+
269
+ def self.field_remappings
270
+ @field_remappings = {}
271
+ end
120
272
  end
121
273
 
122
274
  class Bh < Stripe::StripeObject
123
275
  # Type of registration in `country`.
124
276
  attr_reader :type
277
+
278
+ def self.inner_class_types
279
+ @inner_class_types = {}
280
+ end
281
+
282
+ def self.field_remappings
283
+ @field_remappings = {}
284
+ end
125
285
  end
126
286
 
127
287
  class Bj < Stripe::StripeObject
128
288
  # Type of registration in `country`.
129
289
  attr_reader :type
290
+
291
+ def self.inner_class_types
292
+ @inner_class_types = {}
293
+ end
294
+
295
+ def self.field_remappings
296
+ @field_remappings = {}
297
+ end
130
298
  end
131
299
 
132
300
  class Bs < Stripe::StripeObject
133
301
  # Type of registration in `country`.
134
302
  attr_reader :type
303
+
304
+ def self.inner_class_types
305
+ @inner_class_types = {}
306
+ end
307
+
308
+ def self.field_remappings
309
+ @field_remappings = {}
310
+ end
135
311
  end
136
312
 
137
313
  class By < Stripe::StripeObject
138
314
  # Type of registration in `country`.
139
315
  attr_reader :type
316
+
317
+ def self.inner_class_types
318
+ @inner_class_types = {}
319
+ end
320
+
321
+ def self.field_remappings
322
+ @field_remappings = {}
323
+ end
140
324
  end
141
325
 
142
326
  class Ca < Stripe::StripeObject
143
327
  class ProvinceStandard < Stripe::StripeObject
144
328
  # Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
145
329
  attr_reader :province
330
+
331
+ def self.inner_class_types
332
+ @inner_class_types = {}
333
+ end
334
+
335
+ def self.field_remappings
336
+ @field_remappings = {}
337
+ end
146
338
  end
147
339
  # Attribute for field province_standard
148
340
  attr_reader :province_standard
149
341
  # Type of registration in Canada.
150
342
  attr_reader :type
343
+
344
+ def self.inner_class_types
345
+ @inner_class_types = { province_standard: ProvinceStandard }
346
+ end
347
+
348
+ def self.field_remappings
349
+ @field_remappings = {}
350
+ end
151
351
  end
152
352
 
153
353
  class Cd < Stripe::StripeObject
154
354
  # Type of registration in `country`.
155
355
  attr_reader :type
356
+
357
+ def self.inner_class_types
358
+ @inner_class_types = {}
359
+ end
360
+
361
+ def self.field_remappings
362
+ @field_remappings = {}
363
+ end
156
364
  end
157
365
 
158
366
  class Ch < Stripe::StripeObject
159
367
  class Standard < Stripe::StripeObject
160
368
  # Place of supply scheme used in an Default standard registration.
161
369
  attr_reader :place_of_supply_scheme
370
+
371
+ def self.inner_class_types
372
+ @inner_class_types = {}
373
+ end
374
+
375
+ def self.field_remappings
376
+ @field_remappings = {}
377
+ end
162
378
  end
163
379
  # Attribute for field standard
164
380
  attr_reader :standard
165
381
  # Type of registration in `country`.
166
382
  attr_reader :type
383
+
384
+ def self.inner_class_types
385
+ @inner_class_types = { standard: Standard }
386
+ end
387
+
388
+ def self.field_remappings
389
+ @field_remappings = {}
390
+ end
167
391
  end
168
392
 
169
393
  class Cl < Stripe::StripeObject
170
394
  # Type of registration in `country`.
171
395
  attr_reader :type
396
+
397
+ def self.inner_class_types
398
+ @inner_class_types = {}
399
+ end
400
+
401
+ def self.field_remappings
402
+ @field_remappings = {}
403
+ end
172
404
  end
173
405
 
174
406
  class Cm < Stripe::StripeObject
175
407
  # Type of registration in `country`.
176
408
  attr_reader :type
409
+
410
+ def self.inner_class_types
411
+ @inner_class_types = {}
412
+ end
413
+
414
+ def self.field_remappings
415
+ @field_remappings = {}
416
+ end
177
417
  end
178
418
 
179
419
  class Co < Stripe::StripeObject
180
420
  # Type of registration in `country`.
181
421
  attr_reader :type
422
+
423
+ def self.inner_class_types
424
+ @inner_class_types = {}
425
+ end
426
+
427
+ def self.field_remappings
428
+ @field_remappings = {}
429
+ end
182
430
  end
183
431
 
184
432
  class Cr < Stripe::StripeObject
185
433
  # Type of registration in `country`.
186
434
  attr_reader :type
435
+
436
+ def self.inner_class_types
437
+ @inner_class_types = {}
438
+ end
439
+
440
+ def self.field_remappings
441
+ @field_remappings = {}
442
+ end
187
443
  end
188
444
 
189
445
  class Cv < Stripe::StripeObject
190
446
  # Type of registration in `country`.
191
447
  attr_reader :type
448
+
449
+ def self.inner_class_types
450
+ @inner_class_types = {}
451
+ end
452
+
453
+ def self.field_remappings
454
+ @field_remappings = {}
455
+ end
192
456
  end
193
457
 
194
458
  class Cy < Stripe::StripeObject
195
459
  class Standard < Stripe::StripeObject
196
460
  # Place of supply scheme used in an EU standard registration.
197
461
  attr_reader :place_of_supply_scheme
462
+
463
+ def self.inner_class_types
464
+ @inner_class_types = {}
465
+ end
466
+
467
+ def self.field_remappings
468
+ @field_remappings = {}
469
+ end
198
470
  end
199
471
  # Attribute for field standard
200
472
  attr_reader :standard
201
473
  # Type of registration in an EU country.
202
474
  attr_reader :type
475
+
476
+ def self.inner_class_types
477
+ @inner_class_types = { standard: Standard }
478
+ end
479
+
480
+ def self.field_remappings
481
+ @field_remappings = {}
482
+ end
203
483
  end
204
484
 
205
485
  class Cz < Stripe::StripeObject
206
486
  class Standard < Stripe::StripeObject
207
487
  # Place of supply scheme used in an EU standard registration.
208
488
  attr_reader :place_of_supply_scheme
489
+
490
+ def self.inner_class_types
491
+ @inner_class_types = {}
492
+ end
493
+
494
+ def self.field_remappings
495
+ @field_remappings = {}
496
+ end
209
497
  end
210
498
  # Attribute for field standard
211
499
  attr_reader :standard
212
500
  # Type of registration in an EU country.
213
501
  attr_reader :type
502
+
503
+ def self.inner_class_types
504
+ @inner_class_types = { standard: Standard }
505
+ end
506
+
507
+ def self.field_remappings
508
+ @field_remappings = {}
509
+ end
214
510
  end
215
511
 
216
512
  class De < Stripe::StripeObject
217
513
  class Standard < Stripe::StripeObject
218
514
  # Place of supply scheme used in an EU standard registration.
219
515
  attr_reader :place_of_supply_scheme
516
+
517
+ def self.inner_class_types
518
+ @inner_class_types = {}
519
+ end
520
+
521
+ def self.field_remappings
522
+ @field_remappings = {}
523
+ end
220
524
  end
221
525
  # Attribute for field standard
222
526
  attr_reader :standard
223
527
  # Type of registration in an EU country.
224
528
  attr_reader :type
529
+
530
+ def self.inner_class_types
531
+ @inner_class_types = { standard: Standard }
532
+ end
533
+
534
+ def self.field_remappings
535
+ @field_remappings = {}
536
+ end
225
537
  end
226
538
 
227
539
  class Dk < Stripe::StripeObject
228
540
  class Standard < Stripe::StripeObject
229
541
  # Place of supply scheme used in an EU standard registration.
230
542
  attr_reader :place_of_supply_scheme
543
+
544
+ def self.inner_class_types
545
+ @inner_class_types = {}
546
+ end
547
+
548
+ def self.field_remappings
549
+ @field_remappings = {}
550
+ end
231
551
  end
232
552
  # Attribute for field standard
233
553
  attr_reader :standard
234
554
  # Type of registration in an EU country.
235
555
  attr_reader :type
556
+
557
+ def self.inner_class_types
558
+ @inner_class_types = { standard: Standard }
559
+ end
560
+
561
+ def self.field_remappings
562
+ @field_remappings = {}
563
+ end
236
564
  end
237
565
 
238
566
  class Ec < Stripe::StripeObject
239
567
  # Type of registration in `country`.
240
568
  attr_reader :type
569
+
570
+ def self.inner_class_types
571
+ @inner_class_types = {}
572
+ end
573
+
574
+ def self.field_remappings
575
+ @field_remappings = {}
576
+ end
241
577
  end
242
578
 
243
579
  class Ee < Stripe::StripeObject
244
580
  class Standard < Stripe::StripeObject
245
581
  # Place of supply scheme used in an EU standard registration.
246
582
  attr_reader :place_of_supply_scheme
583
+
584
+ def self.inner_class_types
585
+ @inner_class_types = {}
586
+ end
587
+
588
+ def self.field_remappings
589
+ @field_remappings = {}
590
+ end
247
591
  end
248
592
  # Attribute for field standard
249
593
  attr_reader :standard
250
594
  # Type of registration in an EU country.
251
595
  attr_reader :type
596
+
597
+ def self.inner_class_types
598
+ @inner_class_types = { standard: Standard }
599
+ end
600
+
601
+ def self.field_remappings
602
+ @field_remappings = {}
603
+ end
252
604
  end
253
605
 
254
606
  class Eg < Stripe::StripeObject
255
607
  # Type of registration in `country`.
256
608
  attr_reader :type
609
+
610
+ def self.inner_class_types
611
+ @inner_class_types = {}
612
+ end
613
+
614
+ def self.field_remappings
615
+ @field_remappings = {}
616
+ end
257
617
  end
258
618
 
259
619
  class Es < Stripe::StripeObject
260
620
  class Standard < Stripe::StripeObject
261
621
  # Place of supply scheme used in an EU standard registration.
262
622
  attr_reader :place_of_supply_scheme
623
+
624
+ def self.inner_class_types
625
+ @inner_class_types = {}
626
+ end
627
+
628
+ def self.field_remappings
629
+ @field_remappings = {}
630
+ end
263
631
  end
264
632
  # Attribute for field standard
265
633
  attr_reader :standard
266
634
  # Type of registration in an EU country.
267
635
  attr_reader :type
636
+
637
+ def self.inner_class_types
638
+ @inner_class_types = { standard: Standard }
639
+ end
640
+
641
+ def self.field_remappings
642
+ @field_remappings = {}
643
+ end
268
644
  end
269
645
 
270
646
  class Et < Stripe::StripeObject
271
647
  # Type of registration in `country`.
272
648
  attr_reader :type
649
+
650
+ def self.inner_class_types
651
+ @inner_class_types = {}
652
+ end
653
+
654
+ def self.field_remappings
655
+ @field_remappings = {}
656
+ end
273
657
  end
274
658
 
275
659
  class Fi < Stripe::StripeObject
276
660
  class Standard < Stripe::StripeObject
277
661
  # Place of supply scheme used in an EU standard registration.
278
662
  attr_reader :place_of_supply_scheme
663
+
664
+ def self.inner_class_types
665
+ @inner_class_types = {}
666
+ end
667
+
668
+ def self.field_remappings
669
+ @field_remappings = {}
670
+ end
279
671
  end
280
672
  # Attribute for field standard
281
673
  attr_reader :standard
282
674
  # Type of registration in an EU country.
283
675
  attr_reader :type
676
+
677
+ def self.inner_class_types
678
+ @inner_class_types = { standard: Standard }
679
+ end
680
+
681
+ def self.field_remappings
682
+ @field_remappings = {}
683
+ end
284
684
  end
285
685
 
286
686
  class Fr < Stripe::StripeObject
287
687
  class Standard < Stripe::StripeObject
288
688
  # Place of supply scheme used in an EU standard registration.
289
689
  attr_reader :place_of_supply_scheme
690
+
691
+ def self.inner_class_types
692
+ @inner_class_types = {}
693
+ end
694
+
695
+ def self.field_remappings
696
+ @field_remappings = {}
697
+ end
290
698
  end
291
699
  # Attribute for field standard
292
700
  attr_reader :standard
293
701
  # Type of registration in an EU country.
294
702
  attr_reader :type
703
+
704
+ def self.inner_class_types
705
+ @inner_class_types = { standard: Standard }
706
+ end
707
+
708
+ def self.field_remappings
709
+ @field_remappings = {}
710
+ end
295
711
  end
296
712
 
297
713
  class Gb < Stripe::StripeObject
298
714
  class Standard < Stripe::StripeObject
299
715
  # Place of supply scheme used in an Default standard registration.
300
716
  attr_reader :place_of_supply_scheme
717
+
718
+ def self.inner_class_types
719
+ @inner_class_types = {}
720
+ end
721
+
722
+ def self.field_remappings
723
+ @field_remappings = {}
724
+ end
301
725
  end
302
726
  # Attribute for field standard
303
727
  attr_reader :standard
304
728
  # Type of registration in `country`.
305
729
  attr_reader :type
730
+
731
+ def self.inner_class_types
732
+ @inner_class_types = { standard: Standard }
733
+ end
734
+
735
+ def self.field_remappings
736
+ @field_remappings = {}
737
+ end
306
738
  end
307
739
 
308
740
  class Ge < Stripe::StripeObject
309
741
  # Type of registration in `country`.
310
742
  attr_reader :type
743
+
744
+ def self.inner_class_types
745
+ @inner_class_types = {}
746
+ end
747
+
748
+ def self.field_remappings
749
+ @field_remappings = {}
750
+ end
311
751
  end
312
752
 
313
753
  class Gn < Stripe::StripeObject
314
754
  # Type of registration in `country`.
315
755
  attr_reader :type
756
+
757
+ def self.inner_class_types
758
+ @inner_class_types = {}
759
+ end
760
+
761
+ def self.field_remappings
762
+ @field_remappings = {}
763
+ end
316
764
  end
317
765
 
318
766
  class Gr < Stripe::StripeObject
319
767
  class Standard < Stripe::StripeObject
320
768
  # Place of supply scheme used in an EU standard registration.
321
769
  attr_reader :place_of_supply_scheme
770
+
771
+ def self.inner_class_types
772
+ @inner_class_types = {}
773
+ end
774
+
775
+ def self.field_remappings
776
+ @field_remappings = {}
777
+ end
322
778
  end
323
779
  # Attribute for field standard
324
780
  attr_reader :standard
325
781
  # Type of registration in an EU country.
326
782
  attr_reader :type
783
+
784
+ def self.inner_class_types
785
+ @inner_class_types = { standard: Standard }
786
+ end
787
+
788
+ def self.field_remappings
789
+ @field_remappings = {}
790
+ end
327
791
  end
328
792
 
329
793
  class Hr < Stripe::StripeObject
330
794
  class Standard < Stripe::StripeObject
331
795
  # Place of supply scheme used in an EU standard registration.
332
796
  attr_reader :place_of_supply_scheme
797
+
798
+ def self.inner_class_types
799
+ @inner_class_types = {}
800
+ end
801
+
802
+ def self.field_remappings
803
+ @field_remappings = {}
804
+ end
333
805
  end
334
806
  # Attribute for field standard
335
807
  attr_reader :standard
336
808
  # Type of registration in an EU country.
337
809
  attr_reader :type
810
+
811
+ def self.inner_class_types
812
+ @inner_class_types = { standard: Standard }
813
+ end
814
+
815
+ def self.field_remappings
816
+ @field_remappings = {}
817
+ end
338
818
  end
339
819
 
340
820
  class Hu < Stripe::StripeObject
341
821
  class Standard < Stripe::StripeObject
342
822
  # Place of supply scheme used in an EU standard registration.
343
823
  attr_reader :place_of_supply_scheme
824
+
825
+ def self.inner_class_types
826
+ @inner_class_types = {}
827
+ end
828
+
829
+ def self.field_remappings
830
+ @field_remappings = {}
831
+ end
344
832
  end
345
833
  # Attribute for field standard
346
834
  attr_reader :standard
347
835
  # Type of registration in an EU country.
348
836
  attr_reader :type
837
+
838
+ def self.inner_class_types
839
+ @inner_class_types = { standard: Standard }
840
+ end
841
+
842
+ def self.field_remappings
843
+ @field_remappings = {}
844
+ end
349
845
  end
350
846
 
351
847
  class Id < Stripe::StripeObject
352
848
  # Type of registration in `country`.
353
849
  attr_reader :type
850
+
851
+ def self.inner_class_types
852
+ @inner_class_types = {}
853
+ end
854
+
855
+ def self.field_remappings
856
+ @field_remappings = {}
857
+ end
354
858
  end
355
859
 
356
860
  class Ie < Stripe::StripeObject
357
861
  class Standard < Stripe::StripeObject
358
862
  # Place of supply scheme used in an EU standard registration.
359
863
  attr_reader :place_of_supply_scheme
864
+
865
+ def self.inner_class_types
866
+ @inner_class_types = {}
867
+ end
868
+
869
+ def self.field_remappings
870
+ @field_remappings = {}
871
+ end
360
872
  end
361
873
  # Attribute for field standard
362
874
  attr_reader :standard
363
875
  # Type of registration in an EU country.
364
876
  attr_reader :type
877
+
878
+ def self.inner_class_types
879
+ @inner_class_types = { standard: Standard }
880
+ end
881
+
882
+ def self.field_remappings
883
+ @field_remappings = {}
884
+ end
365
885
  end
366
886
 
367
887
  class In < Stripe::StripeObject
368
888
  # Type of registration in `country`.
369
889
  attr_reader :type
890
+
891
+ def self.inner_class_types
892
+ @inner_class_types = {}
893
+ end
894
+
895
+ def self.field_remappings
896
+ @field_remappings = {}
897
+ end
370
898
  end
371
899
 
372
900
  class Is < Stripe::StripeObject
373
901
  # Type of registration in `country`.
374
902
  attr_reader :type
903
+
904
+ def self.inner_class_types
905
+ @inner_class_types = {}
906
+ end
907
+
908
+ def self.field_remappings
909
+ @field_remappings = {}
910
+ end
375
911
  end
376
912
 
377
913
  class It < Stripe::StripeObject
378
914
  class Standard < Stripe::StripeObject
379
915
  # Place of supply scheme used in an EU standard registration.
380
916
  attr_reader :place_of_supply_scheme
917
+
918
+ def self.inner_class_types
919
+ @inner_class_types = {}
920
+ end
921
+
922
+ def self.field_remappings
923
+ @field_remappings = {}
924
+ end
381
925
  end
382
926
  # Attribute for field standard
383
927
  attr_reader :standard
384
928
  # Type of registration in an EU country.
385
929
  attr_reader :type
930
+
931
+ def self.inner_class_types
932
+ @inner_class_types = { standard: Standard }
933
+ end
934
+
935
+ def self.field_remappings
936
+ @field_remappings = {}
937
+ end
386
938
  end
387
939
 
388
940
  class Jp < Stripe::StripeObject
389
941
  class Standard < Stripe::StripeObject
390
942
  # Place of supply scheme used in an Default standard registration.
391
943
  attr_reader :place_of_supply_scheme
944
+
945
+ def self.inner_class_types
946
+ @inner_class_types = {}
947
+ end
948
+
949
+ def self.field_remappings
950
+ @field_remappings = {}
951
+ end
392
952
  end
393
953
  # Attribute for field standard
394
954
  attr_reader :standard
395
955
  # Type of registration in `country`.
396
956
  attr_reader :type
957
+
958
+ def self.inner_class_types
959
+ @inner_class_types = { standard: Standard }
960
+ end
961
+
962
+ def self.field_remappings
963
+ @field_remappings = {}
964
+ end
397
965
  end
398
966
 
399
967
  class Ke < Stripe::StripeObject
400
968
  # Type of registration in `country`.
401
969
  attr_reader :type
970
+
971
+ def self.inner_class_types
972
+ @inner_class_types = {}
973
+ end
974
+
975
+ def self.field_remappings
976
+ @field_remappings = {}
977
+ end
402
978
  end
403
979
 
404
980
  class Kg < Stripe::StripeObject
405
981
  # Type of registration in `country`.
406
982
  attr_reader :type
983
+
984
+ def self.inner_class_types
985
+ @inner_class_types = {}
986
+ end
987
+
988
+ def self.field_remappings
989
+ @field_remappings = {}
990
+ end
407
991
  end
408
992
 
409
993
  class Kh < Stripe::StripeObject
410
994
  # Type of registration in `country`.
411
995
  attr_reader :type
996
+
997
+ def self.inner_class_types
998
+ @inner_class_types = {}
999
+ end
1000
+
1001
+ def self.field_remappings
1002
+ @field_remappings = {}
1003
+ end
412
1004
  end
413
1005
 
414
1006
  class Kr < Stripe::StripeObject
415
1007
  # Type of registration in `country`.
416
1008
  attr_reader :type
1009
+
1010
+ def self.inner_class_types
1011
+ @inner_class_types = {}
1012
+ end
1013
+
1014
+ def self.field_remappings
1015
+ @field_remappings = {}
1016
+ end
417
1017
  end
418
1018
 
419
1019
  class Kz < Stripe::StripeObject
420
1020
  # Type of registration in `country`.
421
1021
  attr_reader :type
1022
+
1023
+ def self.inner_class_types
1024
+ @inner_class_types = {}
1025
+ end
1026
+
1027
+ def self.field_remappings
1028
+ @field_remappings = {}
1029
+ end
422
1030
  end
423
1031
 
424
1032
  class La < Stripe::StripeObject
425
1033
  # Type of registration in `country`.
426
1034
  attr_reader :type
1035
+
1036
+ def self.inner_class_types
1037
+ @inner_class_types = {}
1038
+ end
1039
+
1040
+ def self.field_remappings
1041
+ @field_remappings = {}
1042
+ end
427
1043
  end
428
1044
 
429
1045
  class Lt < Stripe::StripeObject
430
1046
  class Standard < Stripe::StripeObject
431
1047
  # Place of supply scheme used in an EU standard registration.
432
1048
  attr_reader :place_of_supply_scheme
1049
+
1050
+ def self.inner_class_types
1051
+ @inner_class_types = {}
1052
+ end
1053
+
1054
+ def self.field_remappings
1055
+ @field_remappings = {}
1056
+ end
433
1057
  end
434
1058
  # Attribute for field standard
435
1059
  attr_reader :standard
436
1060
  # Type of registration in an EU country.
437
1061
  attr_reader :type
1062
+
1063
+ def self.inner_class_types
1064
+ @inner_class_types = { standard: Standard }
1065
+ end
1066
+
1067
+ def self.field_remappings
1068
+ @field_remappings = {}
1069
+ end
438
1070
  end
439
1071
 
440
1072
  class Lu < Stripe::StripeObject
441
1073
  class Standard < Stripe::StripeObject
442
1074
  # Place of supply scheme used in an EU standard registration.
443
1075
  attr_reader :place_of_supply_scheme
1076
+
1077
+ def self.inner_class_types
1078
+ @inner_class_types = {}
1079
+ end
1080
+
1081
+ def self.field_remappings
1082
+ @field_remappings = {}
1083
+ end
444
1084
  end
445
1085
  # Attribute for field standard
446
1086
  attr_reader :standard
447
1087
  # Type of registration in an EU country.
448
1088
  attr_reader :type
1089
+
1090
+ def self.inner_class_types
1091
+ @inner_class_types = { standard: Standard }
1092
+ end
1093
+
1094
+ def self.field_remappings
1095
+ @field_remappings = {}
1096
+ end
449
1097
  end
450
1098
 
451
1099
  class Lv < Stripe::StripeObject
452
1100
  class Standard < Stripe::StripeObject
453
1101
  # Place of supply scheme used in an EU standard registration.
454
1102
  attr_reader :place_of_supply_scheme
1103
+
1104
+ def self.inner_class_types
1105
+ @inner_class_types = {}
1106
+ end
1107
+
1108
+ def self.field_remappings
1109
+ @field_remappings = {}
1110
+ end
455
1111
  end
456
1112
  # Attribute for field standard
457
1113
  attr_reader :standard
458
1114
  # Type of registration in an EU country.
459
1115
  attr_reader :type
1116
+
1117
+ def self.inner_class_types
1118
+ @inner_class_types = { standard: Standard }
1119
+ end
1120
+
1121
+ def self.field_remappings
1122
+ @field_remappings = {}
1123
+ end
460
1124
  end
461
1125
 
462
1126
  class Ma < Stripe::StripeObject
463
1127
  # Type of registration in `country`.
464
1128
  attr_reader :type
1129
+
1130
+ def self.inner_class_types
1131
+ @inner_class_types = {}
1132
+ end
1133
+
1134
+ def self.field_remappings
1135
+ @field_remappings = {}
1136
+ end
465
1137
  end
466
1138
 
467
1139
  class Md < Stripe::StripeObject
468
1140
  # Type of registration in `country`.
469
1141
  attr_reader :type
1142
+
1143
+ def self.inner_class_types
1144
+ @inner_class_types = {}
1145
+ end
1146
+
1147
+ def self.field_remappings
1148
+ @field_remappings = {}
1149
+ end
470
1150
  end
471
1151
 
472
1152
  class Me < Stripe::StripeObject
473
1153
  # Type of registration in `country`.
474
1154
  attr_reader :type
1155
+
1156
+ def self.inner_class_types
1157
+ @inner_class_types = {}
1158
+ end
1159
+
1160
+ def self.field_remappings
1161
+ @field_remappings = {}
1162
+ end
475
1163
  end
476
1164
 
477
1165
  class Mk < Stripe::StripeObject
478
1166
  # Type of registration in `country`.
479
1167
  attr_reader :type
1168
+
1169
+ def self.inner_class_types
1170
+ @inner_class_types = {}
1171
+ end
1172
+
1173
+ def self.field_remappings
1174
+ @field_remappings = {}
1175
+ end
480
1176
  end
481
1177
 
482
1178
  class Mr < Stripe::StripeObject
483
1179
  # Type of registration in `country`.
484
1180
  attr_reader :type
1181
+
1182
+ def self.inner_class_types
1183
+ @inner_class_types = {}
1184
+ end
1185
+
1186
+ def self.field_remappings
1187
+ @field_remappings = {}
1188
+ end
485
1189
  end
486
1190
 
487
1191
  class Mt < Stripe::StripeObject
488
1192
  class Standard < Stripe::StripeObject
489
1193
  # Place of supply scheme used in an EU standard registration.
490
1194
  attr_reader :place_of_supply_scheme
1195
+
1196
+ def self.inner_class_types
1197
+ @inner_class_types = {}
1198
+ end
1199
+
1200
+ def self.field_remappings
1201
+ @field_remappings = {}
1202
+ end
491
1203
  end
492
1204
  # Attribute for field standard
493
1205
  attr_reader :standard
494
1206
  # Type of registration in an EU country.
495
1207
  attr_reader :type
1208
+
1209
+ def self.inner_class_types
1210
+ @inner_class_types = { standard: Standard }
1211
+ end
1212
+
1213
+ def self.field_remappings
1214
+ @field_remappings = {}
1215
+ end
496
1216
  end
497
1217
 
498
1218
  class Mx < Stripe::StripeObject
499
1219
  # Type of registration in `country`.
500
1220
  attr_reader :type
1221
+
1222
+ def self.inner_class_types
1223
+ @inner_class_types = {}
1224
+ end
1225
+
1226
+ def self.field_remappings
1227
+ @field_remappings = {}
1228
+ end
501
1229
  end
502
1230
 
503
1231
  class My < Stripe::StripeObject
504
1232
  # Type of registration in `country`.
505
1233
  attr_reader :type
1234
+
1235
+ def self.inner_class_types
1236
+ @inner_class_types = {}
1237
+ end
1238
+
1239
+ def self.field_remappings
1240
+ @field_remappings = {}
1241
+ end
506
1242
  end
507
1243
 
508
1244
  class Ng < Stripe::StripeObject
509
1245
  # Type of registration in `country`.
510
1246
  attr_reader :type
1247
+
1248
+ def self.inner_class_types
1249
+ @inner_class_types = {}
1250
+ end
1251
+
1252
+ def self.field_remappings
1253
+ @field_remappings = {}
1254
+ end
511
1255
  end
512
1256
 
513
1257
  class Nl < Stripe::StripeObject
514
1258
  class Standard < Stripe::StripeObject
515
1259
  # Place of supply scheme used in an EU standard registration.
516
1260
  attr_reader :place_of_supply_scheme
1261
+
1262
+ def self.inner_class_types
1263
+ @inner_class_types = {}
1264
+ end
1265
+
1266
+ def self.field_remappings
1267
+ @field_remappings = {}
1268
+ end
517
1269
  end
518
1270
  # Attribute for field standard
519
1271
  attr_reader :standard
520
1272
  # Type of registration in an EU country.
521
1273
  attr_reader :type
1274
+
1275
+ def self.inner_class_types
1276
+ @inner_class_types = { standard: Standard }
1277
+ end
1278
+
1279
+ def self.field_remappings
1280
+ @field_remappings = {}
1281
+ end
522
1282
  end
523
1283
 
524
1284
  class No < Stripe::StripeObject
525
1285
  class Standard < Stripe::StripeObject
526
1286
  # Place of supply scheme used in an Default standard registration.
527
1287
  attr_reader :place_of_supply_scheme
1288
+
1289
+ def self.inner_class_types
1290
+ @inner_class_types = {}
1291
+ end
1292
+
1293
+ def self.field_remappings
1294
+ @field_remappings = {}
1295
+ end
528
1296
  end
529
1297
  # Attribute for field standard
530
1298
  attr_reader :standard
531
1299
  # Type of registration in `country`.
532
1300
  attr_reader :type
1301
+
1302
+ def self.inner_class_types
1303
+ @inner_class_types = { standard: Standard }
1304
+ end
1305
+
1306
+ def self.field_remappings
1307
+ @field_remappings = {}
1308
+ end
533
1309
  end
534
1310
 
535
1311
  class Np < Stripe::StripeObject
536
1312
  # Type of registration in `country`.
537
1313
  attr_reader :type
1314
+
1315
+ def self.inner_class_types
1316
+ @inner_class_types = {}
1317
+ end
1318
+
1319
+ def self.field_remappings
1320
+ @field_remappings = {}
1321
+ end
538
1322
  end
539
1323
 
540
1324
  class Nz < Stripe::StripeObject
541
1325
  class Standard < Stripe::StripeObject
542
1326
  # Place of supply scheme used in an Default standard registration.
543
1327
  attr_reader :place_of_supply_scheme
1328
+
1329
+ def self.inner_class_types
1330
+ @inner_class_types = {}
1331
+ end
1332
+
1333
+ def self.field_remappings
1334
+ @field_remappings = {}
1335
+ end
544
1336
  end
545
1337
  # Attribute for field standard
546
1338
  attr_reader :standard
547
1339
  # Type of registration in `country`.
548
1340
  attr_reader :type
1341
+
1342
+ def self.inner_class_types
1343
+ @inner_class_types = { standard: Standard }
1344
+ end
1345
+
1346
+ def self.field_remappings
1347
+ @field_remappings = {}
1348
+ end
549
1349
  end
550
1350
 
551
1351
  class Om < Stripe::StripeObject
552
1352
  # Type of registration in `country`.
553
1353
  attr_reader :type
1354
+
1355
+ def self.inner_class_types
1356
+ @inner_class_types = {}
1357
+ end
1358
+
1359
+ def self.field_remappings
1360
+ @field_remappings = {}
1361
+ end
554
1362
  end
555
1363
 
556
1364
  class Pe < Stripe::StripeObject
557
1365
  # Type of registration in `country`.
558
1366
  attr_reader :type
1367
+
1368
+ def self.inner_class_types
1369
+ @inner_class_types = {}
1370
+ end
1371
+
1372
+ def self.field_remappings
1373
+ @field_remappings = {}
1374
+ end
559
1375
  end
560
1376
 
561
1377
  class Ph < Stripe::StripeObject
562
1378
  # Type of registration in `country`.
563
1379
  attr_reader :type
1380
+
1381
+ def self.inner_class_types
1382
+ @inner_class_types = {}
1383
+ end
1384
+
1385
+ def self.field_remappings
1386
+ @field_remappings = {}
1387
+ end
564
1388
  end
565
1389
 
566
1390
  class Pl < Stripe::StripeObject
567
1391
  class Standard < Stripe::StripeObject
568
1392
  # Place of supply scheme used in an EU standard registration.
569
1393
  attr_reader :place_of_supply_scheme
1394
+
1395
+ def self.inner_class_types
1396
+ @inner_class_types = {}
1397
+ end
1398
+
1399
+ def self.field_remappings
1400
+ @field_remappings = {}
1401
+ end
570
1402
  end
571
1403
  # Attribute for field standard
572
1404
  attr_reader :standard
573
1405
  # Type of registration in an EU country.
574
1406
  attr_reader :type
1407
+
1408
+ def self.inner_class_types
1409
+ @inner_class_types = { standard: Standard }
1410
+ end
1411
+
1412
+ def self.field_remappings
1413
+ @field_remappings = {}
1414
+ end
575
1415
  end
576
1416
 
577
1417
  class Pt < Stripe::StripeObject
578
1418
  class Standard < Stripe::StripeObject
579
1419
  # Place of supply scheme used in an EU standard registration.
580
1420
  attr_reader :place_of_supply_scheme
1421
+
1422
+ def self.inner_class_types
1423
+ @inner_class_types = {}
1424
+ end
1425
+
1426
+ def self.field_remappings
1427
+ @field_remappings = {}
1428
+ end
581
1429
  end
582
1430
  # Attribute for field standard
583
1431
  attr_reader :standard
584
1432
  # Type of registration in an EU country.
585
1433
  attr_reader :type
1434
+
1435
+ def self.inner_class_types
1436
+ @inner_class_types = { standard: Standard }
1437
+ end
1438
+
1439
+ def self.field_remappings
1440
+ @field_remappings = {}
1441
+ end
586
1442
  end
587
1443
 
588
1444
  class Ro < Stripe::StripeObject
589
1445
  class Standard < Stripe::StripeObject
590
1446
  # Place of supply scheme used in an EU standard registration.
591
1447
  attr_reader :place_of_supply_scheme
1448
+
1449
+ def self.inner_class_types
1450
+ @inner_class_types = {}
1451
+ end
1452
+
1453
+ def self.field_remappings
1454
+ @field_remappings = {}
1455
+ end
592
1456
  end
593
1457
  # Attribute for field standard
594
1458
  attr_reader :standard
595
1459
  # Type of registration in an EU country.
596
1460
  attr_reader :type
1461
+
1462
+ def self.inner_class_types
1463
+ @inner_class_types = { standard: Standard }
1464
+ end
1465
+
1466
+ def self.field_remappings
1467
+ @field_remappings = {}
1468
+ end
597
1469
  end
598
1470
 
599
1471
  class Rs < Stripe::StripeObject
600
1472
  # Type of registration in `country`.
601
1473
  attr_reader :type
1474
+
1475
+ def self.inner_class_types
1476
+ @inner_class_types = {}
1477
+ end
1478
+
1479
+ def self.field_remappings
1480
+ @field_remappings = {}
1481
+ end
602
1482
  end
603
1483
 
604
1484
  class Ru < Stripe::StripeObject
605
1485
  # Type of registration in `country`.
606
1486
  attr_reader :type
1487
+
1488
+ def self.inner_class_types
1489
+ @inner_class_types = {}
1490
+ end
1491
+
1492
+ def self.field_remappings
1493
+ @field_remappings = {}
1494
+ end
607
1495
  end
608
1496
 
609
1497
  class Sa < Stripe::StripeObject
610
1498
  # Type of registration in `country`.
611
1499
  attr_reader :type
1500
+
1501
+ def self.inner_class_types
1502
+ @inner_class_types = {}
1503
+ end
1504
+
1505
+ def self.field_remappings
1506
+ @field_remappings = {}
1507
+ end
612
1508
  end
613
1509
 
614
1510
  class Se < Stripe::StripeObject
615
1511
  class Standard < Stripe::StripeObject
616
1512
  # Place of supply scheme used in an EU standard registration.
617
1513
  attr_reader :place_of_supply_scheme
1514
+
1515
+ def self.inner_class_types
1516
+ @inner_class_types = {}
1517
+ end
1518
+
1519
+ def self.field_remappings
1520
+ @field_remappings = {}
1521
+ end
618
1522
  end
619
1523
  # Attribute for field standard
620
1524
  attr_reader :standard
621
1525
  # Type of registration in an EU country.
622
1526
  attr_reader :type
1527
+
1528
+ def self.inner_class_types
1529
+ @inner_class_types = { standard: Standard }
1530
+ end
1531
+
1532
+ def self.field_remappings
1533
+ @field_remappings = {}
1534
+ end
623
1535
  end
624
1536
 
625
1537
  class Sg < Stripe::StripeObject
626
1538
  class Standard < Stripe::StripeObject
627
1539
  # Place of supply scheme used in an Default standard registration.
628
1540
  attr_reader :place_of_supply_scheme
1541
+
1542
+ def self.inner_class_types
1543
+ @inner_class_types = {}
1544
+ end
1545
+
1546
+ def self.field_remappings
1547
+ @field_remappings = {}
1548
+ end
629
1549
  end
630
1550
  # Attribute for field standard
631
1551
  attr_reader :standard
632
1552
  # Type of registration in `country`.
633
1553
  attr_reader :type
1554
+
1555
+ def self.inner_class_types
1556
+ @inner_class_types = { standard: Standard }
1557
+ end
1558
+
1559
+ def self.field_remappings
1560
+ @field_remappings = {}
1561
+ end
634
1562
  end
635
1563
 
636
1564
  class Si < Stripe::StripeObject
637
1565
  class Standard < Stripe::StripeObject
638
1566
  # Place of supply scheme used in an EU standard registration.
639
1567
  attr_reader :place_of_supply_scheme
1568
+
1569
+ def self.inner_class_types
1570
+ @inner_class_types = {}
1571
+ end
1572
+
1573
+ def self.field_remappings
1574
+ @field_remappings = {}
1575
+ end
640
1576
  end
641
1577
  # Attribute for field standard
642
1578
  attr_reader :standard
643
1579
  # Type of registration in an EU country.
644
1580
  attr_reader :type
1581
+
1582
+ def self.inner_class_types
1583
+ @inner_class_types = { standard: Standard }
1584
+ end
1585
+
1586
+ def self.field_remappings
1587
+ @field_remappings = {}
1588
+ end
645
1589
  end
646
1590
 
647
1591
  class Sk < Stripe::StripeObject
648
1592
  class Standard < Stripe::StripeObject
649
1593
  # Place of supply scheme used in an EU standard registration.
650
1594
  attr_reader :place_of_supply_scheme
1595
+
1596
+ def self.inner_class_types
1597
+ @inner_class_types = {}
1598
+ end
1599
+
1600
+ def self.field_remappings
1601
+ @field_remappings = {}
1602
+ end
651
1603
  end
652
1604
  # Attribute for field standard
653
1605
  attr_reader :standard
654
1606
  # Type of registration in an EU country.
655
1607
  attr_reader :type
1608
+
1609
+ def self.inner_class_types
1610
+ @inner_class_types = { standard: Standard }
1611
+ end
1612
+
1613
+ def self.field_remappings
1614
+ @field_remappings = {}
1615
+ end
656
1616
  end
657
1617
 
658
1618
  class Sn < Stripe::StripeObject
659
1619
  # Type of registration in `country`.
660
1620
  attr_reader :type
1621
+
1622
+ def self.inner_class_types
1623
+ @inner_class_types = {}
1624
+ end
1625
+
1626
+ def self.field_remappings
1627
+ @field_remappings = {}
1628
+ end
661
1629
  end
662
1630
 
663
1631
  class Sr < Stripe::StripeObject
664
1632
  # Type of registration in `country`.
665
1633
  attr_reader :type
1634
+
1635
+ def self.inner_class_types
1636
+ @inner_class_types = {}
1637
+ end
1638
+
1639
+ def self.field_remappings
1640
+ @field_remappings = {}
1641
+ end
666
1642
  end
667
1643
 
668
1644
  class Th < Stripe::StripeObject
669
1645
  # Type of registration in `country`.
670
1646
  attr_reader :type
1647
+
1648
+ def self.inner_class_types
1649
+ @inner_class_types = {}
1650
+ end
1651
+
1652
+ def self.field_remappings
1653
+ @field_remappings = {}
1654
+ end
671
1655
  end
672
1656
 
673
1657
  class Tj < Stripe::StripeObject
674
1658
  # Type of registration in `country`.
675
1659
  attr_reader :type
1660
+
1661
+ def self.inner_class_types
1662
+ @inner_class_types = {}
1663
+ end
1664
+
1665
+ def self.field_remappings
1666
+ @field_remappings = {}
1667
+ end
676
1668
  end
677
1669
 
678
1670
  class Tr < Stripe::StripeObject
679
1671
  # Type of registration in `country`.
680
1672
  attr_reader :type
1673
+
1674
+ def self.inner_class_types
1675
+ @inner_class_types = {}
1676
+ end
1677
+
1678
+ def self.field_remappings
1679
+ @field_remappings = {}
1680
+ end
681
1681
  end
682
1682
 
683
1683
  class Tz < Stripe::StripeObject
684
1684
  # Type of registration in `country`.
685
1685
  attr_reader :type
1686
+
1687
+ def self.inner_class_types
1688
+ @inner_class_types = {}
1689
+ end
1690
+
1691
+ def self.field_remappings
1692
+ @field_remappings = {}
1693
+ end
686
1694
  end
687
1695
 
688
1696
  class Ua < Stripe::StripeObject
689
1697
  # Type of registration in `country`.
690
1698
  attr_reader :type
1699
+
1700
+ def self.inner_class_types
1701
+ @inner_class_types = {}
1702
+ end
1703
+
1704
+ def self.field_remappings
1705
+ @field_remappings = {}
1706
+ end
691
1707
  end
692
1708
 
693
1709
  class Ug < Stripe::StripeObject
694
1710
  # Type of registration in `country`.
695
1711
  attr_reader :type
1712
+
1713
+ def self.inner_class_types
1714
+ @inner_class_types = {}
1715
+ end
1716
+
1717
+ def self.field_remappings
1718
+ @field_remappings = {}
1719
+ end
696
1720
  end
697
1721
 
698
1722
  class Us < Stripe::StripeObject
699
1723
  class LocalAmusementTax < Stripe::StripeObject
700
1724
  # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
701
1725
  attr_reader :jurisdiction
1726
+
1727
+ def self.inner_class_types
1728
+ @inner_class_types = {}
1729
+ end
1730
+
1731
+ def self.field_remappings
1732
+ @field_remappings = {}
1733
+ end
702
1734
  end
703
1735
 
704
1736
  class LocalLeaseTax < Stripe::StripeObject
705
1737
  # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
706
1738
  attr_reader :jurisdiction
1739
+
1740
+ def self.inner_class_types
1741
+ @inner_class_types = {}
1742
+ end
1743
+
1744
+ def self.field_remappings
1745
+ @field_remappings = {}
1746
+ end
707
1747
  end
708
1748
 
709
1749
  class StateSalesTax < Stripe::StripeObject
@@ -712,9 +1752,25 @@ module Stripe
712
1752
  attr_reader :jurisdiction
713
1753
  # The type of the election for the state sales tax registration.
714
1754
  attr_reader :type
1755
+
1756
+ def self.inner_class_types
1757
+ @inner_class_types = {}
1758
+ end
1759
+
1760
+ def self.field_remappings
1761
+ @field_remappings = {}
1762
+ end
715
1763
  end
716
1764
  # Elections for the state sales tax registration.
717
1765
  attr_reader :elections
1766
+
1767
+ def self.inner_class_types
1768
+ @inner_class_types = { elections: Election }
1769
+ end
1770
+
1771
+ def self.field_remappings
1772
+ @field_remappings = {}
1773
+ end
718
1774
  end
719
1775
  # Attribute for field local_amusement_tax
720
1776
  attr_reader :local_amusement_tax
@@ -726,36 +1782,96 @@ module Stripe
726
1782
  attr_reader :state_sales_tax
727
1783
  # Type of registration in the US.
728
1784
  attr_reader :type
1785
+
1786
+ def self.inner_class_types
1787
+ @inner_class_types = {
1788
+ local_amusement_tax: LocalAmusementTax,
1789
+ local_lease_tax: LocalLeaseTax,
1790
+ state_sales_tax: StateSalesTax,
1791
+ }
1792
+ end
1793
+
1794
+ def self.field_remappings
1795
+ @field_remappings = {}
1796
+ end
729
1797
  end
730
1798
 
731
1799
  class Uy < Stripe::StripeObject
732
1800
  # Type of registration in `country`.
733
1801
  attr_reader :type
1802
+
1803
+ def self.inner_class_types
1804
+ @inner_class_types = {}
1805
+ end
1806
+
1807
+ def self.field_remappings
1808
+ @field_remappings = {}
1809
+ end
734
1810
  end
735
1811
 
736
1812
  class Uz < Stripe::StripeObject
737
1813
  # Type of registration in `country`.
738
1814
  attr_reader :type
1815
+
1816
+ def self.inner_class_types
1817
+ @inner_class_types = {}
1818
+ end
1819
+
1820
+ def self.field_remappings
1821
+ @field_remappings = {}
1822
+ end
739
1823
  end
740
1824
 
741
1825
  class Vn < Stripe::StripeObject
742
1826
  # Type of registration in `country`.
743
1827
  attr_reader :type
1828
+
1829
+ def self.inner_class_types
1830
+ @inner_class_types = {}
1831
+ end
1832
+
1833
+ def self.field_remappings
1834
+ @field_remappings = {}
1835
+ end
744
1836
  end
745
1837
 
746
1838
  class Za < Stripe::StripeObject
747
1839
  # Type of registration in `country`.
748
1840
  attr_reader :type
1841
+
1842
+ def self.inner_class_types
1843
+ @inner_class_types = {}
1844
+ end
1845
+
1846
+ def self.field_remappings
1847
+ @field_remappings = {}
1848
+ end
749
1849
  end
750
1850
 
751
1851
  class Zm < Stripe::StripeObject
752
1852
  # Type of registration in `country`.
753
1853
  attr_reader :type
1854
+
1855
+ def self.inner_class_types
1856
+ @inner_class_types = {}
1857
+ end
1858
+
1859
+ def self.field_remappings
1860
+ @field_remappings = {}
1861
+ end
754
1862
  end
755
1863
 
756
1864
  class Zw < Stripe::StripeObject
757
1865
  # Type of registration in `country`.
758
1866
  attr_reader :type
1867
+
1868
+ def self.inner_class_types
1869
+ @inner_class_types = {}
1870
+ end
1871
+
1872
+ def self.field_remappings
1873
+ @field_remappings = {}
1874
+ end
759
1875
  end
760
1876
  # Attribute for field ae
761
1877
  attr_reader :ae
@@ -955,2110 +2071,172 @@ module Stripe
955
2071
  attr_reader :zm
956
2072
  # Attribute for field zw
957
2073
  attr_reader :zw
958
- end
959
2074
 
960
- class ListParams < Stripe::RequestParams
961
- # 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.
962
- attr_accessor :ending_before
963
- # Specifies which fields in the response should be expanded.
964
- attr_accessor :expand
965
- # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
966
- attr_accessor :limit
967
- # 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.
968
- attr_accessor :starting_after
969
- # The status of the Tax Registration.
970
- attr_accessor :status
971
-
972
- def initialize(
973
- ending_before: nil,
974
- expand: nil,
975
- limit: nil,
976
- starting_after: nil,
977
- status: nil
978
- )
979
- @ending_before = ending_before
980
- @expand = expand
981
- @limit = limit
982
- @starting_after = starting_after
983
- @status = status
2075
+ def self.inner_class_types
2076
+ @inner_class_types = {
2077
+ ae: Ae,
2078
+ al: Al,
2079
+ am: Am,
2080
+ ao: Ao,
2081
+ at: At,
2082
+ au: Au,
2083
+ aw: Aw,
2084
+ az: Az,
2085
+ ba: Ba,
2086
+ bb: Bb,
2087
+ bd: Bd,
2088
+ be: Be,
2089
+ bf: Bf,
2090
+ bg: Bg,
2091
+ bh: Bh,
2092
+ bj: Bj,
2093
+ bs: Bs,
2094
+ by: By,
2095
+ ca: Ca,
2096
+ cd: Cd,
2097
+ ch: Ch,
2098
+ cl: Cl,
2099
+ cm: Cm,
2100
+ co: Co,
2101
+ cr: Cr,
2102
+ cv: Cv,
2103
+ cy: Cy,
2104
+ cz: Cz,
2105
+ de: De,
2106
+ dk: Dk,
2107
+ ec: Ec,
2108
+ ee: Ee,
2109
+ eg: Eg,
2110
+ es: Es,
2111
+ et: Et,
2112
+ fi: Fi,
2113
+ fr: Fr,
2114
+ gb: Gb,
2115
+ ge: Ge,
2116
+ gn: Gn,
2117
+ gr: Gr,
2118
+ hr: Hr,
2119
+ hu: Hu,
2120
+ id: Id,
2121
+ ie: Ie,
2122
+ in: In,
2123
+ is: Is,
2124
+ it: It,
2125
+ jp: Jp,
2126
+ ke: Ke,
2127
+ kg: Kg,
2128
+ kh: Kh,
2129
+ kr: Kr,
2130
+ kz: Kz,
2131
+ la: La,
2132
+ lt: Lt,
2133
+ lu: Lu,
2134
+ lv: Lv,
2135
+ ma: Ma,
2136
+ md: Md,
2137
+ me: Me,
2138
+ mk: Mk,
2139
+ mr: Mr,
2140
+ mt: Mt,
2141
+ mx: Mx,
2142
+ my: My,
2143
+ ng: Ng,
2144
+ nl: Nl,
2145
+ no: No,
2146
+ np: Np,
2147
+ nz: Nz,
2148
+ om: Om,
2149
+ pe: Pe,
2150
+ ph: Ph,
2151
+ pl: Pl,
2152
+ pt: Pt,
2153
+ ro: Ro,
2154
+ rs: Rs,
2155
+ ru: Ru,
2156
+ sa: Sa,
2157
+ se: Se,
2158
+ sg: Sg,
2159
+ si: Si,
2160
+ sk: Sk,
2161
+ sn: Sn,
2162
+ sr: Sr,
2163
+ th: Th,
2164
+ tj: Tj,
2165
+ tr: Tr,
2166
+ tz: Tz,
2167
+ ua: Ua,
2168
+ ug: Ug,
2169
+ us: Us,
2170
+ uy: Uy,
2171
+ uz: Uz,
2172
+ vn: Vn,
2173
+ za: Za,
2174
+ zm: Zm,
2175
+ zw: Zw,
2176
+ }
2177
+ end
2178
+
2179
+ def self.field_remappings
2180
+ @field_remappings = {}
984
2181
  end
985
2182
  end
2183
+ # Time at which the registration becomes active. Measured in seconds since the Unix epoch.
2184
+ attr_reader :active_from
2185
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2186
+ attr_reader :country
2187
+ # Attribute for field country_options
2188
+ attr_reader :country_options
2189
+ # Time at which the object was created. Measured in seconds since the Unix epoch.
2190
+ attr_reader :created
2191
+ # 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.
2192
+ attr_reader :expires_at
2193
+ # Unique identifier for the object.
2194
+ attr_reader :id
2195
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
2196
+ attr_reader :livemode
2197
+ # String representing the object's type. Objects of the same type share the same value.
2198
+ attr_reader :object
2199
+ # The status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`.
2200
+ attr_reader :status
986
2201
 
987
- class CreateParams < Stripe::RequestParams
988
- class CountryOptions < Stripe::RequestParams
989
- class Ae < Stripe::RequestParams
990
- class Standard < Stripe::RequestParams
991
- # Place of supply scheme used in an standard registration.
992
- attr_accessor :place_of_supply_scheme
993
-
994
- def initialize(place_of_supply_scheme: nil)
995
- @place_of_supply_scheme = place_of_supply_scheme
996
- end
997
- end
998
- # Options for the standard registration.
999
- attr_accessor :standard
1000
- # Type of registration to be created in `country`.
1001
- attr_accessor :type
1002
-
1003
- def initialize(standard: nil, type: nil)
1004
- @standard = standard
1005
- @type = type
1006
- end
1007
- end
1008
-
1009
- class Al < Stripe::RequestParams
1010
- class Standard < Stripe::RequestParams
1011
- # Place of supply scheme used in an standard registration.
1012
- attr_accessor :place_of_supply_scheme
1013
-
1014
- def initialize(place_of_supply_scheme: nil)
1015
- @place_of_supply_scheme = place_of_supply_scheme
1016
- end
1017
- end
1018
- # Options for the standard registration.
1019
- attr_accessor :standard
1020
- # Type of registration to be created in `country`.
1021
- attr_accessor :type
1022
-
1023
- def initialize(standard: nil, type: nil)
1024
- @standard = standard
1025
- @type = type
1026
- end
1027
- end
1028
-
1029
- class Am < Stripe::RequestParams
1030
- # Type of registration to be created in `country`.
1031
- attr_accessor :type
1032
-
1033
- def initialize(type: nil)
1034
- @type = type
1035
- end
1036
- end
1037
-
1038
- class Ao < Stripe::RequestParams
1039
- class Standard < Stripe::RequestParams
1040
- # Place of supply scheme used in an standard registration.
1041
- attr_accessor :place_of_supply_scheme
1042
-
1043
- def initialize(place_of_supply_scheme: nil)
1044
- @place_of_supply_scheme = place_of_supply_scheme
1045
- end
1046
- end
1047
- # Options for the standard registration.
1048
- attr_accessor :standard
1049
- # Type of registration to be created in `country`.
1050
- attr_accessor :type
1051
-
1052
- def initialize(standard: nil, type: nil)
1053
- @standard = standard
1054
- @type = type
1055
- end
1056
- end
1057
-
1058
- class At < Stripe::RequestParams
1059
- class Standard < Stripe::RequestParams
1060
- # Place of supply scheme used in an EU standard registration.
1061
- attr_accessor :place_of_supply_scheme
1062
-
1063
- def initialize(place_of_supply_scheme: nil)
1064
- @place_of_supply_scheme = place_of_supply_scheme
1065
- end
1066
- end
1067
- # Options for the standard registration.
1068
- attr_accessor :standard
1069
- # Type of registration to be created in an EU country.
1070
- attr_accessor :type
1071
-
1072
- def initialize(standard: nil, type: nil)
1073
- @standard = standard
1074
- @type = type
1075
- end
1076
- end
1077
-
1078
- class Au < Stripe::RequestParams
1079
- class Standard < Stripe::RequestParams
1080
- # Place of supply scheme used in an standard registration.
1081
- attr_accessor :place_of_supply_scheme
1082
-
1083
- def initialize(place_of_supply_scheme: nil)
1084
- @place_of_supply_scheme = place_of_supply_scheme
1085
- end
1086
- end
1087
- # Options for the standard registration.
1088
- attr_accessor :standard
1089
- # Type of registration to be created in `country`.
1090
- attr_accessor :type
1091
-
1092
- def initialize(standard: nil, type: nil)
1093
- @standard = standard
1094
- @type = type
1095
- end
1096
- end
1097
-
1098
- class Aw < Stripe::RequestParams
1099
- class Standard < Stripe::RequestParams
1100
- # Place of supply scheme used in an standard registration.
1101
- attr_accessor :place_of_supply_scheme
1102
-
1103
- def initialize(place_of_supply_scheme: nil)
1104
- @place_of_supply_scheme = place_of_supply_scheme
1105
- end
1106
- end
1107
- # Options for the standard registration.
1108
- attr_accessor :standard
1109
- # Type of registration to be created in `country`.
1110
- attr_accessor :type
1111
-
1112
- def initialize(standard: nil, type: nil)
1113
- @standard = standard
1114
- @type = type
1115
- end
1116
- end
1117
-
1118
- class Az < Stripe::RequestParams
1119
- # Type of registration to be created in `country`.
1120
- attr_accessor :type
1121
-
1122
- def initialize(type: nil)
1123
- @type = type
1124
- end
1125
- end
1126
-
1127
- class Ba < Stripe::RequestParams
1128
- class Standard < Stripe::RequestParams
1129
- # Place of supply scheme used in an standard registration.
1130
- attr_accessor :place_of_supply_scheme
1131
-
1132
- def initialize(place_of_supply_scheme: nil)
1133
- @place_of_supply_scheme = place_of_supply_scheme
1134
- end
1135
- end
1136
- # Options for the standard registration.
1137
- attr_accessor :standard
1138
- # Type of registration to be created in `country`.
1139
- attr_accessor :type
1140
-
1141
- def initialize(standard: nil, type: nil)
1142
- @standard = standard
1143
- @type = type
1144
- end
1145
- end
1146
-
1147
- class Bb < Stripe::RequestParams
1148
- class Standard < Stripe::RequestParams
1149
- # Place of supply scheme used in an standard registration.
1150
- attr_accessor :place_of_supply_scheme
1151
-
1152
- def initialize(place_of_supply_scheme: nil)
1153
- @place_of_supply_scheme = place_of_supply_scheme
1154
- end
1155
- end
1156
- # Options for the standard registration.
1157
- attr_accessor :standard
1158
- # Type of registration to be created in `country`.
1159
- attr_accessor :type
1160
-
1161
- def initialize(standard: nil, type: nil)
1162
- @standard = standard
1163
- @type = type
1164
- end
1165
- end
1166
-
1167
- class Bd < Stripe::RequestParams
1168
- class Standard < Stripe::RequestParams
1169
- # Place of supply scheme used in an standard registration.
1170
- attr_accessor :place_of_supply_scheme
1171
-
1172
- def initialize(place_of_supply_scheme: nil)
1173
- @place_of_supply_scheme = place_of_supply_scheme
1174
- end
1175
- end
1176
- # Options for the standard registration.
1177
- attr_accessor :standard
1178
- # Type of registration to be created in `country`.
1179
- attr_accessor :type
1180
-
1181
- def initialize(standard: nil, type: nil)
1182
- @standard = standard
1183
- @type = type
1184
- end
1185
- end
1186
-
1187
- class Be < Stripe::RequestParams
1188
- class Standard < Stripe::RequestParams
1189
- # Place of supply scheme used in an EU standard registration.
1190
- attr_accessor :place_of_supply_scheme
1191
-
1192
- def initialize(place_of_supply_scheme: nil)
1193
- @place_of_supply_scheme = place_of_supply_scheme
1194
- end
1195
- end
1196
- # Options for the standard registration.
1197
- attr_accessor :standard
1198
- # Type of registration to be created in an EU country.
1199
- attr_accessor :type
1200
-
1201
- def initialize(standard: nil, type: nil)
1202
- @standard = standard
1203
- @type = type
1204
- end
1205
- end
1206
-
1207
- class Bf < Stripe::RequestParams
1208
- class Standard < Stripe::RequestParams
1209
- # Place of supply scheme used in an standard registration.
1210
- attr_accessor :place_of_supply_scheme
1211
-
1212
- def initialize(place_of_supply_scheme: nil)
1213
- @place_of_supply_scheme = place_of_supply_scheme
1214
- end
1215
- end
1216
- # Options for the standard registration.
1217
- attr_accessor :standard
1218
- # Type of registration to be created in `country`.
1219
- attr_accessor :type
1220
-
1221
- def initialize(standard: nil, type: nil)
1222
- @standard = standard
1223
- @type = type
1224
- end
1225
- end
1226
-
1227
- class Bg < Stripe::RequestParams
1228
- class Standard < Stripe::RequestParams
1229
- # Place of supply scheme used in an EU standard registration.
1230
- attr_accessor :place_of_supply_scheme
1231
-
1232
- def initialize(place_of_supply_scheme: nil)
1233
- @place_of_supply_scheme = place_of_supply_scheme
1234
- end
1235
- end
1236
- # Options for the standard registration.
1237
- attr_accessor :standard
1238
- # Type of registration to be created in an EU country.
1239
- attr_accessor :type
1240
-
1241
- def initialize(standard: nil, type: nil)
1242
- @standard = standard
1243
- @type = type
1244
- end
1245
- end
1246
-
1247
- class Bh < Stripe::RequestParams
1248
- class Standard < Stripe::RequestParams
1249
- # Place of supply scheme used in an standard registration.
1250
- attr_accessor :place_of_supply_scheme
1251
-
1252
- def initialize(place_of_supply_scheme: nil)
1253
- @place_of_supply_scheme = place_of_supply_scheme
1254
- end
1255
- end
1256
- # Options for the standard registration.
1257
- attr_accessor :standard
1258
- # Type of registration to be created in `country`.
1259
- attr_accessor :type
1260
-
1261
- def initialize(standard: nil, type: nil)
1262
- @standard = standard
1263
- @type = type
1264
- end
1265
- end
1266
-
1267
- class Bj < Stripe::RequestParams
1268
- # Type of registration to be created in `country`.
1269
- attr_accessor :type
1270
-
1271
- def initialize(type: nil)
1272
- @type = type
1273
- end
1274
- end
1275
-
1276
- class Bs < Stripe::RequestParams
1277
- class Standard < Stripe::RequestParams
1278
- # Place of supply scheme used in an standard registration.
1279
- attr_accessor :place_of_supply_scheme
1280
-
1281
- def initialize(place_of_supply_scheme: nil)
1282
- @place_of_supply_scheme = place_of_supply_scheme
1283
- end
1284
- end
1285
- # Options for the standard registration.
1286
- attr_accessor :standard
1287
- # Type of registration to be created in `country`.
1288
- attr_accessor :type
1289
-
1290
- def initialize(standard: nil, type: nil)
1291
- @standard = standard
1292
- @type = type
1293
- end
1294
- end
1295
-
1296
- class By < Stripe::RequestParams
1297
- # Type of registration to be created in `country`.
1298
- attr_accessor :type
1299
-
1300
- def initialize(type: nil)
1301
- @type = type
1302
- end
1303
- end
1304
-
1305
- class Ca < Stripe::RequestParams
1306
- class ProvinceStandard < Stripe::RequestParams
1307
- # Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1308
- attr_accessor :province
1309
-
1310
- def initialize(province: nil)
1311
- @province = province
1312
- end
1313
- end
1314
- # Options for the provincial tax registration.
1315
- attr_accessor :province_standard
1316
- # Type of registration to be created in Canada.
1317
- attr_accessor :type
1318
-
1319
- def initialize(province_standard: nil, type: nil)
1320
- @province_standard = province_standard
1321
- @type = type
1322
- end
1323
- end
1324
-
1325
- class Cd < Stripe::RequestParams
1326
- class Standard < Stripe::RequestParams
1327
- # Place of supply scheme used in an standard registration.
1328
- attr_accessor :place_of_supply_scheme
1329
-
1330
- def initialize(place_of_supply_scheme: nil)
1331
- @place_of_supply_scheme = place_of_supply_scheme
1332
- end
1333
- end
1334
- # Options for the standard registration.
1335
- attr_accessor :standard
1336
- # Type of registration to be created in `country`.
1337
- attr_accessor :type
1338
-
1339
- def initialize(standard: nil, type: nil)
1340
- @standard = standard
1341
- @type = type
1342
- end
1343
- end
1344
-
1345
- class Ch < Stripe::RequestParams
1346
- class Standard < Stripe::RequestParams
1347
- # Place of supply scheme used in an standard registration.
1348
- attr_accessor :place_of_supply_scheme
1349
-
1350
- def initialize(place_of_supply_scheme: nil)
1351
- @place_of_supply_scheme = place_of_supply_scheme
1352
- end
1353
- end
1354
- # Options for the standard registration.
1355
- attr_accessor :standard
1356
- # Type of registration to be created in `country`.
1357
- attr_accessor :type
1358
-
1359
- def initialize(standard: nil, type: nil)
1360
- @standard = standard
1361
- @type = type
1362
- end
1363
- end
1364
-
1365
- class Cl < Stripe::RequestParams
1366
- # Type of registration to be created in `country`.
1367
- attr_accessor :type
1368
-
1369
- def initialize(type: nil)
1370
- @type = type
1371
- end
1372
- end
1373
-
1374
- class Cm < Stripe::RequestParams
1375
- # Type of registration to be created in `country`.
1376
- attr_accessor :type
1377
-
1378
- def initialize(type: nil)
1379
- @type = type
1380
- end
1381
- end
1382
-
1383
- class Co < Stripe::RequestParams
1384
- # Type of registration to be created in `country`.
1385
- attr_accessor :type
1386
-
1387
- def initialize(type: nil)
1388
- @type = type
1389
- end
1390
- end
1391
-
1392
- class Cr < Stripe::RequestParams
1393
- # Type of registration to be created in `country`.
1394
- attr_accessor :type
1395
-
1396
- def initialize(type: nil)
1397
- @type = type
1398
- end
1399
- end
1400
-
1401
- class Cv < Stripe::RequestParams
1402
- # Type of registration to be created in `country`.
1403
- attr_accessor :type
1404
-
1405
- def initialize(type: nil)
1406
- @type = type
1407
- end
1408
- end
1409
-
1410
- class Cy < Stripe::RequestParams
1411
- class Standard < Stripe::RequestParams
1412
- # Place of supply scheme used in an EU standard registration.
1413
- attr_accessor :place_of_supply_scheme
1414
-
1415
- def initialize(place_of_supply_scheme: nil)
1416
- @place_of_supply_scheme = place_of_supply_scheme
1417
- end
1418
- end
1419
- # Options for the standard registration.
1420
- attr_accessor :standard
1421
- # Type of registration to be created in an EU country.
1422
- attr_accessor :type
2202
+ # Creates a new Tax Registration object.
2203
+ def self.create(params = {}, opts = {})
2204
+ request_stripe_object(
2205
+ method: :post,
2206
+ path: "/v1/tax/registrations",
2207
+ params: params,
2208
+ opts: opts
2209
+ )
2210
+ end
1423
2211
 
1424
- def initialize(standard: nil, type: nil)
1425
- @standard = standard
1426
- @type = type
1427
- end
1428
- end
2212
+ # Returns a list of Tax Registration objects.
2213
+ def self.list(params = {}, opts = {})
2214
+ request_stripe_object(
2215
+ method: :get,
2216
+ path: "/v1/tax/registrations",
2217
+ params: params,
2218
+ opts: opts
2219
+ )
2220
+ end
1429
2221
 
1430
- class Cz < Stripe::RequestParams
1431
- class Standard < Stripe::RequestParams
1432
- # Place of supply scheme used in an EU standard registration.
1433
- attr_accessor :place_of_supply_scheme
2222
+ # Updates an existing Tax Registration object.
2223
+ #
2224
+ # 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.
2225
+ def self.update(id, params = {}, opts = {})
2226
+ request_stripe_object(
2227
+ method: :post,
2228
+ path: format("/v1/tax/registrations/%<id>s", { id: CGI.escape(id) }),
2229
+ params: params,
2230
+ opts: opts
2231
+ )
2232
+ end
1434
2233
 
1435
- def initialize(place_of_supply_scheme: nil)
1436
- @place_of_supply_scheme = place_of_supply_scheme
1437
- end
1438
- end
1439
- # Options for the standard registration.
1440
- attr_accessor :standard
1441
- # Type of registration to be created in an EU country.
1442
- attr_accessor :type
2234
+ def self.inner_class_types
2235
+ @inner_class_types = { country_options: CountryOptions }
2236
+ end
1443
2237
 
1444
- def initialize(standard: nil, type: nil)
1445
- @standard = standard
1446
- @type = type
1447
- end
1448
- end
1449
-
1450
- class De < Stripe::RequestParams
1451
- class Standard < Stripe::RequestParams
1452
- # Place of supply scheme used in an EU standard registration.
1453
- attr_accessor :place_of_supply_scheme
1454
-
1455
- def initialize(place_of_supply_scheme: nil)
1456
- @place_of_supply_scheme = place_of_supply_scheme
1457
- end
1458
- end
1459
- # Options for the standard registration.
1460
- attr_accessor :standard
1461
- # Type of registration to be created in an EU country.
1462
- attr_accessor :type
1463
-
1464
- def initialize(standard: nil, type: nil)
1465
- @standard = standard
1466
- @type = type
1467
- end
1468
- end
1469
-
1470
- class Dk < Stripe::RequestParams
1471
- class Standard < Stripe::RequestParams
1472
- # Place of supply scheme used in an EU standard registration.
1473
- attr_accessor :place_of_supply_scheme
1474
-
1475
- def initialize(place_of_supply_scheme: nil)
1476
- @place_of_supply_scheme = place_of_supply_scheme
1477
- end
1478
- end
1479
- # Options for the standard registration.
1480
- attr_accessor :standard
1481
- # Type of registration to be created in an EU country.
1482
- attr_accessor :type
1483
-
1484
- def initialize(standard: nil, type: nil)
1485
- @standard = standard
1486
- @type = type
1487
- end
1488
- end
1489
-
1490
- class Ec < Stripe::RequestParams
1491
- # Type of registration to be created in `country`.
1492
- attr_accessor :type
1493
-
1494
- def initialize(type: nil)
1495
- @type = type
1496
- end
1497
- end
1498
-
1499
- class Ee < Stripe::RequestParams
1500
- class Standard < Stripe::RequestParams
1501
- # Place of supply scheme used in an EU standard registration.
1502
- attr_accessor :place_of_supply_scheme
1503
-
1504
- def initialize(place_of_supply_scheme: nil)
1505
- @place_of_supply_scheme = place_of_supply_scheme
1506
- end
1507
- end
1508
- # Options for the standard registration.
1509
- attr_accessor :standard
1510
- # Type of registration to be created in an EU country.
1511
- attr_accessor :type
1512
-
1513
- def initialize(standard: nil, type: nil)
1514
- @standard = standard
1515
- @type = type
1516
- end
1517
- end
1518
-
1519
- class Eg < Stripe::RequestParams
1520
- # Type of registration to be created in `country`.
1521
- attr_accessor :type
1522
-
1523
- def initialize(type: nil)
1524
- @type = type
1525
- end
1526
- end
1527
-
1528
- class Es < Stripe::RequestParams
1529
- class Standard < Stripe::RequestParams
1530
- # Place of supply scheme used in an EU standard registration.
1531
- attr_accessor :place_of_supply_scheme
1532
-
1533
- def initialize(place_of_supply_scheme: nil)
1534
- @place_of_supply_scheme = place_of_supply_scheme
1535
- end
1536
- end
1537
- # Options for the standard registration.
1538
- attr_accessor :standard
1539
- # Type of registration to be created in an EU country.
1540
- attr_accessor :type
1541
-
1542
- def initialize(standard: nil, type: nil)
1543
- @standard = standard
1544
- @type = type
1545
- end
1546
- end
1547
-
1548
- class Et < Stripe::RequestParams
1549
- class Standard < Stripe::RequestParams
1550
- # Place of supply scheme used in an standard registration.
1551
- attr_accessor :place_of_supply_scheme
1552
-
1553
- def initialize(place_of_supply_scheme: nil)
1554
- @place_of_supply_scheme = place_of_supply_scheme
1555
- end
1556
- end
1557
- # Options for the standard registration.
1558
- attr_accessor :standard
1559
- # Type of registration to be created in `country`.
1560
- attr_accessor :type
1561
-
1562
- def initialize(standard: nil, type: nil)
1563
- @standard = standard
1564
- @type = type
1565
- end
1566
- end
1567
-
1568
- class Fi < Stripe::RequestParams
1569
- class Standard < Stripe::RequestParams
1570
- # Place of supply scheme used in an EU standard registration.
1571
- attr_accessor :place_of_supply_scheme
1572
-
1573
- def initialize(place_of_supply_scheme: nil)
1574
- @place_of_supply_scheme = place_of_supply_scheme
1575
- end
1576
- end
1577
- # Options for the standard registration.
1578
- attr_accessor :standard
1579
- # Type of registration to be created in an EU country.
1580
- attr_accessor :type
1581
-
1582
- def initialize(standard: nil, type: nil)
1583
- @standard = standard
1584
- @type = type
1585
- end
1586
- end
1587
-
1588
- class Fr < Stripe::RequestParams
1589
- class Standard < Stripe::RequestParams
1590
- # Place of supply scheme used in an EU standard registration.
1591
- attr_accessor :place_of_supply_scheme
1592
-
1593
- def initialize(place_of_supply_scheme: nil)
1594
- @place_of_supply_scheme = place_of_supply_scheme
1595
- end
1596
- end
1597
- # Options for the standard registration.
1598
- attr_accessor :standard
1599
- # Type of registration to be created in an EU country.
1600
- attr_accessor :type
1601
-
1602
- def initialize(standard: nil, type: nil)
1603
- @standard = standard
1604
- @type = type
1605
- end
1606
- end
1607
-
1608
- class Gb < Stripe::RequestParams
1609
- class Standard < Stripe::RequestParams
1610
- # Place of supply scheme used in an standard registration.
1611
- attr_accessor :place_of_supply_scheme
1612
-
1613
- def initialize(place_of_supply_scheme: nil)
1614
- @place_of_supply_scheme = place_of_supply_scheme
1615
- end
1616
- end
1617
- # Options for the standard registration.
1618
- attr_accessor :standard
1619
- # Type of registration to be created in `country`.
1620
- attr_accessor :type
1621
-
1622
- def initialize(standard: nil, type: nil)
1623
- @standard = standard
1624
- @type = type
1625
- end
1626
- end
1627
-
1628
- class Ge < Stripe::RequestParams
1629
- # Type of registration to be created in `country`.
1630
- attr_accessor :type
1631
-
1632
- def initialize(type: nil)
1633
- @type = type
1634
- end
1635
- end
1636
-
1637
- class Gn < Stripe::RequestParams
1638
- class Standard < Stripe::RequestParams
1639
- # Place of supply scheme used in an standard registration.
1640
- attr_accessor :place_of_supply_scheme
1641
-
1642
- def initialize(place_of_supply_scheme: nil)
1643
- @place_of_supply_scheme = place_of_supply_scheme
1644
- end
1645
- end
1646
- # Options for the standard registration.
1647
- attr_accessor :standard
1648
- # Type of registration to be created in `country`.
1649
- attr_accessor :type
1650
-
1651
- def initialize(standard: nil, type: nil)
1652
- @standard = standard
1653
- @type = type
1654
- end
1655
- end
1656
-
1657
- class Gr < Stripe::RequestParams
1658
- class Standard < Stripe::RequestParams
1659
- # Place of supply scheme used in an EU standard registration.
1660
- attr_accessor :place_of_supply_scheme
1661
-
1662
- def initialize(place_of_supply_scheme: nil)
1663
- @place_of_supply_scheme = place_of_supply_scheme
1664
- end
1665
- end
1666
- # Options for the standard registration.
1667
- attr_accessor :standard
1668
- # Type of registration to be created in an EU country.
1669
- attr_accessor :type
1670
-
1671
- def initialize(standard: nil, type: nil)
1672
- @standard = standard
1673
- @type = type
1674
- end
1675
- end
1676
-
1677
- class Hr < Stripe::RequestParams
1678
- class Standard < Stripe::RequestParams
1679
- # Place of supply scheme used in an EU standard registration.
1680
- attr_accessor :place_of_supply_scheme
1681
-
1682
- def initialize(place_of_supply_scheme: nil)
1683
- @place_of_supply_scheme = place_of_supply_scheme
1684
- end
1685
- end
1686
- # Options for the standard registration.
1687
- attr_accessor :standard
1688
- # Type of registration to be created in an EU country.
1689
- attr_accessor :type
1690
-
1691
- def initialize(standard: nil, type: nil)
1692
- @standard = standard
1693
- @type = type
1694
- end
1695
- end
1696
-
1697
- class Hu < Stripe::RequestParams
1698
- class Standard < Stripe::RequestParams
1699
- # Place of supply scheme used in an EU standard registration.
1700
- attr_accessor :place_of_supply_scheme
1701
-
1702
- def initialize(place_of_supply_scheme: nil)
1703
- @place_of_supply_scheme = place_of_supply_scheme
1704
- end
1705
- end
1706
- # Options for the standard registration.
1707
- attr_accessor :standard
1708
- # Type of registration to be created in an EU country.
1709
- attr_accessor :type
1710
-
1711
- def initialize(standard: nil, type: nil)
1712
- @standard = standard
1713
- @type = type
1714
- end
1715
- end
1716
-
1717
- class Id < Stripe::RequestParams
1718
- # Type of registration to be created in `country`.
1719
- attr_accessor :type
1720
-
1721
- def initialize(type: nil)
1722
- @type = type
1723
- end
1724
- end
1725
-
1726
- class Ie < Stripe::RequestParams
1727
- class Standard < Stripe::RequestParams
1728
- # Place of supply scheme used in an EU standard registration.
1729
- attr_accessor :place_of_supply_scheme
1730
-
1731
- def initialize(place_of_supply_scheme: nil)
1732
- @place_of_supply_scheme = place_of_supply_scheme
1733
- end
1734
- end
1735
- # Options for the standard registration.
1736
- attr_accessor :standard
1737
- # Type of registration to be created in an EU country.
1738
- attr_accessor :type
1739
-
1740
- def initialize(standard: nil, type: nil)
1741
- @standard = standard
1742
- @type = type
1743
- end
1744
- end
1745
-
1746
- class In < Stripe::RequestParams
1747
- # Type of registration to be created in `country`.
1748
- attr_accessor :type
1749
-
1750
- def initialize(type: nil)
1751
- @type = type
1752
- end
1753
- end
1754
-
1755
- class Is < Stripe::RequestParams
1756
- class Standard < Stripe::RequestParams
1757
- # Place of supply scheme used in an standard registration.
1758
- attr_accessor :place_of_supply_scheme
1759
-
1760
- def initialize(place_of_supply_scheme: nil)
1761
- @place_of_supply_scheme = place_of_supply_scheme
1762
- end
1763
- end
1764
- # Options for the standard registration.
1765
- attr_accessor :standard
1766
- # Type of registration to be created in `country`.
1767
- attr_accessor :type
1768
-
1769
- def initialize(standard: nil, type: nil)
1770
- @standard = standard
1771
- @type = type
1772
- end
1773
- end
1774
-
1775
- class It < Stripe::RequestParams
1776
- class Standard < Stripe::RequestParams
1777
- # Place of supply scheme used in an EU standard registration.
1778
- attr_accessor :place_of_supply_scheme
1779
-
1780
- def initialize(place_of_supply_scheme: nil)
1781
- @place_of_supply_scheme = place_of_supply_scheme
1782
- end
1783
- end
1784
- # Options for the standard registration.
1785
- attr_accessor :standard
1786
- # Type of registration to be created in an EU country.
1787
- attr_accessor :type
1788
-
1789
- def initialize(standard: nil, type: nil)
1790
- @standard = standard
1791
- @type = type
1792
- end
1793
- end
1794
-
1795
- class Jp < Stripe::RequestParams
1796
- class Standard < Stripe::RequestParams
1797
- # Place of supply scheme used in an standard registration.
1798
- attr_accessor :place_of_supply_scheme
1799
-
1800
- def initialize(place_of_supply_scheme: nil)
1801
- @place_of_supply_scheme = place_of_supply_scheme
1802
- end
1803
- end
1804
- # Options for the standard registration.
1805
- attr_accessor :standard
1806
- # Type of registration to be created in `country`.
1807
- attr_accessor :type
1808
-
1809
- def initialize(standard: nil, type: nil)
1810
- @standard = standard
1811
- @type = type
1812
- end
1813
- end
1814
-
1815
- class Ke < Stripe::RequestParams
1816
- # Type of registration to be created in `country`.
1817
- attr_accessor :type
1818
-
1819
- def initialize(type: nil)
1820
- @type = type
1821
- end
1822
- end
1823
-
1824
- class Kg < Stripe::RequestParams
1825
- # Type of registration to be created in `country`.
1826
- attr_accessor :type
1827
-
1828
- def initialize(type: nil)
1829
- @type = type
1830
- end
1831
- end
1832
-
1833
- class Kh < Stripe::RequestParams
1834
- # Type of registration to be created in `country`.
1835
- attr_accessor :type
1836
-
1837
- def initialize(type: nil)
1838
- @type = type
1839
- end
1840
- end
1841
-
1842
- class Kr < Stripe::RequestParams
1843
- # Type of registration to be created in `country`.
1844
- attr_accessor :type
1845
-
1846
- def initialize(type: nil)
1847
- @type = type
1848
- end
1849
- end
1850
-
1851
- class Kz < Stripe::RequestParams
1852
- # Type of registration to be created in `country`.
1853
- attr_accessor :type
1854
-
1855
- def initialize(type: nil)
1856
- @type = type
1857
- end
1858
- end
1859
-
1860
- class La < Stripe::RequestParams
1861
- # Type of registration to be created in `country`.
1862
- attr_accessor :type
1863
-
1864
- def initialize(type: nil)
1865
- @type = type
1866
- end
1867
- end
1868
-
1869
- class Lt < Stripe::RequestParams
1870
- class Standard < Stripe::RequestParams
1871
- # Place of supply scheme used in an EU standard registration.
1872
- attr_accessor :place_of_supply_scheme
1873
-
1874
- def initialize(place_of_supply_scheme: nil)
1875
- @place_of_supply_scheme = place_of_supply_scheme
1876
- end
1877
- end
1878
- # Options for the standard registration.
1879
- attr_accessor :standard
1880
- # Type of registration to be created in an EU country.
1881
- attr_accessor :type
1882
-
1883
- def initialize(standard: nil, type: nil)
1884
- @standard = standard
1885
- @type = type
1886
- end
1887
- end
1888
-
1889
- class Lu < Stripe::RequestParams
1890
- class Standard < Stripe::RequestParams
1891
- # Place of supply scheme used in an EU standard registration.
1892
- attr_accessor :place_of_supply_scheme
1893
-
1894
- def initialize(place_of_supply_scheme: nil)
1895
- @place_of_supply_scheme = place_of_supply_scheme
1896
- end
1897
- end
1898
- # Options for the standard registration.
1899
- attr_accessor :standard
1900
- # Type of registration to be created in an EU country.
1901
- attr_accessor :type
1902
-
1903
- def initialize(standard: nil, type: nil)
1904
- @standard = standard
1905
- @type = type
1906
- end
1907
- end
1908
-
1909
- class Lv < Stripe::RequestParams
1910
- class Standard < Stripe::RequestParams
1911
- # Place of supply scheme used in an EU standard registration.
1912
- attr_accessor :place_of_supply_scheme
1913
-
1914
- def initialize(place_of_supply_scheme: nil)
1915
- @place_of_supply_scheme = place_of_supply_scheme
1916
- end
1917
- end
1918
- # Options for the standard registration.
1919
- attr_accessor :standard
1920
- # Type of registration to be created in an EU country.
1921
- attr_accessor :type
1922
-
1923
- def initialize(standard: nil, type: nil)
1924
- @standard = standard
1925
- @type = type
1926
- end
1927
- end
1928
-
1929
- class Ma < Stripe::RequestParams
1930
- # Type of registration to be created in `country`.
1931
- attr_accessor :type
1932
-
1933
- def initialize(type: nil)
1934
- @type = type
1935
- end
1936
- end
1937
-
1938
- class Md < Stripe::RequestParams
1939
- # Type of registration to be created in `country`.
1940
- attr_accessor :type
1941
-
1942
- def initialize(type: nil)
1943
- @type = type
1944
- end
1945
- end
1946
-
1947
- class Me < Stripe::RequestParams
1948
- class Standard < Stripe::RequestParams
1949
- # Place of supply scheme used in an standard registration.
1950
- attr_accessor :place_of_supply_scheme
1951
-
1952
- def initialize(place_of_supply_scheme: nil)
1953
- @place_of_supply_scheme = place_of_supply_scheme
1954
- end
1955
- end
1956
- # Options for the standard registration.
1957
- attr_accessor :standard
1958
- # Type of registration to be created in `country`.
1959
- attr_accessor :type
1960
-
1961
- def initialize(standard: nil, type: nil)
1962
- @standard = standard
1963
- @type = type
1964
- end
1965
- end
1966
-
1967
- class Mk < Stripe::RequestParams
1968
- class Standard < Stripe::RequestParams
1969
- # Place of supply scheme used in an standard registration.
1970
- attr_accessor :place_of_supply_scheme
1971
-
1972
- def initialize(place_of_supply_scheme: nil)
1973
- @place_of_supply_scheme = place_of_supply_scheme
1974
- end
1975
- end
1976
- # Options for the standard registration.
1977
- attr_accessor :standard
1978
- # Type of registration to be created in `country`.
1979
- attr_accessor :type
1980
-
1981
- def initialize(standard: nil, type: nil)
1982
- @standard = standard
1983
- @type = type
1984
- end
1985
- end
1986
-
1987
- class Mr < Stripe::RequestParams
1988
- class Standard < Stripe::RequestParams
1989
- # Place of supply scheme used in an standard registration.
1990
- attr_accessor :place_of_supply_scheme
1991
-
1992
- def initialize(place_of_supply_scheme: nil)
1993
- @place_of_supply_scheme = place_of_supply_scheme
1994
- end
1995
- end
1996
- # Options for the standard registration.
1997
- attr_accessor :standard
1998
- # Type of registration to be created in `country`.
1999
- attr_accessor :type
2000
-
2001
- def initialize(standard: nil, type: nil)
2002
- @standard = standard
2003
- @type = type
2004
- end
2005
- end
2006
-
2007
- class Mt < Stripe::RequestParams
2008
- class Standard < Stripe::RequestParams
2009
- # Place of supply scheme used in an EU standard registration.
2010
- attr_accessor :place_of_supply_scheme
2011
-
2012
- def initialize(place_of_supply_scheme: nil)
2013
- @place_of_supply_scheme = place_of_supply_scheme
2014
- end
2015
- end
2016
- # Options for the standard registration.
2017
- attr_accessor :standard
2018
- # Type of registration to be created in an EU country.
2019
- attr_accessor :type
2020
-
2021
- def initialize(standard: nil, type: nil)
2022
- @standard = standard
2023
- @type = type
2024
- end
2025
- end
2026
-
2027
- class Mx < Stripe::RequestParams
2028
- # Type of registration to be created in `country`.
2029
- attr_accessor :type
2030
-
2031
- def initialize(type: nil)
2032
- @type = type
2033
- end
2034
- end
2035
-
2036
- class My < Stripe::RequestParams
2037
- # Type of registration to be created in `country`.
2038
- attr_accessor :type
2039
-
2040
- def initialize(type: nil)
2041
- @type = type
2042
- end
2043
- end
2044
-
2045
- class Ng < Stripe::RequestParams
2046
- # Type of registration to be created in `country`.
2047
- attr_accessor :type
2048
-
2049
- def initialize(type: nil)
2050
- @type = type
2051
- end
2052
- end
2053
-
2054
- class Nl < Stripe::RequestParams
2055
- class Standard < Stripe::RequestParams
2056
- # Place of supply scheme used in an EU standard registration.
2057
- attr_accessor :place_of_supply_scheme
2058
-
2059
- def initialize(place_of_supply_scheme: nil)
2060
- @place_of_supply_scheme = place_of_supply_scheme
2061
- end
2062
- end
2063
- # Options for the standard registration.
2064
- attr_accessor :standard
2065
- # Type of registration to be created in an EU country.
2066
- attr_accessor :type
2067
-
2068
- def initialize(standard: nil, type: nil)
2069
- @standard = standard
2070
- @type = type
2071
- end
2072
- end
2073
-
2074
- class No < Stripe::RequestParams
2075
- class Standard < Stripe::RequestParams
2076
- # Place of supply scheme used in an standard registration.
2077
- attr_accessor :place_of_supply_scheme
2078
-
2079
- def initialize(place_of_supply_scheme: nil)
2080
- @place_of_supply_scheme = place_of_supply_scheme
2081
- end
2082
- end
2083
- # Options for the standard registration.
2084
- attr_accessor :standard
2085
- # Type of registration to be created in `country`.
2086
- attr_accessor :type
2087
-
2088
- def initialize(standard: nil, type: nil)
2089
- @standard = standard
2090
- @type = type
2091
- end
2092
- end
2093
-
2094
- class Np < Stripe::RequestParams
2095
- # Type of registration to be created in `country`.
2096
- attr_accessor :type
2097
-
2098
- def initialize(type: nil)
2099
- @type = type
2100
- end
2101
- end
2102
-
2103
- class Nz < Stripe::RequestParams
2104
- class Standard < Stripe::RequestParams
2105
- # Place of supply scheme used in an standard registration.
2106
- attr_accessor :place_of_supply_scheme
2107
-
2108
- def initialize(place_of_supply_scheme: nil)
2109
- @place_of_supply_scheme = place_of_supply_scheme
2110
- end
2111
- end
2112
- # Options for the standard registration.
2113
- attr_accessor :standard
2114
- # Type of registration to be created in `country`.
2115
- attr_accessor :type
2116
-
2117
- def initialize(standard: nil, type: nil)
2118
- @standard = standard
2119
- @type = type
2120
- end
2121
- end
2122
-
2123
- class Om < Stripe::RequestParams
2124
- class Standard < Stripe::RequestParams
2125
- # Place of supply scheme used in an standard registration.
2126
- attr_accessor :place_of_supply_scheme
2127
-
2128
- def initialize(place_of_supply_scheme: nil)
2129
- @place_of_supply_scheme = place_of_supply_scheme
2130
- end
2131
- end
2132
- # Options for the standard registration.
2133
- attr_accessor :standard
2134
- # Type of registration to be created in `country`.
2135
- attr_accessor :type
2136
-
2137
- def initialize(standard: nil, type: nil)
2138
- @standard = standard
2139
- @type = type
2140
- end
2141
- end
2142
-
2143
- class Pe < Stripe::RequestParams
2144
- # Type of registration to be created in `country`.
2145
- attr_accessor :type
2146
-
2147
- def initialize(type: nil)
2148
- @type = type
2149
- end
2150
- end
2151
-
2152
- class Ph < Stripe::RequestParams
2153
- # Type of registration to be created in `country`.
2154
- attr_accessor :type
2155
-
2156
- def initialize(type: nil)
2157
- @type = type
2158
- end
2159
- end
2160
-
2161
- class Pl < Stripe::RequestParams
2162
- class Standard < Stripe::RequestParams
2163
- # Place of supply scheme used in an EU standard registration.
2164
- attr_accessor :place_of_supply_scheme
2165
-
2166
- def initialize(place_of_supply_scheme: nil)
2167
- @place_of_supply_scheme = place_of_supply_scheme
2168
- end
2169
- end
2170
- # Options for the standard registration.
2171
- attr_accessor :standard
2172
- # Type of registration to be created in an EU country.
2173
- attr_accessor :type
2174
-
2175
- def initialize(standard: nil, type: nil)
2176
- @standard = standard
2177
- @type = type
2178
- end
2179
- end
2180
-
2181
- class Pt < Stripe::RequestParams
2182
- class Standard < Stripe::RequestParams
2183
- # Place of supply scheme used in an EU standard registration.
2184
- attr_accessor :place_of_supply_scheme
2185
-
2186
- def initialize(place_of_supply_scheme: nil)
2187
- @place_of_supply_scheme = place_of_supply_scheme
2188
- end
2189
- end
2190
- # Options for the standard registration.
2191
- attr_accessor :standard
2192
- # Type of registration to be created in an EU country.
2193
- attr_accessor :type
2194
-
2195
- def initialize(standard: nil, type: nil)
2196
- @standard = standard
2197
- @type = type
2198
- end
2199
- end
2200
-
2201
- class Ro < Stripe::RequestParams
2202
- class Standard < Stripe::RequestParams
2203
- # Place of supply scheme used in an EU standard registration.
2204
- attr_accessor :place_of_supply_scheme
2205
-
2206
- def initialize(place_of_supply_scheme: nil)
2207
- @place_of_supply_scheme = place_of_supply_scheme
2208
- end
2209
- end
2210
- # Options for the standard registration.
2211
- attr_accessor :standard
2212
- # Type of registration to be created in an EU country.
2213
- attr_accessor :type
2214
-
2215
- def initialize(standard: nil, type: nil)
2216
- @standard = standard
2217
- @type = type
2218
- end
2219
- end
2220
-
2221
- class Rs < Stripe::RequestParams
2222
- class Standard < Stripe::RequestParams
2223
- # Place of supply scheme used in an standard registration.
2224
- attr_accessor :place_of_supply_scheme
2225
-
2226
- def initialize(place_of_supply_scheme: nil)
2227
- @place_of_supply_scheme = place_of_supply_scheme
2228
- end
2229
- end
2230
- # Options for the standard registration.
2231
- attr_accessor :standard
2232
- # Type of registration to be created in `country`.
2233
- attr_accessor :type
2234
-
2235
- def initialize(standard: nil, type: nil)
2236
- @standard = standard
2237
- @type = type
2238
- end
2239
- end
2240
-
2241
- class Ru < Stripe::RequestParams
2242
- # Type of registration to be created in `country`.
2243
- attr_accessor :type
2244
-
2245
- def initialize(type: nil)
2246
- @type = type
2247
- end
2248
- end
2249
-
2250
- class Sa < Stripe::RequestParams
2251
- # Type of registration to be created in `country`.
2252
- attr_accessor :type
2253
-
2254
- def initialize(type: nil)
2255
- @type = type
2256
- end
2257
- end
2258
-
2259
- class Se < Stripe::RequestParams
2260
- class Standard < Stripe::RequestParams
2261
- # Place of supply scheme used in an EU standard registration.
2262
- attr_accessor :place_of_supply_scheme
2263
-
2264
- def initialize(place_of_supply_scheme: nil)
2265
- @place_of_supply_scheme = place_of_supply_scheme
2266
- end
2267
- end
2268
- # Options for the standard registration.
2269
- attr_accessor :standard
2270
- # Type of registration to be created in an EU country.
2271
- attr_accessor :type
2272
-
2273
- def initialize(standard: nil, type: nil)
2274
- @standard = standard
2275
- @type = type
2276
- end
2277
- end
2278
-
2279
- class Sg < Stripe::RequestParams
2280
- class Standard < Stripe::RequestParams
2281
- # Place of supply scheme used in an standard registration.
2282
- attr_accessor :place_of_supply_scheme
2283
-
2284
- def initialize(place_of_supply_scheme: nil)
2285
- @place_of_supply_scheme = place_of_supply_scheme
2286
- end
2287
- end
2288
- # Options for the standard registration.
2289
- attr_accessor :standard
2290
- # Type of registration to be created in `country`.
2291
- attr_accessor :type
2292
-
2293
- def initialize(standard: nil, type: nil)
2294
- @standard = standard
2295
- @type = type
2296
- end
2297
- end
2298
-
2299
- class Si < Stripe::RequestParams
2300
- class Standard < Stripe::RequestParams
2301
- # Place of supply scheme used in an EU standard registration.
2302
- attr_accessor :place_of_supply_scheme
2303
-
2304
- def initialize(place_of_supply_scheme: nil)
2305
- @place_of_supply_scheme = place_of_supply_scheme
2306
- end
2307
- end
2308
- # Options for the standard registration.
2309
- attr_accessor :standard
2310
- # Type of registration to be created in an EU country.
2311
- attr_accessor :type
2312
-
2313
- def initialize(standard: nil, type: nil)
2314
- @standard = standard
2315
- @type = type
2316
- end
2317
- end
2318
-
2319
- class Sk < Stripe::RequestParams
2320
- class Standard < Stripe::RequestParams
2321
- # Place of supply scheme used in an EU standard registration.
2322
- attr_accessor :place_of_supply_scheme
2323
-
2324
- def initialize(place_of_supply_scheme: nil)
2325
- @place_of_supply_scheme = place_of_supply_scheme
2326
- end
2327
- end
2328
- # Options for the standard registration.
2329
- attr_accessor :standard
2330
- # Type of registration to be created in an EU country.
2331
- attr_accessor :type
2332
-
2333
- def initialize(standard: nil, type: nil)
2334
- @standard = standard
2335
- @type = type
2336
- end
2337
- end
2338
-
2339
- class Sn < Stripe::RequestParams
2340
- # Type of registration to be created in `country`.
2341
- attr_accessor :type
2342
-
2343
- def initialize(type: nil)
2344
- @type = type
2345
- end
2346
- end
2347
-
2348
- class Sr < Stripe::RequestParams
2349
- class Standard < Stripe::RequestParams
2350
- # Place of supply scheme used in an standard registration.
2351
- attr_accessor :place_of_supply_scheme
2352
-
2353
- def initialize(place_of_supply_scheme: nil)
2354
- @place_of_supply_scheme = place_of_supply_scheme
2355
- end
2356
- end
2357
- # Options for the standard registration.
2358
- attr_accessor :standard
2359
- # Type of registration to be created in `country`.
2360
- attr_accessor :type
2361
-
2362
- def initialize(standard: nil, type: nil)
2363
- @standard = standard
2364
- @type = type
2365
- end
2366
- end
2367
-
2368
- class Th < Stripe::RequestParams
2369
- # Type of registration to be created in `country`.
2370
- attr_accessor :type
2371
-
2372
- def initialize(type: nil)
2373
- @type = type
2374
- end
2375
- end
2376
-
2377
- class Tj < Stripe::RequestParams
2378
- # Type of registration to be created in `country`.
2379
- attr_accessor :type
2380
-
2381
- def initialize(type: nil)
2382
- @type = type
2383
- end
2384
- end
2385
-
2386
- class Tr < Stripe::RequestParams
2387
- # Type of registration to be created in `country`.
2388
- attr_accessor :type
2389
-
2390
- def initialize(type: nil)
2391
- @type = type
2392
- end
2393
- end
2394
-
2395
- class Tz < Stripe::RequestParams
2396
- # Type of registration to be created in `country`.
2397
- attr_accessor :type
2398
-
2399
- def initialize(type: nil)
2400
- @type = type
2401
- end
2402
- end
2403
-
2404
- class Ua < Stripe::RequestParams
2405
- # Type of registration to be created in `country`.
2406
- attr_accessor :type
2407
-
2408
- def initialize(type: nil)
2409
- @type = type
2410
- end
2411
- end
2412
-
2413
- class Ug < Stripe::RequestParams
2414
- # Type of registration to be created in `country`.
2415
- attr_accessor :type
2416
-
2417
- def initialize(type: nil)
2418
- @type = type
2419
- end
2420
- end
2421
-
2422
- class Us < Stripe::RequestParams
2423
- class LocalAmusementTax < Stripe::RequestParams
2424
- # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `48892` (Midlothian), `64343` (River Grove), and `68081` (Schiller Park).
2425
- attr_accessor :jurisdiction
2426
-
2427
- def initialize(jurisdiction: nil)
2428
- @jurisdiction = jurisdiction
2429
- end
2430
- end
2431
-
2432
- class LocalLeaseTax < Stripe::RequestParams
2433
- # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago).
2434
- attr_accessor :jurisdiction
2435
-
2436
- def initialize(jurisdiction: nil)
2437
- @jurisdiction = jurisdiction
2438
- end
2439
- end
2440
-
2441
- class StateSalesTax < Stripe::RequestParams
2442
- class Election < Stripe::RequestParams
2443
- # 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).
2444
- attr_accessor :jurisdiction
2445
- # The type of the election for the state sales tax registration.
2446
- attr_accessor :type
2447
-
2448
- def initialize(jurisdiction: nil, type: nil)
2449
- @jurisdiction = jurisdiction
2450
- @type = type
2451
- end
2452
- end
2453
- # Elections for the state sales tax registration.
2454
- attr_accessor :elections
2455
-
2456
- def initialize(elections: nil)
2457
- @elections = elections
2458
- end
2459
- end
2460
- # Options for the local amusement tax registration.
2461
- attr_accessor :local_amusement_tax
2462
- # Options for the local lease tax registration.
2463
- attr_accessor :local_lease_tax
2464
- # Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
2465
- attr_accessor :state
2466
- # Options for the state sales tax registration.
2467
- attr_accessor :state_sales_tax
2468
- # Type of registration to be created in the US.
2469
- attr_accessor :type
2470
-
2471
- def initialize(
2472
- local_amusement_tax: nil,
2473
- local_lease_tax: nil,
2474
- state: nil,
2475
- state_sales_tax: nil,
2476
- type: nil
2477
- )
2478
- @local_amusement_tax = local_amusement_tax
2479
- @local_lease_tax = local_lease_tax
2480
- @state = state
2481
- @state_sales_tax = state_sales_tax
2482
- @type = type
2483
- end
2484
- end
2485
-
2486
- class Uy < Stripe::RequestParams
2487
- class Standard < Stripe::RequestParams
2488
- # Place of supply scheme used in an standard registration.
2489
- attr_accessor :place_of_supply_scheme
2490
-
2491
- def initialize(place_of_supply_scheme: nil)
2492
- @place_of_supply_scheme = place_of_supply_scheme
2493
- end
2494
- end
2495
- # Options for the standard registration.
2496
- attr_accessor :standard
2497
- # Type of registration to be created in `country`.
2498
- attr_accessor :type
2499
-
2500
- def initialize(standard: nil, type: nil)
2501
- @standard = standard
2502
- @type = type
2503
- end
2504
- end
2505
-
2506
- class Uz < Stripe::RequestParams
2507
- # Type of registration to be created in `country`.
2508
- attr_accessor :type
2509
-
2510
- def initialize(type: nil)
2511
- @type = type
2512
- end
2513
- end
2514
-
2515
- class Vn < Stripe::RequestParams
2516
- # Type of registration to be created in `country`.
2517
- attr_accessor :type
2518
-
2519
- def initialize(type: nil)
2520
- @type = type
2521
- end
2522
- end
2523
-
2524
- class Za < Stripe::RequestParams
2525
- class Standard < Stripe::RequestParams
2526
- # Place of supply scheme used in an standard registration.
2527
- attr_accessor :place_of_supply_scheme
2528
-
2529
- def initialize(place_of_supply_scheme: nil)
2530
- @place_of_supply_scheme = place_of_supply_scheme
2531
- end
2532
- end
2533
- # Options for the standard registration.
2534
- attr_accessor :standard
2535
- # Type of registration to be created in `country`.
2536
- attr_accessor :type
2537
-
2538
- def initialize(standard: nil, type: nil)
2539
- @standard = standard
2540
- @type = type
2541
- end
2542
- end
2543
-
2544
- class Zm < Stripe::RequestParams
2545
- # Type of registration to be created in `country`.
2546
- attr_accessor :type
2547
-
2548
- def initialize(type: nil)
2549
- @type = type
2550
- end
2551
- end
2552
-
2553
- class Zw < Stripe::RequestParams
2554
- class Standard < Stripe::RequestParams
2555
- # Place of supply scheme used in an standard registration.
2556
- attr_accessor :place_of_supply_scheme
2557
-
2558
- def initialize(place_of_supply_scheme: nil)
2559
- @place_of_supply_scheme = place_of_supply_scheme
2560
- end
2561
- end
2562
- # Options for the standard registration.
2563
- attr_accessor :standard
2564
- # Type of registration to be created in `country`.
2565
- attr_accessor :type
2566
-
2567
- def initialize(standard: nil, type: nil)
2568
- @standard = standard
2569
- @type = type
2570
- end
2571
- end
2572
- # Options for the registration in AE.
2573
- attr_accessor :ae
2574
- # Options for the registration in AL.
2575
- attr_accessor :al
2576
- # Options for the registration in AM.
2577
- attr_accessor :am
2578
- # Options for the registration in AO.
2579
- attr_accessor :ao
2580
- # Options for the registration in AT.
2581
- attr_accessor :at
2582
- # Options for the registration in AU.
2583
- attr_accessor :au
2584
- # Options for the registration in AW.
2585
- attr_accessor :aw
2586
- # Options for the registration in AZ.
2587
- attr_accessor :az
2588
- # Options for the registration in BA.
2589
- attr_accessor :ba
2590
- # Options for the registration in BB.
2591
- attr_accessor :bb
2592
- # Options for the registration in BD.
2593
- attr_accessor :bd
2594
- # Options for the registration in BE.
2595
- attr_accessor :be
2596
- # Options for the registration in BF.
2597
- attr_accessor :bf
2598
- # Options for the registration in BG.
2599
- attr_accessor :bg
2600
- # Options for the registration in BH.
2601
- attr_accessor :bh
2602
- # Options for the registration in BJ.
2603
- attr_accessor :bj
2604
- # Options for the registration in BS.
2605
- attr_accessor :bs
2606
- # Options for the registration in BY.
2607
- attr_accessor :by
2608
- # Options for the registration in CA.
2609
- attr_accessor :ca
2610
- # Options for the registration in CD.
2611
- attr_accessor :cd
2612
- # Options for the registration in CH.
2613
- attr_accessor :ch
2614
- # Options for the registration in CL.
2615
- attr_accessor :cl
2616
- # Options for the registration in CM.
2617
- attr_accessor :cm
2618
- # Options for the registration in CO.
2619
- attr_accessor :co
2620
- # Options for the registration in CR.
2621
- attr_accessor :cr
2622
- # Options for the registration in CV.
2623
- attr_accessor :cv
2624
- # Options for the registration in CY.
2625
- attr_accessor :cy
2626
- # Options for the registration in CZ.
2627
- attr_accessor :cz
2628
- # Options for the registration in DE.
2629
- attr_accessor :de
2630
- # Options for the registration in DK.
2631
- attr_accessor :dk
2632
- # Options for the registration in EC.
2633
- attr_accessor :ec
2634
- # Options for the registration in EE.
2635
- attr_accessor :ee
2636
- # Options for the registration in EG.
2637
- attr_accessor :eg
2638
- # Options for the registration in ES.
2639
- attr_accessor :es
2640
- # Options for the registration in ET.
2641
- attr_accessor :et
2642
- # Options for the registration in FI.
2643
- attr_accessor :fi
2644
- # Options for the registration in FR.
2645
- attr_accessor :fr
2646
- # Options for the registration in GB.
2647
- attr_accessor :gb
2648
- # Options for the registration in GE.
2649
- attr_accessor :ge
2650
- # Options for the registration in GN.
2651
- attr_accessor :gn
2652
- # Options for the registration in GR.
2653
- attr_accessor :gr
2654
- # Options for the registration in HR.
2655
- attr_accessor :hr
2656
- # Options for the registration in HU.
2657
- attr_accessor :hu
2658
- # Options for the registration in ID.
2659
- attr_accessor :id
2660
- # Options for the registration in IE.
2661
- attr_accessor :ie
2662
- # Options for the registration in IN.
2663
- attr_accessor :in
2664
- # Options for the registration in IS.
2665
- attr_accessor :is
2666
- # Options for the registration in IT.
2667
- attr_accessor :it
2668
- # Options for the registration in JP.
2669
- attr_accessor :jp
2670
- # Options for the registration in KE.
2671
- attr_accessor :ke
2672
- # Options for the registration in KG.
2673
- attr_accessor :kg
2674
- # Options for the registration in KH.
2675
- attr_accessor :kh
2676
- # Options for the registration in KR.
2677
- attr_accessor :kr
2678
- # Options for the registration in KZ.
2679
- attr_accessor :kz
2680
- # Options for the registration in LA.
2681
- attr_accessor :la
2682
- # Options for the registration in LT.
2683
- attr_accessor :lt
2684
- # Options for the registration in LU.
2685
- attr_accessor :lu
2686
- # Options for the registration in LV.
2687
- attr_accessor :lv
2688
- # Options for the registration in MA.
2689
- attr_accessor :ma
2690
- # Options for the registration in MD.
2691
- attr_accessor :md
2692
- # Options for the registration in ME.
2693
- attr_accessor :me
2694
- # Options for the registration in MK.
2695
- attr_accessor :mk
2696
- # Options for the registration in MR.
2697
- attr_accessor :mr
2698
- # Options for the registration in MT.
2699
- attr_accessor :mt
2700
- # Options for the registration in MX.
2701
- attr_accessor :mx
2702
- # Options for the registration in MY.
2703
- attr_accessor :my
2704
- # Options for the registration in NG.
2705
- attr_accessor :ng
2706
- # Options for the registration in NL.
2707
- attr_accessor :nl
2708
- # Options for the registration in NO.
2709
- attr_accessor :no
2710
- # Options for the registration in NP.
2711
- attr_accessor :np
2712
- # Options for the registration in NZ.
2713
- attr_accessor :nz
2714
- # Options for the registration in OM.
2715
- attr_accessor :om
2716
- # Options for the registration in PE.
2717
- attr_accessor :pe
2718
- # Options for the registration in PH.
2719
- attr_accessor :ph
2720
- # Options for the registration in PL.
2721
- attr_accessor :pl
2722
- # Options for the registration in PT.
2723
- attr_accessor :pt
2724
- # Options for the registration in RO.
2725
- attr_accessor :ro
2726
- # Options for the registration in RS.
2727
- attr_accessor :rs
2728
- # Options for the registration in RU.
2729
- attr_accessor :ru
2730
- # Options for the registration in SA.
2731
- attr_accessor :sa
2732
- # Options for the registration in SE.
2733
- attr_accessor :se
2734
- # Options for the registration in SG.
2735
- attr_accessor :sg
2736
- # Options for the registration in SI.
2737
- attr_accessor :si
2738
- # Options for the registration in SK.
2739
- attr_accessor :sk
2740
- # Options for the registration in SN.
2741
- attr_accessor :sn
2742
- # Options for the registration in SR.
2743
- attr_accessor :sr
2744
- # Options for the registration in TH.
2745
- attr_accessor :th
2746
- # Options for the registration in TJ.
2747
- attr_accessor :tj
2748
- # Options for the registration in TR.
2749
- attr_accessor :tr
2750
- # Options for the registration in TZ.
2751
- attr_accessor :tz
2752
- # Options for the registration in UA.
2753
- attr_accessor :ua
2754
- # Options for the registration in UG.
2755
- attr_accessor :ug
2756
- # Options for the registration in US.
2757
- attr_accessor :us
2758
- # Options for the registration in UY.
2759
- attr_accessor :uy
2760
- # Options for the registration in UZ.
2761
- attr_accessor :uz
2762
- # Options for the registration in VN.
2763
- attr_accessor :vn
2764
- # Options for the registration in ZA.
2765
- attr_accessor :za
2766
- # Options for the registration in ZM.
2767
- attr_accessor :zm
2768
- # Options for the registration in ZW.
2769
- attr_accessor :zw
2770
-
2771
- def initialize(
2772
- ae: nil,
2773
- al: nil,
2774
- am: nil,
2775
- ao: nil,
2776
- at: nil,
2777
- au: nil,
2778
- aw: nil,
2779
- az: nil,
2780
- ba: nil,
2781
- bb: nil,
2782
- bd: nil,
2783
- be: nil,
2784
- bf: nil,
2785
- bg: nil,
2786
- bh: nil,
2787
- bj: nil,
2788
- bs: nil,
2789
- by: nil,
2790
- ca: nil,
2791
- cd: nil,
2792
- ch: nil,
2793
- cl: nil,
2794
- cm: nil,
2795
- co: nil,
2796
- cr: nil,
2797
- cv: nil,
2798
- cy: nil,
2799
- cz: nil,
2800
- de: nil,
2801
- dk: nil,
2802
- ec: nil,
2803
- ee: nil,
2804
- eg: nil,
2805
- es: nil,
2806
- et: nil,
2807
- fi: nil,
2808
- fr: nil,
2809
- gb: nil,
2810
- ge: nil,
2811
- gn: nil,
2812
- gr: nil,
2813
- hr: nil,
2814
- hu: nil,
2815
- id: nil,
2816
- ie: nil,
2817
- in_: nil,
2818
- is: nil,
2819
- it: nil,
2820
- jp: nil,
2821
- ke: nil,
2822
- kg: nil,
2823
- kh: nil,
2824
- kr: nil,
2825
- kz: nil,
2826
- la: nil,
2827
- lt: nil,
2828
- lu: nil,
2829
- lv: nil,
2830
- ma: nil,
2831
- md: nil,
2832
- me: nil,
2833
- mk: nil,
2834
- mr: nil,
2835
- mt: nil,
2836
- mx: nil,
2837
- my: nil,
2838
- ng: nil,
2839
- nl: nil,
2840
- no: nil,
2841
- np: nil,
2842
- nz: nil,
2843
- om: nil,
2844
- pe: nil,
2845
- ph: nil,
2846
- pl: nil,
2847
- pt: nil,
2848
- ro: nil,
2849
- rs: nil,
2850
- ru: nil,
2851
- sa: nil,
2852
- se: nil,
2853
- sg: nil,
2854
- si: nil,
2855
- sk: nil,
2856
- sn: nil,
2857
- sr: nil,
2858
- th: nil,
2859
- tj: nil,
2860
- tr: nil,
2861
- tz: nil,
2862
- ua: nil,
2863
- ug: nil,
2864
- us: nil,
2865
- uy: nil,
2866
- uz: nil,
2867
- vn: nil,
2868
- za: nil,
2869
- zm: nil,
2870
- zw: nil
2871
- )
2872
- @ae = ae
2873
- @al = al
2874
- @am = am
2875
- @ao = ao
2876
- @at = at
2877
- @au = au
2878
- @aw = aw
2879
- @az = az
2880
- @ba = ba
2881
- @bb = bb
2882
- @bd = bd
2883
- @be = be
2884
- @bf = bf
2885
- @bg = bg
2886
- @bh = bh
2887
- @bj = bj
2888
- @bs = bs
2889
- @by = by
2890
- @ca = ca
2891
- @cd = cd
2892
- @ch = ch
2893
- @cl = cl
2894
- @cm = cm
2895
- @co = co
2896
- @cr = cr
2897
- @cv = cv
2898
- @cy = cy
2899
- @cz = cz
2900
- @de = de
2901
- @dk = dk
2902
- @ec = ec
2903
- @ee = ee
2904
- @eg = eg
2905
- @es = es
2906
- @et = et
2907
- @fi = fi
2908
- @fr = fr
2909
- @gb = gb
2910
- @ge = ge
2911
- @gn = gn
2912
- @gr = gr
2913
- @hr = hr
2914
- @hu = hu
2915
- @id = id
2916
- @ie = ie
2917
- @in = in_
2918
- @is = is
2919
- @it = it
2920
- @jp = jp
2921
- @ke = ke
2922
- @kg = kg
2923
- @kh = kh
2924
- @kr = kr
2925
- @kz = kz
2926
- @la = la
2927
- @lt = lt
2928
- @lu = lu
2929
- @lv = lv
2930
- @ma = ma
2931
- @md = md
2932
- @me = me
2933
- @mk = mk
2934
- @mr = mr
2935
- @mt = mt
2936
- @mx = mx
2937
- @my = my
2938
- @ng = ng
2939
- @nl = nl
2940
- @no = no
2941
- @np = np
2942
- @nz = nz
2943
- @om = om
2944
- @pe = pe
2945
- @ph = ph
2946
- @pl = pl
2947
- @pt = pt
2948
- @ro = ro
2949
- @rs = rs
2950
- @ru = ru
2951
- @sa = sa
2952
- @se = se
2953
- @sg = sg
2954
- @si = si
2955
- @sk = sk
2956
- @sn = sn
2957
- @sr = sr
2958
- @th = th
2959
- @tj = tj
2960
- @tr = tr
2961
- @tz = tz
2962
- @ua = ua
2963
- @ug = ug
2964
- @us = us
2965
- @uy = uy
2966
- @uz = uz
2967
- @vn = vn
2968
- @za = za
2969
- @zm = zm
2970
- @zw = zw
2971
- end
2972
- end
2973
- # 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.
2974
- attr_accessor :active_from
2975
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2976
- attr_accessor :country
2977
- # Specific options for a registration in the specified `country`.
2978
- attr_accessor :country_options
2979
- # Specifies which fields in the response should be expanded.
2980
- attr_accessor :expand
2981
- # 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.
2982
- attr_accessor :expires_at
2983
-
2984
- def initialize(
2985
- active_from: nil,
2986
- country: nil,
2987
- country_options: nil,
2988
- expand: nil,
2989
- expires_at: nil
2990
- )
2991
- @active_from = active_from
2992
- @country = country
2993
- @country_options = country_options
2994
- @expand = expand
2995
- @expires_at = expires_at
2996
- end
2997
- end
2998
-
2999
- class UpdateParams < Stripe::RequestParams
3000
- # 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.
3001
- attr_accessor :active_from
3002
- # Specifies which fields in the response should be expanded.
3003
- attr_accessor :expand
3004
- # 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.
3005
- attr_accessor :expires_at
3006
-
3007
- def initialize(active_from: nil, expand: nil, expires_at: nil)
3008
- @active_from = active_from
3009
- @expand = expand
3010
- @expires_at = expires_at
3011
- end
3012
- end
3013
- # Time at which the registration becomes active. Measured in seconds since the Unix epoch.
3014
- attr_reader :active_from
3015
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3016
- attr_reader :country
3017
- # Attribute for field country_options
3018
- attr_reader :country_options
3019
- # Time at which the object was created. Measured in seconds since the Unix epoch.
3020
- attr_reader :created
3021
- # 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.
3022
- attr_reader :expires_at
3023
- # Unique identifier for the object.
3024
- attr_reader :id
3025
- # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
3026
- attr_reader :livemode
3027
- # String representing the object's type. Objects of the same type share the same value.
3028
- attr_reader :object
3029
- # The status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`.
3030
- attr_reader :status
3031
-
3032
- # Creates a new Tax Registration object.
3033
- def self.create(params = {}, opts = {})
3034
- request_stripe_object(
3035
- method: :post,
3036
- path: "/v1/tax/registrations",
3037
- params: params,
3038
- opts: opts
3039
- )
3040
- end
3041
-
3042
- # Returns a list of Tax Registration objects.
3043
- def self.list(params = {}, opts = {})
3044
- request_stripe_object(
3045
- method: :get,
3046
- path: "/v1/tax/registrations",
3047
- params: params,
3048
- opts: opts
3049
- )
3050
- end
3051
-
3052
- # Updates an existing Tax Registration object.
3053
- #
3054
- # 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.
3055
- def self.update(id, params = {}, opts = {})
3056
- request_stripe_object(
3057
- method: :post,
3058
- path: format("/v1/tax/registrations/%<id>s", { id: CGI.escape(id) }),
3059
- params: params,
3060
- opts: opts
3061
- )
2238
+ def self.field_remappings
2239
+ @field_remappings = {}
3062
2240
  end
3063
2241
  end
3064
2242
  end