stripe 18.1.0.pre.alpha.1 → 18.1.0.pre.alpha.2

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 (279) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/event_types.rb +8 -565
  3. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +2 -0
  4. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +2 -0
  5. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +2 -0
  6. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +2 -0
  7. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +21 -9
  8. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +15 -1
  9. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +30 -1
  10. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +30 -1
  11. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +30 -1
  12. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +30 -1
  13. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +2 -0
  14. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +2 -0
  15. data/lib/stripe/events/{v1_sigma_scheduled_query_run_created_event.rb → v2_payments_off_session_payment_attempt_failed_event.rb} +7 -7
  16. data/lib/stripe/events/{v1_radar_early_fraud_warning_created_event.rb → v2_payments_off_session_payment_attempt_started_event.rb} +9 -7
  17. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +2 -0
  18. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +2 -0
  19. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +2 -2
  20. data/lib/stripe/object_types.rb +3 -0
  21. data/lib/stripe/params/invoice_create_preview_params.rb +42 -6
  22. data/lib/stripe/params/quote_create_params.rb +15 -3
  23. data/lib/stripe/params/quote_update_params.rb +15 -3
  24. data/lib/stripe/params/subscription_create_params.rb +17 -1
  25. data/lib/stripe/params/subscription_item_create_params.rb +17 -1
  26. data/lib/stripe/params/subscription_item_update_params.rb +17 -1
  27. data/lib/stripe/params/subscription_schedule_amend_params.rb +15 -3
  28. data/lib/stripe/params/subscription_schedule_create_params.rb +10 -2
  29. data/lib/stripe/params/subscription_schedule_update_params.rb +10 -2
  30. data/lib/stripe/params/subscription_update_params.rb +17 -1
  31. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +2 -2
  32. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +2 -2
  33. data/lib/stripe/params/v2/billing/service_action_create_params.rb +24 -0
  34. data/lib/stripe/params/v2/core/account_create_params.rb +118 -3
  35. data/lib/stripe/params/v2/core/account_token_create_params.rb +1259 -0
  36. data/lib/stripe/params/v2/core/account_token_retrieve_params.rb +10 -0
  37. data/lib/stripe/params/v2/core/account_update_params.rb +119 -4
  38. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +4 -0
  39. data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +487 -0
  40. data/lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb +12 -0
  41. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +4 -0
  42. data/lib/stripe/params/v2/core/event_list_params.rb +21 -21
  43. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +68 -0
  44. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
  45. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
  46. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +12 -0
  47. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +12 -0
  48. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +12 -0
  49. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +12 -0
  50. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +5 -9
  51. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +13 -89
  52. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +11 -0
  53. data/lib/stripe/params.rb +7 -0
  54. data/lib/stripe/resources/delegated_checkout/requested_session.rb +15 -1
  55. data/lib/stripe/resources/payment_method.rb +2 -2
  56. data/lib/stripe/resources/quote.rb +8 -118
  57. data/lib/stripe/resources/quote_line.rb +6 -0
  58. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +7 -87
  59. data/lib/stripe/resources/subscription.rb +3 -87
  60. data/lib/stripe/resources/subscription_item.rb +24 -1
  61. data/lib/stripe/resources/subscription_schedule.rb +7 -87
  62. data/lib/stripe/resources/v2/billing/cadence.rb +2 -2
  63. data/lib/stripe/resources/v2/billing/collection_setting.rb +2 -2
  64. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +2 -2
  65. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
  66. data/lib/stripe/resources/v2/billing/service_action.rb +32 -2
  67. data/lib/stripe/resources/v2/core/account.rb +341 -10
  68. data/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
  69. data/lib/stripe/resources/v2/core/account_token.rb +37 -0
  70. data/lib/stripe/resources/v2/core/event.rb +0 -2
  71. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +15 -1
  72. data/lib/stripe/resources/v2/money_management/adjustment.rb +16 -1
  73. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +94 -0
  74. data/lib/stripe/resources/v2/money_management/financial_account.rb +49 -1
  75. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +52 -3
  76. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +46 -2
  77. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +61 -3
  78. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +46 -2
  79. data/lib/stripe/resources/v2/money_management/received_credit.rb +32 -0
  80. data/lib/stripe/resources/v2/money_management/received_debit.rb +32 -0
  81. data/lib/stripe/resources/v2/money_management/transaction.rb +65 -1
  82. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +49 -1
  83. data/lib/stripe/resources/v2/payments/off_session_payment.rb +23 -79
  84. data/lib/stripe/resources.rb +5 -186
  85. data/lib/stripe/services/payment_method_service.rb +1 -1
  86. data/lib/stripe/services/v2/core/account_service.rb +2 -1
  87. data/lib/stripe/services/v2/core/account_token_service.rb +32 -0
  88. data/lib/stripe/services/v2/core/accounts/person_token_service.rb +34 -0
  89. data/lib/stripe/services/v2/core_service.rb +2 -1
  90. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +45 -0
  91. data/lib/stripe/services/v2/money_management_service.rb +3 -1
  92. data/lib/stripe/services.rb +3 -0
  93. data/lib/stripe/version.rb +1 -1
  94. data/rbi/stripe.rbi +5579 -1470
  95. metadata +17 -188
  96. data/lib/stripe/events/v1_account_updated_event.rb +0 -44
  97. data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
  98. data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
  99. data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
  100. data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
  101. data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
  102. data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
  103. data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
  104. data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
  105. data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
  106. data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
  107. data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
  108. data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
  109. data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
  110. data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
  111. data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
  112. data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
  113. data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
  114. data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
  115. data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
  116. data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
  117. data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
  118. data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
  119. data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
  120. data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
  121. data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
  122. data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
  123. data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
  124. data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
  125. data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
  126. data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
  127. data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
  128. data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
  129. data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
  130. data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
  131. data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
  132. data/lib/stripe/events/v1_customer_created_event.rb +0 -44
  133. data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
  134. data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
  135. data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
  136. data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
  137. data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
  138. data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
  139. data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
  140. data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
  141. data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
  142. data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
  143. data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
  144. data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
  145. data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
  146. data/lib/stripe/events/v1_file_created_event.rb +0 -44
  147. data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
  148. data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
  149. data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
  150. data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
  151. data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
  152. data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
  153. data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
  154. data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
  155. data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
  156. data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
  157. data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
  158. data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
  159. data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
  160. data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
  161. data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
  162. data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
  163. data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
  164. data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
  165. data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
  166. data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
  167. data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
  168. data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
  169. data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
  170. data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
  171. data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
  172. data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
  173. data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
  174. data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
  175. data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
  176. data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
  177. data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
  178. data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
  179. data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
  180. data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
  181. data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
  182. data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
  183. data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
  184. data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
  185. data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
  186. data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
  187. data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
  188. data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
  189. data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
  190. data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
  191. data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
  192. data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
  193. data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
  194. data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
  195. data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
  196. data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
  197. data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
  198. data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
  199. data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
  200. data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
  201. data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
  202. data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
  203. data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
  204. data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
  205. data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
  206. data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
  207. data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
  208. data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
  209. data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
  210. data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
  211. data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
  212. data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
  213. data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
  214. data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
  215. data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
  216. data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
  217. data/lib/stripe/events/v1_payout_created_event.rb +0 -44
  218. data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
  219. data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
  220. data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
  221. data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
  222. data/lib/stripe/events/v1_person_created_event.rb +0 -44
  223. data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
  224. data/lib/stripe/events/v1_person_updated_event.rb +0 -44
  225. data/lib/stripe/events/v1_plan_created_event.rb +0 -44
  226. data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
  227. data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
  228. data/lib/stripe/events/v1_price_created_event.rb +0 -44
  229. data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
  230. data/lib/stripe/events/v1_price_updated_event.rb +0 -44
  231. data/lib/stripe/events/v1_product_created_event.rb +0 -44
  232. data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
  233. data/lib/stripe/events/v1_product_updated_event.rb +0 -44
  234. data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
  235. data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
  236. data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
  237. data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
  238. data/lib/stripe/events/v1_quote_created_event.rb +0 -44
  239. data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
  240. data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
  241. data/lib/stripe/events/v1_refund_created_event.rb +0 -44
  242. data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
  243. data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
  244. data/lib/stripe/events/v1_review_closed_event.rb +0 -44
  245. data/lib/stripe/events/v1_review_opened_event.rb +0 -44
  246. data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
  247. data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
  248. data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
  249. data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
  250. data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
  251. data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
  252. data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
  253. data/lib/stripe/events/v1_source_failed_event.rb +0 -44
  254. data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
  255. data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
  256. data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
  257. data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
  258. data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
  259. data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
  260. data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
  261. data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
  262. data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
  263. data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
  264. data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
  265. data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
  266. data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
  267. data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
  268. data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
  269. data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
  270. data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
  271. data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
  272. data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
  273. data/lib/stripe/events/v1_topup_created_event.rb +0 -44
  274. data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
  275. data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
  276. data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
  277. data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
  278. data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
  279. data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7d6c22fa67a7d8ce9ab565436441b402665a8ef93d4cc3f00faf7852d8054e0
4
- data.tar.gz: 337b0f5390a84da8c3e791a156dc38fc8cbc3db85344adc2ba5425bc15ab5cd9
3
+ metadata.gz: 30ad9aa4a31acdb141705e03d7f76000d1d5cad439a8d392aa422f2c1d99ad8d
4
+ data.tar.gz: '00484e0942ec1c2458128d51d3983692e1cdf3ceeb6bdf324329c95a6982eae0'
5
5
  SHA512:
6
- metadata.gz: 83c4eb2a49f557abc973a419857e0a5c7c2d2339ca68834783c523ac40bdb32a94f87fa2779c7336c13217241afa1eacd62146e0fc38fa0be90f5874d831ef21
7
- data.tar.gz: 2186305b9c3d0f98e405e79c3f380ef738e389c433ca6ad7f3090d76a3c30749624ecdcc66853b4ca3f7fa545c3fe780f2770d15a18c2883186fd62051237c27
6
+ metadata.gz: 9287d0d90909a4ed178f7027e408d882ee840872a7d8417c44c4f44bc5bd061c6605e0590effe273a468eb691386ca60c12a08293cfc5612b091eaeb054ca0e3
7
+ data.tar.gz: 66316ce86c4792cea094db8ab4e6c87c5cc2b9c42d8ff6e2ba805fece43ef596704abe5bfe15923df779d5c117981812704f3d3d8660d3b382bb93f3eff62cec
@@ -5,256 +5,9 @@ module Stripe
5
5
  def self.v2_event_types_to_classes
6
6
  {
7
7
  # v2 event types: The beginning of the section generated from our OpenAPI spec
8
- Events::V1AccountUpdatedEvent.lookup_type => Events::V1AccountUpdatedEvent,
9
- Events::V1ApplicationFeeCreatedEvent.lookup_type => Events::V1ApplicationFeeCreatedEvent,
10
- Events::V1ApplicationFeeRefundedEvent.lookup_type => Events::V1ApplicationFeeRefundedEvent,
11
8
  Events::V1BillingMeterErrorReportTriggeredEvent.lookup_type =>
12
9
  Events::V1BillingMeterErrorReportTriggeredEvent,
13
10
  Events::V1BillingMeterNoMeterFoundEvent.lookup_type => Events::V1BillingMeterNoMeterFoundEvent,
14
- Events::V1BillingPortalConfigurationCreatedEvent.lookup_type =>
15
- Events::V1BillingPortalConfigurationCreatedEvent,
16
- Events::V1BillingPortalConfigurationUpdatedEvent.lookup_type =>
17
- Events::V1BillingPortalConfigurationUpdatedEvent,
18
- Events::V1CapabilityUpdatedEvent.lookup_type => Events::V1CapabilityUpdatedEvent,
19
- Events::V1ChargeCapturedEvent.lookup_type => Events::V1ChargeCapturedEvent,
20
- Events::V1ChargeDisputeClosedEvent.lookup_type => Events::V1ChargeDisputeClosedEvent,
21
- Events::V1ChargeDisputeCreatedEvent.lookup_type => Events::V1ChargeDisputeCreatedEvent,
22
- Events::V1ChargeDisputeFundsReinstatedEvent.lookup_type =>
23
- Events::V1ChargeDisputeFundsReinstatedEvent,
24
- Events::V1ChargeDisputeFundsWithdrawnEvent.lookup_type =>
25
- Events::V1ChargeDisputeFundsWithdrawnEvent,
26
- Events::V1ChargeDisputeUpdatedEvent.lookup_type => Events::V1ChargeDisputeUpdatedEvent,
27
- Events::V1ChargeExpiredEvent.lookup_type => Events::V1ChargeExpiredEvent,
28
- Events::V1ChargeFailedEvent.lookup_type => Events::V1ChargeFailedEvent,
29
- Events::V1ChargePendingEvent.lookup_type => Events::V1ChargePendingEvent,
30
- Events::V1ChargeRefundUpdatedEvent.lookup_type => Events::V1ChargeRefundUpdatedEvent,
31
- Events::V1ChargeRefundedEvent.lookup_type => Events::V1ChargeRefundedEvent,
32
- Events::V1ChargeSucceededEvent.lookup_type => Events::V1ChargeSucceededEvent,
33
- Events::V1ChargeUpdatedEvent.lookup_type => Events::V1ChargeUpdatedEvent,
34
- Events::V1CheckoutSessionAsyncPaymentFailedEvent.lookup_type =>
35
- Events::V1CheckoutSessionAsyncPaymentFailedEvent,
36
- Events::V1CheckoutSessionAsyncPaymentSucceededEvent.lookup_type =>
37
- Events::V1CheckoutSessionAsyncPaymentSucceededEvent,
38
- Events::V1CheckoutSessionCompletedEvent.lookup_type => Events::V1CheckoutSessionCompletedEvent,
39
- Events::V1CheckoutSessionExpiredEvent.lookup_type => Events::V1CheckoutSessionExpiredEvent,
40
- Events::V1ClimateOrderCanceledEvent.lookup_type => Events::V1ClimateOrderCanceledEvent,
41
- Events::V1ClimateOrderCreatedEvent.lookup_type => Events::V1ClimateOrderCreatedEvent,
42
- Events::V1ClimateOrderDelayedEvent.lookup_type => Events::V1ClimateOrderDelayedEvent,
43
- Events::V1ClimateOrderDeliveredEvent.lookup_type => Events::V1ClimateOrderDeliveredEvent,
44
- Events::V1ClimateOrderProductSubstitutedEvent.lookup_type =>
45
- Events::V1ClimateOrderProductSubstitutedEvent,
46
- Events::V1ClimateProductCreatedEvent.lookup_type => Events::V1ClimateProductCreatedEvent,
47
- Events::V1ClimateProductPricingUpdatedEvent.lookup_type =>
48
- Events::V1ClimateProductPricingUpdatedEvent,
49
- Events::V1CouponCreatedEvent.lookup_type => Events::V1CouponCreatedEvent,
50
- Events::V1CouponDeletedEvent.lookup_type => Events::V1CouponDeletedEvent,
51
- Events::V1CouponUpdatedEvent.lookup_type => Events::V1CouponUpdatedEvent,
52
- Events::V1CreditNoteCreatedEvent.lookup_type => Events::V1CreditNoteCreatedEvent,
53
- Events::V1CreditNoteUpdatedEvent.lookup_type => Events::V1CreditNoteUpdatedEvent,
54
- Events::V1CreditNoteVoidedEvent.lookup_type => Events::V1CreditNoteVoidedEvent,
55
- Events::V1CustomerCreatedEvent.lookup_type => Events::V1CustomerCreatedEvent,
56
- Events::V1CustomerDeletedEvent.lookup_type => Events::V1CustomerDeletedEvent,
57
- Events::V1CustomerSubscriptionCreatedEvent.lookup_type =>
58
- Events::V1CustomerSubscriptionCreatedEvent,
59
- Events::V1CustomerSubscriptionDeletedEvent.lookup_type =>
60
- Events::V1CustomerSubscriptionDeletedEvent,
61
- Events::V1CustomerSubscriptionPausedEvent.lookup_type => Events::V1CustomerSubscriptionPausedEvent,
62
- Events::V1CustomerSubscriptionPendingUpdateAppliedEvent.lookup_type =>
63
- Events::V1CustomerSubscriptionPendingUpdateAppliedEvent,
64
- Events::V1CustomerSubscriptionPendingUpdateExpiredEvent.lookup_type =>
65
- Events::V1CustomerSubscriptionPendingUpdateExpiredEvent,
66
- Events::V1CustomerSubscriptionResumedEvent.lookup_type =>
67
- Events::V1CustomerSubscriptionResumedEvent,
68
- Events::V1CustomerSubscriptionTrialWillEndEvent.lookup_type =>
69
- Events::V1CustomerSubscriptionTrialWillEndEvent,
70
- Events::V1CustomerSubscriptionUpdatedEvent.lookup_type =>
71
- Events::V1CustomerSubscriptionUpdatedEvent,
72
- Events::V1CustomerTaxIdCreatedEvent.lookup_type => Events::V1CustomerTaxIdCreatedEvent,
73
- Events::V1CustomerTaxIdDeletedEvent.lookup_type => Events::V1CustomerTaxIdDeletedEvent,
74
- Events::V1CustomerTaxIdUpdatedEvent.lookup_type => Events::V1CustomerTaxIdUpdatedEvent,
75
- Events::V1CustomerUpdatedEvent.lookup_type => Events::V1CustomerUpdatedEvent,
76
- Events::V1FileCreatedEvent.lookup_type => Events::V1FileCreatedEvent,
77
- Events::V1FinancialConnectionsAccountCreatedEvent.lookup_type =>
78
- Events::V1FinancialConnectionsAccountCreatedEvent,
79
- Events::V1FinancialConnectionsAccountDeactivatedEvent.lookup_type =>
80
- Events::V1FinancialConnectionsAccountDeactivatedEvent,
81
- Events::V1FinancialConnectionsAccountDisconnectedEvent.lookup_type =>
82
- Events::V1FinancialConnectionsAccountDisconnectedEvent,
83
- Events::V1FinancialConnectionsAccountReactivatedEvent.lookup_type =>
84
- Events::V1FinancialConnectionsAccountReactivatedEvent,
85
- Events::V1FinancialConnectionsAccountRefreshedBalanceEvent.lookup_type =>
86
- Events::V1FinancialConnectionsAccountRefreshedBalanceEvent,
87
- Events::V1FinancialConnectionsAccountRefreshedOwnershipEvent.lookup_type =>
88
- Events::V1FinancialConnectionsAccountRefreshedOwnershipEvent,
89
- Events::V1FinancialConnectionsAccountRefreshedTransactionsEvent.lookup_type =>
90
- Events::V1FinancialConnectionsAccountRefreshedTransactionsEvent,
91
- Events::V1IdentityVerificationSessionCanceledEvent.lookup_type =>
92
- Events::V1IdentityVerificationSessionCanceledEvent,
93
- Events::V1IdentityVerificationSessionCreatedEvent.lookup_type =>
94
- Events::V1IdentityVerificationSessionCreatedEvent,
95
- Events::V1IdentityVerificationSessionProcessingEvent.lookup_type =>
96
- Events::V1IdentityVerificationSessionProcessingEvent,
97
- Events::V1IdentityVerificationSessionRedactedEvent.lookup_type =>
98
- Events::V1IdentityVerificationSessionRedactedEvent,
99
- Events::V1IdentityVerificationSessionRequiresInputEvent.lookup_type =>
100
- Events::V1IdentityVerificationSessionRequiresInputEvent,
101
- Events::V1IdentityVerificationSessionVerifiedEvent.lookup_type =>
102
- Events::V1IdentityVerificationSessionVerifiedEvent,
103
- Events::V1InvoiceCreatedEvent.lookup_type => Events::V1InvoiceCreatedEvent,
104
- Events::V1InvoiceDeletedEvent.lookup_type => Events::V1InvoiceDeletedEvent,
105
- Events::V1InvoiceFinalizationFailedEvent.lookup_type => Events::V1InvoiceFinalizationFailedEvent,
106
- Events::V1InvoiceFinalizedEvent.lookup_type => Events::V1InvoiceFinalizedEvent,
107
- Events::V1InvoiceMarkedUncollectibleEvent.lookup_type => Events::V1InvoiceMarkedUncollectibleEvent,
108
- Events::V1InvoiceOverdueEvent.lookup_type => Events::V1InvoiceOverdueEvent,
109
- Events::V1InvoiceOverpaidEvent.lookup_type => Events::V1InvoiceOverpaidEvent,
110
- Events::V1InvoicePaidEvent.lookup_type => Events::V1InvoicePaidEvent,
111
- Events::V1InvoicePaymentActionRequiredEvent.lookup_type =>
112
- Events::V1InvoicePaymentActionRequiredEvent,
113
- Events::V1InvoicePaymentFailedEvent.lookup_type => Events::V1InvoicePaymentFailedEvent,
114
- Events::V1InvoicePaymentPaidEvent.lookup_type => Events::V1InvoicePaymentPaidEvent,
115
- Events::V1InvoicePaymentSucceededEvent.lookup_type => Events::V1InvoicePaymentSucceededEvent,
116
- Events::V1InvoiceSentEvent.lookup_type => Events::V1InvoiceSentEvent,
117
- Events::V1InvoiceUpcomingEvent.lookup_type => Events::V1InvoiceUpcomingEvent,
118
- Events::V1InvoiceUpdatedEvent.lookup_type => Events::V1InvoiceUpdatedEvent,
119
- Events::V1InvoiceVoidedEvent.lookup_type => Events::V1InvoiceVoidedEvent,
120
- Events::V1InvoiceWillBeDueEvent.lookup_type => Events::V1InvoiceWillBeDueEvent,
121
- Events::V1InvoiceitemCreatedEvent.lookup_type => Events::V1InvoiceitemCreatedEvent,
122
- Events::V1InvoiceitemDeletedEvent.lookup_type => Events::V1InvoiceitemDeletedEvent,
123
- Events::V1IssuingAuthorizationCreatedEvent.lookup_type =>
124
- Events::V1IssuingAuthorizationCreatedEvent,
125
- Events::V1IssuingAuthorizationRequestEvent.lookup_type =>
126
- Events::V1IssuingAuthorizationRequestEvent,
127
- Events::V1IssuingAuthorizationUpdatedEvent.lookup_type =>
128
- Events::V1IssuingAuthorizationUpdatedEvent,
129
- Events::V1IssuingCardCreatedEvent.lookup_type => Events::V1IssuingCardCreatedEvent,
130
- Events::V1IssuingCardUpdatedEvent.lookup_type => Events::V1IssuingCardUpdatedEvent,
131
- Events::V1IssuingCardholderCreatedEvent.lookup_type => Events::V1IssuingCardholderCreatedEvent,
132
- Events::V1IssuingCardholderUpdatedEvent.lookup_type => Events::V1IssuingCardholderUpdatedEvent,
133
- Events::V1IssuingDisputeClosedEvent.lookup_type => Events::V1IssuingDisputeClosedEvent,
134
- Events::V1IssuingDisputeCreatedEvent.lookup_type => Events::V1IssuingDisputeCreatedEvent,
135
- Events::V1IssuingDisputeFundsReinstatedEvent.lookup_type =>
136
- Events::V1IssuingDisputeFundsReinstatedEvent,
137
- Events::V1IssuingDisputeFundsRescindedEvent.lookup_type =>
138
- Events::V1IssuingDisputeFundsRescindedEvent,
139
- Events::V1IssuingDisputeSubmittedEvent.lookup_type => Events::V1IssuingDisputeSubmittedEvent,
140
- Events::V1IssuingDisputeUpdatedEvent.lookup_type => Events::V1IssuingDisputeUpdatedEvent,
141
- Events::V1IssuingPersonalizationDesignActivatedEvent.lookup_type =>
142
- Events::V1IssuingPersonalizationDesignActivatedEvent,
143
- Events::V1IssuingPersonalizationDesignDeactivatedEvent.lookup_type =>
144
- Events::V1IssuingPersonalizationDesignDeactivatedEvent,
145
- Events::V1IssuingPersonalizationDesignRejectedEvent.lookup_type =>
146
- Events::V1IssuingPersonalizationDesignRejectedEvent,
147
- Events::V1IssuingPersonalizationDesignUpdatedEvent.lookup_type =>
148
- Events::V1IssuingPersonalizationDesignUpdatedEvent,
149
- Events::V1IssuingTokenCreatedEvent.lookup_type => Events::V1IssuingTokenCreatedEvent,
150
- Events::V1IssuingTokenUpdatedEvent.lookup_type => Events::V1IssuingTokenUpdatedEvent,
151
- Events::V1IssuingTransactionCreatedEvent.lookup_type => Events::V1IssuingTransactionCreatedEvent,
152
- Events::V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent.lookup_type =>
153
- Events::V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent,
154
- Events::V1IssuingTransactionUpdatedEvent.lookup_type => Events::V1IssuingTransactionUpdatedEvent,
155
- Events::V1MandateUpdatedEvent.lookup_type => Events::V1MandateUpdatedEvent,
156
- Events::V1PaymentIntentAmountCapturableUpdatedEvent.lookup_type =>
157
- Events::V1PaymentIntentAmountCapturableUpdatedEvent,
158
- Events::V1PaymentIntentCanceledEvent.lookup_type => Events::V1PaymentIntentCanceledEvent,
159
- Events::V1PaymentIntentCreatedEvent.lookup_type => Events::V1PaymentIntentCreatedEvent,
160
- Events::V1PaymentIntentPartiallyFundedEvent.lookup_type =>
161
- Events::V1PaymentIntentPartiallyFundedEvent,
162
- Events::V1PaymentIntentPaymentFailedEvent.lookup_type => Events::V1PaymentIntentPaymentFailedEvent,
163
- Events::V1PaymentIntentProcessingEvent.lookup_type => Events::V1PaymentIntentProcessingEvent,
164
- Events::V1PaymentIntentRequiresActionEvent.lookup_type =>
165
- Events::V1PaymentIntentRequiresActionEvent,
166
- Events::V1PaymentIntentSucceededEvent.lookup_type => Events::V1PaymentIntentSucceededEvent,
167
- Events::V1PaymentLinkCreatedEvent.lookup_type => Events::V1PaymentLinkCreatedEvent,
168
- Events::V1PaymentLinkUpdatedEvent.lookup_type => Events::V1PaymentLinkUpdatedEvent,
169
- Events::V1PaymentMethodAttachedEvent.lookup_type => Events::V1PaymentMethodAttachedEvent,
170
- Events::V1PaymentMethodAutomaticallyUpdatedEvent.lookup_type =>
171
- Events::V1PaymentMethodAutomaticallyUpdatedEvent,
172
- Events::V1PaymentMethodDetachedEvent.lookup_type => Events::V1PaymentMethodDetachedEvent,
173
- Events::V1PaymentMethodUpdatedEvent.lookup_type => Events::V1PaymentMethodUpdatedEvent,
174
- Events::V1PayoutCanceledEvent.lookup_type => Events::V1PayoutCanceledEvent,
175
- Events::V1PayoutCreatedEvent.lookup_type => Events::V1PayoutCreatedEvent,
176
- Events::V1PayoutFailedEvent.lookup_type => Events::V1PayoutFailedEvent,
177
- Events::V1PayoutPaidEvent.lookup_type => Events::V1PayoutPaidEvent,
178
- Events::V1PayoutReconciliationCompletedEvent.lookup_type =>
179
- Events::V1PayoutReconciliationCompletedEvent,
180
- Events::V1PayoutUpdatedEvent.lookup_type => Events::V1PayoutUpdatedEvent,
181
- Events::V1PersonCreatedEvent.lookup_type => Events::V1PersonCreatedEvent,
182
- Events::V1PersonDeletedEvent.lookup_type => Events::V1PersonDeletedEvent,
183
- Events::V1PersonUpdatedEvent.lookup_type => Events::V1PersonUpdatedEvent,
184
- Events::V1PlanCreatedEvent.lookup_type => Events::V1PlanCreatedEvent,
185
- Events::V1PlanDeletedEvent.lookup_type => Events::V1PlanDeletedEvent,
186
- Events::V1PlanUpdatedEvent.lookup_type => Events::V1PlanUpdatedEvent,
187
- Events::V1PriceCreatedEvent.lookup_type => Events::V1PriceCreatedEvent,
188
- Events::V1PriceDeletedEvent.lookup_type => Events::V1PriceDeletedEvent,
189
- Events::V1PriceUpdatedEvent.lookup_type => Events::V1PriceUpdatedEvent,
190
- Events::V1ProductCreatedEvent.lookup_type => Events::V1ProductCreatedEvent,
191
- Events::V1ProductDeletedEvent.lookup_type => Events::V1ProductDeletedEvent,
192
- Events::V1ProductUpdatedEvent.lookup_type => Events::V1ProductUpdatedEvent,
193
- Events::V1PromotionCodeCreatedEvent.lookup_type => Events::V1PromotionCodeCreatedEvent,
194
- Events::V1PromotionCodeUpdatedEvent.lookup_type => Events::V1PromotionCodeUpdatedEvent,
195
- Events::V1QuoteAcceptedEvent.lookup_type => Events::V1QuoteAcceptedEvent,
196
- Events::V1QuoteCanceledEvent.lookup_type => Events::V1QuoteCanceledEvent,
197
- Events::V1QuoteCreatedEvent.lookup_type => Events::V1QuoteCreatedEvent,
198
- Events::V1QuoteFinalizedEvent.lookup_type => Events::V1QuoteFinalizedEvent,
199
- Events::V1RadarEarlyFraudWarningCreatedEvent.lookup_type =>
200
- Events::V1RadarEarlyFraudWarningCreatedEvent,
201
- Events::V1RadarEarlyFraudWarningUpdatedEvent.lookup_type =>
202
- Events::V1RadarEarlyFraudWarningUpdatedEvent,
203
- Events::V1RefundCreatedEvent.lookup_type => Events::V1RefundCreatedEvent,
204
- Events::V1RefundFailedEvent.lookup_type => Events::V1RefundFailedEvent,
205
- Events::V1RefundUpdatedEvent.lookup_type => Events::V1RefundUpdatedEvent,
206
- Events::V1ReviewClosedEvent.lookup_type => Events::V1ReviewClosedEvent,
207
- Events::V1ReviewOpenedEvent.lookup_type => Events::V1ReviewOpenedEvent,
208
- Events::V1SetupIntentCanceledEvent.lookup_type => Events::V1SetupIntentCanceledEvent,
209
- Events::V1SetupIntentCreatedEvent.lookup_type => Events::V1SetupIntentCreatedEvent,
210
- Events::V1SetupIntentRequiresActionEvent.lookup_type => Events::V1SetupIntentRequiresActionEvent,
211
- Events::V1SetupIntentSetupFailedEvent.lookup_type => Events::V1SetupIntentSetupFailedEvent,
212
- Events::V1SetupIntentSucceededEvent.lookup_type => Events::V1SetupIntentSucceededEvent,
213
- Events::V1SigmaScheduledQueryRunCreatedEvent.lookup_type =>
214
- Events::V1SigmaScheduledQueryRunCreatedEvent,
215
- Events::V1SourceCanceledEvent.lookup_type => Events::V1SourceCanceledEvent,
216
- Events::V1SourceChargeableEvent.lookup_type => Events::V1SourceChargeableEvent,
217
- Events::V1SourceFailedEvent.lookup_type => Events::V1SourceFailedEvent,
218
- Events::V1SourceRefundAttributesRequiredEvent.lookup_type =>
219
- Events::V1SourceRefundAttributesRequiredEvent,
220
- Events::V1SubscriptionScheduleAbortedEvent.lookup_type =>
221
- Events::V1SubscriptionScheduleAbortedEvent,
222
- Events::V1SubscriptionScheduleCanceledEvent.lookup_type =>
223
- Events::V1SubscriptionScheduleCanceledEvent,
224
- Events::V1SubscriptionScheduleCompletedEvent.lookup_type =>
225
- Events::V1SubscriptionScheduleCompletedEvent,
226
- Events::V1SubscriptionScheduleCreatedEvent.lookup_type =>
227
- Events::V1SubscriptionScheduleCreatedEvent,
228
- Events::V1SubscriptionScheduleExpiringEvent.lookup_type =>
229
- Events::V1SubscriptionScheduleExpiringEvent,
230
- Events::V1SubscriptionScheduleReleasedEvent.lookup_type =>
231
- Events::V1SubscriptionScheduleReleasedEvent,
232
- Events::V1SubscriptionScheduleUpdatedEvent.lookup_type =>
233
- Events::V1SubscriptionScheduleUpdatedEvent,
234
- Events::V1TaxRateCreatedEvent.lookup_type => Events::V1TaxRateCreatedEvent,
235
- Events::V1TaxRateUpdatedEvent.lookup_type => Events::V1TaxRateUpdatedEvent,
236
- Events::V1TerminalReaderActionFailedEvent.lookup_type => Events::V1TerminalReaderActionFailedEvent,
237
- Events::V1TerminalReaderActionSucceededEvent.lookup_type =>
238
- Events::V1TerminalReaderActionSucceededEvent,
239
- Events::V1TerminalReaderActionUpdatedEvent.lookup_type =>
240
- Events::V1TerminalReaderActionUpdatedEvent,
241
- Events::V1TestHelpersTestClockAdvancingEvent.lookup_type =>
242
- Events::V1TestHelpersTestClockAdvancingEvent,
243
- Events::V1TestHelpersTestClockCreatedEvent.lookup_type =>
244
- Events::V1TestHelpersTestClockCreatedEvent,
245
- Events::V1TestHelpersTestClockDeletedEvent.lookup_type =>
246
- Events::V1TestHelpersTestClockDeletedEvent,
247
- Events::V1TestHelpersTestClockInternalFailureEvent.lookup_type =>
248
- Events::V1TestHelpersTestClockInternalFailureEvent,
249
- Events::V1TestHelpersTestClockReadyEvent.lookup_type => Events::V1TestHelpersTestClockReadyEvent,
250
- Events::V1TopupCanceledEvent.lookup_type => Events::V1TopupCanceledEvent,
251
- Events::V1TopupCreatedEvent.lookup_type => Events::V1TopupCreatedEvent,
252
- Events::V1TopupFailedEvent.lookup_type => Events::V1TopupFailedEvent,
253
- Events::V1TopupReversedEvent.lookup_type => Events::V1TopupReversedEvent,
254
- Events::V1TopupSucceededEvent.lookup_type => Events::V1TopupSucceededEvent,
255
- Events::V1TransferCreatedEvent.lookup_type => Events::V1TransferCreatedEvent,
256
- Events::V1TransferReversedEvent.lookup_type => Events::V1TransferReversedEvent,
257
- Events::V1TransferUpdatedEvent.lookup_type => Events::V1TransferUpdatedEvent,
258
11
  Events::V2BillingCadenceBilledEvent.lookup_type => Events::V2BillingCadenceBilledEvent,
259
12
  Events::V2BillingCadenceCanceledEvent.lookup_type => Events::V2BillingCadenceCanceledEvent,
260
13
  Events::V2BillingCadenceCreatedEvent.lookup_type => Events::V2BillingCadenceCreatedEvent,
@@ -466,6 +219,10 @@ module Stripe
466
219
  Events::V2MoneyManagementTransactionCreatedEvent,
467
220
  Events::V2MoneyManagementTransactionUpdatedEvent.lookup_type =>
468
221
  Events::V2MoneyManagementTransactionUpdatedEvent,
222
+ Events::V2PaymentsOffSessionPaymentAttemptFailedEvent.lookup_type =>
223
+ Events::V2PaymentsOffSessionPaymentAttemptFailedEvent,
224
+ Events::V2PaymentsOffSessionPaymentAttemptStartedEvent.lookup_type =>
225
+ Events::V2PaymentsOffSessionPaymentAttemptStartedEvent,
469
226
  Events::V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent.lookup_type =>
470
227
  Events::V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent,
471
228
  Events::V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent.lookup_type =>
@@ -492,328 +249,10 @@ module Stripe
492
249
  def self.event_notification_types_to_classes
493
250
  {
494
251
  # event notification types: The beginning of the section generated from our OpenAPI spec
495
- Events::V1AccountUpdatedEventNotification.lookup_type => Events::V1AccountUpdatedEventNotification,
496
- Events::V1ApplicationFeeCreatedEventNotification.lookup_type =>
497
- Events::V1ApplicationFeeCreatedEventNotification,
498
- Events::V1ApplicationFeeRefundedEventNotification.lookup_type =>
499
- Events::V1ApplicationFeeRefundedEventNotification,
500
252
  Events::V1BillingMeterErrorReportTriggeredEventNotification.lookup_type =>
501
253
  Events::V1BillingMeterErrorReportTriggeredEventNotification,
502
254
  Events::V1BillingMeterNoMeterFoundEventNotification.lookup_type =>
503
255
  Events::V1BillingMeterNoMeterFoundEventNotification,
504
- Events::V1BillingPortalConfigurationCreatedEventNotification.lookup_type =>
505
- Events::V1BillingPortalConfigurationCreatedEventNotification,
506
- Events::V1BillingPortalConfigurationUpdatedEventNotification.lookup_type =>
507
- Events::V1BillingPortalConfigurationUpdatedEventNotification,
508
- Events::V1CapabilityUpdatedEventNotification.lookup_type =>
509
- Events::V1CapabilityUpdatedEventNotification,
510
- Events::V1ChargeCapturedEventNotification.lookup_type => Events::V1ChargeCapturedEventNotification,
511
- Events::V1ChargeDisputeClosedEventNotification.lookup_type =>
512
- Events::V1ChargeDisputeClosedEventNotification,
513
- Events::V1ChargeDisputeCreatedEventNotification.lookup_type =>
514
- Events::V1ChargeDisputeCreatedEventNotification,
515
- Events::V1ChargeDisputeFundsReinstatedEventNotification.lookup_type =>
516
- Events::V1ChargeDisputeFundsReinstatedEventNotification,
517
- Events::V1ChargeDisputeFundsWithdrawnEventNotification.lookup_type =>
518
- Events::V1ChargeDisputeFundsWithdrawnEventNotification,
519
- Events::V1ChargeDisputeUpdatedEventNotification.lookup_type =>
520
- Events::V1ChargeDisputeUpdatedEventNotification,
521
- Events::V1ChargeExpiredEventNotification.lookup_type => Events::V1ChargeExpiredEventNotification,
522
- Events::V1ChargeFailedEventNotification.lookup_type => Events::V1ChargeFailedEventNotification,
523
- Events::V1ChargePendingEventNotification.lookup_type => Events::V1ChargePendingEventNotification,
524
- Events::V1ChargeRefundUpdatedEventNotification.lookup_type =>
525
- Events::V1ChargeRefundUpdatedEventNotification,
526
- Events::V1ChargeRefundedEventNotification.lookup_type => Events::V1ChargeRefundedEventNotification,
527
- Events::V1ChargeSucceededEventNotification.lookup_type =>
528
- Events::V1ChargeSucceededEventNotification,
529
- Events::V1ChargeUpdatedEventNotification.lookup_type => Events::V1ChargeUpdatedEventNotification,
530
- Events::V1CheckoutSessionAsyncPaymentFailedEventNotification.lookup_type =>
531
- Events::V1CheckoutSessionAsyncPaymentFailedEventNotification,
532
- Events::V1CheckoutSessionAsyncPaymentSucceededEventNotification.lookup_type =>
533
- Events::V1CheckoutSessionAsyncPaymentSucceededEventNotification,
534
- Events::V1CheckoutSessionCompletedEventNotification.lookup_type =>
535
- Events::V1CheckoutSessionCompletedEventNotification,
536
- Events::V1CheckoutSessionExpiredEventNotification.lookup_type =>
537
- Events::V1CheckoutSessionExpiredEventNotification,
538
- Events::V1ClimateOrderCanceledEventNotification.lookup_type =>
539
- Events::V1ClimateOrderCanceledEventNotification,
540
- Events::V1ClimateOrderCreatedEventNotification.lookup_type =>
541
- Events::V1ClimateOrderCreatedEventNotification,
542
- Events::V1ClimateOrderDelayedEventNotification.lookup_type =>
543
- Events::V1ClimateOrderDelayedEventNotification,
544
- Events::V1ClimateOrderDeliveredEventNotification.lookup_type =>
545
- Events::V1ClimateOrderDeliveredEventNotification,
546
- Events::V1ClimateOrderProductSubstitutedEventNotification.lookup_type =>
547
- Events::V1ClimateOrderProductSubstitutedEventNotification,
548
- Events::V1ClimateProductCreatedEventNotification.lookup_type =>
549
- Events::V1ClimateProductCreatedEventNotification,
550
- Events::V1ClimateProductPricingUpdatedEventNotification.lookup_type =>
551
- Events::V1ClimateProductPricingUpdatedEventNotification,
552
- Events::V1CouponCreatedEventNotification.lookup_type => Events::V1CouponCreatedEventNotification,
553
- Events::V1CouponDeletedEventNotification.lookup_type => Events::V1CouponDeletedEventNotification,
554
- Events::V1CouponUpdatedEventNotification.lookup_type => Events::V1CouponUpdatedEventNotification,
555
- Events::V1CreditNoteCreatedEventNotification.lookup_type =>
556
- Events::V1CreditNoteCreatedEventNotification,
557
- Events::V1CreditNoteUpdatedEventNotification.lookup_type =>
558
- Events::V1CreditNoteUpdatedEventNotification,
559
- Events::V1CreditNoteVoidedEventNotification.lookup_type =>
560
- Events::V1CreditNoteVoidedEventNotification,
561
- Events::V1CustomerCreatedEventNotification.lookup_type =>
562
- Events::V1CustomerCreatedEventNotification,
563
- Events::V1CustomerDeletedEventNotification.lookup_type =>
564
- Events::V1CustomerDeletedEventNotification,
565
- Events::V1CustomerSubscriptionCreatedEventNotification.lookup_type =>
566
- Events::V1CustomerSubscriptionCreatedEventNotification,
567
- Events::V1CustomerSubscriptionDeletedEventNotification.lookup_type =>
568
- Events::V1CustomerSubscriptionDeletedEventNotification,
569
- Events::V1CustomerSubscriptionPausedEventNotification.lookup_type =>
570
- Events::V1CustomerSubscriptionPausedEventNotification,
571
- Events::V1CustomerSubscriptionPendingUpdateAppliedEventNotification.lookup_type =>
572
- Events::V1CustomerSubscriptionPendingUpdateAppliedEventNotification,
573
- Events::V1CustomerSubscriptionPendingUpdateExpiredEventNotification.lookup_type =>
574
- Events::V1CustomerSubscriptionPendingUpdateExpiredEventNotification,
575
- Events::V1CustomerSubscriptionResumedEventNotification.lookup_type =>
576
- Events::V1CustomerSubscriptionResumedEventNotification,
577
- Events::V1CustomerSubscriptionTrialWillEndEventNotification.lookup_type =>
578
- Events::V1CustomerSubscriptionTrialWillEndEventNotification,
579
- Events::V1CustomerSubscriptionUpdatedEventNotification.lookup_type =>
580
- Events::V1CustomerSubscriptionUpdatedEventNotification,
581
- Events::V1CustomerTaxIdCreatedEventNotification.lookup_type =>
582
- Events::V1CustomerTaxIdCreatedEventNotification,
583
- Events::V1CustomerTaxIdDeletedEventNotification.lookup_type =>
584
- Events::V1CustomerTaxIdDeletedEventNotification,
585
- Events::V1CustomerTaxIdUpdatedEventNotification.lookup_type =>
586
- Events::V1CustomerTaxIdUpdatedEventNotification,
587
- Events::V1CustomerUpdatedEventNotification.lookup_type =>
588
- Events::V1CustomerUpdatedEventNotification,
589
- Events::V1FileCreatedEventNotification.lookup_type => Events::V1FileCreatedEventNotification,
590
- Events::V1FinancialConnectionsAccountCreatedEventNotification.lookup_type =>
591
- Events::V1FinancialConnectionsAccountCreatedEventNotification,
592
- Events::V1FinancialConnectionsAccountDeactivatedEventNotification.lookup_type =>
593
- Events::V1FinancialConnectionsAccountDeactivatedEventNotification,
594
- Events::V1FinancialConnectionsAccountDisconnectedEventNotification.lookup_type =>
595
- Events::V1FinancialConnectionsAccountDisconnectedEventNotification,
596
- Events::V1FinancialConnectionsAccountReactivatedEventNotification.lookup_type =>
597
- Events::V1FinancialConnectionsAccountReactivatedEventNotification,
598
- Events::V1FinancialConnectionsAccountRefreshedBalanceEventNotification.lookup_type =>
599
- Events::V1FinancialConnectionsAccountRefreshedBalanceEventNotification,
600
- Events::V1FinancialConnectionsAccountRefreshedOwnershipEventNotification.lookup_type =>
601
- Events::V1FinancialConnectionsAccountRefreshedOwnershipEventNotification,
602
- Events::V1FinancialConnectionsAccountRefreshedTransactionsEventNotification.lookup_type =>
603
- Events::V1FinancialConnectionsAccountRefreshedTransactionsEventNotification,
604
- Events::V1IdentityVerificationSessionCanceledEventNotification.lookup_type =>
605
- Events::V1IdentityVerificationSessionCanceledEventNotification,
606
- Events::V1IdentityVerificationSessionCreatedEventNotification.lookup_type =>
607
- Events::V1IdentityVerificationSessionCreatedEventNotification,
608
- Events::V1IdentityVerificationSessionProcessingEventNotification.lookup_type =>
609
- Events::V1IdentityVerificationSessionProcessingEventNotification,
610
- Events::V1IdentityVerificationSessionRedactedEventNotification.lookup_type =>
611
- Events::V1IdentityVerificationSessionRedactedEventNotification,
612
- Events::V1IdentityVerificationSessionRequiresInputEventNotification.lookup_type =>
613
- Events::V1IdentityVerificationSessionRequiresInputEventNotification,
614
- Events::V1IdentityVerificationSessionVerifiedEventNotification.lookup_type =>
615
- Events::V1IdentityVerificationSessionVerifiedEventNotification,
616
- Events::V1InvoiceCreatedEventNotification.lookup_type => Events::V1InvoiceCreatedEventNotification,
617
- Events::V1InvoiceDeletedEventNotification.lookup_type => Events::V1InvoiceDeletedEventNotification,
618
- Events::V1InvoiceFinalizationFailedEventNotification.lookup_type =>
619
- Events::V1InvoiceFinalizationFailedEventNotification,
620
- Events::V1InvoiceFinalizedEventNotification.lookup_type =>
621
- Events::V1InvoiceFinalizedEventNotification,
622
- Events::V1InvoiceMarkedUncollectibleEventNotification.lookup_type =>
623
- Events::V1InvoiceMarkedUncollectibleEventNotification,
624
- Events::V1InvoiceOverdueEventNotification.lookup_type => Events::V1InvoiceOverdueEventNotification,
625
- Events::V1InvoiceOverpaidEventNotification.lookup_type =>
626
- Events::V1InvoiceOverpaidEventNotification,
627
- Events::V1InvoicePaidEventNotification.lookup_type => Events::V1InvoicePaidEventNotification,
628
- Events::V1InvoicePaymentActionRequiredEventNotification.lookup_type =>
629
- Events::V1InvoicePaymentActionRequiredEventNotification,
630
- Events::V1InvoicePaymentFailedEventNotification.lookup_type =>
631
- Events::V1InvoicePaymentFailedEventNotification,
632
- Events::V1InvoicePaymentPaidEventNotification.lookup_type =>
633
- Events::V1InvoicePaymentPaidEventNotification,
634
- Events::V1InvoicePaymentSucceededEventNotification.lookup_type =>
635
- Events::V1InvoicePaymentSucceededEventNotification,
636
- Events::V1InvoiceSentEventNotification.lookup_type => Events::V1InvoiceSentEventNotification,
637
- Events::V1InvoiceUpcomingEventNotification.lookup_type =>
638
- Events::V1InvoiceUpcomingEventNotification,
639
- Events::V1InvoiceUpdatedEventNotification.lookup_type => Events::V1InvoiceUpdatedEventNotification,
640
- Events::V1InvoiceVoidedEventNotification.lookup_type => Events::V1InvoiceVoidedEventNotification,
641
- Events::V1InvoiceWillBeDueEventNotification.lookup_type =>
642
- Events::V1InvoiceWillBeDueEventNotification,
643
- Events::V1InvoiceitemCreatedEventNotification.lookup_type =>
644
- Events::V1InvoiceitemCreatedEventNotification,
645
- Events::V1InvoiceitemDeletedEventNotification.lookup_type =>
646
- Events::V1InvoiceitemDeletedEventNotification,
647
- Events::V1IssuingAuthorizationCreatedEventNotification.lookup_type =>
648
- Events::V1IssuingAuthorizationCreatedEventNotification,
649
- Events::V1IssuingAuthorizationRequestEventNotification.lookup_type =>
650
- Events::V1IssuingAuthorizationRequestEventNotification,
651
- Events::V1IssuingAuthorizationUpdatedEventNotification.lookup_type =>
652
- Events::V1IssuingAuthorizationUpdatedEventNotification,
653
- Events::V1IssuingCardCreatedEventNotification.lookup_type =>
654
- Events::V1IssuingCardCreatedEventNotification,
655
- Events::V1IssuingCardUpdatedEventNotification.lookup_type =>
656
- Events::V1IssuingCardUpdatedEventNotification,
657
- Events::V1IssuingCardholderCreatedEventNotification.lookup_type =>
658
- Events::V1IssuingCardholderCreatedEventNotification,
659
- Events::V1IssuingCardholderUpdatedEventNotification.lookup_type =>
660
- Events::V1IssuingCardholderUpdatedEventNotification,
661
- Events::V1IssuingDisputeClosedEventNotification.lookup_type =>
662
- Events::V1IssuingDisputeClosedEventNotification,
663
- Events::V1IssuingDisputeCreatedEventNotification.lookup_type =>
664
- Events::V1IssuingDisputeCreatedEventNotification,
665
- Events::V1IssuingDisputeFundsReinstatedEventNotification.lookup_type =>
666
- Events::V1IssuingDisputeFundsReinstatedEventNotification,
667
- Events::V1IssuingDisputeFundsRescindedEventNotification.lookup_type =>
668
- Events::V1IssuingDisputeFundsRescindedEventNotification,
669
- Events::V1IssuingDisputeSubmittedEventNotification.lookup_type =>
670
- Events::V1IssuingDisputeSubmittedEventNotification,
671
- Events::V1IssuingDisputeUpdatedEventNotification.lookup_type =>
672
- Events::V1IssuingDisputeUpdatedEventNotification,
673
- Events::V1IssuingPersonalizationDesignActivatedEventNotification.lookup_type =>
674
- Events::V1IssuingPersonalizationDesignActivatedEventNotification,
675
- Events::V1IssuingPersonalizationDesignDeactivatedEventNotification.lookup_type =>
676
- Events::V1IssuingPersonalizationDesignDeactivatedEventNotification,
677
- Events::V1IssuingPersonalizationDesignRejectedEventNotification.lookup_type =>
678
- Events::V1IssuingPersonalizationDesignRejectedEventNotification,
679
- Events::V1IssuingPersonalizationDesignUpdatedEventNotification.lookup_type =>
680
- Events::V1IssuingPersonalizationDesignUpdatedEventNotification,
681
- Events::V1IssuingTokenCreatedEventNotification.lookup_type =>
682
- Events::V1IssuingTokenCreatedEventNotification,
683
- Events::V1IssuingTokenUpdatedEventNotification.lookup_type =>
684
- Events::V1IssuingTokenUpdatedEventNotification,
685
- Events::V1IssuingTransactionCreatedEventNotification.lookup_type =>
686
- Events::V1IssuingTransactionCreatedEventNotification,
687
- Events::V1IssuingTransactionPurchaseDetailsReceiptUpdatedEventNotification.lookup_type =>
688
- Events::V1IssuingTransactionPurchaseDetailsReceiptUpdatedEventNotification,
689
- Events::V1IssuingTransactionUpdatedEventNotification.lookup_type =>
690
- Events::V1IssuingTransactionUpdatedEventNotification,
691
- Events::V1MandateUpdatedEventNotification.lookup_type => Events::V1MandateUpdatedEventNotification,
692
- Events::V1PaymentIntentAmountCapturableUpdatedEventNotification.lookup_type =>
693
- Events::V1PaymentIntentAmountCapturableUpdatedEventNotification,
694
- Events::V1PaymentIntentCanceledEventNotification.lookup_type =>
695
- Events::V1PaymentIntentCanceledEventNotification,
696
- Events::V1PaymentIntentCreatedEventNotification.lookup_type =>
697
- Events::V1PaymentIntentCreatedEventNotification,
698
- Events::V1PaymentIntentPartiallyFundedEventNotification.lookup_type =>
699
- Events::V1PaymentIntentPartiallyFundedEventNotification,
700
- Events::V1PaymentIntentPaymentFailedEventNotification.lookup_type =>
701
- Events::V1PaymentIntentPaymentFailedEventNotification,
702
- Events::V1PaymentIntentProcessingEventNotification.lookup_type =>
703
- Events::V1PaymentIntentProcessingEventNotification,
704
- Events::V1PaymentIntentRequiresActionEventNotification.lookup_type =>
705
- Events::V1PaymentIntentRequiresActionEventNotification,
706
- Events::V1PaymentIntentSucceededEventNotification.lookup_type =>
707
- Events::V1PaymentIntentSucceededEventNotification,
708
- Events::V1PaymentLinkCreatedEventNotification.lookup_type =>
709
- Events::V1PaymentLinkCreatedEventNotification,
710
- Events::V1PaymentLinkUpdatedEventNotification.lookup_type =>
711
- Events::V1PaymentLinkUpdatedEventNotification,
712
- Events::V1PaymentMethodAttachedEventNotification.lookup_type =>
713
- Events::V1PaymentMethodAttachedEventNotification,
714
- Events::V1PaymentMethodAutomaticallyUpdatedEventNotification.lookup_type =>
715
- Events::V1PaymentMethodAutomaticallyUpdatedEventNotification,
716
- Events::V1PaymentMethodDetachedEventNotification.lookup_type =>
717
- Events::V1PaymentMethodDetachedEventNotification,
718
- Events::V1PaymentMethodUpdatedEventNotification.lookup_type =>
719
- Events::V1PaymentMethodUpdatedEventNotification,
720
- Events::V1PayoutCanceledEventNotification.lookup_type => Events::V1PayoutCanceledEventNotification,
721
- Events::V1PayoutCreatedEventNotification.lookup_type => Events::V1PayoutCreatedEventNotification,
722
- Events::V1PayoutFailedEventNotification.lookup_type => Events::V1PayoutFailedEventNotification,
723
- Events::V1PayoutPaidEventNotification.lookup_type => Events::V1PayoutPaidEventNotification,
724
- Events::V1PayoutReconciliationCompletedEventNotification.lookup_type =>
725
- Events::V1PayoutReconciliationCompletedEventNotification,
726
- Events::V1PayoutUpdatedEventNotification.lookup_type => Events::V1PayoutUpdatedEventNotification,
727
- Events::V1PersonCreatedEventNotification.lookup_type => Events::V1PersonCreatedEventNotification,
728
- Events::V1PersonDeletedEventNotification.lookup_type => Events::V1PersonDeletedEventNotification,
729
- Events::V1PersonUpdatedEventNotification.lookup_type => Events::V1PersonUpdatedEventNotification,
730
- Events::V1PlanCreatedEventNotification.lookup_type => Events::V1PlanCreatedEventNotification,
731
- Events::V1PlanDeletedEventNotification.lookup_type => Events::V1PlanDeletedEventNotification,
732
- Events::V1PlanUpdatedEventNotification.lookup_type => Events::V1PlanUpdatedEventNotification,
733
- Events::V1PriceCreatedEventNotification.lookup_type => Events::V1PriceCreatedEventNotification,
734
- Events::V1PriceDeletedEventNotification.lookup_type => Events::V1PriceDeletedEventNotification,
735
- Events::V1PriceUpdatedEventNotification.lookup_type => Events::V1PriceUpdatedEventNotification,
736
- Events::V1ProductCreatedEventNotification.lookup_type => Events::V1ProductCreatedEventNotification,
737
- Events::V1ProductDeletedEventNotification.lookup_type => Events::V1ProductDeletedEventNotification,
738
- Events::V1ProductUpdatedEventNotification.lookup_type => Events::V1ProductUpdatedEventNotification,
739
- Events::V1PromotionCodeCreatedEventNotification.lookup_type =>
740
- Events::V1PromotionCodeCreatedEventNotification,
741
- Events::V1PromotionCodeUpdatedEventNotification.lookup_type =>
742
- Events::V1PromotionCodeUpdatedEventNotification,
743
- Events::V1QuoteAcceptedEventNotification.lookup_type => Events::V1QuoteAcceptedEventNotification,
744
- Events::V1QuoteCanceledEventNotification.lookup_type => Events::V1QuoteCanceledEventNotification,
745
- Events::V1QuoteCreatedEventNotification.lookup_type => Events::V1QuoteCreatedEventNotification,
746
- Events::V1QuoteFinalizedEventNotification.lookup_type => Events::V1QuoteFinalizedEventNotification,
747
- Events::V1RadarEarlyFraudWarningCreatedEventNotification.lookup_type =>
748
- Events::V1RadarEarlyFraudWarningCreatedEventNotification,
749
- Events::V1RadarEarlyFraudWarningUpdatedEventNotification.lookup_type =>
750
- Events::V1RadarEarlyFraudWarningUpdatedEventNotification,
751
- Events::V1RefundCreatedEventNotification.lookup_type => Events::V1RefundCreatedEventNotification,
752
- Events::V1RefundFailedEventNotification.lookup_type => Events::V1RefundFailedEventNotification,
753
- Events::V1RefundUpdatedEventNotification.lookup_type => Events::V1RefundUpdatedEventNotification,
754
- Events::V1ReviewClosedEventNotification.lookup_type => Events::V1ReviewClosedEventNotification,
755
- Events::V1ReviewOpenedEventNotification.lookup_type => Events::V1ReviewOpenedEventNotification,
756
- Events::V1SetupIntentCanceledEventNotification.lookup_type =>
757
- Events::V1SetupIntentCanceledEventNotification,
758
- Events::V1SetupIntentCreatedEventNotification.lookup_type =>
759
- Events::V1SetupIntentCreatedEventNotification,
760
- Events::V1SetupIntentRequiresActionEventNotification.lookup_type =>
761
- Events::V1SetupIntentRequiresActionEventNotification,
762
- Events::V1SetupIntentSetupFailedEventNotification.lookup_type =>
763
- Events::V1SetupIntentSetupFailedEventNotification,
764
- Events::V1SetupIntentSucceededEventNotification.lookup_type =>
765
- Events::V1SetupIntentSucceededEventNotification,
766
- Events::V1SigmaScheduledQueryRunCreatedEventNotification.lookup_type =>
767
- Events::V1SigmaScheduledQueryRunCreatedEventNotification,
768
- Events::V1SourceCanceledEventNotification.lookup_type => Events::V1SourceCanceledEventNotification,
769
- Events::V1SourceChargeableEventNotification.lookup_type =>
770
- Events::V1SourceChargeableEventNotification,
771
- Events::V1SourceFailedEventNotification.lookup_type => Events::V1SourceFailedEventNotification,
772
- Events::V1SourceRefundAttributesRequiredEventNotification.lookup_type =>
773
- Events::V1SourceRefundAttributesRequiredEventNotification,
774
- Events::V1SubscriptionScheduleAbortedEventNotification.lookup_type =>
775
- Events::V1SubscriptionScheduleAbortedEventNotification,
776
- Events::V1SubscriptionScheduleCanceledEventNotification.lookup_type =>
777
- Events::V1SubscriptionScheduleCanceledEventNotification,
778
- Events::V1SubscriptionScheduleCompletedEventNotification.lookup_type =>
779
- Events::V1SubscriptionScheduleCompletedEventNotification,
780
- Events::V1SubscriptionScheduleCreatedEventNotification.lookup_type =>
781
- Events::V1SubscriptionScheduleCreatedEventNotification,
782
- Events::V1SubscriptionScheduleExpiringEventNotification.lookup_type =>
783
- Events::V1SubscriptionScheduleExpiringEventNotification,
784
- Events::V1SubscriptionScheduleReleasedEventNotification.lookup_type =>
785
- Events::V1SubscriptionScheduleReleasedEventNotification,
786
- Events::V1SubscriptionScheduleUpdatedEventNotification.lookup_type =>
787
- Events::V1SubscriptionScheduleUpdatedEventNotification,
788
- Events::V1TaxRateCreatedEventNotification.lookup_type => Events::V1TaxRateCreatedEventNotification,
789
- Events::V1TaxRateUpdatedEventNotification.lookup_type => Events::V1TaxRateUpdatedEventNotification,
790
- Events::V1TerminalReaderActionFailedEventNotification.lookup_type =>
791
- Events::V1TerminalReaderActionFailedEventNotification,
792
- Events::V1TerminalReaderActionSucceededEventNotification.lookup_type =>
793
- Events::V1TerminalReaderActionSucceededEventNotification,
794
- Events::V1TerminalReaderActionUpdatedEventNotification.lookup_type =>
795
- Events::V1TerminalReaderActionUpdatedEventNotification,
796
- Events::V1TestHelpersTestClockAdvancingEventNotification.lookup_type =>
797
- Events::V1TestHelpersTestClockAdvancingEventNotification,
798
- Events::V1TestHelpersTestClockCreatedEventNotification.lookup_type =>
799
- Events::V1TestHelpersTestClockCreatedEventNotification,
800
- Events::V1TestHelpersTestClockDeletedEventNotification.lookup_type =>
801
- Events::V1TestHelpersTestClockDeletedEventNotification,
802
- Events::V1TestHelpersTestClockInternalFailureEventNotification.lookup_type =>
803
- Events::V1TestHelpersTestClockInternalFailureEventNotification,
804
- Events::V1TestHelpersTestClockReadyEventNotification.lookup_type =>
805
- Events::V1TestHelpersTestClockReadyEventNotification,
806
- Events::V1TopupCanceledEventNotification.lookup_type => Events::V1TopupCanceledEventNotification,
807
- Events::V1TopupCreatedEventNotification.lookup_type => Events::V1TopupCreatedEventNotification,
808
- Events::V1TopupFailedEventNotification.lookup_type => Events::V1TopupFailedEventNotification,
809
- Events::V1TopupReversedEventNotification.lookup_type => Events::V1TopupReversedEventNotification,
810
- Events::V1TopupSucceededEventNotification.lookup_type => Events::V1TopupSucceededEventNotification,
811
- Events::V1TransferCreatedEventNotification.lookup_type =>
812
- Events::V1TransferCreatedEventNotification,
813
- Events::V1TransferReversedEventNotification.lookup_type =>
814
- Events::V1TransferReversedEventNotification,
815
- Events::V1TransferUpdatedEventNotification.lookup_type =>
816
- Events::V1TransferUpdatedEventNotification,
817
256
  Events::V2BillingCadenceBilledEventNotification.lookup_type =>
818
257
  Events::V2BillingCadenceBilledEventNotification,
819
258
  Events::V2BillingCadenceCanceledEventNotification.lookup_type =>
@@ -1050,6 +489,10 @@ module Stripe
1050
489
  Events::V2MoneyManagementTransactionCreatedEventNotification,
1051
490
  Events::V2MoneyManagementTransactionUpdatedEventNotification.lookup_type =>
1052
491
  Events::V2MoneyManagementTransactionUpdatedEventNotification,
492
+ Events::V2PaymentsOffSessionPaymentAttemptFailedEventNotification.lookup_type =>
493
+ Events::V2PaymentsOffSessionPaymentAttemptFailedEventNotification,
494
+ Events::V2PaymentsOffSessionPaymentAttemptStartedEventNotification.lookup_type =>
495
+ Events::V2PaymentsOffSessionPaymentAttemptStartedEventNotification,
1053
496
  Events::V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEventNotification.lookup_type =>
1054
497
  Events::V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEventNotification,
1055
498
  Events::V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEventNotification.lookup_type =>
@@ -21,6 +21,8 @@ module Stripe
21
21
  attr_reader :http_status
22
22
  # The number of impacted requests.
23
23
  attr_reader :impacted_requests
24
+ # The percentage of impacted requests.
25
+ attr_reader :impacted_requests_percentage
24
26
 
25
27
  def self.inner_class_types
26
28
  @inner_class_types = {}
@@ -21,6 +21,8 @@ module Stripe
21
21
  attr_reader :http_status
22
22
  # The number of impacted requests.
23
23
  attr_reader :impacted_requests
24
+ # The percentage of impacted requests.
25
+ attr_reader :impacted_requests_percentage
24
26
 
25
27
  def self.inner_class_types
26
28
  @inner_class_types = {}