stripe 17.2.0.pre.alpha.2 → 17.2.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 (897) 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 -1037
  6. data/lib/stripe/object_types.rb +0 -81
  7. data/lib/stripe/params/account_create_params.rb +2 -301
  8. data/lib/stripe/params/account_session_create_params.rb +1 -226
  9. data/lib/stripe/params/account_update_params.rb +1 -263
  10. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  11. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  12. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +2 -17
  13. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
  14. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -33
  15. data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
  16. data/lib/stripe/params/billing/meter_create_params.rb +0 -4
  17. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
  18. data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
  19. data/lib/stripe/params/charge_capture_params.rb +0 -709
  20. data/lib/stripe/params/charge_update_params.rb +0 -709
  21. data/lib/stripe/params/checkout/session_create_params.rb +4 -273
  22. data/lib/stripe/params/checkout/session_list_params.rb +0 -4
  23. data/lib/stripe/params/checkout/session_update_params.rb +1 -288
  24. data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
  25. data/lib/stripe/params/coupon_create_params.rb +1 -17
  26. data/lib/stripe/params/credit_note_list_params.rb +0 -4
  27. data/lib/stripe/params/customer_session_create_params.rb +3 -37
  28. data/lib/stripe/params/dispute_update_params.rb +1 -10
  29. data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
  30. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
  31. data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
  32. data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
  33. data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
  34. data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
  35. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  36. data/lib/stripe/params/invoice_create_params.rb +2 -112
  37. data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
  38. data/lib/stripe/params/invoice_item_create_params.rb +1 -37
  39. data/lib/stripe/params/invoice_item_list_params.rb +0 -4
  40. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  41. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
  42. data/lib/stripe/params/invoice_list_params.rb +0 -8
  43. data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
  44. data/lib/stripe/params/invoice_update_params.rb +2 -108
  45. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  46. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  47. data/lib/stripe/params/payment_intent_capture_params.rb +30 -736
  48. data/lib/stripe/params/payment_intent_confirm_params.rb +52 -1242
  49. data/lib/stripe/params/payment_intent_create_params.rb +47 -1245
  50. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +29 -63
  51. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  52. data/lib/stripe/params/payment_intent_update_params.rb +51 -1280
  53. data/lib/stripe/params/payment_method_attach_params.rb +1 -4
  54. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
  55. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
  56. data/lib/stripe/params/payment_method_create_params.rb +0 -97
  57. data/lib/stripe/params/payment_method_update_params.rb +0 -19
  58. data/lib/stripe/params/price_update_params.rb +0 -19
  59. data/lib/stripe/params/promotion_code_create_params.rb +0 -4
  60. data/lib/stripe/params/promotion_code_list_params.rb +0 -4
  61. data/lib/stripe/params/quote_create_params.rb +3 -805
  62. data/lib/stripe/params/quote_list_params.rb +0 -8
  63. data/lib/stripe/params/quote_update_params.rb +4 -813
  64. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -254
  65. data/lib/stripe/params/setup_intent_create_params.rb +3 -260
  66. data/lib/stripe/params/setup_intent_list_params.rb +0 -4
  67. data/lib/stripe/params/setup_intent_update_params.rb +4 -261
  68. data/lib/stripe/params/subscription_create_params.rb +5 -259
  69. data/lib/stripe/params/subscription_item_create_params.rb +2 -46
  70. data/lib/stripe/params/subscription_item_update_params.rb +1 -29
  71. data/lib/stripe/params/subscription_list_params.rb +0 -4
  72. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
  73. data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
  74. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
  75. data/lib/stripe/params/subscription_update_params.rb +4 -238
  76. data/lib/stripe/params/tax_id_create_params.rb +1 -4
  77. data/lib/stripe/params/tax_id_list_params.rb +1 -4
  78. data/lib/stripe/params/terminal/configuration_create_params.rb +9 -22
  79. data/lib/stripe/params/terminal/configuration_update_params.rb +9 -22
  80. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
  81. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  82. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  83. data/lib/stripe/params/transfer_create_params.rb +1 -9
  84. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  85. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  86. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  87. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  88. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  89. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  90. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  91. data/lib/stripe/params.rb +0 -246
  92. data/lib/stripe/resources/account.rb +2 -167
  93. data/lib/stripe/resources/account_session.rb +0 -81
  94. data/lib/stripe/resources/application_fee.rb +0 -2
  95. data/lib/stripe/resources/balance.rb +0 -83
  96. data/lib/stripe/resources/billing/alert.rb +1 -105
  97. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  98. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -86
  99. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  100. data/lib/stripe/resources/billing/credit_grant.rb +2 -60
  101. data/lib/stripe/resources/billing/meter.rb +0 -2
  102. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
  103. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  104. data/lib/stripe/resources/card.rb +1 -20
  105. data/lib/stripe/resources/cash_balance.rb +0 -2
  106. data/lib/stripe/resources/charge.rb +1 -253
  107. data/lib/stripe/resources/checkout/session.rb +4 -246
  108. data/lib/stripe/resources/confirmation_token.rb +0 -173
  109. data/lib/stripe/resources/coupon.rb +1 -26
  110. data/lib/stripe/resources/credit_note.rb +0 -2
  111. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  112. data/lib/stripe/resources/customer.rb +0 -2
  113. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  114. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  115. data/lib/stripe/resources/customer_session.rb +0 -38
  116. data/lib/stripe/resources/discount.rb +0 -2
  117. data/lib/stripe/resources/dispute.rb +0 -22
  118. data/lib/stripe/resources/event.rb +1 -64
  119. data/lib/stripe/resources/financial_connections/account.rb +0 -27
  120. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  121. data/lib/stripe/resources/identity/verification_report.rb +0 -4
  122. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  123. data/lib/stripe/resources/invoice.rb +2 -153
  124. data/lib/stripe/resources/invoice_item.rb +2 -94
  125. data/lib/stripe/resources/invoice_line_item.rb +1 -131
  126. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  127. data/lib/stripe/resources/line_item.rb +1 -68
  128. data/lib/stripe/resources/mandate.rb +0 -71
  129. data/lib/stripe/resources/payment_attempt_record.rb +1 -203
  130. data/lib/stripe/resources/payment_intent.rb +23 -840
  131. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +13 -7
  132. data/lib/stripe/resources/payment_method.rb +0 -195
  133. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  134. data/lib/stripe/resources/payment_record.rb +1 -203
  135. data/lib/stripe/resources/price.rb +0 -20
  136. data/lib/stripe/resources/promotion_code.rb +0 -2
  137. data/lib/stripe/resources/quote.rb +2 -571
  138. data/lib/stripe/resources/refund.rb +0 -18
  139. data/lib/stripe/resources/setup_attempt.rb +0 -63
  140. data/lib/stripe/resources/setup_intent.rb +1 -172
  141. data/lib/stripe/resources/source.rb +0 -38
  142. data/lib/stripe/resources/subscription.rb +0 -232
  143. data/lib/stripe/resources/subscription_item.rb +1 -20
  144. data/lib/stripe/resources/subscription_schedule.rb +3 -198
  145. data/lib/stripe/resources/tax_id.rb +0 -4
  146. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  147. data/lib/stripe/resources/terminal/reader.rb +0 -8
  148. data/lib/stripe/resources/transfer.rb +0 -6
  149. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  150. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  151. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  152. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  153. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  154. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
  155. data/lib/stripe/resources/v2/core/event.rb +2 -6
  156. data/lib/stripe/resources.rb +0 -386
  157. data/lib/stripe/services/billing_service.rb +1 -2
  158. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  159. data/lib/stripe/services/financial_connections_service.rb +1 -2
  160. data/lib/stripe/services/identity_service.rb +1 -2
  161. data/lib/stripe/services/issuing_service.rb +1 -5
  162. data/lib/stripe/services/mandate_service.rb +0 -5
  163. data/lib/stripe/services/payment_intent_service.rb +0 -37
  164. data/lib/stripe/services/payment_method_service.rb +0 -11
  165. data/lib/stripe/services/quote_service.rb +1 -49
  166. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  167. data/lib/stripe/services/subscription_service.rb +0 -11
  168. data/lib/stripe/services/tax_service.rb +1 -3
  169. data/lib/stripe/services/terminal_service.rb +1 -3
  170. data/lib/stripe/services/v1_services.rb +1 -9
  171. data/lib/stripe/services/v2/billing_service.rb +1 -18
  172. data/lib/stripe/services/v2/core_service.rb +1 -5
  173. data/lib/stripe/services/v2_services.rb +1 -5
  174. data/lib/stripe/services.rb +0 -84
  175. data/lib/stripe/stripe_configuration.rb +1 -3
  176. data/lib/stripe/stripe_object.rb +1 -1
  177. data/lib/stripe/util.rb +1 -7
  178. data/lib/stripe/version.rb +1 -1
  179. data/lib/stripe.rb +0 -53
  180. data/rbi/stripe.rbi +33169 -103667
  181. metadata +4 -720
  182. data/lib/stripe/events/v1_account_updated_event.rb +0 -44
  183. data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
  184. data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
  185. data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
  186. data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
  187. data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
  188. data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
  189. data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
  190. data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
  191. data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
  192. data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
  193. data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
  194. data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
  195. data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
  196. data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
  197. data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
  198. data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
  199. data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
  200. data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
  201. data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
  202. data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
  203. data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
  204. data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
  205. data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
  206. data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
  207. data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
  208. data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
  209. data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
  210. data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
  211. data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
  212. data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
  213. data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
  214. data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
  215. data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
  216. data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
  217. data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
  218. data/lib/stripe/events/v1_customer_created_event.rb +0 -44
  219. data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
  220. data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
  221. data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
  222. data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
  223. data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
  224. data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
  225. data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
  226. data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
  227. data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
  228. data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
  229. data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
  230. data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
  231. data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
  232. data/lib/stripe/events/v1_file_created_event.rb +0 -44
  233. data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
  234. data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
  235. data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
  236. data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
  237. data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
  238. data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
  239. data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
  240. data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
  241. data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
  242. data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
  243. data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
  244. data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
  245. data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
  246. data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
  247. data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
  248. data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
  249. data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
  250. data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
  251. data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
  252. data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
  253. data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
  254. data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
  255. data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
  256. data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
  257. data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
  258. data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
  259. data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
  260. data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
  261. data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
  262. data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
  263. data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
  264. data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
  265. data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
  266. data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
  267. data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
  268. data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
  269. data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
  270. data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
  271. data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
  272. data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
  273. data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
  274. data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
  275. data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
  276. data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
  277. data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
  278. data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
  279. data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
  280. data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
  281. data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
  282. data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
  283. data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
  284. data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
  285. data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
  286. data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
  287. data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
  288. data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
  289. data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
  290. data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
  291. data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
  292. data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
  293. data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
  294. data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
  295. data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
  296. data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
  297. data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
  298. data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
  299. data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
  300. data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
  301. data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
  302. data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
  303. data/lib/stripe/events/v1_payout_created_event.rb +0 -44
  304. data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
  305. data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
  306. data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
  307. data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
  308. data/lib/stripe/events/v1_person_created_event.rb +0 -44
  309. data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
  310. data/lib/stripe/events/v1_person_updated_event.rb +0 -44
  311. data/lib/stripe/events/v1_plan_created_event.rb +0 -44
  312. data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
  313. data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
  314. data/lib/stripe/events/v1_price_created_event.rb +0 -44
  315. data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
  316. data/lib/stripe/events/v1_price_updated_event.rb +0 -44
  317. data/lib/stripe/events/v1_product_created_event.rb +0 -44
  318. data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
  319. data/lib/stripe/events/v1_product_updated_event.rb +0 -44
  320. data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
  321. data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
  322. data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
  323. data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
  324. data/lib/stripe/events/v1_quote_created_event.rb +0 -44
  325. data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
  326. data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +0 -44
  327. data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
  328. data/lib/stripe/events/v1_refund_created_event.rb +0 -44
  329. data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
  330. data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
  331. data/lib/stripe/events/v1_review_closed_event.rb +0 -44
  332. data/lib/stripe/events/v1_review_opened_event.rb +0 -44
  333. data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
  334. data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
  335. data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
  336. data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
  337. data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
  338. data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +0 -44
  339. data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
  340. data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
  341. data/lib/stripe/events/v1_source_failed_event.rb +0 -44
  342. data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
  343. data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
  344. data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
  345. data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
  346. data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
  347. data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
  348. data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
  349. data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
  350. data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
  351. data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
  352. data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
  353. data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
  354. data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
  355. data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
  356. data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
  357. data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
  358. data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
  359. data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
  360. data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
  361. data/lib/stripe/events/v1_topup_created_event.rb +0 -44
  362. data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
  363. data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
  364. data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
  365. data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
  366. data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
  367. data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
  368. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  369. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  370. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  371. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  372. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  373. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  374. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  375. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  376. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  377. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  378. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  379. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  380. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  381. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  382. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  383. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  384. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  385. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  386. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  387. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  388. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  389. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  390. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  391. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  392. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  393. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  394. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  395. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  396. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  397. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  398. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  399. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  400. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  401. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  402. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  403. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  404. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  405. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  406. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  407. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
  408. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
  409. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  410. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  411. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  412. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  413. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  414. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  415. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  416. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  417. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  418. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  419. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  420. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  421. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  422. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  423. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  424. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  425. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  426. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  427. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  428. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  429. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  430. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -66
  431. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -66
  432. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -64
  433. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -64
  434. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  435. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  436. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -66
  437. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -64
  438. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -62
  439. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -64
  440. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -64
  441. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -64
  442. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -62
  443. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -62
  444. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  445. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  446. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  447. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  448. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  449. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  450. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  451. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  452. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  453. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  454. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  455. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  456. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  457. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  458. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  459. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  460. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  461. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  462. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  463. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  464. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  465. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  466. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  467. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  468. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  469. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  470. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  471. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  472. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  473. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  474. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  475. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  476. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  477. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  478. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  479. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  480. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  481. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  482. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  483. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
  484. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  485. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  486. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  487. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  488. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  489. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  490. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  491. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  492. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  493. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  494. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  495. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -69
  496. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  497. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  498. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  499. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  500. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  501. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  502. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
  503. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
  504. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
  505. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
  506. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
  507. data/lib/stripe/params/external_account_create_params.rb +0 -134
  508. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  509. data/lib/stripe/params/external_account_list_params.rb +0 -25
  510. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  511. data/lib/stripe/params/external_account_update_params.rb +0 -91
  512. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  513. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  514. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  515. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  516. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  517. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  518. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
  519. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
  520. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
  521. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
  522. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  523. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  524. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  525. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  526. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  527. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  528. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  529. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  530. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  531. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  532. data/lib/stripe/params/mandate_list_params.rb +0 -39
  533. data/lib/stripe/params/margin_create_params.rb +0 -25
  534. data/lib/stripe/params/margin_list_params.rb +0 -25
  535. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  536. data/lib/stripe/params/margin_update_params.rb +0 -22
  537. data/lib/stripe/params/order_cancel_params.rb +0 -13
  538. data/lib/stripe/params/order_create_params.rb +0 -1124
  539. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  540. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  541. data/lib/stripe/params/order_list_params.rb +0 -25
  542. data/lib/stripe/params/order_reopen_params.rb +0 -13
  543. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  544. data/lib/stripe/params/order_submit_params.rb +0 -16
  545. data/lib/stripe/params/order_update_params.rb +0 -1128
  546. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  547. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  548. data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
  549. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  550. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  551. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  552. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  553. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  554. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  555. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  556. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  557. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  558. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  559. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  560. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  561. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  562. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  563. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  564. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  565. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  566. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  567. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  568. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  569. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  570. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  571. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  572. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  573. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  574. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  575. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  576. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  577. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  578. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  579. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
  580. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
  581. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  582. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  583. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
  584. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  585. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  586. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  587. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  588. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  589. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  590. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  591. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  592. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  593. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  594. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  595. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  596. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
  597. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  598. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  599. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  600. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  601. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  602. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  603. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  604. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  605. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  606. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  607. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  608. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  609. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  610. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  611. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  612. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  613. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  614. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  615. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  616. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  617. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  618. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  619. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  620. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  621. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  622. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  623. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  624. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
  625. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  626. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  627. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  628. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  629. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  630. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  631. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  632. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  633. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  634. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  635. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  636. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  637. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  638. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  639. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  640. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  641. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  642. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  643. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  644. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  645. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  646. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  647. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  648. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  649. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  650. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  651. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  652. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -254
  653. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  654. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  655. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  656. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2943
  657. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  658. data/lib/stripe/params/v2/core/account_list_params.rb +0 -23
  659. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  660. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2975
  661. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  662. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  663. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  664. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  665. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  666. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  667. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  668. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  669. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  670. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  671. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  672. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  673. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  674. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  675. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  676. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  677. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  678. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  679. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  680. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  681. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  682. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  683. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  684. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  685. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  686. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  687. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  688. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
  689. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  690. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  691. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  692. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  693. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  694. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  695. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
  696. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  697. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  698. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  699. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  700. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  701. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
  702. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  703. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  704. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  705. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  706. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -81
  707. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  708. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  709. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  710. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  711. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  712. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  713. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  714. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  715. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  716. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  717. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  718. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  719. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  720. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  721. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  722. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  723. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  724. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  725. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  726. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  727. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  728. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  729. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  730. data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +0 -20
  731. data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +0 -10
  732. data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +0 -17
  733. data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +0 -10
  734. data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +0 -17
  735. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  736. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  737. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
  738. data/lib/stripe/resources/account_notice.rb +0 -94
  739. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  740. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -40
  741. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  742. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  743. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  744. data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -402
  745. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  746. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  747. data/lib/stripe/resources/fx_quote.rb +0 -147
  748. data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
  749. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  750. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  751. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  752. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  753. data/lib/stripe/resources/margin.rb +0 -64
  754. data/lib/stripe/resources/order.rb +0 -987
  755. data/lib/stripe/resources/payment_method_balance.rb +0 -68
  756. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  757. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  758. data/lib/stripe/resources/quote_line.rb +0 -521
  759. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  760. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  761. data/lib/stripe/resources/tax/association.rb +0 -86
  762. data/lib/stripe/resources/tax/form.rb +0 -264
  763. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  764. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  765. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  766. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  767. data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
  768. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  769. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  770. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  771. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  772. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
  773. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  774. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  775. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  776. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  777. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  778. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  779. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  780. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  781. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
  782. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  783. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  784. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  785. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  786. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  787. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  788. data/lib/stripe/resources/v2/billing/service_action.rb +0 -244
  789. data/lib/stripe/resources/v2/core/account.rb +0 -4967
  790. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  791. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  792. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  793. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  794. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
  795. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  796. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  797. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  798. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  799. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  800. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  801. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
  802. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  803. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  804. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -198
  805. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
  806. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  807. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
  808. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -140
  809. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  810. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  811. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  812. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  813. data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
  814. data/lib/stripe/services/account_notice_service.rb +0 -39
  815. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  816. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  817. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  818. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  819. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  820. data/lib/stripe/services/capital_service.rb +0 -15
  821. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
  822. data/lib/stripe/services/delegated_checkout_service.rb +0 -13
  823. data/lib/stripe/services/external_account_service.rb +0 -68
  824. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  825. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  826. data/lib/stripe/services/fx_quote_service.rb +0 -27
  827. data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
  828. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  829. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  830. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  831. data/lib/stripe/services/margin_service.rb +0 -50
  832. data/lib/stripe/services/order_line_item_service.rb +0 -17
  833. data/lib/stripe/services/order_service.rb +0 -78
  834. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  835. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  836. data/lib/stripe/services/privacy_service.rb +0 -13
  837. data/lib/stripe/services/quote_line_service.rb +0 -17
  838. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  839. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  840. data/lib/stripe/services/tax/association_service.rb +0 -19
  841. data/lib/stripe/services/tax/form_service.rb +0 -37
  842. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  843. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  844. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  845. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  846. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  847. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  848. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  849. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  850. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  851. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  852. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  853. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  854. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  855. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  856. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  857. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  858. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
  859. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
  860. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  861. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  862. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  863. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  864. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  865. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  866. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  867. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  868. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  869. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  870. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  871. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  872. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  873. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
  874. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  875. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  876. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  877. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  878. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  879. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  880. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  881. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  882. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  883. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  884. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  885. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  886. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  887. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  888. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  889. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  890. data/lib/stripe/services/v2/money_management_service.rb +0 -33
  891. data/lib/stripe/services/v2/payment_service.rb +0 -15
  892. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  893. data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -65
  894. data/lib/stripe/services/v2/tax_service.rb +0 -15
  895. data/lib/stripe/services/v2/test_helper_service.rb +0 -16
  896. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
  897. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -79,26 +79,32 @@ module Stripe
79
79
  end
80
80
 
81
81
  class Tax < ::Stripe::RequestParams
82
- # 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.
83
85
  attr_accessor :total_tax_amount
84
86
 
85
87
  def initialize(total_tax_amount: nil)
86
88
  @total_tax_amount = total_tax_amount
87
89
  end
88
90
  end
89
- # 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.
90
94
  attr_accessor :discount_amount
91
95
  # Payment method-specific information for line items.
92
96
  attr_accessor :payment_method_options
93
- # 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.
94
98
  attr_accessor :product_code
95
- # 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.
96
102
  attr_accessor :product_name
97
- # Number of items of the product. Positive integer.
103
+ # The quantity of items. Required for L3 rates. An integer greater than 0.
98
104
  attr_accessor :quantity
99
105
  # Contains information about the tax on the item.
100
106
  attr_accessor :tax
101
- # 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.
102
108
  attr_accessor :unit_cost
103
109
  # A unit of measure for the line item, such as gallons, feet, meters, etc.
104
110
  attr_accessor :unit_of_measure
@@ -125,11 +131,11 @@ module Stripe
125
131
  end
126
132
 
127
133
  class Shipping < ::Stripe::RequestParams
128
- # 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.
129
135
  attr_accessor :amount
130
- # 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.
131
137
  attr_accessor :from_postal_code
132
- # 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.
133
139
  attr_accessor :to_postal_code
134
140
 
135
141
  def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
@@ -140,14 +146,18 @@ module Stripe
140
146
  end
141
147
 
142
148
  class Tax < ::Stripe::RequestParams
143
- # 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.
144
152
  attr_accessor :total_tax_amount
145
153
 
146
154
  def initialize(total_tax_amount: nil)
147
155
  @total_tax_amount = total_tax_amount
148
156
  end
149
157
  end
150
- # 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.
151
161
  attr_accessor :discount_amount
152
162
  # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
153
163
  attr_accessor :line_items
@@ -178,31 +188,6 @@ module Stripe
178
188
  end
179
189
  end
180
190
 
181
- class Hooks < ::Stripe::RequestParams
182
- class Inputs < ::Stripe::RequestParams
183
- class Tax < ::Stripe::RequestParams
184
- # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
185
- attr_accessor :calculation
186
-
187
- def initialize(calculation: nil)
188
- @calculation = calculation
189
- end
190
- end
191
- # Tax arguments for automations
192
- attr_accessor :tax
193
-
194
- def initialize(tax: nil)
195
- @tax = tax
196
- end
197
- end
198
- # Arguments passed in automations
199
- attr_accessor :inputs
200
-
201
- def initialize(inputs: nil)
202
- @inputs = inputs
203
- end
204
- end
205
-
206
191
  class MandateData < ::Stripe::RequestParams
207
192
  class CustomerAcceptance < ::Stripe::RequestParams
208
193
  class Offline < ::Stripe::RequestParams; end
@@ -236,735 +221,27 @@ module Stripe
236
221
  end
237
222
  # This hash contains details about the customer acceptance of the Mandate.
238
223
  attr_accessor :customer_acceptance
239
-
240
- def initialize(customer_acceptance: nil)
241
- @customer_acceptance = customer_acceptance
242
- end
243
- end
244
-
245
- class PaymentDetails < ::Stripe::RequestParams
246
- class Benefit < ::Stripe::RequestParams
247
- class FrMealVoucher < ::Stripe::RequestParams
248
- # The 14-digit SIRET of the meal voucher acceptor.
249
- attr_accessor :siret
250
-
251
- def initialize(siret: nil)
252
- @siret = siret
253
- end
254
- end
255
- # French meal voucher benefit details for this PaymentIntent.
256
- attr_accessor :fr_meal_voucher
257
-
258
- def initialize(fr_meal_voucher: nil)
259
- @fr_meal_voucher = fr_meal_voucher
260
- end
261
- end
262
-
263
- class CarRental < ::Stripe::RequestParams
264
- class Affiliate < ::Stripe::RequestParams
265
- # The name of the affiliate that originated the purchase.
266
- attr_accessor :name
267
-
268
- def initialize(name: nil)
269
- @name = name
270
- end
271
- end
272
-
273
- class Delivery < ::Stripe::RequestParams
274
- class Recipient < ::Stripe::RequestParams
275
- # The email of the recipient the ticket is delivered to.
276
- attr_accessor :email
277
- # The name of the recipient the ticket is delivered to.
278
- attr_accessor :name
279
- # The phone number of the recipient the ticket is delivered to.
280
- attr_accessor :phone
281
-
282
- def initialize(email: nil, name: nil, phone: nil)
283
- @email = email
284
- @name = name
285
- @phone = phone
286
- end
287
- end
288
- # The delivery method for the payment
289
- attr_accessor :mode
290
- # Details of the recipient.
291
- attr_accessor :recipient
292
-
293
- def initialize(mode: nil, recipient: nil)
294
- @mode = mode
295
- @recipient = recipient
296
- end
297
- end
298
-
299
- class Distance < ::Stripe::RequestParams
300
- # Distance traveled.
301
- attr_accessor :amount
302
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
303
- attr_accessor :unit
304
-
305
- def initialize(amount: nil, unit: nil)
306
- @amount = amount
307
- @unit = unit
308
- end
309
- end
310
-
311
- class Driver < ::Stripe::RequestParams
312
- # Driver's identification number.
313
- attr_accessor :driver_identification_number
314
- # Driver's tax number.
315
- attr_accessor :driver_tax_number
316
- # Full name of the person or entity on the car reservation.
317
- attr_accessor :name
318
-
319
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
320
- @driver_identification_number = driver_identification_number
321
- @driver_tax_number = driver_tax_number
322
- @name = name
323
- end
324
- end
325
-
326
- class PickupAddress < ::Stripe::RequestParams
327
- # City, district, suburb, town, or village.
328
- attr_accessor :city
329
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
330
- attr_accessor :country
331
- # Address line 1, such as the street, PO Box, or company name.
332
- attr_accessor :line1
333
- # Address line 2, such as the apartment, suite, unit, or building.
334
- attr_accessor :line2
335
- # ZIP or postal code.
336
- attr_accessor :postal_code
337
- # State, county, province, or region.
338
- attr_accessor :state
339
-
340
- def initialize(
341
- city: nil,
342
- country: nil,
343
- line1: nil,
344
- line2: nil,
345
- postal_code: nil,
346
- state: nil
347
- )
348
- @city = city
349
- @country = country
350
- @line1 = line1
351
- @line2 = line2
352
- @postal_code = postal_code
353
- @state = state
354
- end
355
- end
356
-
357
- class ReturnAddress < ::Stripe::RequestParams
358
- # City, district, suburb, town, or village.
359
- attr_accessor :city
360
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
361
- attr_accessor :country
362
- # Address line 1, such as the street, PO Box, or company name.
363
- attr_accessor :line1
364
- # Address line 2, such as the apartment, suite, unit, or building.
365
- attr_accessor :line2
366
- # ZIP or postal code.
367
- attr_accessor :postal_code
368
- # State, county, province, or region.
369
- attr_accessor :state
370
-
371
- def initialize(
372
- city: nil,
373
- country: nil,
374
- line1: nil,
375
- line2: nil,
376
- postal_code: nil,
377
- state: nil
378
- )
379
- @city = city
380
- @country = country
381
- @line1 = line1
382
- @line2 = line2
383
- @postal_code = postal_code
384
- @state = state
385
- end
386
- end
387
- # Affiliate details for this purchase.
388
- attr_accessor :affiliate
389
- # The booking number associated with the car rental.
390
- attr_accessor :booking_number
391
- # Class code of the car.
392
- attr_accessor :car_class_code
393
- # Make of the car.
394
- attr_accessor :car_make
395
- # Model of the car.
396
- attr_accessor :car_model
397
- # The name of the rental car company.
398
- attr_accessor :company
399
- # The customer service phone number of the car rental company.
400
- attr_accessor :customer_service_phone_number
401
- # Number of days the car is being rented.
402
- attr_accessor :days_rented
403
- # Delivery details for this purchase.
404
- attr_accessor :delivery
405
- # The details of the distance traveled during the rental period.
406
- attr_accessor :distance
407
- # The details of the passengers in the travel reservation
408
- attr_accessor :drivers
409
- # List of additional charges being billed.
410
- attr_accessor :extra_charges
411
- # Indicates if the customer did not keep nor cancel their booking.
412
- attr_accessor :no_show
413
- # Car pick-up address.
414
- attr_accessor :pickup_address
415
- # Car pick-up time. Measured in seconds since the Unix epoch.
416
- attr_accessor :pickup_at
417
- # Name of the pickup location.
418
- attr_accessor :pickup_location_name
419
- # Rental rate.
420
- attr_accessor :rate_amount
421
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
422
- attr_accessor :rate_interval
423
- # The name of the person or entity renting the car.
424
- attr_accessor :renter_name
425
- # Car return address.
426
- attr_accessor :return_address
427
- # Car return time. Measured in seconds since the Unix epoch.
428
- attr_accessor :return_at
429
- # Name of the return location.
430
- attr_accessor :return_location_name
431
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
432
- attr_accessor :tax_exempt
433
- # The vehicle identification number.
434
- attr_accessor :vehicle_identification_number
435
-
436
- def initialize(
437
- affiliate: nil,
438
- booking_number: nil,
439
- car_class_code: nil,
440
- car_make: nil,
441
- car_model: nil,
442
- company: nil,
443
- customer_service_phone_number: nil,
444
- days_rented: nil,
445
- delivery: nil,
446
- distance: nil,
447
- drivers: nil,
448
- extra_charges: nil,
449
- no_show: nil,
450
- pickup_address: nil,
451
- pickup_at: nil,
452
- pickup_location_name: nil,
453
- rate_amount: nil,
454
- rate_interval: nil,
455
- renter_name: nil,
456
- return_address: nil,
457
- return_at: nil,
458
- return_location_name: nil,
459
- tax_exempt: nil,
460
- vehicle_identification_number: nil
461
- )
462
- @affiliate = affiliate
463
- @booking_number = booking_number
464
- @car_class_code = car_class_code
465
- @car_make = car_make
466
- @car_model = car_model
467
- @company = company
468
- @customer_service_phone_number = customer_service_phone_number
469
- @days_rented = days_rented
470
- @delivery = delivery
471
- @distance = distance
472
- @drivers = drivers
473
- @extra_charges = extra_charges
474
- @no_show = no_show
475
- @pickup_address = pickup_address
476
- @pickup_at = pickup_at
477
- @pickup_location_name = pickup_location_name
478
- @rate_amount = rate_amount
479
- @rate_interval = rate_interval
480
- @renter_name = renter_name
481
- @return_address = return_address
482
- @return_at = return_at
483
- @return_location_name = return_location_name
484
- @tax_exempt = tax_exempt
485
- @vehicle_identification_number = vehicle_identification_number
486
- end
487
- end
488
-
489
- class EventDetails < ::Stripe::RequestParams
490
- class Address < ::Stripe::RequestParams
491
- # City, district, suburb, town, or village.
492
- attr_accessor :city
493
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
494
- attr_accessor :country
495
- # Address line 1, such as the street, PO Box, or company name.
496
- attr_accessor :line1
497
- # Address line 2, such as the apartment, suite, unit, or building.
498
- attr_accessor :line2
499
- # ZIP or postal code.
500
- attr_accessor :postal_code
501
- # State, county, province, or region.
502
- attr_accessor :state
503
-
504
- def initialize(
505
- city: nil,
506
- country: nil,
507
- line1: nil,
508
- line2: nil,
509
- postal_code: nil,
510
- state: nil
511
- )
512
- @city = city
513
- @country = country
514
- @line1 = line1
515
- @line2 = line2
516
- @postal_code = postal_code
517
- @state = state
518
- end
519
- end
520
-
521
- class Affiliate < ::Stripe::RequestParams
522
- # The name of the affiliate that originated the purchase.
523
- attr_accessor :name
524
-
525
- def initialize(name: nil)
526
- @name = name
527
- end
528
- end
529
-
530
- class Delivery < ::Stripe::RequestParams
531
- class Recipient < ::Stripe::RequestParams
532
- # The email of the recipient the ticket is delivered to.
533
- attr_accessor :email
534
- # The name of the recipient the ticket is delivered to.
535
- attr_accessor :name
536
- # The phone number of the recipient the ticket is delivered to.
537
- attr_accessor :phone
538
-
539
- def initialize(email: nil, name: nil, phone: nil)
540
- @email = email
541
- @name = name
542
- @phone = phone
543
- end
544
- end
545
- # The delivery method for the payment
546
- attr_accessor :mode
547
- # Details of the recipient.
548
- attr_accessor :recipient
549
-
550
- def initialize(mode: nil, recipient: nil)
551
- @mode = mode
552
- @recipient = recipient
553
- end
554
- end
555
- # Indicates if the tickets are digitally checked when entering the venue.
556
- attr_accessor :access_controlled_venue
557
- # The event location's address.
558
- attr_accessor :address
559
- # Affiliate details for this purchase.
560
- attr_accessor :affiliate
561
- # The name of the company
562
- attr_accessor :company
563
- # Delivery details for this purchase.
564
- attr_accessor :delivery
565
- # Event end time. Measured in seconds since the Unix epoch.
566
- attr_accessor :ends_at
567
- # Type of the event entertainment (concert, sports event etc)
568
- attr_accessor :genre
569
- # The name of the event.
570
- attr_accessor :name
571
- # Event start time. Measured in seconds since the Unix epoch.
572
- attr_accessor :starts_at
573
-
574
- def initialize(
575
- access_controlled_venue: nil,
576
- address: nil,
577
- affiliate: nil,
578
- company: nil,
579
- delivery: nil,
580
- ends_at: nil,
581
- genre: nil,
582
- name: nil,
583
- starts_at: nil
584
- )
585
- @access_controlled_venue = access_controlled_venue
586
- @address = address
587
- @affiliate = affiliate
588
- @company = company
589
- @delivery = delivery
590
- @ends_at = ends_at
591
- @genre = genre
592
- @name = name
593
- @starts_at = starts_at
594
- end
595
- end
596
-
597
- class Flight < ::Stripe::RequestParams
598
- class Affiliate < ::Stripe::RequestParams
599
- # The name of the affiliate that originated the purchase.
600
- attr_accessor :name
601
-
602
- def initialize(name: nil)
603
- @name = name
604
- end
605
- end
606
-
607
- class Delivery < ::Stripe::RequestParams
608
- class Recipient < ::Stripe::RequestParams
609
- # The email of the recipient the ticket is delivered to.
610
- attr_accessor :email
611
- # The name of the recipient the ticket is delivered to.
612
- attr_accessor :name
613
- # The phone number of the recipient the ticket is delivered to.
614
- attr_accessor :phone
615
-
616
- def initialize(email: nil, name: nil, phone: nil)
617
- @email = email
618
- @name = name
619
- @phone = phone
620
- end
621
- end
622
- # The delivery method for the payment
623
- attr_accessor :mode
624
- # Details of the recipient.
625
- attr_accessor :recipient
626
-
627
- def initialize(mode: nil, recipient: nil)
628
- @mode = mode
629
- @recipient = recipient
630
- end
631
- end
632
-
633
- class Passenger < ::Stripe::RequestParams
634
- # Full name of the person or entity on the flight reservation.
635
- attr_accessor :name
636
-
637
- def initialize(name: nil)
638
- @name = name
639
- end
640
- end
641
-
642
- class Segment < ::Stripe::RequestParams
643
- # The flight segment amount.
644
- attr_accessor :amount
645
- # The International Air Transport Association (IATA) airport code for the arrival airport.
646
- attr_accessor :arrival_airport
647
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
648
- attr_accessor :arrives_at
649
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
650
- attr_accessor :carrier
651
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
652
- attr_accessor :departs_at
653
- # The International Air Transport Association (IATA) airport code for the departure airport.
654
- attr_accessor :departure_airport
655
- # The flight number associated with the segment
656
- attr_accessor :flight_number
657
- # The fare class for the segment.
658
- attr_accessor :service_class
659
-
660
- def initialize(
661
- amount: nil,
662
- arrival_airport: nil,
663
- arrives_at: nil,
664
- carrier: nil,
665
- departs_at: nil,
666
- departure_airport: nil,
667
- flight_number: nil,
668
- service_class: nil
669
- )
670
- @amount = amount
671
- @arrival_airport = arrival_airport
672
- @arrives_at = arrives_at
673
- @carrier = carrier
674
- @departs_at = departs_at
675
- @departure_airport = departure_airport
676
- @flight_number = flight_number
677
- @service_class = service_class
678
- end
679
- end
680
- # Affiliate details for this purchase.
681
- attr_accessor :affiliate
682
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
683
- attr_accessor :agency_number
684
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
685
- attr_accessor :carrier
686
- # Delivery details for this purchase.
687
- attr_accessor :delivery
688
- # The name of the person or entity on the reservation.
689
- attr_accessor :passenger_name
690
- # The details of the passengers in the travel reservation.
691
- attr_accessor :passengers
692
- # The individual flight segments associated with the trip.
693
- attr_accessor :segments
694
- # The ticket number associated with the travel reservation.
695
- attr_accessor :ticket_number
696
-
697
- def initialize(
698
- affiliate: nil,
699
- agency_number: nil,
700
- carrier: nil,
701
- delivery: nil,
702
- passenger_name: nil,
703
- passengers: nil,
704
- segments: nil,
705
- ticket_number: nil
706
- )
707
- @affiliate = affiliate
708
- @agency_number = agency_number
709
- @carrier = carrier
710
- @delivery = delivery
711
- @passenger_name = passenger_name
712
- @passengers = passengers
713
- @segments = segments
714
- @ticket_number = ticket_number
715
- end
716
- end
717
-
718
- class Lodging < ::Stripe::RequestParams
719
- class Address < ::Stripe::RequestParams
720
- # City, district, suburb, town, or village.
721
- attr_accessor :city
722
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
723
- attr_accessor :country
724
- # Address line 1, such as the street, PO Box, or company name.
725
- attr_accessor :line1
726
- # Address line 2, such as the apartment, suite, unit, or building.
727
- attr_accessor :line2
728
- # ZIP or postal code.
729
- attr_accessor :postal_code
730
- # State, county, province, or region.
731
- attr_accessor :state
732
-
733
- def initialize(
734
- city: nil,
735
- country: nil,
736
- line1: nil,
737
- line2: nil,
738
- postal_code: nil,
739
- state: nil
740
- )
741
- @city = city
742
- @country = country
743
- @line1 = line1
744
- @line2 = line2
745
- @postal_code = postal_code
746
- @state = state
747
- end
748
- end
749
-
750
- class Affiliate < ::Stripe::RequestParams
751
- # The name of the affiliate that originated the purchase.
752
- attr_accessor :name
753
-
754
- def initialize(name: nil)
755
- @name = name
756
- end
757
- end
758
-
759
- class Delivery < ::Stripe::RequestParams
760
- class Recipient < ::Stripe::RequestParams
761
- # The email of the recipient the ticket is delivered to.
762
- attr_accessor :email
763
- # The name of the recipient the ticket is delivered to.
764
- attr_accessor :name
765
- # The phone number of the recipient the ticket is delivered to.
766
- attr_accessor :phone
767
-
768
- def initialize(email: nil, name: nil, phone: nil)
769
- @email = email
770
- @name = name
771
- @phone = phone
772
- end
773
- end
774
- # The delivery method for the payment
775
- attr_accessor :mode
776
- # Details of the recipient.
777
- attr_accessor :recipient
778
-
779
- def initialize(mode: nil, recipient: nil)
780
- @mode = mode
781
- @recipient = recipient
782
- end
783
- end
784
-
785
- class Passenger < ::Stripe::RequestParams
786
- # Full name of the person or entity on the lodging reservation.
787
- attr_accessor :name
788
-
789
- def initialize(name: nil)
790
- @name = name
791
- end
792
- end
793
- # The lodging location's address.
794
- attr_accessor :address
795
- # The number of adults on the booking
796
- attr_accessor :adults
797
- # Affiliate details for this purchase.
798
- attr_accessor :affiliate
799
- # The booking number associated with the lodging reservation.
800
- attr_accessor :booking_number
801
- # The lodging category
802
- attr_accessor :category
803
- # Lodging check-in time. Measured in seconds since the Unix epoch.
804
- attr_accessor :checkin_at
805
- # Lodging check-out time. Measured in seconds since the Unix epoch.
806
- attr_accessor :checkout_at
807
- # The customer service phone number of the lodging company.
808
- attr_accessor :customer_service_phone_number
809
- # The daily lodging room rate.
810
- attr_accessor :daily_room_rate_amount
811
- # Delivery details for this purchase.
812
- attr_accessor :delivery
813
- # List of additional charges being billed.
814
- attr_accessor :extra_charges
815
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
816
- attr_accessor :fire_safety_act_compliance
817
- # The name of the lodging location.
818
- attr_accessor :name
819
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
820
- attr_accessor :no_show
821
- # The number of rooms on the booking
822
- attr_accessor :number_of_rooms
823
- # The details of the passengers in the travel reservation
824
- attr_accessor :passengers
825
- # The phone number of the lodging location.
826
- attr_accessor :property_phone_number
827
- # The room class for this purchase.
828
- attr_accessor :room_class
829
- # The number of room nights
830
- attr_accessor :room_nights
831
- # The total tax amount associating with the room reservation.
832
- attr_accessor :total_room_tax_amount
833
- # The total tax amount
834
- attr_accessor :total_tax_amount
835
-
836
- def initialize(
837
- address: nil,
838
- adults: nil,
839
- affiliate: nil,
840
- booking_number: nil,
841
- category: nil,
842
- checkin_at: nil,
843
- checkout_at: nil,
844
- customer_service_phone_number: nil,
845
- daily_room_rate_amount: nil,
846
- delivery: nil,
847
- extra_charges: nil,
848
- fire_safety_act_compliance: nil,
849
- name: nil,
850
- no_show: nil,
851
- number_of_rooms: nil,
852
- passengers: nil,
853
- property_phone_number: nil,
854
- room_class: nil,
855
- room_nights: nil,
856
- total_room_tax_amount: nil,
857
- total_tax_amount: nil
858
- )
859
- @address = address
860
- @adults = adults
861
- @affiliate = affiliate
862
- @booking_number = booking_number
863
- @category = category
864
- @checkin_at = checkin_at
865
- @checkout_at = checkout_at
866
- @customer_service_phone_number = customer_service_phone_number
867
- @daily_room_rate_amount = daily_room_rate_amount
868
- @delivery = delivery
869
- @extra_charges = extra_charges
870
- @fire_safety_act_compliance = fire_safety_act_compliance
871
- @name = name
872
- @no_show = no_show
873
- @number_of_rooms = number_of_rooms
874
- @passengers = passengers
875
- @property_phone_number = property_phone_number
876
- @room_class = room_class
877
- @room_nights = room_nights
878
- @total_room_tax_amount = total_room_tax_amount
879
- @total_tax_amount = total_tax_amount
880
- end
881
- end
882
-
883
- class Subscription < ::Stripe::RequestParams
884
- class Affiliate < ::Stripe::RequestParams
885
- # The name of the affiliate that originated the purchase.
886
- attr_accessor :name
887
-
888
- def initialize(name: nil)
889
- @name = name
890
- end
891
- end
892
-
893
- class BillingInterval < ::Stripe::RequestParams
894
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
895
- attr_accessor :count
896
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
897
- attr_accessor :interval
898
-
899
- def initialize(count: nil, interval: nil)
900
- @count = count
901
- @interval = interval
902
- end
903
- end
904
- # Affiliate details for this purchase.
905
- attr_accessor :affiliate
906
- # Info whether the subscription will be auto renewed upon expiry.
907
- attr_accessor :auto_renewal
908
- # Subscription billing details for this purchase.
909
- attr_accessor :billing_interval
910
- # Subscription end time. Measured in seconds since the Unix epoch.
911
- attr_accessor :ends_at
912
- # Name of the product on subscription. e.g. Apple Music Subscription
913
- attr_accessor :name
914
- # Subscription start time. Measured in seconds since the Unix epoch.
915
- attr_accessor :starts_at
916
-
917
- def initialize(
918
- affiliate: nil,
919
- auto_renewal: nil,
920
- billing_interval: nil,
921
- ends_at: nil,
922
- name: nil,
923
- starts_at: nil
924
- )
925
- @affiliate = affiliate
926
- @auto_renewal = auto_renewal
927
- @billing_interval = billing_interval
928
- @ends_at = ends_at
929
- @name = name
930
- @starts_at = starts_at
931
- end
224
+
225
+ def initialize(customer_acceptance: nil)
226
+ @customer_acceptance = customer_acceptance
932
227
  end
933
- # Benefit details for this PaymentIntent
934
- attr_accessor :benefit
935
- # Car rental details for this PaymentIntent.
936
- attr_accessor :car_rental
937
- # 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.
228
+ end
229
+
230
+ class PaymentDetails < ::Stripe::RequestParams
231
+ # A unique value to identify the customer. This field is available only for card payments.
232
+ #
233
+ # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
938
234
  attr_accessor :customer_reference
939
- # Event details for this PaymentIntent
940
- attr_accessor :event_details
941
- # Flight reservation details for this PaymentIntent
942
- attr_accessor :flight
943
- # Lodging reservation details for this PaymentIntent
944
- attr_accessor :lodging
945
- # A unique value assigned by the business to identify the transaction.
235
+ # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
236
+ #
237
+ # 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`.
238
+ #
239
+ # 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.
946
240
  attr_accessor :order_reference
947
- # Subscription details for this PaymentIntent
948
- attr_accessor :subscription
949
241
 
950
- def initialize(
951
- benefit: nil,
952
- car_rental: nil,
953
- customer_reference: nil,
954
- event_details: nil,
955
- flight: nil,
956
- lodging: nil,
957
- order_reference: nil,
958
- subscription: nil
959
- )
960
- @benefit = benefit
961
- @car_rental = car_rental
242
+ def initialize(customer_reference: nil, order_reference: nil)
962
243
  @customer_reference = customer_reference
963
- @event_details = event_details
964
- @flight = flight
965
- @lodging = lodging
966
244
  @order_reference = order_reference
967
- @subscription = subscription
968
245
  end
969
246
  end
970
247
 
@@ -1105,18 +382,8 @@ module Stripe
1105
382
  end
1106
383
 
1107
384
  class Giropay < ::Stripe::RequestParams; end
1108
- class Gopay < ::Stripe::RequestParams; end
1109
385
  class Grabpay < ::Stripe::RequestParams; end
1110
386
 
1111
- class IdBankTransfer < ::Stripe::RequestParams
1112
- # Bank where the account is held.
1113
- attr_accessor :bank
1114
-
1115
- def initialize(bank: nil)
1116
- @bank = bank
1117
- end
1118
- end
1119
-
1120
387
  class Ideal < ::Stripe::RequestParams
1121
388
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
1122
389
  attr_accessor :bank
@@ -1214,26 +481,8 @@ module Stripe
1214
481
  class Payco < ::Stripe::RequestParams; end
1215
482
  class Paynow < ::Stripe::RequestParams; end
1216
483
  class Paypal < ::Stripe::RequestParams; end
1217
- class Paypay < ::Stripe::RequestParams; end
1218
-
1219
- class Payto < ::Stripe::RequestParams
1220
- # The account number for the bank account.
1221
- attr_accessor :account_number
1222
- # Bank-State-Branch number of the bank account.
1223
- attr_accessor :bsb_number
1224
- # The PayID alias for the bank account.
1225
- attr_accessor :pay_id
1226
-
1227
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
1228
- @account_number = account_number
1229
- @bsb_number = bsb_number
1230
- @pay_id = pay_id
1231
- end
1232
- end
1233
-
1234
484
  class Pix < ::Stripe::RequestParams; end
1235
485
  class Promptpay < ::Stripe::RequestParams; end
1236
- class Qris < ::Stripe::RequestParams; end
1237
486
 
1238
487
  class RadarOptions < ::Stripe::RequestParams
1239
488
  # 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.
@@ -1244,29 +493,6 @@ module Stripe
1244
493
  end
1245
494
  end
1246
495
 
1247
- class Rechnung < ::Stripe::RequestParams
1248
- class Dob < ::Stripe::RequestParams
1249
- # The day of birth, between 1 and 31.
1250
- attr_accessor :day
1251
- # The month of birth, between 1 and 12.
1252
- attr_accessor :month
1253
- # The four-digit year of birth.
1254
- attr_accessor :year
1255
-
1256
- def initialize(day: nil, month: nil, year: nil)
1257
- @day = day
1258
- @month = month
1259
- @year = year
1260
- end
1261
- end
1262
- # Customer's date of birth
1263
- attr_accessor :dob
1264
-
1265
- def initialize(dob: nil)
1266
- @dob = dob
1267
- end
1268
- end
1269
-
1270
496
  class RevolutPay < ::Stripe::RequestParams; end
1271
497
  class SamsungPay < ::Stripe::RequestParams; end
1272
498
  class Satispay < ::Stripe::RequestParams; end
@@ -1280,8 +506,6 @@ module Stripe
1280
506
  end
1281
507
  end
1282
508
 
1283
- class Shopeepay < ::Stripe::RequestParams; end
1284
-
1285
509
  class Sofort < ::Stripe::RequestParams
1286
510
  # Two-letter ISO code representing the country the bank account is located in.
1287
511
  attr_accessor :country
@@ -1291,18 +515,6 @@ module Stripe
1291
515
  end
1292
516
  end
1293
517
 
1294
- class StripeBalance < ::Stripe::RequestParams
1295
- # The connected account ID whose Stripe balance to use as the source of payment
1296
- attr_accessor :account
1297
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1298
- attr_accessor :source_type
1299
-
1300
- def initialize(account: nil, source_type: nil)
1301
- @account = account
1302
- @source_type = source_type
1303
- end
1304
- end
1305
-
1306
518
  class Swish < ::Stripe::RequestParams; end
1307
519
  class Twint < ::Stripe::RequestParams; end
1308
520
 
@@ -1375,12 +587,8 @@ module Stripe
1375
587
  attr_accessor :fpx
1376
588
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1377
589
  attr_accessor :giropay
1378
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1379
- attr_accessor :gopay
1380
590
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1381
591
  attr_accessor :grabpay
1382
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1383
- attr_accessor :id_bank_transfer
1384
592
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1385
593
  attr_accessor :ideal
1386
594
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -1419,20 +627,12 @@ module Stripe
1419
627
  attr_accessor :paynow
1420
628
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
1421
629
  attr_accessor :paypal
1422
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
1423
- attr_accessor :paypay
1424
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1425
- attr_accessor :payto
1426
630
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1427
631
  attr_accessor :pix
1428
632
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1429
633
  attr_accessor :promptpay
1430
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1431
- attr_accessor :qris
1432
634
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1433
635
  attr_accessor :radar_options
1434
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1435
- attr_accessor :rechnung
1436
636
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1437
637
  attr_accessor :revolut_pay
1438
638
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -1441,12 +641,8 @@ module Stripe
1441
641
  attr_accessor :satispay
1442
642
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
1443
643
  attr_accessor :sepa_debit
1444
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1445
- attr_accessor :shopeepay
1446
644
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1447
645
  attr_accessor :sofort
1448
- # This hash contains details about the Stripe balance payment method.
1449
- attr_accessor :stripe_balance
1450
646
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
1451
647
  attr_accessor :swish
1452
648
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -1481,9 +677,7 @@ module Stripe
1481
677
  eps: nil,
1482
678
  fpx: nil,
1483
679
  giropay: nil,
1484
- gopay: nil,
1485
680
  grabpay: nil,
1486
- id_bank_transfer: nil,
1487
681
  ideal: nil,
1488
682
  interac_present: nil,
1489
683
  kakao_pay: nil,
@@ -1503,20 +697,14 @@ module Stripe
1503
697
  payco: nil,
1504
698
  paynow: nil,
1505
699
  paypal: nil,
1506
- paypay: nil,
1507
- payto: nil,
1508
700
  pix: nil,
1509
701
  promptpay: nil,
1510
- qris: nil,
1511
702
  radar_options: nil,
1512
- rechnung: nil,
1513
703
  revolut_pay: nil,
1514
704
  samsung_pay: nil,
1515
705
  satispay: nil,
1516
706
  sepa_debit: nil,
1517
- shopeepay: nil,
1518
707
  sofort: nil,
1519
- stripe_balance: nil,
1520
708
  swish: nil,
1521
709
  twint: nil,
1522
710
  type: nil,
@@ -1544,9 +732,7 @@ module Stripe
1544
732
  @eps = eps
1545
733
  @fpx = fpx
1546
734
  @giropay = giropay
1547
- @gopay = gopay
1548
735
  @grabpay = grabpay
1549
- @id_bank_transfer = id_bank_transfer
1550
736
  @ideal = ideal
1551
737
  @interac_present = interac_present
1552
738
  @kakao_pay = kakao_pay
@@ -1566,20 +752,14 @@ module Stripe
1566
752
  @payco = payco
1567
753
  @paynow = paynow
1568
754
  @paypal = paypal
1569
- @paypay = paypay
1570
- @payto = payto
1571
755
  @pix = pix
1572
756
  @promptpay = promptpay
1573
- @qris = qris
1574
757
  @radar_options = radar_options
1575
- @rechnung = rechnung
1576
758
  @revolut_pay = revolut_pay
1577
759
  @samsung_pay = samsung_pay
1578
760
  @satispay = satispay
1579
761
  @sepa_debit = sepa_debit
1580
- @shopeepay = shopeepay
1581
762
  @sofort = sofort
1582
- @stripe_balance = stripe_balance
1583
763
  @swish = swish
1584
764
  @twint = twint
1585
765
  @type = type
@@ -1950,48 +1130,6 @@ module Stripe
1950
1130
  end
1951
1131
  end
1952
1132
 
1953
- class StatementDetails < ::Stripe::RequestParams
1954
- class Address < ::Stripe::RequestParams
1955
- # City, district, suburb, town, or village.
1956
- attr_accessor :city
1957
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1958
- attr_accessor :country
1959
- # Address line 1, such as the street, PO Box, or company name.
1960
- attr_accessor :line1
1961
- # Address line 2, such as the apartment, suite, unit, or building.
1962
- attr_accessor :line2
1963
- # ZIP or postal code.
1964
- attr_accessor :postal_code
1965
- # State, county, province, or region.
1966
- attr_accessor :state
1967
-
1968
- def initialize(
1969
- city: nil,
1970
- country: nil,
1971
- line1: nil,
1972
- line2: nil,
1973
- postal_code: nil,
1974
- state: nil
1975
- )
1976
- @city = city
1977
- @country = country
1978
- @line1 = line1
1979
- @line2 = line2
1980
- @postal_code = postal_code
1981
- @state = state
1982
- end
1983
- end
1984
- # Please pass in an address that is within your Stripe user account country
1985
- attr_accessor :address
1986
- # Phone number (e.g., a toll-free number that customers can call)
1987
- attr_accessor :phone
1988
-
1989
- def initialize(address: nil, phone: nil)
1990
- @address = address
1991
- @phone = phone
1992
- end
1993
- end
1994
-
1995
1133
  class ThreeDSecure < ::Stripe::RequestParams
1996
1134
  class NetworkOptions < ::Stripe::RequestParams
1997
1135
  class CartesBancaires < ::Stripe::RequestParams
@@ -2086,8 +1224,6 @@ module Stripe
2086
1224
  attr_accessor :moto
2087
1225
  # 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.
2088
1226
  attr_accessor :network
2089
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
2090
- attr_accessor :request_decremental_authorization
2091
1227
  # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
2092
1228
  attr_accessor :request_extended_authorization
2093
1229
  # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
@@ -2096,8 +1232,6 @@ module Stripe
2096
1232
  attr_accessor :request_multicapture
2097
1233
  # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
2098
1234
  attr_accessor :request_overcapture
2099
- # Request partial authorization on this PaymentIntent.
2100
- attr_accessor :request_partial_authorization
2101
1235
  # 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.
2102
1236
  attr_accessor :request_three_d_secure
2103
1237
  # 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).
@@ -2116,8 +1250,6 @@ module Stripe
2116
1250
  attr_accessor :statement_descriptor_suffix_kana
2117
1251
  # 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.
2118
1252
  attr_accessor :statement_descriptor_suffix_kanji
2119
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
2120
- attr_accessor :statement_details
2121
1253
  # If 3D Secure authentication was performed with a third-party provider,
2122
1254
  # the authentication details to use for this payment.
2123
1255
  attr_accessor :three_d_secure
@@ -2129,18 +1261,15 @@ module Stripe
2129
1261
  mandate_options: nil,
2130
1262
  moto: nil,
2131
1263
  network: nil,
2132
- request_decremental_authorization: nil,
2133
1264
  request_extended_authorization: nil,
2134
1265
  request_incremental_authorization: nil,
2135
1266
  request_multicapture: nil,
2136
1267
  request_overcapture: nil,
2137
- request_partial_authorization: nil,
2138
1268
  request_three_d_secure: nil,
2139
1269
  require_cvc_recollection: nil,
2140
1270
  setup_future_usage: nil,
2141
1271
  statement_descriptor_suffix_kana: nil,
2142
1272
  statement_descriptor_suffix_kanji: nil,
2143
- statement_details: nil,
2144
1273
  three_d_secure: nil
2145
1274
  )
2146
1275
  @capture_method = capture_method
@@ -2149,18 +1278,15 @@ module Stripe
2149
1278
  @mandate_options = mandate_options
2150
1279
  @moto = moto
2151
1280
  @network = network
2152
- @request_decremental_authorization = request_decremental_authorization
2153
1281
  @request_extended_authorization = request_extended_authorization
2154
1282
  @request_incremental_authorization = request_incremental_authorization
2155
1283
  @request_multicapture = request_multicapture
2156
1284
  @request_overcapture = request_overcapture
2157
- @request_partial_authorization = request_partial_authorization
2158
1285
  @request_three_d_secure = request_three_d_secure
2159
1286
  @require_cvc_recollection = require_cvc_recollection
2160
1287
  @setup_future_usage = setup_future_usage
2161
1288
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
2162
1289
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
2163
- @statement_details = statement_details
2164
1290
  @three_d_secure = three_d_secure
2165
1291
  end
2166
1292
  end
@@ -2174,6 +1300,12 @@ module Stripe
2174
1300
  @requested_priority = requested_priority
2175
1301
  end
2176
1302
  end
1303
+ # Controls when the funds are captured from the customer's account.
1304
+ #
1305
+ # 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.
1306
+ #
1307
+ # 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.
1308
+ attr_accessor :capture_method
2177
1309
  # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
2178
1310
  attr_accessor :request_extended_authorization
2179
1311
  # 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.
@@ -2182,10 +1314,12 @@ module Stripe
2182
1314
  attr_accessor :routing
2183
1315
 
2184
1316
  def initialize(
1317
+ capture_method: nil,
2185
1318
  request_extended_authorization: nil,
2186
1319
  request_incremental_authorization_support: nil,
2187
1320
  routing: nil
2188
1321
  )
1322
+ @capture_method = capture_method
2189
1323
  @request_extended_authorization = request_extended_authorization
2190
1324
  @request_incremental_authorization_support = request_incremental_authorization_support
2191
1325
  @routing = routing
@@ -2331,23 +1465,6 @@ module Stripe
2331
1465
  end
2332
1466
  end
2333
1467
 
2334
- class Gopay < ::Stripe::RequestParams
2335
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2336
- #
2337
- # 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.
2338
- #
2339
- # 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.
2340
- #
2341
- # 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).
2342
- #
2343
- # 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`.
2344
- attr_accessor :setup_future_usage
2345
-
2346
- def initialize(setup_future_usage: nil)
2347
- @setup_future_usage = setup_future_usage
2348
- end
2349
- end
2350
-
2351
1468
  class Grabpay < ::Stripe::RequestParams
2352
1469
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2353
1470
  #
@@ -2365,29 +1482,6 @@ module Stripe
2365
1482
  end
2366
1483
  end
2367
1484
 
2368
- class IdBankTransfer < ::Stripe::RequestParams
2369
- # 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.
2370
- attr_accessor :expires_after
2371
- # 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.
2372
- attr_accessor :expires_at
2373
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2374
- #
2375
- # 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.
2376
- #
2377
- # 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.
2378
- #
2379
- # 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).
2380
- #
2381
- # 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`.
2382
- attr_accessor :setup_future_usage
2383
-
2384
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
2385
- @expires_after = expires_after
2386
- @expires_at = expires_at
2387
- @setup_future_usage = setup_future_usage
2388
- end
2389
- end
2390
-
2391
1485
  class Ideal < ::Stripe::RequestParams
2392
1486
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2393
1487
  #
@@ -2789,65 +1883,12 @@ module Stripe
2789
1883
  end
2790
1884
 
2791
1885
  class Paypal < ::Stripe::RequestParams
2792
- class LineItem < ::Stripe::RequestParams
2793
- class Tax < ::Stripe::RequestParams
2794
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
2795
- attr_accessor :amount
2796
- # The tax behavior for the line item.
2797
- attr_accessor :behavior
2798
-
2799
- def initialize(amount: nil, behavior: nil)
2800
- @amount = amount
2801
- @behavior = behavior
2802
- end
2803
- end
2804
- # Type of the line item.
2805
- attr_accessor :category
2806
- # Description of the line item.
2807
- attr_accessor :description
2808
- # Descriptive name of the line item.
2809
- attr_accessor :name
2810
- # Quantity of the line item. Must be a positive number.
2811
- attr_accessor :quantity
2812
- # Client facing stock keeping unit, article number or similar.
2813
- attr_accessor :sku
2814
- # The Stripe account ID of the connected account that sells the item.
2815
- attr_accessor :sold_by
2816
- # The tax information for the line item.
2817
- attr_accessor :tax
2818
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
2819
- attr_accessor :unit_amount
2820
-
2821
- def initialize(
2822
- category: nil,
2823
- description: nil,
2824
- name: nil,
2825
- quantity: nil,
2826
- sku: nil,
2827
- sold_by: nil,
2828
- tax: nil,
2829
- unit_amount: nil
2830
- )
2831
- @category = category
2832
- @description = description
2833
- @name = name
2834
- @quantity = quantity
2835
- @sku = sku
2836
- @sold_by = sold_by
2837
- @tax = tax
2838
- @unit_amount = unit_amount
2839
- end
2840
- end
2841
1886
  # Controls when the funds will be captured from the customer's account.
2842
1887
  attr_accessor :capture_method
2843
- # The line items purchased by the customer.
2844
- attr_accessor :line_items
2845
1888
  # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
2846
1889
  attr_accessor :preferred_locale
2847
1890
  # 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.
2848
1891
  attr_accessor :reference
2849
- # 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.
2850
- attr_accessor :reference_id
2851
1892
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
2852
1893
  attr_accessor :risk_correlation_id
2853
1894
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2860,140 +1901,29 @@ module Stripe
2860
1901
  #
2861
1902
  # 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`.
2862
1903
  attr_accessor :setup_future_usage
2863
- # 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.
2864
- attr_accessor :subsellers
2865
1904
 
2866
1905
  def initialize(
2867
1906
  capture_method: nil,
2868
- line_items: nil,
2869
1907
  preferred_locale: nil,
2870
1908
  reference: nil,
2871
- reference_id: nil,
2872
1909
  risk_correlation_id: nil,
2873
- setup_future_usage: nil,
2874
- subsellers: nil
1910
+ setup_future_usage: nil
2875
1911
  )
2876
1912
  @capture_method = capture_method
2877
- @line_items = line_items
2878
1913
  @preferred_locale = preferred_locale
2879
1914
  @reference = reference
2880
- @reference_id = reference_id
2881
1915
  @risk_correlation_id = risk_correlation_id
2882
1916
  @setup_future_usage = setup_future_usage
2883
- @subsellers = subsellers
2884
- end
2885
- end
2886
-
2887
- class Paypay < ::Stripe::RequestParams
2888
- # Controls when the funds are captured from the customer's account.
2889
- #
2890
- # 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.
2891
- #
2892
- # 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.
2893
- attr_accessor :capture_method
2894
-
2895
- def initialize(capture_method: nil)
2896
- @capture_method = capture_method
2897
- end
2898
- end
2899
-
2900
- class Payto < ::Stripe::RequestParams
2901
- class MandateOptions < ::Stripe::RequestParams
2902
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
2903
- attr_accessor :amount
2904
- # 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.
2905
- attr_accessor :amount_type
2906
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2907
- attr_accessor :end_date
2908
- # The periodicity at which payments will be collected.
2909
- attr_accessor :payment_schedule
2910
- # 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.
2911
- attr_accessor :payments_per_period
2912
- # The purpose for which payments are made. Defaults to retail.
2913
- attr_accessor :purpose
2914
-
2915
- def initialize(
2916
- amount: nil,
2917
- amount_type: nil,
2918
- end_date: nil,
2919
- payment_schedule: nil,
2920
- payments_per_period: nil,
2921
- purpose: nil
2922
- )
2923
- @amount = amount
2924
- @amount_type = amount_type
2925
- @end_date = end_date
2926
- @payment_schedule = payment_schedule
2927
- @payments_per_period = payments_per_period
2928
- @purpose = purpose
2929
- end
2930
- end
2931
- # 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`
2932
- attr_accessor :mandate_options
2933
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2934
- #
2935
- # 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.
2936
- #
2937
- # 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.
2938
- #
2939
- # 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).
2940
- #
2941
- # 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`.
2942
- attr_accessor :setup_future_usage
2943
-
2944
- def initialize(mandate_options: nil, setup_future_usage: nil)
2945
- @mandate_options = mandate_options
2946
- @setup_future_usage = setup_future_usage
2947
1917
  end
2948
1918
  end
2949
1919
 
2950
1920
  class Pix < ::Stripe::RequestParams
2951
- class MandateOptions < ::Stripe::RequestParams
2952
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
2953
- attr_accessor :amount
2954
- # Determines if the amount includes the IOF tax. Defaults to `never`.
2955
- attr_accessor :amount_includes_iof
2956
- # Type of amount. Defaults to `maximum`.
2957
- attr_accessor :amount_type
2958
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
2959
- attr_accessor :currency
2960
- # 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.
2961
- attr_accessor :end_date
2962
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
2963
- attr_accessor :payment_schedule
2964
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
2965
- attr_accessor :reference
2966
- # 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.
2967
- attr_accessor :start_date
2968
-
2969
- def initialize(
2970
- amount: nil,
2971
- amount_includes_iof: nil,
2972
- amount_type: nil,
2973
- currency: nil,
2974
- end_date: nil,
2975
- payment_schedule: nil,
2976
- reference: nil,
2977
- start_date: nil
2978
- )
2979
- @amount = amount
2980
- @amount_includes_iof = amount_includes_iof
2981
- @amount_type = amount_type
2982
- @currency = currency
2983
- @end_date = end_date
2984
- @payment_schedule = payment_schedule
2985
- @reference = reference
2986
- @start_date = start_date
2987
- end
2988
- end
2989
1921
  # Determines if the amount includes the IOF tax. Defaults to `never`.
2990
1922
  attr_accessor :amount_includes_iof
2991
1923
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
2992
1924
  attr_accessor :expires_after_seconds
2993
1925
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
2994
1926
  attr_accessor :expires_at
2995
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
2996
- attr_accessor :mandate_options
2997
1927
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2998
1928
  #
2999
1929
  # 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.
@@ -3009,13 +1939,11 @@ module Stripe
3009
1939
  amount_includes_iof: nil,
3010
1940
  expires_after_seconds: nil,
3011
1941
  expires_at: nil,
3012
- mandate_options: nil,
3013
1942
  setup_future_usage: nil
3014
1943
  )
3015
1944
  @amount_includes_iof = amount_includes_iof
3016
1945
  @expires_after_seconds = expires_after_seconds
3017
1946
  @expires_at = expires_at
3018
- @mandate_options = mandate_options
3019
1947
  @setup_future_usage = setup_future_usage
3020
1948
  end
3021
1949
  end
@@ -3037,25 +1965,6 @@ module Stripe
3037
1965
  end
3038
1966
  end
3039
1967
 
3040
- class Qris < ::Stripe::RequestParams
3041
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3042
- #
3043
- # 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.
3044
- #
3045
- # 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.
3046
- #
3047
- # 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).
3048
- #
3049
- # 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`.
3050
- attr_accessor :setup_future_usage
3051
-
3052
- def initialize(setup_future_usage: nil)
3053
- @setup_future_usage = setup_future_usage
3054
- end
3055
- end
3056
-
3057
- class Rechnung < ::Stripe::RequestParams; end
3058
-
3059
1968
  class RevolutPay < ::Stripe::RequestParams
3060
1969
  # Controls when the funds are captured from the customer's account.
3061
1970
  #
@@ -3135,23 +2044,6 @@ module Stripe
3135
2044
  end
3136
2045
  end
3137
2046
 
3138
- class Shopeepay < ::Stripe::RequestParams
3139
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3140
- #
3141
- # 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.
3142
- #
3143
- # 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.
3144
- #
3145
- # 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).
3146
- #
3147
- # 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`.
3148
- attr_accessor :setup_future_usage
3149
-
3150
- def initialize(setup_future_usage: nil)
3151
- @setup_future_usage = setup_future_usage
3152
- end
3153
- end
3154
-
3155
2047
  class Sofort < ::Stripe::RequestParams
3156
2048
  # Language shown to the payer on redirect.
3157
2049
  attr_accessor :preferred_language
@@ -3172,23 +2064,6 @@ module Stripe
3172
2064
  end
3173
2065
  end
3174
2066
 
3175
- class StripeBalance < ::Stripe::RequestParams
3176
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3177
- #
3178
- # 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.
3179
- #
3180
- # 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.
3181
- #
3182
- # 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).
3183
- #
3184
- # 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`.
3185
- attr_accessor :setup_future_usage
3186
-
3187
- def initialize(setup_future_usage: nil)
3188
- @setup_future_usage = setup_future_usage
3189
- end
3190
- end
3191
-
3192
2067
  class Swish < ::Stripe::RequestParams
3193
2068
  # A reference for this payment to be displayed in the Swish app.
3194
2069
  attr_accessor :reference
@@ -3231,27 +2106,13 @@ module Stripe
3231
2106
  class Filters < ::Stripe::RequestParams
3232
2107
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3233
2108
  attr_accessor :account_subcategories
3234
- # ID of the institution to use to filter for selectable accounts.
3235
- attr_accessor :institution
3236
2109
 
3237
- def initialize(account_subcategories: nil, institution: nil)
2110
+ def initialize(account_subcategories: nil)
3238
2111
  @account_subcategories = account_subcategories
3239
- @institution = institution
3240
- end
3241
- end
3242
-
3243
- class ManualEntry < ::Stripe::RequestParams
3244
- # Settings for configuring manual entry of account details.
3245
- attr_accessor :mode
3246
-
3247
- def initialize(mode: nil)
3248
- @mode = mode
3249
2112
  end
3250
2113
  end
3251
2114
  # Provide filters for the linked accounts that the customer can select for the payment method.
3252
2115
  attr_accessor :filters
3253
- # Customize manual entry behavior
3254
- attr_accessor :manual_entry
3255
2116
  # 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`.
3256
2117
  attr_accessor :permissions
3257
2118
  # List of data features that you would like to retrieve upon account creation.
@@ -3259,15 +2120,8 @@ module Stripe
3259
2120
  # 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.
3260
2121
  attr_accessor :return_url
3261
2122
 
3262
- def initialize(
3263
- filters: nil,
3264
- manual_entry: nil,
3265
- permissions: nil,
3266
- prefetch: nil,
3267
- return_url: nil
3268
- )
2123
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
3269
2124
  @filters = filters
3270
- @manual_entry = manual_entry
3271
2125
  @permissions = permissions
3272
2126
  @prefetch = prefetch
3273
2127
  @return_url = return_url
@@ -3412,12 +2266,8 @@ module Stripe
3412
2266
  attr_accessor :fpx
3413
2267
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
3414
2268
  attr_accessor :giropay
3415
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
3416
- attr_accessor :gopay
3417
2269
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
3418
2270
  attr_accessor :grabpay
3419
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
3420
- attr_accessor :id_bank_transfer
3421
2271
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
3422
2272
  attr_accessor :ideal
3423
2273
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -3454,18 +2304,10 @@ module Stripe
3454
2304
  attr_accessor :paynow
3455
2305
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
3456
2306
  attr_accessor :paypal
3457
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
3458
- attr_accessor :paypay
3459
- # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
3460
- attr_accessor :payto
3461
2307
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
3462
2308
  attr_accessor :pix
3463
2309
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
3464
2310
  attr_accessor :promptpay
3465
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
3466
- attr_accessor :qris
3467
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
3468
- attr_accessor :rechnung
3469
2311
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
3470
2312
  attr_accessor :revolut_pay
3471
2313
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -3474,12 +2316,8 @@ module Stripe
3474
2316
  attr_accessor :satispay
3475
2317
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
3476
2318
  attr_accessor :sepa_debit
3477
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
3478
- attr_accessor :shopeepay
3479
2319
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
3480
2320
  attr_accessor :sofort
3481
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
3482
- attr_accessor :stripe_balance
3483
2321
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
3484
2322
  attr_accessor :swish
3485
2323
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -3512,9 +2350,7 @@ module Stripe
3512
2350
  eps: nil,
3513
2351
  fpx: nil,
3514
2352
  giropay: nil,
3515
- gopay: nil,
3516
2353
  grabpay: nil,
3517
- id_bank_transfer: nil,
3518
2354
  ideal: nil,
3519
2355
  interac_present: nil,
3520
2356
  kakao_pay: nil,
@@ -3533,19 +2369,13 @@ module Stripe
3533
2369
  payco: nil,
3534
2370
  paynow: nil,
3535
2371
  paypal: nil,
3536
- paypay: nil,
3537
- payto: nil,
3538
2372
  pix: nil,
3539
2373
  promptpay: nil,
3540
- qris: nil,
3541
- rechnung: nil,
3542
2374
  revolut_pay: nil,
3543
2375
  samsung_pay: nil,
3544
2376
  satispay: nil,
3545
2377
  sepa_debit: nil,
3546
- shopeepay: nil,
3547
2378
  sofort: nil,
3548
- stripe_balance: nil,
3549
2379
  swish: nil,
3550
2380
  twint: nil,
3551
2381
  us_bank_account: nil,
@@ -3572,9 +2402,7 @@ module Stripe
3572
2402
  @eps = eps
3573
2403
  @fpx = fpx
3574
2404
  @giropay = giropay
3575
- @gopay = gopay
3576
2405
  @grabpay = grabpay
3577
- @id_bank_transfer = id_bank_transfer
3578
2406
  @ideal = ideal
3579
2407
  @interac_present = interac_present
3580
2408
  @kakao_pay = kakao_pay
@@ -3593,19 +2421,13 @@ module Stripe
3593
2421
  @payco = payco
3594
2422
  @paynow = paynow
3595
2423
  @paypal = paypal
3596
- @paypay = paypay
3597
- @payto = payto
3598
2424
  @pix = pix
3599
2425
  @promptpay = promptpay
3600
- @qris = qris
3601
- @rechnung = rechnung
3602
2426
  @revolut_pay = revolut_pay
3603
2427
  @samsung_pay = samsung_pay
3604
2428
  @satispay = satispay
3605
2429
  @sepa_debit = sepa_debit
3606
- @shopeepay = shopeepay
3607
2430
  @sofort = sofort
3608
- @stripe_balance = stripe_balance
3609
2431
  @swish = swish
3610
2432
  @twint = twint
3611
2433
  @us_bank_account = us_bank_account
@@ -3720,12 +2542,6 @@ module Stripe
3720
2542
  #
3721
2543
  # 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.
3722
2544
  attr_accessor :customer
3723
- # ID of the Account this PaymentIntent belongs to, if one exists.
3724
- #
3725
- # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
3726
- #
3727
- # 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.
3728
- attr_accessor :customer_account
3729
2545
  # An arbitrary string attached to the object. Often useful for displaying to users.
3730
2546
  attr_accessor :description
3731
2547
  # Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
@@ -3734,10 +2550,6 @@ module Stripe
3734
2550
  attr_accessor :excluded_payment_method_types
3735
2551
  # Specifies which fields in the response should be expanded.
3736
2552
  attr_accessor :expand
3737
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
3738
- attr_accessor :fx_quote
3739
- # Automations to be run during the PaymentIntent lifecycle
3740
- attr_accessor :hooks
3741
2553
  # ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
3742
2554
  attr_accessor :mandate
3743
2555
  # This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
@@ -3772,8 +2584,6 @@ module Stripe
3772
2584
  attr_accessor :receipt_email
3773
2585
  # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
3774
2586
  attr_accessor :return_url
3775
- # Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
3776
- attr_accessor :secret_key_confirmation
3777
2587
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3778
2588
  #
3779
2589
  # 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.
@@ -3809,13 +2619,10 @@ module Stripe
3809
2619
  confirmation_token: nil,
3810
2620
  currency: nil,
3811
2621
  customer: nil,
3812
- customer_account: nil,
3813
2622
  description: nil,
3814
2623
  error_on_requires_action: nil,
3815
2624
  excluded_payment_method_types: nil,
3816
2625
  expand: nil,
3817
- fx_quote: nil,
3818
- hooks: nil,
3819
2626
  mandate: nil,
3820
2627
  mandate_data: nil,
3821
2628
  metadata: nil,
@@ -3830,7 +2637,6 @@ module Stripe
3830
2637
  radar_options: nil,
3831
2638
  receipt_email: nil,
3832
2639
  return_url: nil,
3833
- secret_key_confirmation: nil,
3834
2640
  setup_future_usage: nil,
3835
2641
  shipping: nil,
3836
2642
  statement_descriptor: nil,
@@ -3849,13 +2655,10 @@ module Stripe
3849
2655
  @confirmation_token = confirmation_token
3850
2656
  @currency = currency
3851
2657
  @customer = customer
3852
- @customer_account = customer_account
3853
2658
  @description = description
3854
2659
  @error_on_requires_action = error_on_requires_action
3855
2660
  @excluded_payment_method_types = excluded_payment_method_types
3856
2661
  @expand = expand
3857
- @fx_quote = fx_quote
3858
- @hooks = hooks
3859
2662
  @mandate = mandate
3860
2663
  @mandate_data = mandate_data
3861
2664
  @metadata = metadata
@@ -3870,7 +2673,6 @@ module Stripe
3870
2673
  @radar_options = radar_options
3871
2674
  @receipt_email = receipt_email
3872
2675
  @return_url = return_url
3873
- @secret_key_confirmation = secret_key_confirmation
3874
2676
  @setup_future_usage = setup_future_usage
3875
2677
  @shipping = shipping
3876
2678
  @statement_descriptor = statement_descriptor