stripe 17.3.0.pre.alpha.2 → 18.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 (922) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +0 -34
  3. data/lib/stripe/api_version.rb +2 -1
  4. data/lib/stripe/errors.rb +0 -63
  5. data/lib/stripe/event_types.rb +0 -1050
  6. data/lib/stripe/object_types.rb +0 -82
  7. data/lib/stripe/params/account_create_params.rb +3 -334
  8. data/lib/stripe/params/account_person_create_params.rb +1 -33
  9. data/lib/stripe/params/account_person_update_params.rb +1 -33
  10. data/lib/stripe/params/account_session_create_params.rb +1 -226
  11. data/lib/stripe/params/account_update_params.rb +2 -296
  12. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  13. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  14. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +2 -17
  15. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
  16. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -33
  17. data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
  18. data/lib/stripe/params/billing/meter_create_params.rb +0 -4
  19. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
  20. data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
  21. data/lib/stripe/params/charge_capture_params.rb +0 -709
  22. data/lib/stripe/params/charge_update_params.rb +0 -709
  23. data/lib/stripe/params/checkout/session_create_params.rb +4 -273
  24. data/lib/stripe/params/checkout/session_list_params.rb +0 -4
  25. data/lib/stripe/params/checkout/session_update_params.rb +1 -288
  26. data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
  27. data/lib/stripe/params/coupon_create_params.rb +1 -17
  28. data/lib/stripe/params/credit_note_list_params.rb +0 -4
  29. data/lib/stripe/params/customer_balance_transaction_list_params.rb +21 -1
  30. data/lib/stripe/params/customer_session_create_params.rb +3 -37
  31. data/lib/stripe/params/dispute_update_params.rb +1 -10
  32. data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
  33. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
  34. data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
  35. data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
  36. data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
  37. data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
  38. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  39. data/lib/stripe/params/invoice_create_params.rb +2 -112
  40. data/lib/stripe/params/invoice_create_preview_params.rb +9 -882
  41. data/lib/stripe/params/invoice_item_create_params.rb +1 -37
  42. data/lib/stripe/params/invoice_item_list_params.rb +0 -4
  43. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  44. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
  45. data/lib/stripe/params/invoice_list_params.rb +0 -8
  46. data/lib/stripe/params/invoice_payment_list_params.rb +22 -0
  47. data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
  48. data/lib/stripe/params/invoice_update_params.rb +2 -108
  49. data/lib/stripe/params/issuing/authorization_create_params.rb +16 -1
  50. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  51. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  52. data/lib/stripe/params/payment_intent_capture_params.rb +30 -707
  53. data/lib/stripe/params/payment_intent_confirm_params.rb +42 -1216
  54. data/lib/stripe/params/payment_intent_create_params.rb +48 -1230
  55. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +29 -34
  56. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  57. data/lib/stripe/params/payment_intent_update_params.rb +52 -1265
  58. data/lib/stripe/params/payment_method_attach_params.rb +1 -4
  59. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
  60. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
  61. data/lib/stripe/params/payment_method_create_params.rb +0 -97
  62. data/lib/stripe/params/payment_method_update_params.rb +0 -19
  63. data/lib/stripe/params/price_update_params.rb +0 -19
  64. data/lib/stripe/params/promotion_code_create_params.rb +0 -4
  65. data/lib/stripe/params/promotion_code_list_params.rb +0 -4
  66. data/lib/stripe/params/quote_create_params.rb +4 -1014
  67. data/lib/stripe/params/quote_list_params.rb +0 -8
  68. data/lib/stripe/params/quote_update_params.rb +4 -1021
  69. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -254
  70. data/lib/stripe/params/setup_intent_create_params.rb +3 -260
  71. data/lib/stripe/params/setup_intent_list_params.rb +0 -4
  72. data/lib/stripe/params/setup_intent_update_params.rb +4 -261
  73. data/lib/stripe/params/subscription_create_params.rb +5 -259
  74. data/lib/stripe/params/subscription_item_create_params.rb +2 -46
  75. data/lib/stripe/params/subscription_item_update_params.rb +1 -29
  76. data/lib/stripe/params/subscription_list_params.rb +0 -4
  77. data/lib/stripe/params/subscription_schedule_create_params.rb +7 -229
  78. data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
  79. data/lib/stripe/params/subscription_schedule_update_params.rb +7 -225
  80. data/lib/stripe/params/subscription_update_params.rb +4 -238
  81. data/lib/stripe/params/tax/registration_create_params.rb +1 -1
  82. data/lib/stripe/params/tax_id_create_params.rb +1 -4
  83. data/lib/stripe/params/tax_id_list_params.rb +1 -4
  84. data/lib/stripe/params/terminal/configuration_create_params.rb +9 -22
  85. data/lib/stripe/params/terminal/configuration_update_params.rb +9 -22
  86. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
  87. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +16 -1
  88. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  89. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  90. data/lib/stripe/params/token_create_params.rb +2 -66
  91. data/lib/stripe/params/transfer_create_params.rb +1 -9
  92. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  93. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  94. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  95. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  96. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  97. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  98. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  99. data/lib/stripe/params/v2/core/event_list_params.rb +21 -21
  100. data/lib/stripe/params.rb +0 -250
  101. data/lib/stripe/resources/account.rb +2 -167
  102. data/lib/stripe/resources/account_session.rb +0 -81
  103. data/lib/stripe/resources/application_fee.rb +0 -2
  104. data/lib/stripe/resources/balance.rb +0 -83
  105. data/lib/stripe/resources/bank_account.rb +2 -2
  106. data/lib/stripe/resources/billing/alert.rb +1 -105
  107. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  108. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -86
  109. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  110. data/lib/stripe/resources/billing/credit_grant.rb +2 -60
  111. data/lib/stripe/resources/billing/meter.rb +0 -2
  112. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
  113. data/lib/stripe/resources/billing_portal/configuration.rb +2 -0
  114. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  115. data/lib/stripe/resources/card.rb +1 -20
  116. data/lib/stripe/resources/cash_balance.rb +0 -2
  117. data/lib/stripe/resources/charge.rb +4 -256
  118. data/lib/stripe/resources/checkout/session.rb +4 -246
  119. data/lib/stripe/resources/confirmation_token.rb +1 -174
  120. data/lib/stripe/resources/coupon.rb +1 -26
  121. data/lib/stripe/resources/credit_note.rb +0 -2
  122. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  123. data/lib/stripe/resources/customer.rb +0 -2
  124. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  125. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  126. data/lib/stripe/resources/customer_session.rb +0 -38
  127. data/lib/stripe/resources/discount.rb +0 -4
  128. data/lib/stripe/resources/dispute.rb +0 -22
  129. data/lib/stripe/resources/event.rb +1 -64
  130. data/lib/stripe/resources/financial_connections/account.rb +22 -27
  131. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  132. data/lib/stripe/resources/identity/verification_report.rb +0 -4
  133. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  134. data/lib/stripe/resources/invoice.rb +2 -169
  135. data/lib/stripe/resources/invoice_item.rb +2 -110
  136. data/lib/stripe/resources/invoice_line_item.rb +1 -147
  137. data/lib/stripe/resources/issuing/card.rb +18 -0
  138. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  139. data/lib/stripe/resources/line_item.rb +1 -68
  140. data/lib/stripe/resources/mandate.rb +0 -71
  141. data/lib/stripe/resources/payment_attempt_record.rb +9 -209
  142. data/lib/stripe/resources/payment_intent.rb +23 -800
  143. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +13 -7
  144. data/lib/stripe/resources/payment_method.rb +1 -196
  145. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  146. data/lib/stripe/resources/payment_record.rb +9 -209
  147. data/lib/stripe/resources/person.rb +0 -36
  148. data/lib/stripe/resources/price.rb +0 -20
  149. data/lib/stripe/resources/promotion_code.rb +0 -2
  150. data/lib/stripe/resources/quote.rb +2 -918
  151. data/lib/stripe/resources/refund.rb +24 -11
  152. data/lib/stripe/resources/setup_attempt.rb +1 -64
  153. data/lib/stripe/resources/setup_intent.rb +1 -172
  154. data/lib/stripe/resources/source.rb +0 -38
  155. data/lib/stripe/resources/subscription.rb +0 -335
  156. data/lib/stripe/resources/subscription_item.rb +1 -20
  157. data/lib/stripe/resources/subscription_schedule.rb +3 -372
  158. data/lib/stripe/resources/tax_id.rb +0 -4
  159. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  160. data/lib/stripe/resources/terminal/reader.rb +0 -8
  161. data/lib/stripe/resources/transfer.rb +0 -6
  162. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  163. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  164. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  165. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  166. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  167. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
  168. data/lib/stripe/resources/v2/core/event.rb +0 -4
  169. data/lib/stripe/resources.rb +0 -391
  170. data/lib/stripe/services/billing_service.rb +1 -2
  171. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  172. data/lib/stripe/services/financial_connections_service.rb +1 -2
  173. data/lib/stripe/services/identity_service.rb +1 -2
  174. data/lib/stripe/services/issuing_service.rb +1 -6
  175. data/lib/stripe/services/mandate_service.rb +0 -5
  176. data/lib/stripe/services/payment_intent_service.rb +0 -37
  177. data/lib/stripe/services/payment_method_service.rb +0 -11
  178. data/lib/stripe/services/quote_service.rb +1 -49
  179. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  180. data/lib/stripe/services/subscription_service.rb +0 -11
  181. data/lib/stripe/services/tax_service.rb +1 -2
  182. data/lib/stripe/services/terminal_service.rb +1 -2
  183. data/lib/stripe/services/test_helpers_service.rb +1 -2
  184. data/lib/stripe/services/v1_services.rb +1 -9
  185. data/lib/stripe/services/v2/billing_service.rb +1 -18
  186. data/lib/stripe/services/v2/core_service.rb +1 -5
  187. data/lib/stripe/services/v2_services.rb +1 -5
  188. data/lib/stripe/services.rb +0 -86
  189. data/lib/stripe/stripe_configuration.rb +1 -3
  190. data/lib/stripe/stripe_object.rb +1 -1
  191. data/lib/stripe/util.rb +3 -12
  192. data/lib/stripe/version.rb +1 -1
  193. data/lib/stripe.rb +0 -53
  194. data/rbi/stripe.rbi +49831 -122462
  195. metadata +4 -731
  196. data/lib/stripe/events/v1_account_updated_event.rb +0 -44
  197. data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
  198. data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
  199. data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
  200. data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
  201. data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
  202. data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
  203. data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
  204. data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
  205. data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
  206. data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
  207. data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
  208. data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
  209. data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
  210. data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
  211. data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
  212. data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
  213. data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
  214. data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
  215. data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
  216. data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
  217. data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
  218. data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
  219. data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
  220. data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
  221. data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
  222. data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
  223. data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
  224. data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
  225. data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
  226. data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
  227. data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
  228. data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
  229. data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
  230. data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
  231. data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
  232. data/lib/stripe/events/v1_customer_created_event.rb +0 -44
  233. data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
  234. data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
  235. data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
  236. data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
  237. data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
  238. data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
  239. data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
  240. data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
  241. data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
  242. data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
  243. data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
  244. data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
  245. data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
  246. data/lib/stripe/events/v1_file_created_event.rb +0 -44
  247. data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
  248. data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
  249. data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
  250. data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
  251. data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
  252. data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
  253. data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
  254. data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
  255. data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
  256. data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
  257. data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
  258. data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
  259. data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
  260. data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
  261. data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
  262. data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
  263. data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
  264. data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
  265. data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
  266. data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
  267. data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
  268. data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
  269. data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
  270. data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
  271. data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
  272. data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
  273. data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
  274. data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
  275. data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
  276. data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
  277. data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
  278. data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
  279. data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
  280. data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
  281. data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
  282. data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
  283. data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
  284. data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
  285. data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
  286. data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
  287. data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
  288. data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
  289. data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
  290. data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
  291. data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
  292. data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
  293. data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
  294. data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
  295. data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
  296. data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
  297. data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
  298. data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
  299. data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
  300. data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
  301. data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
  302. data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
  303. data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
  304. data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
  305. data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
  306. data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
  307. data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
  308. data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
  309. data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
  310. data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
  311. data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
  312. data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
  313. data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
  314. data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
  315. data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
  316. data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
  317. data/lib/stripe/events/v1_payout_created_event.rb +0 -44
  318. data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
  319. data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
  320. data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
  321. data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
  322. data/lib/stripe/events/v1_person_created_event.rb +0 -44
  323. data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
  324. data/lib/stripe/events/v1_person_updated_event.rb +0 -44
  325. data/lib/stripe/events/v1_plan_created_event.rb +0 -44
  326. data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
  327. data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
  328. data/lib/stripe/events/v1_price_created_event.rb +0 -44
  329. data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
  330. data/lib/stripe/events/v1_price_updated_event.rb +0 -44
  331. data/lib/stripe/events/v1_product_created_event.rb +0 -44
  332. data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
  333. data/lib/stripe/events/v1_product_updated_event.rb +0 -44
  334. data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
  335. data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
  336. data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
  337. data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
  338. data/lib/stripe/events/v1_quote_created_event.rb +0 -44
  339. data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
  340. data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +0 -44
  341. data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
  342. data/lib/stripe/events/v1_refund_created_event.rb +0 -44
  343. data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
  344. data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
  345. data/lib/stripe/events/v1_review_closed_event.rb +0 -44
  346. data/lib/stripe/events/v1_review_opened_event.rb +0 -44
  347. data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
  348. data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
  349. data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
  350. data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
  351. data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
  352. data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +0 -44
  353. data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
  354. data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
  355. data/lib/stripe/events/v1_source_failed_event.rb +0 -44
  356. data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
  357. data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
  358. data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
  359. data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
  360. data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
  361. data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
  362. data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
  363. data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
  364. data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
  365. data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
  366. data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
  367. data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
  368. data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
  369. data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
  370. data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
  371. data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
  372. data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
  373. data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
  374. data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
  375. data/lib/stripe/events/v1_topup_created_event.rb +0 -44
  376. data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
  377. data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
  378. data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
  379. data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
  380. data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
  381. data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
  382. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  383. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  384. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  385. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  386. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  387. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  388. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  389. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  390. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  391. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  392. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  393. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  394. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  395. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  396. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  397. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  398. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  399. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  400. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  401. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  402. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  403. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  404. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  405. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  406. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  407. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  408. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  409. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  410. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  411. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  412. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  413. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  414. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  415. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  416. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  417. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  418. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  419. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  420. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  421. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
  422. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
  423. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  424. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  425. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  426. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  427. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  428. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  429. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  430. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  431. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  432. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  433. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  434. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  435. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  436. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  437. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  438. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  439. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  440. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  441. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  442. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  443. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  444. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -66
  445. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -66
  446. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -64
  447. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -64
  448. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  449. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  450. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -66
  451. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -64
  452. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -62
  453. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -64
  454. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -64
  455. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -64
  456. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -62
  457. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -62
  458. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  459. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  460. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  461. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  462. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  463. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  464. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  465. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  466. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  467. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  468. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  469. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  470. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  471. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  472. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  473. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  474. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  475. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  476. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  477. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  478. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  479. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  480. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  481. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  482. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  483. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  484. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  485. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  486. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  487. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  488. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  489. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  490. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  491. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  492. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  493. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  494. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  495. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  496. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  497. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
  498. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  499. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  500. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  501. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  502. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  503. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  504. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  505. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  506. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
  507. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
  508. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
  509. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
  510. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  511. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  512. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  513. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -69
  514. data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
  515. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  516. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  517. data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
  518. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  519. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  520. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  521. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  522. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
  523. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
  524. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
  525. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
  526. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
  527. data/lib/stripe/params/external_account_create_params.rb +0 -134
  528. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  529. data/lib/stripe/params/external_account_list_params.rb +0 -25
  530. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  531. data/lib/stripe/params/external_account_update_params.rb +0 -91
  532. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  533. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  534. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  535. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  536. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  537. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  538. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
  539. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
  540. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
  541. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
  542. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  543. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  544. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  545. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  546. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  547. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  548. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  549. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  550. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  551. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  552. data/lib/stripe/params/issuing/program_create_params.rb +0 -21
  553. data/lib/stripe/params/issuing/program_list_params.rb +0 -24
  554. data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
  555. data/lib/stripe/params/issuing/program_update_params.rb +0 -21
  556. data/lib/stripe/params/mandate_list_params.rb +0 -39
  557. data/lib/stripe/params/margin_create_params.rb +0 -25
  558. data/lib/stripe/params/margin_list_params.rb +0 -25
  559. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  560. data/lib/stripe/params/margin_update_params.rb +0 -22
  561. data/lib/stripe/params/order_cancel_params.rb +0 -13
  562. data/lib/stripe/params/order_create_params.rb +0 -1124
  563. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  564. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  565. data/lib/stripe/params/order_list_params.rb +0 -25
  566. data/lib/stripe/params/order_reopen_params.rb +0 -13
  567. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  568. data/lib/stripe/params/order_submit_params.rb +0 -16
  569. data/lib/stripe/params/order_update_params.rb +0 -1128
  570. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  571. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  572. data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
  573. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  574. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  575. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  576. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  577. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  578. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  579. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  580. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  581. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  582. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  583. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  584. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  585. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  586. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  587. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  588. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  589. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  590. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  591. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  592. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  593. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  594. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  595. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
  596. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
  597. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  598. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  599. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  600. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  601. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  602. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  603. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
  604. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
  605. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  606. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  607. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
  608. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  609. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  610. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  611. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  612. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  613. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  614. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  615. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  616. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  617. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  618. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  619. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  620. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
  621. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  622. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  623. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  624. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  625. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  626. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  627. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  628. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  629. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  630. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  631. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  632. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  633. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  634. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  635. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  636. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  637. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  638. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  639. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  640. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  641. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  642. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  643. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  644. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  645. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  646. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  647. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  648. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
  649. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  650. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  651. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  652. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  653. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  654. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  655. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  656. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  657. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  658. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  659. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  660. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  661. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  662. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  663. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  664. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  665. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  666. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  667. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  668. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  669. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  670. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  671. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  672. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  673. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  674. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  675. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  676. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -254
  677. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  678. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  679. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  680. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2943
  681. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  682. data/lib/stripe/params/v2/core/account_list_params.rb +0 -23
  683. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  684. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2975
  685. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  686. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  687. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  688. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  689. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  690. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  691. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  692. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  693. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  694. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  695. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  696. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  697. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  698. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  699. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  700. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  701. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  702. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  703. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  704. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  705. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  706. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  707. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  708. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  709. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  710. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  711. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  712. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
  713. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  714. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  715. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  716. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  717. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  718. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  719. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
  720. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  721. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  722. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  723. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  724. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  725. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
  726. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  727. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  728. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  729. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  730. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -81
  731. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  732. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  733. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  734. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  735. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  736. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  737. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  738. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  739. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  740. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  741. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  742. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  743. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  744. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  745. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  746. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  747. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  748. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  749. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  750. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  751. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  752. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  753. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  754. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
  755. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
  756. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
  757. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  758. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  759. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
  760. data/lib/stripe/resources/account_notice.rb +0 -94
  761. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  762. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -40
  763. data/lib/stripe/resources/capital/financing_offer.rb +0 -183
  764. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  765. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  766. data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -420
  767. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  768. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  769. data/lib/stripe/resources/fx_quote.rb +0 -147
  770. data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
  771. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  772. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  773. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  774. data/lib/stripe/resources/issuing/program.rb +0 -69
  775. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  776. data/lib/stripe/resources/margin.rb +0 -64
  777. data/lib/stripe/resources/order.rb +0 -987
  778. data/lib/stripe/resources/payment_method_balance.rb +0 -68
  779. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  780. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  781. data/lib/stripe/resources/quote_line.rb +0 -521
  782. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1166
  783. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -906
  784. data/lib/stripe/resources/tax/form.rb +0 -264
  785. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  786. data/lib/stripe/resources/transit_balance.rb +0 -45
  787. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  788. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  789. data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
  790. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  791. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  792. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  793. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  794. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
  795. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  796. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  797. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  798. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  799. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  800. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  801. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  802. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  803. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
  804. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  805. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  806. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  807. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  808. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  809. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  810. data/lib/stripe/resources/v2/billing/service_action.rb +0 -244
  811. data/lib/stripe/resources/v2/core/account.rb +0 -4967
  812. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  813. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  814. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  815. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  816. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
  817. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  818. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  819. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  820. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  821. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  822. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  823. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
  824. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  825. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  826. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -198
  827. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
  828. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  829. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
  830. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -140
  831. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  832. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  833. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  834. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  835. data/lib/stripe/resources/v2/reporting/report.rb +0 -116
  836. data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
  837. data/lib/stripe/services/account_notice_service.rb +0 -39
  838. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  839. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  840. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  841. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  842. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  843. data/lib/stripe/services/capital_service.rb +0 -15
  844. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
  845. data/lib/stripe/services/delegated_checkout_service.rb +0 -13
  846. data/lib/stripe/services/external_account_service.rb +0 -68
  847. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  848. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  849. data/lib/stripe/services/fx_quote_service.rb +0 -27
  850. data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
  851. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  852. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  853. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  854. data/lib/stripe/services/issuing/program_service.rb +0 -52
  855. data/lib/stripe/services/margin_service.rb +0 -50
  856. data/lib/stripe/services/order_line_item_service.rb +0 -17
  857. data/lib/stripe/services/order_service.rb +0 -78
  858. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  859. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  860. data/lib/stripe/services/privacy_service.rb +0 -13
  861. data/lib/stripe/services/quote_line_service.rb +0 -17
  862. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  863. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  864. data/lib/stripe/services/tax/form_service.rb +0 -37
  865. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  866. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
  867. data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
  868. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  869. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  870. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  871. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  872. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  873. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  874. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  875. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  876. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  877. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  878. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  879. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  880. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  881. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  882. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
  883. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
  884. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  885. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  886. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  887. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  888. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  889. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  890. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  891. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  892. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  893. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  894. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  895. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  896. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  897. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
  898. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  899. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  900. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  901. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  902. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  903. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  904. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  905. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  906. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  907. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  908. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  909. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  910. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  911. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  912. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  913. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  914. data/lib/stripe/services/v2/money_management_service.rb +0 -33
  915. data/lib/stripe/services/v2/payment_service.rb +0 -15
  916. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  917. data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
  918. data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
  919. data/lib/stripe/services/v2/reporting_service.rb +0 -16
  920. data/lib/stripe/services/v2/test_helper_service.rb +0 -16
  921. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
  922. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -3,15 +3,6 @@
3
3
 
4
4
  module Stripe
5
5
  class PaymentIntentUpdateParams < ::Stripe::RequestParams
6
- class AllocatedFunds < ::Stripe::RequestParams
7
- # Whether Allocated Funds creation is enabled for this PaymentIntent.
8
- attr_accessor :enabled
9
-
10
- def initialize(enabled: nil)
11
- @enabled = enabled
12
- end
13
- end
14
-
15
6
  class AmountDetails < ::Stripe::RequestParams
16
7
  class LineItem < ::Stripe::RequestParams
17
8
  class PaymentMethodOptions < ::Stripe::RequestParams
@@ -88,26 +79,32 @@ module Stripe
88
79
  end
89
80
 
90
81
  class Tax < ::Stripe::RequestParams
91
- # The total tax on an item. Non-negative integer.
82
+ # The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
83
+ #
84
+ # This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
92
85
  attr_accessor :total_tax_amount
93
86
 
94
87
  def initialize(total_tax_amount: nil)
95
88
  @total_tax_amount = total_tax_amount
96
89
  end
97
90
  end
98
- # The amount an item was discounted for. Positive integer.
91
+ # The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
92
+ #
93
+ # This field is mutually exclusive with the `amount_details[discount_amount]` field.
99
94
  attr_accessor :discount_amount
100
95
  # Payment method-specific information for line items.
101
96
  attr_accessor :payment_method_options
102
- # Unique identifier of the product. At most 12 characters long.
97
+ # The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
103
98
  attr_accessor :product_code
104
- # Name of the product. At most 100 characters long.
99
+ # The product name of the line item. Required for L3 rates. At most 1024 characters long.
100
+ #
101
+ # For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
105
102
  attr_accessor :product_name
106
- # Number of items of the product. Positive integer.
103
+ # The quantity of items. Required for L3 rates. An integer greater than 0.
107
104
  attr_accessor :quantity
108
105
  # Contains information about the tax on the item.
109
106
  attr_accessor :tax
110
- # Cost of the product. Non-negative integer.
107
+ # The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
111
108
  attr_accessor :unit_cost
112
109
  # A unit of measure for the line item, such as gallons, feet, meters, etc.
113
110
  attr_accessor :unit_of_measure
@@ -134,11 +131,11 @@ module Stripe
134
131
  end
135
132
 
136
133
  class Shipping < ::Stripe::RequestParams
137
- # Portion of the amount that is for shipping.
134
+ # If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.
138
135
  attr_accessor :amount
139
- # The postal code that represents the shipping source.
136
+ # If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
140
137
  attr_accessor :from_postal_code
141
- # The postal code that represents the shipping destination.
138
+ # If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
142
139
  attr_accessor :to_postal_code
143
140
 
144
141
  def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
@@ -149,14 +146,18 @@ module Stripe
149
146
  end
150
147
 
151
148
  class Tax < ::Stripe::RequestParams
152
- # Total portion of the amount that is for tax.
149
+ # The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
150
+ #
151
+ # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
153
152
  attr_accessor :total_tax_amount
154
153
 
155
154
  def initialize(total_tax_amount: nil)
156
155
  @total_tax_amount = total_tax_amount
157
156
  end
158
157
  end
159
- # The total discount applied on the transaction.
158
+ # The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
159
+ #
160
+ # This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
160
161
  attr_accessor :discount_amount
161
162
  # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
162
163
  attr_accessor :line_items
@@ -190,768 +191,29 @@ module Stripe
190
191
  @tax = tax
191
192
  end
192
193
  end
193
- # Arguments passed in automations
194
- attr_accessor :inputs
195
-
196
- def initialize(inputs: nil)
197
- @inputs = inputs
198
- end
199
- end
200
-
201
- class MandateData < ::Stripe::RequestParams
202
- class CustomerAcceptance < ::Stripe::RequestParams
203
- class Online < ::Stripe::RequestParams
204
- # The IP address from which the Mandate was accepted by the customer.
205
- attr_accessor :ip_address
206
- # The user agent of the browser from which the Mandate was accepted by the customer.
207
- attr_accessor :user_agent
208
-
209
- def initialize(ip_address: nil, user_agent: nil)
210
- @ip_address = ip_address
211
- @user_agent = user_agent
212
- end
213
- end
214
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
215
- attr_accessor :online
216
- # The type of customer acceptance information included with the Mandate.
217
- attr_accessor :type
218
-
219
- def initialize(online: nil, type: nil)
220
- @online = online
221
- @type = type
222
- end
223
- end
224
- # This hash contains details about the customer acceptance of the Mandate.
225
- attr_accessor :customer_acceptance
226
-
227
- def initialize(customer_acceptance: nil)
228
- @customer_acceptance = customer_acceptance
229
- end
230
- end
231
-
232
- class PaymentDetails < ::Stripe::RequestParams
233
- class Benefit < ::Stripe::RequestParams
234
- class FrMealVoucher < ::Stripe::RequestParams
235
- # The 14-digit SIRET of the meal voucher acceptor.
236
- attr_accessor :siret
237
-
238
- def initialize(siret: nil)
239
- @siret = siret
240
- end
241
- end
242
- # French meal voucher benefit details for this PaymentIntent.
243
- attr_accessor :fr_meal_voucher
244
-
245
- def initialize(fr_meal_voucher: nil)
246
- @fr_meal_voucher = fr_meal_voucher
247
- end
248
- end
249
-
250
- class CarRental < ::Stripe::RequestParams
251
- class Affiliate < ::Stripe::RequestParams
252
- # The name of the affiliate that originated the purchase.
253
- attr_accessor :name
254
-
255
- def initialize(name: nil)
256
- @name = name
257
- end
258
- end
259
-
260
- class Delivery < ::Stripe::RequestParams
261
- class Recipient < ::Stripe::RequestParams
262
- # The email of the recipient the ticket is delivered to.
263
- attr_accessor :email
264
- # The name of the recipient the ticket is delivered to.
265
- attr_accessor :name
266
- # The phone number of the recipient the ticket is delivered to.
267
- attr_accessor :phone
268
-
269
- def initialize(email: nil, name: nil, phone: nil)
270
- @email = email
271
- @name = name
272
- @phone = phone
273
- end
274
- end
275
- # The delivery method for the payment
276
- attr_accessor :mode
277
- # Details of the recipient.
278
- attr_accessor :recipient
279
-
280
- def initialize(mode: nil, recipient: nil)
281
- @mode = mode
282
- @recipient = recipient
283
- end
284
- end
285
-
286
- class Distance < ::Stripe::RequestParams
287
- # Distance traveled.
288
- attr_accessor :amount
289
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
290
- attr_accessor :unit
291
-
292
- def initialize(amount: nil, unit: nil)
293
- @amount = amount
294
- @unit = unit
295
- end
296
- end
297
-
298
- class Driver < ::Stripe::RequestParams
299
- # Driver's identification number.
300
- attr_accessor :driver_identification_number
301
- # Driver's tax number.
302
- attr_accessor :driver_tax_number
303
- # Full name of the person or entity on the car reservation.
304
- attr_accessor :name
305
-
306
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
307
- @driver_identification_number = driver_identification_number
308
- @driver_tax_number = driver_tax_number
309
- @name = name
310
- end
311
- end
312
-
313
- class PickupAddress < ::Stripe::RequestParams
314
- # City, district, suburb, town, or village.
315
- attr_accessor :city
316
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
317
- attr_accessor :country
318
- # Address line 1, such as the street, PO Box, or company name.
319
- attr_accessor :line1
320
- # Address line 2, such as the apartment, suite, unit, or building.
321
- attr_accessor :line2
322
- # ZIP or postal code.
323
- attr_accessor :postal_code
324
- # State, county, province, or region.
325
- attr_accessor :state
326
-
327
- def initialize(
328
- city: nil,
329
- country: nil,
330
- line1: nil,
331
- line2: nil,
332
- postal_code: nil,
333
- state: nil
334
- )
335
- @city = city
336
- @country = country
337
- @line1 = line1
338
- @line2 = line2
339
- @postal_code = postal_code
340
- @state = state
341
- end
342
- end
343
-
344
- class ReturnAddress < ::Stripe::RequestParams
345
- # City, district, suburb, town, or village.
346
- attr_accessor :city
347
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
348
- attr_accessor :country
349
- # Address line 1, such as the street, PO Box, or company name.
350
- attr_accessor :line1
351
- # Address line 2, such as the apartment, suite, unit, or building.
352
- attr_accessor :line2
353
- # ZIP or postal code.
354
- attr_accessor :postal_code
355
- # State, county, province, or region.
356
- attr_accessor :state
357
-
358
- def initialize(
359
- city: nil,
360
- country: nil,
361
- line1: nil,
362
- line2: nil,
363
- postal_code: nil,
364
- state: nil
365
- )
366
- @city = city
367
- @country = country
368
- @line1 = line1
369
- @line2 = line2
370
- @postal_code = postal_code
371
- @state = state
372
- end
373
- end
374
- # Affiliate details for this purchase.
375
- attr_accessor :affiliate
376
- # The booking number associated with the car rental.
377
- attr_accessor :booking_number
378
- # Class code of the car.
379
- attr_accessor :car_class_code
380
- # Make of the car.
381
- attr_accessor :car_make
382
- # Model of the car.
383
- attr_accessor :car_model
384
- # The name of the rental car company.
385
- attr_accessor :company
386
- # The customer service phone number of the car rental company.
387
- attr_accessor :customer_service_phone_number
388
- # Number of days the car is being rented.
389
- attr_accessor :days_rented
390
- # Delivery details for this purchase.
391
- attr_accessor :delivery
392
- # The details of the distance traveled during the rental period.
393
- attr_accessor :distance
394
- # The details of the passengers in the travel reservation
395
- attr_accessor :drivers
396
- # List of additional charges being billed.
397
- attr_accessor :extra_charges
398
- # Indicates if the customer did not keep nor cancel their booking.
399
- attr_accessor :no_show
400
- # Car pick-up address.
401
- attr_accessor :pickup_address
402
- # Car pick-up time. Measured in seconds since the Unix epoch.
403
- attr_accessor :pickup_at
404
- # Name of the pickup location.
405
- attr_accessor :pickup_location_name
406
- # Rental rate.
407
- attr_accessor :rate_amount
408
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
409
- attr_accessor :rate_interval
410
- # The name of the person or entity renting the car.
411
- attr_accessor :renter_name
412
- # Car return address.
413
- attr_accessor :return_address
414
- # Car return time. Measured in seconds since the Unix epoch.
415
- attr_accessor :return_at
416
- # Name of the return location.
417
- attr_accessor :return_location_name
418
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
419
- attr_accessor :tax_exempt
420
- # The vehicle identification number.
421
- attr_accessor :vehicle_identification_number
422
-
423
- def initialize(
424
- affiliate: nil,
425
- booking_number: nil,
426
- car_class_code: nil,
427
- car_make: nil,
428
- car_model: nil,
429
- company: nil,
430
- customer_service_phone_number: nil,
431
- days_rented: nil,
432
- delivery: nil,
433
- distance: nil,
434
- drivers: nil,
435
- extra_charges: nil,
436
- no_show: nil,
437
- pickup_address: nil,
438
- pickup_at: nil,
439
- pickup_location_name: nil,
440
- rate_amount: nil,
441
- rate_interval: nil,
442
- renter_name: nil,
443
- return_address: nil,
444
- return_at: nil,
445
- return_location_name: nil,
446
- tax_exempt: nil,
447
- vehicle_identification_number: nil
448
- )
449
- @affiliate = affiliate
450
- @booking_number = booking_number
451
- @car_class_code = car_class_code
452
- @car_make = car_make
453
- @car_model = car_model
454
- @company = company
455
- @customer_service_phone_number = customer_service_phone_number
456
- @days_rented = days_rented
457
- @delivery = delivery
458
- @distance = distance
459
- @drivers = drivers
460
- @extra_charges = extra_charges
461
- @no_show = no_show
462
- @pickup_address = pickup_address
463
- @pickup_at = pickup_at
464
- @pickup_location_name = pickup_location_name
465
- @rate_amount = rate_amount
466
- @rate_interval = rate_interval
467
- @renter_name = renter_name
468
- @return_address = return_address
469
- @return_at = return_at
470
- @return_location_name = return_location_name
471
- @tax_exempt = tax_exempt
472
- @vehicle_identification_number = vehicle_identification_number
473
- end
474
- end
475
-
476
- class EventDetails < ::Stripe::RequestParams
477
- class Address < ::Stripe::RequestParams
478
- # City, district, suburb, town, or village.
479
- attr_accessor :city
480
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
481
- attr_accessor :country
482
- # Address line 1, such as the street, PO Box, or company name.
483
- attr_accessor :line1
484
- # Address line 2, such as the apartment, suite, unit, or building.
485
- attr_accessor :line2
486
- # ZIP or postal code.
487
- attr_accessor :postal_code
488
- # State, county, province, or region.
489
- attr_accessor :state
490
-
491
- def initialize(
492
- city: nil,
493
- country: nil,
494
- line1: nil,
495
- line2: nil,
496
- postal_code: nil,
497
- state: nil
498
- )
499
- @city = city
500
- @country = country
501
- @line1 = line1
502
- @line2 = line2
503
- @postal_code = postal_code
504
- @state = state
505
- end
506
- end
507
-
508
- class Affiliate < ::Stripe::RequestParams
509
- # The name of the affiliate that originated the purchase.
510
- attr_accessor :name
511
-
512
- def initialize(name: nil)
513
- @name = name
514
- end
515
- end
516
-
517
- class Delivery < ::Stripe::RequestParams
518
- class Recipient < ::Stripe::RequestParams
519
- # The email of the recipient the ticket is delivered to.
520
- attr_accessor :email
521
- # The name of the recipient the ticket is delivered to.
522
- attr_accessor :name
523
- # The phone number of the recipient the ticket is delivered to.
524
- attr_accessor :phone
525
-
526
- def initialize(email: nil, name: nil, phone: nil)
527
- @email = email
528
- @name = name
529
- @phone = phone
530
- end
531
- end
532
- # The delivery method for the payment
533
- attr_accessor :mode
534
- # Details of the recipient.
535
- attr_accessor :recipient
536
-
537
- def initialize(mode: nil, recipient: nil)
538
- @mode = mode
539
- @recipient = recipient
540
- end
541
- end
542
- # Indicates if the tickets are digitally checked when entering the venue.
543
- attr_accessor :access_controlled_venue
544
- # The event location's address.
545
- attr_accessor :address
546
- # Affiliate details for this purchase.
547
- attr_accessor :affiliate
548
- # The name of the company
549
- attr_accessor :company
550
- # Delivery details for this purchase.
551
- attr_accessor :delivery
552
- # Event end time. Measured in seconds since the Unix epoch.
553
- attr_accessor :ends_at
554
- # Type of the event entertainment (concert, sports event etc)
555
- attr_accessor :genre
556
- # The name of the event.
557
- attr_accessor :name
558
- # Event start time. Measured in seconds since the Unix epoch.
559
- attr_accessor :starts_at
560
-
561
- def initialize(
562
- access_controlled_venue: nil,
563
- address: nil,
564
- affiliate: nil,
565
- company: nil,
566
- delivery: nil,
567
- ends_at: nil,
568
- genre: nil,
569
- name: nil,
570
- starts_at: nil
571
- )
572
- @access_controlled_venue = access_controlled_venue
573
- @address = address
574
- @affiliate = affiliate
575
- @company = company
576
- @delivery = delivery
577
- @ends_at = ends_at
578
- @genre = genre
579
- @name = name
580
- @starts_at = starts_at
581
- end
582
- end
583
-
584
- class Flight < ::Stripe::RequestParams
585
- class Affiliate < ::Stripe::RequestParams
586
- # The name of the affiliate that originated the purchase.
587
- attr_accessor :name
588
-
589
- def initialize(name: nil)
590
- @name = name
591
- end
592
- end
593
-
594
- class Delivery < ::Stripe::RequestParams
595
- class Recipient < ::Stripe::RequestParams
596
- # The email of the recipient the ticket is delivered to.
597
- attr_accessor :email
598
- # The name of the recipient the ticket is delivered to.
599
- attr_accessor :name
600
- # The phone number of the recipient the ticket is delivered to.
601
- attr_accessor :phone
602
-
603
- def initialize(email: nil, name: nil, phone: nil)
604
- @email = email
605
- @name = name
606
- @phone = phone
607
- end
608
- end
609
- # The delivery method for the payment
610
- attr_accessor :mode
611
- # Details of the recipient.
612
- attr_accessor :recipient
613
-
614
- def initialize(mode: nil, recipient: nil)
615
- @mode = mode
616
- @recipient = recipient
617
- end
618
- end
619
-
620
- class Passenger < ::Stripe::RequestParams
621
- # Full name of the person or entity on the flight reservation.
622
- attr_accessor :name
623
-
624
- def initialize(name: nil)
625
- @name = name
626
- end
627
- end
628
-
629
- class Segment < ::Stripe::RequestParams
630
- # The flight segment amount.
631
- attr_accessor :amount
632
- # The International Air Transport Association (IATA) airport code for the arrival airport.
633
- attr_accessor :arrival_airport
634
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
635
- attr_accessor :arrives_at
636
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
637
- attr_accessor :carrier
638
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
639
- attr_accessor :departs_at
640
- # The International Air Transport Association (IATA) airport code for the departure airport.
641
- attr_accessor :departure_airport
642
- # The flight number associated with the segment
643
- attr_accessor :flight_number
644
- # The fare class for the segment.
645
- attr_accessor :service_class
646
-
647
- def initialize(
648
- amount: nil,
649
- arrival_airport: nil,
650
- arrives_at: nil,
651
- carrier: nil,
652
- departs_at: nil,
653
- departure_airport: nil,
654
- flight_number: nil,
655
- service_class: nil
656
- )
657
- @amount = amount
658
- @arrival_airport = arrival_airport
659
- @arrives_at = arrives_at
660
- @carrier = carrier
661
- @departs_at = departs_at
662
- @departure_airport = departure_airport
663
- @flight_number = flight_number
664
- @service_class = service_class
665
- end
666
- end
667
- # Affiliate details for this purchase.
668
- attr_accessor :affiliate
669
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
670
- attr_accessor :agency_number
671
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
672
- attr_accessor :carrier
673
- # Delivery details for this purchase.
674
- attr_accessor :delivery
675
- # The name of the person or entity on the reservation.
676
- attr_accessor :passenger_name
677
- # The details of the passengers in the travel reservation.
678
- attr_accessor :passengers
679
- # The individual flight segments associated with the trip.
680
- attr_accessor :segments
681
- # The ticket number associated with the travel reservation.
682
- attr_accessor :ticket_number
683
-
684
- def initialize(
685
- affiliate: nil,
686
- agency_number: nil,
687
- carrier: nil,
688
- delivery: nil,
689
- passenger_name: nil,
690
- passengers: nil,
691
- segments: nil,
692
- ticket_number: nil
693
- )
694
- @affiliate = affiliate
695
- @agency_number = agency_number
696
- @carrier = carrier
697
- @delivery = delivery
698
- @passenger_name = passenger_name
699
- @passengers = passengers
700
- @segments = segments
701
- @ticket_number = ticket_number
702
- end
703
- end
704
-
705
- class Lodging < ::Stripe::RequestParams
706
- class Address < ::Stripe::RequestParams
707
- # City, district, suburb, town, or village.
708
- attr_accessor :city
709
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
710
- attr_accessor :country
711
- # Address line 1, such as the street, PO Box, or company name.
712
- attr_accessor :line1
713
- # Address line 2, such as the apartment, suite, unit, or building.
714
- attr_accessor :line2
715
- # ZIP or postal code.
716
- attr_accessor :postal_code
717
- # State, county, province, or region.
718
- attr_accessor :state
719
-
720
- def initialize(
721
- city: nil,
722
- country: nil,
723
- line1: nil,
724
- line2: nil,
725
- postal_code: nil,
726
- state: nil
727
- )
728
- @city = city
729
- @country = country
730
- @line1 = line1
731
- @line2 = line2
732
- @postal_code = postal_code
733
- @state = state
734
- end
735
- end
736
-
737
- class Affiliate < ::Stripe::RequestParams
738
- # The name of the affiliate that originated the purchase.
739
- attr_accessor :name
740
-
741
- def initialize(name: nil)
742
- @name = name
743
- end
744
- end
745
-
746
- class Delivery < ::Stripe::RequestParams
747
- class Recipient < ::Stripe::RequestParams
748
- # The email of the recipient the ticket is delivered to.
749
- attr_accessor :email
750
- # The name of the recipient the ticket is delivered to.
751
- attr_accessor :name
752
- # The phone number of the recipient the ticket is delivered to.
753
- attr_accessor :phone
754
-
755
- def initialize(email: nil, name: nil, phone: nil)
756
- @email = email
757
- @name = name
758
- @phone = phone
759
- end
760
- end
761
- # The delivery method for the payment
762
- attr_accessor :mode
763
- # Details of the recipient.
764
- attr_accessor :recipient
765
-
766
- def initialize(mode: nil, recipient: nil)
767
- @mode = mode
768
- @recipient = recipient
769
- end
770
- end
771
-
772
- class Passenger < ::Stripe::RequestParams
773
- # Full name of the person or entity on the lodging reservation.
774
- attr_accessor :name
775
-
776
- def initialize(name: nil)
777
- @name = name
778
- end
779
- end
780
- # The lodging location's address.
781
- attr_accessor :address
782
- # The number of adults on the booking
783
- attr_accessor :adults
784
- # Affiliate details for this purchase.
785
- attr_accessor :affiliate
786
- # The booking number associated with the lodging reservation.
787
- attr_accessor :booking_number
788
- # The lodging category
789
- attr_accessor :category
790
- # Lodging check-in time. Measured in seconds since the Unix epoch.
791
- attr_accessor :checkin_at
792
- # Lodging check-out time. Measured in seconds since the Unix epoch.
793
- attr_accessor :checkout_at
794
- # The customer service phone number of the lodging company.
795
- attr_accessor :customer_service_phone_number
796
- # The daily lodging room rate.
797
- attr_accessor :daily_room_rate_amount
798
- # Delivery details for this purchase.
799
- attr_accessor :delivery
800
- # List of additional charges being billed.
801
- attr_accessor :extra_charges
802
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
803
- attr_accessor :fire_safety_act_compliance
804
- # The name of the lodging location.
805
- attr_accessor :name
806
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
807
- attr_accessor :no_show
808
- # The number of rooms on the booking
809
- attr_accessor :number_of_rooms
810
- # The details of the passengers in the travel reservation
811
- attr_accessor :passengers
812
- # The phone number of the lodging location.
813
- attr_accessor :property_phone_number
814
- # The room class for this purchase.
815
- attr_accessor :room_class
816
- # The number of room nights
817
- attr_accessor :room_nights
818
- # The total tax amount associating with the room reservation.
819
- attr_accessor :total_room_tax_amount
820
- # The total tax amount
821
- attr_accessor :total_tax_amount
822
-
823
- def initialize(
824
- address: nil,
825
- adults: nil,
826
- affiliate: nil,
827
- booking_number: nil,
828
- category: nil,
829
- checkin_at: nil,
830
- checkout_at: nil,
831
- customer_service_phone_number: nil,
832
- daily_room_rate_amount: nil,
833
- delivery: nil,
834
- extra_charges: nil,
835
- fire_safety_act_compliance: nil,
836
- name: nil,
837
- no_show: nil,
838
- number_of_rooms: nil,
839
- passengers: nil,
840
- property_phone_number: nil,
841
- room_class: nil,
842
- room_nights: nil,
843
- total_room_tax_amount: nil,
844
- total_tax_amount: nil
845
- )
846
- @address = address
847
- @adults = adults
848
- @affiliate = affiliate
849
- @booking_number = booking_number
850
- @category = category
851
- @checkin_at = checkin_at
852
- @checkout_at = checkout_at
853
- @customer_service_phone_number = customer_service_phone_number
854
- @daily_room_rate_amount = daily_room_rate_amount
855
- @delivery = delivery
856
- @extra_charges = extra_charges
857
- @fire_safety_act_compliance = fire_safety_act_compliance
858
- @name = name
859
- @no_show = no_show
860
- @number_of_rooms = number_of_rooms
861
- @passengers = passengers
862
- @property_phone_number = property_phone_number
863
- @room_class = room_class
864
- @room_nights = room_nights
865
- @total_room_tax_amount = total_room_tax_amount
866
- @total_tax_amount = total_tax_amount
867
- end
868
- end
869
-
870
- class Subscription < ::Stripe::RequestParams
871
- class Affiliate < ::Stripe::RequestParams
872
- # The name of the affiliate that originated the purchase.
873
- attr_accessor :name
874
-
875
- def initialize(name: nil)
876
- @name = name
877
- end
878
- end
879
-
880
- class BillingInterval < ::Stripe::RequestParams
881
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
882
- attr_accessor :count
883
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
884
- attr_accessor :interval
885
-
886
- def initialize(count: nil, interval: nil)
887
- @count = count
888
- @interval = interval
889
- end
890
- end
891
- # Affiliate details for this purchase.
892
- attr_accessor :affiliate
893
- # Info whether the subscription will be auto renewed upon expiry.
894
- attr_accessor :auto_renewal
895
- # Subscription billing details for this purchase.
896
- attr_accessor :billing_interval
897
- # Subscription end time. Measured in seconds since the Unix epoch.
898
- attr_accessor :ends_at
899
- # Name of the product on subscription. e.g. Apple Music Subscription
900
- attr_accessor :name
901
- # Subscription start time. Measured in seconds since the Unix epoch.
902
- attr_accessor :starts_at
903
-
904
- def initialize(
905
- affiliate: nil,
906
- auto_renewal: nil,
907
- billing_interval: nil,
908
- ends_at: nil,
909
- name: nil,
910
- starts_at: nil
911
- )
912
- @affiliate = affiliate
913
- @auto_renewal = auto_renewal
914
- @billing_interval = billing_interval
915
- @ends_at = ends_at
916
- @name = name
917
- @starts_at = starts_at
918
- end
919
- end
920
- # Benefit details for this PaymentIntent
921
- attr_accessor :benefit
922
- # Car rental details for this PaymentIntent.
923
- attr_accessor :car_rental
924
- # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
194
+ # Arguments passed in automations
195
+ attr_accessor :inputs
196
+
197
+ def initialize(inputs: nil)
198
+ @inputs = inputs
199
+ end
200
+ end
201
+
202
+ class PaymentDetails < ::Stripe::RequestParams
203
+ # A unique value to identify the customer. This field is available only for card payments.
204
+ #
205
+ # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
925
206
  attr_accessor :customer_reference
926
- # Event details for this PaymentIntent
927
- attr_accessor :event_details
928
- # Flight reservation details for this PaymentIntent
929
- attr_accessor :flight
930
- # Lodging reservation details for this PaymentIntent
931
- attr_accessor :lodging
932
- # A unique value assigned by the business to identify the transaction.
207
+ # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
208
+ #
209
+ # Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
210
+ #
211
+ # For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
933
212
  attr_accessor :order_reference
934
- # Subscription details for this PaymentIntent
935
- attr_accessor :subscription
936
213
 
937
- def initialize(
938
- benefit: nil,
939
- car_rental: nil,
940
- customer_reference: nil,
941
- event_details: nil,
942
- flight: nil,
943
- lodging: nil,
944
- order_reference: nil,
945
- subscription: nil
946
- )
947
- @benefit = benefit
948
- @car_rental = car_rental
214
+ def initialize(customer_reference: nil, order_reference: nil)
949
215
  @customer_reference = customer_reference
950
- @event_details = event_details
951
- @flight = flight
952
- @lodging = lodging
953
216
  @order_reference = order_reference
954
- @subscription = subscription
955
217
  end
956
218
  end
957
219
 
@@ -1092,18 +354,8 @@ module Stripe
1092
354
  end
1093
355
 
1094
356
  class Giropay < ::Stripe::RequestParams; end
1095
- class Gopay < ::Stripe::RequestParams; end
1096
357
  class Grabpay < ::Stripe::RequestParams; end
1097
358
 
1098
- class IdBankTransfer < ::Stripe::RequestParams
1099
- # Bank where the account is held.
1100
- attr_accessor :bank
1101
-
1102
- def initialize(bank: nil)
1103
- @bank = bank
1104
- end
1105
- end
1106
-
1107
359
  class Ideal < ::Stripe::RequestParams
1108
360
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
1109
361
  attr_accessor :bank
@@ -1201,26 +453,8 @@ module Stripe
1201
453
  class Payco < ::Stripe::RequestParams; end
1202
454
  class Paynow < ::Stripe::RequestParams; end
1203
455
  class Paypal < ::Stripe::RequestParams; end
1204
- class Paypay < ::Stripe::RequestParams; end
1205
-
1206
- class Payto < ::Stripe::RequestParams
1207
- # The account number for the bank account.
1208
- attr_accessor :account_number
1209
- # Bank-State-Branch number of the bank account.
1210
- attr_accessor :bsb_number
1211
- # The PayID alias for the bank account.
1212
- attr_accessor :pay_id
1213
-
1214
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
1215
- @account_number = account_number
1216
- @bsb_number = bsb_number
1217
- @pay_id = pay_id
1218
- end
1219
- end
1220
-
1221
456
  class Pix < ::Stripe::RequestParams; end
1222
457
  class Promptpay < ::Stripe::RequestParams; end
1223
- class Qris < ::Stripe::RequestParams; end
1224
458
 
1225
459
  class RadarOptions < ::Stripe::RequestParams
1226
460
  # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -1231,29 +465,6 @@ module Stripe
1231
465
  end
1232
466
  end
1233
467
 
1234
- class Rechnung < ::Stripe::RequestParams
1235
- class Dob < ::Stripe::RequestParams
1236
- # The day of birth, between 1 and 31.
1237
- attr_accessor :day
1238
- # The month of birth, between 1 and 12.
1239
- attr_accessor :month
1240
- # The four-digit year of birth.
1241
- attr_accessor :year
1242
-
1243
- def initialize(day: nil, month: nil, year: nil)
1244
- @day = day
1245
- @month = month
1246
- @year = year
1247
- end
1248
- end
1249
- # Customer's date of birth
1250
- attr_accessor :dob
1251
-
1252
- def initialize(dob: nil)
1253
- @dob = dob
1254
- end
1255
- end
1256
-
1257
468
  class RevolutPay < ::Stripe::RequestParams; end
1258
469
  class SamsungPay < ::Stripe::RequestParams; end
1259
470
  class Satispay < ::Stripe::RequestParams; end
@@ -1267,8 +478,6 @@ module Stripe
1267
478
  end
1268
479
  end
1269
480
 
1270
- class Shopeepay < ::Stripe::RequestParams; end
1271
-
1272
481
  class Sofort < ::Stripe::RequestParams
1273
482
  # Two-letter ISO code representing the country the bank account is located in.
1274
483
  attr_accessor :country
@@ -1278,18 +487,6 @@ module Stripe
1278
487
  end
1279
488
  end
1280
489
 
1281
- class StripeBalance < ::Stripe::RequestParams
1282
- # The connected account ID whose Stripe balance to use as the source of payment
1283
- attr_accessor :account
1284
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1285
- attr_accessor :source_type
1286
-
1287
- def initialize(account: nil, source_type: nil)
1288
- @account = account
1289
- @source_type = source_type
1290
- end
1291
- end
1292
-
1293
490
  class Swish < ::Stripe::RequestParams; end
1294
491
  class Twint < ::Stripe::RequestParams; end
1295
492
 
@@ -1362,12 +559,8 @@ module Stripe
1362
559
  attr_accessor :fpx
1363
560
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1364
561
  attr_accessor :giropay
1365
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1366
- attr_accessor :gopay
1367
562
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1368
563
  attr_accessor :grabpay
1369
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1370
- attr_accessor :id_bank_transfer
1371
564
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1372
565
  attr_accessor :ideal
1373
566
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -1406,20 +599,12 @@ module Stripe
1406
599
  attr_accessor :paynow
1407
600
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
1408
601
  attr_accessor :paypal
1409
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
1410
- attr_accessor :paypay
1411
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1412
- attr_accessor :payto
1413
602
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1414
603
  attr_accessor :pix
1415
604
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1416
605
  attr_accessor :promptpay
1417
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1418
- attr_accessor :qris
1419
606
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1420
607
  attr_accessor :radar_options
1421
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1422
- attr_accessor :rechnung
1423
608
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1424
609
  attr_accessor :revolut_pay
1425
610
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -1428,12 +613,8 @@ module Stripe
1428
613
  attr_accessor :satispay
1429
614
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
1430
615
  attr_accessor :sepa_debit
1431
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1432
- attr_accessor :shopeepay
1433
616
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1434
617
  attr_accessor :sofort
1435
- # This hash contains details about the Stripe balance payment method.
1436
- attr_accessor :stripe_balance
1437
618
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
1438
619
  attr_accessor :swish
1439
620
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -1468,9 +649,7 @@ module Stripe
1468
649
  eps: nil,
1469
650
  fpx: nil,
1470
651
  giropay: nil,
1471
- gopay: nil,
1472
652
  grabpay: nil,
1473
- id_bank_transfer: nil,
1474
653
  ideal: nil,
1475
654
  interac_present: nil,
1476
655
  kakao_pay: nil,
@@ -1490,20 +669,14 @@ module Stripe
1490
669
  payco: nil,
1491
670
  paynow: nil,
1492
671
  paypal: nil,
1493
- paypay: nil,
1494
- payto: nil,
1495
672
  pix: nil,
1496
673
  promptpay: nil,
1497
- qris: nil,
1498
674
  radar_options: nil,
1499
- rechnung: nil,
1500
675
  revolut_pay: nil,
1501
676
  samsung_pay: nil,
1502
677
  satispay: nil,
1503
678
  sepa_debit: nil,
1504
- shopeepay: nil,
1505
679
  sofort: nil,
1506
- stripe_balance: nil,
1507
680
  swish: nil,
1508
681
  twint: nil,
1509
682
  type: nil,
@@ -1531,9 +704,7 @@ module Stripe
1531
704
  @eps = eps
1532
705
  @fpx = fpx
1533
706
  @giropay = giropay
1534
- @gopay = gopay
1535
707
  @grabpay = grabpay
1536
- @id_bank_transfer = id_bank_transfer
1537
708
  @ideal = ideal
1538
709
  @interac_present = interac_present
1539
710
  @kakao_pay = kakao_pay
@@ -1553,20 +724,14 @@ module Stripe
1553
724
  @payco = payco
1554
725
  @paynow = paynow
1555
726
  @paypal = paypal
1556
- @paypay = paypay
1557
- @payto = payto
1558
727
  @pix = pix
1559
728
  @promptpay = promptpay
1560
- @qris = qris
1561
729
  @radar_options = radar_options
1562
- @rechnung = rechnung
1563
730
  @revolut_pay = revolut_pay
1564
731
  @samsung_pay = samsung_pay
1565
732
  @satispay = satispay
1566
733
  @sepa_debit = sepa_debit
1567
- @shopeepay = shopeepay
1568
734
  @sofort = sofort
1569
- @stripe_balance = stripe_balance
1570
735
  @swish = swish
1571
736
  @twint = twint
1572
737
  @type = type
@@ -1937,48 +1102,6 @@ module Stripe
1937
1102
  end
1938
1103
  end
1939
1104
 
1940
- class StatementDetails < ::Stripe::RequestParams
1941
- class Address < ::Stripe::RequestParams
1942
- # City, district, suburb, town, or village.
1943
- attr_accessor :city
1944
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1945
- attr_accessor :country
1946
- # Address line 1, such as the street, PO Box, or company name.
1947
- attr_accessor :line1
1948
- # Address line 2, such as the apartment, suite, unit, or building.
1949
- attr_accessor :line2
1950
- # ZIP or postal code.
1951
- attr_accessor :postal_code
1952
- # State, county, province, or region.
1953
- attr_accessor :state
1954
-
1955
- def initialize(
1956
- city: nil,
1957
- country: nil,
1958
- line1: nil,
1959
- line2: nil,
1960
- postal_code: nil,
1961
- state: nil
1962
- )
1963
- @city = city
1964
- @country = country
1965
- @line1 = line1
1966
- @line2 = line2
1967
- @postal_code = postal_code
1968
- @state = state
1969
- end
1970
- end
1971
- # Please pass in an address that is within your Stripe user account country
1972
- attr_accessor :address
1973
- # Phone number (e.g., a toll-free number that customers can call)
1974
- attr_accessor :phone
1975
-
1976
- def initialize(address: nil, phone: nil)
1977
- @address = address
1978
- @phone = phone
1979
- end
1980
- end
1981
-
1982
1105
  class ThreeDSecure < ::Stripe::RequestParams
1983
1106
  class NetworkOptions < ::Stripe::RequestParams
1984
1107
  class CartesBancaires < ::Stripe::RequestParams
@@ -2073,8 +1196,6 @@ module Stripe
2073
1196
  attr_accessor :moto
2074
1197
  # Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
2075
1198
  attr_accessor :network
2076
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
2077
- attr_accessor :request_decremental_authorization
2078
1199
  # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
2079
1200
  attr_accessor :request_extended_authorization
2080
1201
  # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
@@ -2083,8 +1204,6 @@ module Stripe
2083
1204
  attr_accessor :request_multicapture
2084
1205
  # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
2085
1206
  attr_accessor :request_overcapture
2086
- # Request partial authorization on this PaymentIntent.
2087
- attr_accessor :request_partial_authorization
2088
1207
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
2089
1208
  attr_accessor :request_three_d_secure
2090
1209
  # When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
@@ -2103,8 +1222,6 @@ module Stripe
2103
1222
  attr_accessor :statement_descriptor_suffix_kana
2104
1223
  # Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
2105
1224
  attr_accessor :statement_descriptor_suffix_kanji
2106
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
2107
- attr_accessor :statement_details
2108
1225
  # If 3D Secure authentication was performed with a third-party provider,
2109
1226
  # the authentication details to use for this payment.
2110
1227
  attr_accessor :three_d_secure
@@ -2116,18 +1233,15 @@ module Stripe
2116
1233
  mandate_options: nil,
2117
1234
  moto: nil,
2118
1235
  network: nil,
2119
- request_decremental_authorization: nil,
2120
1236
  request_extended_authorization: nil,
2121
1237
  request_incremental_authorization: nil,
2122
1238
  request_multicapture: nil,
2123
1239
  request_overcapture: nil,
2124
- request_partial_authorization: nil,
2125
1240
  request_three_d_secure: nil,
2126
1241
  require_cvc_recollection: nil,
2127
1242
  setup_future_usage: nil,
2128
1243
  statement_descriptor_suffix_kana: nil,
2129
1244
  statement_descriptor_suffix_kanji: nil,
2130
- statement_details: nil,
2131
1245
  three_d_secure: nil
2132
1246
  )
2133
1247
  @capture_method = capture_method
@@ -2136,18 +1250,15 @@ module Stripe
2136
1250
  @mandate_options = mandate_options
2137
1251
  @moto = moto
2138
1252
  @network = network
2139
- @request_decremental_authorization = request_decremental_authorization
2140
1253
  @request_extended_authorization = request_extended_authorization
2141
1254
  @request_incremental_authorization = request_incremental_authorization
2142
1255
  @request_multicapture = request_multicapture
2143
1256
  @request_overcapture = request_overcapture
2144
- @request_partial_authorization = request_partial_authorization
2145
1257
  @request_three_d_secure = request_three_d_secure
2146
1258
  @require_cvc_recollection = require_cvc_recollection
2147
1259
  @setup_future_usage = setup_future_usage
2148
1260
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
2149
1261
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
2150
- @statement_details = statement_details
2151
1262
  @three_d_secure = three_d_secure
2152
1263
  end
2153
1264
  end
@@ -2161,6 +1272,12 @@ module Stripe
2161
1272
  @requested_priority = requested_priority
2162
1273
  end
2163
1274
  end
1275
+ # Controls when the funds are captured from the customer's account.
1276
+ #
1277
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1278
+ #
1279
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1280
+ attr_accessor :capture_method
2164
1281
  # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
2165
1282
  attr_accessor :request_extended_authorization
2166
1283
  # Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
@@ -2169,10 +1286,12 @@ module Stripe
2169
1286
  attr_accessor :routing
2170
1287
 
2171
1288
  def initialize(
1289
+ capture_method: nil,
2172
1290
  request_extended_authorization: nil,
2173
1291
  request_incremental_authorization_support: nil,
2174
1292
  routing: nil
2175
1293
  )
1294
+ @capture_method = capture_method
2176
1295
  @request_extended_authorization = request_extended_authorization
2177
1296
  @request_incremental_authorization_support = request_incremental_authorization_support
2178
1297
  @routing = routing
@@ -2318,23 +1437,6 @@ module Stripe
2318
1437
  end
2319
1438
  end
2320
1439
 
2321
- class Gopay < ::Stripe::RequestParams
2322
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2323
- #
2324
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2325
- #
2326
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2327
- #
2328
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2329
- #
2330
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2331
- attr_accessor :setup_future_usage
2332
-
2333
- def initialize(setup_future_usage: nil)
2334
- @setup_future_usage = setup_future_usage
2335
- end
2336
- end
2337
-
2338
1440
  class Grabpay < ::Stripe::RequestParams
2339
1441
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2340
1442
  #
@@ -2352,29 +1454,6 @@ module Stripe
2352
1454
  end
2353
1455
  end
2354
1456
 
2355
- class IdBankTransfer < ::Stripe::RequestParams
2356
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
2357
- attr_accessor :expires_after
2358
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
2359
- attr_accessor :expires_at
2360
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2361
- #
2362
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2363
- #
2364
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2365
- #
2366
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2367
- #
2368
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2369
- attr_accessor :setup_future_usage
2370
-
2371
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
2372
- @expires_after = expires_after
2373
- @expires_at = expires_at
2374
- @setup_future_usage = setup_future_usage
2375
- end
2376
- end
2377
-
2378
1457
  class Ideal < ::Stripe::RequestParams
2379
1458
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2380
1459
  #
@@ -2776,65 +1855,12 @@ module Stripe
2776
1855
  end
2777
1856
 
2778
1857
  class Paypal < ::Stripe::RequestParams
2779
- class LineItem < ::Stripe::RequestParams
2780
- class Tax < ::Stripe::RequestParams
2781
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
2782
- attr_accessor :amount
2783
- # The tax behavior for the line item.
2784
- attr_accessor :behavior
2785
-
2786
- def initialize(amount: nil, behavior: nil)
2787
- @amount = amount
2788
- @behavior = behavior
2789
- end
2790
- end
2791
- # Type of the line item.
2792
- attr_accessor :category
2793
- # Description of the line item.
2794
- attr_accessor :description
2795
- # Descriptive name of the line item.
2796
- attr_accessor :name
2797
- # Quantity of the line item. Must be a positive number.
2798
- attr_accessor :quantity
2799
- # Client facing stock keeping unit, article number or similar.
2800
- attr_accessor :sku
2801
- # The Stripe account ID of the connected account that sells the item.
2802
- attr_accessor :sold_by
2803
- # The tax information for the line item.
2804
- attr_accessor :tax
2805
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
2806
- attr_accessor :unit_amount
2807
-
2808
- def initialize(
2809
- category: nil,
2810
- description: nil,
2811
- name: nil,
2812
- quantity: nil,
2813
- sku: nil,
2814
- sold_by: nil,
2815
- tax: nil,
2816
- unit_amount: nil
2817
- )
2818
- @category = category
2819
- @description = description
2820
- @name = name
2821
- @quantity = quantity
2822
- @sku = sku
2823
- @sold_by = sold_by
2824
- @tax = tax
2825
- @unit_amount = unit_amount
2826
- end
2827
- end
2828
1858
  # Controls when the funds will be captured from the customer's account.
2829
1859
  attr_accessor :capture_method
2830
- # The line items purchased by the customer.
2831
- attr_accessor :line_items
2832
1860
  # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
2833
1861
  attr_accessor :preferred_locale
2834
1862
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
2835
1863
  attr_accessor :reference
2836
- # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
2837
- attr_accessor :reference_id
2838
1864
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
2839
1865
  attr_accessor :risk_correlation_id
2840
1866
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2847,140 +1873,29 @@ module Stripe
2847
1873
  #
2848
1874
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2849
1875
  attr_accessor :setup_future_usage
2850
- # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
2851
- attr_accessor :subsellers
2852
1876
 
2853
1877
  def initialize(
2854
1878
  capture_method: nil,
2855
- line_items: nil,
2856
1879
  preferred_locale: nil,
2857
1880
  reference: nil,
2858
- reference_id: nil,
2859
1881
  risk_correlation_id: nil,
2860
- setup_future_usage: nil,
2861
- subsellers: nil
1882
+ setup_future_usage: nil
2862
1883
  )
2863
1884
  @capture_method = capture_method
2864
- @line_items = line_items
2865
1885
  @preferred_locale = preferred_locale
2866
1886
  @reference = reference
2867
- @reference_id = reference_id
2868
1887
  @risk_correlation_id = risk_correlation_id
2869
1888
  @setup_future_usage = setup_future_usage
2870
- @subsellers = subsellers
2871
- end
2872
- end
2873
-
2874
- class Paypay < ::Stripe::RequestParams
2875
- # Controls when the funds are captured from the customer's account.
2876
- #
2877
- # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2878
- #
2879
- # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2880
- attr_accessor :capture_method
2881
-
2882
- def initialize(capture_method: nil)
2883
- @capture_method = capture_method
2884
- end
2885
- end
2886
-
2887
- class Payto < ::Stripe::RequestParams
2888
- class MandateOptions < ::Stripe::RequestParams
2889
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
2890
- attr_accessor :amount
2891
- # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
2892
- attr_accessor :amount_type
2893
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2894
- attr_accessor :end_date
2895
- # The periodicity at which payments will be collected.
2896
- attr_accessor :payment_schedule
2897
- # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
2898
- attr_accessor :payments_per_period
2899
- # The purpose for which payments are made. Defaults to retail.
2900
- attr_accessor :purpose
2901
-
2902
- def initialize(
2903
- amount: nil,
2904
- amount_type: nil,
2905
- end_date: nil,
2906
- payment_schedule: nil,
2907
- payments_per_period: nil,
2908
- purpose: nil
2909
- )
2910
- @amount = amount
2911
- @amount_type = amount_type
2912
- @end_date = end_date
2913
- @payment_schedule = payment_schedule
2914
- @payments_per_period = payments_per_period
2915
- @purpose = purpose
2916
- end
2917
- end
2918
- # Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
2919
- attr_accessor :mandate_options
2920
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2921
- #
2922
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2923
- #
2924
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2925
- #
2926
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2927
- #
2928
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2929
- attr_accessor :setup_future_usage
2930
-
2931
- def initialize(mandate_options: nil, setup_future_usage: nil)
2932
- @mandate_options = mandate_options
2933
- @setup_future_usage = setup_future_usage
2934
1889
  end
2935
1890
  end
2936
1891
 
2937
1892
  class Pix < ::Stripe::RequestParams
2938
- class MandateOptions < ::Stripe::RequestParams
2939
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
2940
- attr_accessor :amount
2941
- # Determines if the amount includes the IOF tax. Defaults to `never`.
2942
- attr_accessor :amount_includes_iof
2943
- # Type of amount. Defaults to `maximum`.
2944
- attr_accessor :amount_type
2945
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
2946
- attr_accessor :currency
2947
- # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
2948
- attr_accessor :end_date
2949
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
2950
- attr_accessor :payment_schedule
2951
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
2952
- attr_accessor :reference
2953
- # Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
2954
- attr_accessor :start_date
2955
-
2956
- def initialize(
2957
- amount: nil,
2958
- amount_includes_iof: nil,
2959
- amount_type: nil,
2960
- currency: nil,
2961
- end_date: nil,
2962
- payment_schedule: nil,
2963
- reference: nil,
2964
- start_date: nil
2965
- )
2966
- @amount = amount
2967
- @amount_includes_iof = amount_includes_iof
2968
- @amount_type = amount_type
2969
- @currency = currency
2970
- @end_date = end_date
2971
- @payment_schedule = payment_schedule
2972
- @reference = reference
2973
- @start_date = start_date
2974
- end
2975
- end
2976
1893
  # Determines if the amount includes the IOF tax. Defaults to `never`.
2977
1894
  attr_accessor :amount_includes_iof
2978
1895
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
2979
1896
  attr_accessor :expires_after_seconds
2980
1897
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
2981
1898
  attr_accessor :expires_at
2982
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
2983
- attr_accessor :mandate_options
2984
1899
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2985
1900
  #
2986
1901
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2996,13 +1911,11 @@ module Stripe
2996
1911
  amount_includes_iof: nil,
2997
1912
  expires_after_seconds: nil,
2998
1913
  expires_at: nil,
2999
- mandate_options: nil,
3000
1914
  setup_future_usage: nil
3001
1915
  )
3002
1916
  @amount_includes_iof = amount_includes_iof
3003
1917
  @expires_after_seconds = expires_after_seconds
3004
1918
  @expires_at = expires_at
3005
- @mandate_options = mandate_options
3006
1919
  @setup_future_usage = setup_future_usage
3007
1920
  end
3008
1921
  end
@@ -3024,25 +1937,6 @@ module Stripe
3024
1937
  end
3025
1938
  end
3026
1939
 
3027
- class Qris < ::Stripe::RequestParams
3028
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3029
- #
3030
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3031
- #
3032
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3033
- #
3034
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
3035
- #
3036
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3037
- attr_accessor :setup_future_usage
3038
-
3039
- def initialize(setup_future_usage: nil)
3040
- @setup_future_usage = setup_future_usage
3041
- end
3042
- end
3043
-
3044
- class Rechnung < ::Stripe::RequestParams; end
3045
-
3046
1940
  class RevolutPay < ::Stripe::RequestParams
3047
1941
  # Controls when the funds are captured from the customer's account.
3048
1942
  #
@@ -3122,23 +2016,6 @@ module Stripe
3122
2016
  end
3123
2017
  end
3124
2018
 
3125
- class Shopeepay < ::Stripe::RequestParams
3126
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3127
- #
3128
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3129
- #
3130
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3131
- #
3132
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
3133
- #
3134
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3135
- attr_accessor :setup_future_usage
3136
-
3137
- def initialize(setup_future_usage: nil)
3138
- @setup_future_usage = setup_future_usage
3139
- end
3140
- end
3141
-
3142
2019
  class Sofort < ::Stripe::RequestParams
3143
2020
  # Language shown to the payer on redirect.
3144
2021
  attr_accessor :preferred_language
@@ -3159,23 +2036,6 @@ module Stripe
3159
2036
  end
3160
2037
  end
3161
2038
 
3162
- class StripeBalance < ::Stripe::RequestParams
3163
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3164
- #
3165
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3166
- #
3167
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3168
- #
3169
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
3170
- #
3171
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3172
- attr_accessor :setup_future_usage
3173
-
3174
- def initialize(setup_future_usage: nil)
3175
- @setup_future_usage = setup_future_usage
3176
- end
3177
- end
3178
-
3179
2039
  class Swish < ::Stripe::RequestParams
3180
2040
  # A reference for this payment to be displayed in the Swish app.
3181
2041
  attr_accessor :reference
@@ -3218,27 +2078,13 @@ module Stripe
3218
2078
  class Filters < ::Stripe::RequestParams
3219
2079
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3220
2080
  attr_accessor :account_subcategories
3221
- # ID of the institution to use to filter for selectable accounts.
3222
- attr_accessor :institution
3223
2081
 
3224
- def initialize(account_subcategories: nil, institution: nil)
2082
+ def initialize(account_subcategories: nil)
3225
2083
  @account_subcategories = account_subcategories
3226
- @institution = institution
3227
- end
3228
- end
3229
-
3230
- class ManualEntry < ::Stripe::RequestParams
3231
- # Settings for configuring manual entry of account details.
3232
- attr_accessor :mode
3233
-
3234
- def initialize(mode: nil)
3235
- @mode = mode
3236
2084
  end
3237
2085
  end
3238
2086
  # Provide filters for the linked accounts that the customer can select for the payment method.
3239
2087
  attr_accessor :filters
3240
- # Customize manual entry behavior
3241
- attr_accessor :manual_entry
3242
2088
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
3243
2089
  attr_accessor :permissions
3244
2090
  # List of data features that you would like to retrieve upon account creation.
@@ -3246,15 +2092,8 @@ module Stripe
3246
2092
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
3247
2093
  attr_accessor :return_url
3248
2094
 
3249
- def initialize(
3250
- filters: nil,
3251
- manual_entry: nil,
3252
- permissions: nil,
3253
- prefetch: nil,
3254
- return_url: nil
3255
- )
2095
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
3256
2096
  @filters = filters
3257
- @manual_entry = manual_entry
3258
2097
  @permissions = permissions
3259
2098
  @prefetch = prefetch
3260
2099
  @return_url = return_url
@@ -3399,12 +2238,8 @@ module Stripe
3399
2238
  attr_accessor :fpx
3400
2239
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
3401
2240
  attr_accessor :giropay
3402
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
3403
- attr_accessor :gopay
3404
2241
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
3405
2242
  attr_accessor :grabpay
3406
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
3407
- attr_accessor :id_bank_transfer
3408
2243
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
3409
2244
  attr_accessor :ideal
3410
2245
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -3441,18 +2276,10 @@ module Stripe
3441
2276
  attr_accessor :paynow
3442
2277
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
3443
2278
  attr_accessor :paypal
3444
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
3445
- attr_accessor :paypay
3446
- # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
3447
- attr_accessor :payto
3448
2279
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
3449
2280
  attr_accessor :pix
3450
2281
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
3451
2282
  attr_accessor :promptpay
3452
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
3453
- attr_accessor :qris
3454
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
3455
- attr_accessor :rechnung
3456
2283
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
3457
2284
  attr_accessor :revolut_pay
3458
2285
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -3461,12 +2288,8 @@ module Stripe
3461
2288
  attr_accessor :satispay
3462
2289
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
3463
2290
  attr_accessor :sepa_debit
3464
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
3465
- attr_accessor :shopeepay
3466
2291
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
3467
2292
  attr_accessor :sofort
3468
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
3469
- attr_accessor :stripe_balance
3470
2293
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
3471
2294
  attr_accessor :swish
3472
2295
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -3499,9 +2322,7 @@ module Stripe
3499
2322
  eps: nil,
3500
2323
  fpx: nil,
3501
2324
  giropay: nil,
3502
- gopay: nil,
3503
2325
  grabpay: nil,
3504
- id_bank_transfer: nil,
3505
2326
  ideal: nil,
3506
2327
  interac_present: nil,
3507
2328
  kakao_pay: nil,
@@ -3520,19 +2341,13 @@ module Stripe
3520
2341
  payco: nil,
3521
2342
  paynow: nil,
3522
2343
  paypal: nil,
3523
- paypay: nil,
3524
- payto: nil,
3525
2344
  pix: nil,
3526
2345
  promptpay: nil,
3527
- qris: nil,
3528
- rechnung: nil,
3529
2346
  revolut_pay: nil,
3530
2347
  samsung_pay: nil,
3531
2348
  satispay: nil,
3532
2349
  sepa_debit: nil,
3533
- shopeepay: nil,
3534
2350
  sofort: nil,
3535
- stripe_balance: nil,
3536
2351
  swish: nil,
3537
2352
  twint: nil,
3538
2353
  us_bank_account: nil,
@@ -3559,9 +2374,7 @@ module Stripe
3559
2374
  @eps = eps
3560
2375
  @fpx = fpx
3561
2376
  @giropay = giropay
3562
- @gopay = gopay
3563
2377
  @grabpay = grabpay
3564
- @id_bank_transfer = id_bank_transfer
3565
2378
  @ideal = ideal
3566
2379
  @interac_present = interac_present
3567
2380
  @kakao_pay = kakao_pay
@@ -3580,19 +2393,13 @@ module Stripe
3580
2393
  @payco = payco
3581
2394
  @paynow = paynow
3582
2395
  @paypal = paypal
3583
- @paypay = paypay
3584
- @payto = payto
3585
2396
  @pix = pix
3586
2397
  @promptpay = promptpay
3587
- @qris = qris
3588
- @rechnung = rechnung
3589
2398
  @revolut_pay = revolut_pay
3590
2399
  @samsung_pay = samsung_pay
3591
2400
  @satispay = satispay
3592
2401
  @sepa_debit = sepa_debit
3593
- @shopeepay = shopeepay
3594
2402
  @sofort = sofort
3595
- @stripe_balance = stripe_balance
3596
2403
  @swish = swish
3597
2404
  @twint = twint
3598
2405
  @us_bank_account = us_bank_account
@@ -3676,29 +2483,19 @@ module Stripe
3676
2483
  #
3677
2484
  # If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
3678
2485
  attr_accessor :customer
3679
- # ID of the Account this PaymentIntent belongs to, if one exists.
3680
- #
3681
- # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
3682
- #
3683
- # If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
3684
- attr_accessor :customer_account
3685
2486
  # An arbitrary string attached to the object. Often useful for displaying to users.
3686
2487
  attr_accessor :description
3687
2488
  # The list of payment method types to exclude from use with this payment.
3688
2489
  attr_accessor :excluded_payment_method_types
3689
2490
  # Specifies which fields in the response should be expanded.
3690
2491
  attr_accessor :expand
3691
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
3692
- attr_accessor :fx_quote
3693
2492
  # Automations to be run during the PaymentIntent lifecycle
3694
2493
  attr_accessor :hooks
3695
- # This hash contains details about the Mandate to create.
3696
- attr_accessor :mandate_data
3697
2494
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3698
2495
  attr_accessor :metadata
3699
2496
  # Provides industry-specific information about the charge.
3700
2497
  attr_accessor :payment_details
3701
- # Attribute for param field payment_method
2498
+ # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string.
3702
2499
  attr_accessor :payment_method
3703
2500
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
3704
2501
  attr_accessor :payment_method_configuration
@@ -3734,8 +2531,6 @@ module Stripe
3734
2531
  attr_accessor :transfer_data
3735
2532
  # A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
3736
2533
  attr_accessor :transfer_group
3737
- # Allocated Funds configuration for this PaymentIntent.
3738
- attr_accessor :allocated_funds
3739
2534
 
3740
2535
  def initialize(
3741
2536
  amount: nil,
@@ -3744,13 +2539,10 @@ module Stripe
3744
2539
  capture_method: nil,
3745
2540
  currency: nil,
3746
2541
  customer: nil,
3747
- customer_account: nil,
3748
2542
  description: nil,
3749
2543
  excluded_payment_method_types: nil,
3750
2544
  expand: nil,
3751
- fx_quote: nil,
3752
2545
  hooks: nil,
3753
- mandate_data: nil,
3754
2546
  metadata: nil,
3755
2547
  payment_details: nil,
3756
2548
  payment_method: nil,
@@ -3764,8 +2556,7 @@ module Stripe
3764
2556
  statement_descriptor: nil,
3765
2557
  statement_descriptor_suffix: nil,
3766
2558
  transfer_data: nil,
3767
- transfer_group: nil,
3768
- allocated_funds: nil
2559
+ transfer_group: nil
3769
2560
  )
3770
2561
  @amount = amount
3771
2562
  @amount_details = amount_details
@@ -3773,13 +2564,10 @@ module Stripe
3773
2564
  @capture_method = capture_method
3774
2565
  @currency = currency
3775
2566
  @customer = customer
3776
- @customer_account = customer_account
3777
2567
  @description = description
3778
2568
  @excluded_payment_method_types = excluded_payment_method_types
3779
2569
  @expand = expand
3780
- @fx_quote = fx_quote
3781
2570
  @hooks = hooks
3782
- @mandate_data = mandate_data
3783
2571
  @metadata = metadata
3784
2572
  @payment_details = payment_details
3785
2573
  @payment_method = payment_method
@@ -3794,7 +2582,6 @@ module Stripe
3794
2582
  @statement_descriptor_suffix = statement_descriptor_suffix
3795
2583
  @transfer_data = transfer_data
3796
2584
  @transfer_group = transfer_group
3797
- @allocated_funds = allocated_funds
3798
2585
  end
3799
2586
  end
3800
2587
  end