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
@@ -155,794 +165,30 @@ module Stripe
155
165
  attr_accessor :shipping
156
166
  # Contains information about the tax portion of the amount.
157
167
  attr_accessor :tax
158
-
159
- def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
160
- @discount_amount = discount_amount
161
- @line_items = line_items
162
- @shipping = shipping
163
- @tax = tax
164
- end
165
- end
166
-
167
- class Hooks < ::Stripe::RequestParams
168
- class Inputs < ::Stripe::RequestParams
169
- class Tax < ::Stripe::RequestParams
170
- # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
171
- attr_accessor :calculation
172
-
173
- def initialize(calculation: nil)
174
- @calculation = calculation
175
- end
176
- end
177
- # Tax arguments for automations
178
- attr_accessor :tax
179
-
180
- def initialize(tax: nil)
181
- @tax = tax
182
- end
183
- end
184
- # Arguments passed in automations
185
- attr_accessor :inputs
186
-
187
- def initialize(inputs: nil)
188
- @inputs = inputs
189
- end
190
- end
191
-
192
- class MandateData < ::Stripe::RequestParams
193
- class CustomerAcceptance < ::Stripe::RequestParams
194
- class Online < ::Stripe::RequestParams
195
- # The IP address from which the Mandate was accepted by the customer.
196
- attr_accessor :ip_address
197
- # The user agent of the browser from which the Mandate was accepted by the customer.
198
- attr_accessor :user_agent
199
-
200
- def initialize(ip_address: nil, user_agent: nil)
201
- @ip_address = ip_address
202
- @user_agent = user_agent
203
- end
204
- end
205
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
206
- attr_accessor :online
207
- # The type of customer acceptance information included with the Mandate.
208
- attr_accessor :type
209
-
210
- def initialize(online: nil, type: nil)
211
- @online = online
212
- @type = type
213
- end
214
- end
215
- # This hash contains details about the customer acceptance of the Mandate.
216
- attr_accessor :customer_acceptance
217
-
218
- def initialize(customer_acceptance: nil)
219
- @customer_acceptance = customer_acceptance
220
- end
221
- end
222
-
223
- class PaymentDetails < ::Stripe::RequestParams
224
- class Benefit < ::Stripe::RequestParams
225
- class FrMealVoucher < ::Stripe::RequestParams
226
- # The 14-digit SIRET of the meal voucher acceptor.
227
- attr_accessor :siret
228
-
229
- def initialize(siret: nil)
230
- @siret = siret
231
- end
232
- end
233
- # French meal voucher benefit details for this PaymentIntent.
234
- attr_accessor :fr_meal_voucher
235
-
236
- def initialize(fr_meal_voucher: nil)
237
- @fr_meal_voucher = fr_meal_voucher
238
- end
239
- end
240
-
241
- class CarRental < ::Stripe::RequestParams
242
- class Affiliate < ::Stripe::RequestParams
243
- # The name of the affiliate that originated the purchase.
244
- attr_accessor :name
245
-
246
- def initialize(name: nil)
247
- @name = name
248
- end
249
- end
250
-
251
- class Delivery < ::Stripe::RequestParams
252
- class Recipient < ::Stripe::RequestParams
253
- # The email of the recipient the ticket is delivered to.
254
- attr_accessor :email
255
- # The name of the recipient the ticket is delivered to.
256
- attr_accessor :name
257
- # The phone number of the recipient the ticket is delivered to.
258
- attr_accessor :phone
259
-
260
- def initialize(email: nil, name: nil, phone: nil)
261
- @email = email
262
- @name = name
263
- @phone = phone
264
- end
265
- end
266
- # The delivery method for the payment
267
- attr_accessor :mode
268
- # Details of the recipient.
269
- attr_accessor :recipient
270
-
271
- def initialize(mode: nil, recipient: nil)
272
- @mode = mode
273
- @recipient = recipient
274
- end
275
- end
276
-
277
- class Distance < ::Stripe::RequestParams
278
- # Distance traveled.
279
- attr_accessor :amount
280
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
281
- attr_accessor :unit
282
-
283
- def initialize(amount: nil, unit: nil)
284
- @amount = amount
285
- @unit = unit
286
- end
287
- end
288
-
289
- class Driver < ::Stripe::RequestParams
290
- # Driver's identification number.
291
- attr_accessor :driver_identification_number
292
- # Driver's tax number.
293
- attr_accessor :driver_tax_number
294
- # Full name of the person or entity on the car reservation.
295
- attr_accessor :name
296
-
297
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
298
- @driver_identification_number = driver_identification_number
299
- @driver_tax_number = driver_tax_number
300
- @name = name
301
- end
302
- end
303
-
304
- class PickupAddress < ::Stripe::RequestParams
305
- # City, district, suburb, town, or village.
306
- attr_accessor :city
307
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
308
- attr_accessor :country
309
- # Address line 1, such as the street, PO Box, or company name.
310
- attr_accessor :line1
311
- # Address line 2, such as the apartment, suite, unit, or building.
312
- attr_accessor :line2
313
- # ZIP or postal code.
314
- attr_accessor :postal_code
315
- # State, county, province, or region.
316
- attr_accessor :state
317
-
318
- def initialize(
319
- city: nil,
320
- country: nil,
321
- line1: nil,
322
- line2: nil,
323
- postal_code: nil,
324
- state: nil
325
- )
326
- @city = city
327
- @country = country
328
- @line1 = line1
329
- @line2 = line2
330
- @postal_code = postal_code
331
- @state = state
332
- end
333
- end
334
-
335
- class ReturnAddress < ::Stripe::RequestParams
336
- # City, district, suburb, town, or village.
337
- attr_accessor :city
338
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
339
- attr_accessor :country
340
- # Address line 1, such as the street, PO Box, or company name.
341
- attr_accessor :line1
342
- # Address line 2, such as the apartment, suite, unit, or building.
343
- attr_accessor :line2
344
- # ZIP or postal code.
345
- attr_accessor :postal_code
346
- # State, county, province, or region.
347
- attr_accessor :state
348
-
349
- def initialize(
350
- city: nil,
351
- country: nil,
352
- line1: nil,
353
- line2: nil,
354
- postal_code: nil,
355
- state: nil
356
- )
357
- @city = city
358
- @country = country
359
- @line1 = line1
360
- @line2 = line2
361
- @postal_code = postal_code
362
- @state = state
363
- end
364
- end
365
- # Affiliate details for this purchase.
366
- attr_accessor :affiliate
367
- # The booking number associated with the car rental.
368
- attr_accessor :booking_number
369
- # Class code of the car.
370
- attr_accessor :car_class_code
371
- # Make of the car.
372
- attr_accessor :car_make
373
- # Model of the car.
374
- attr_accessor :car_model
375
- # The name of the rental car company.
376
- attr_accessor :company
377
- # The customer service phone number of the car rental company.
378
- attr_accessor :customer_service_phone_number
379
- # Number of days the car is being rented.
380
- attr_accessor :days_rented
381
- # Delivery details for this purchase.
382
- attr_accessor :delivery
383
- # The details of the distance traveled during the rental period.
384
- attr_accessor :distance
385
- # The details of the passengers in the travel reservation
386
- attr_accessor :drivers
387
- # List of additional charges being billed.
388
- attr_accessor :extra_charges
389
- # Indicates if the customer did not keep nor cancel their booking.
390
- attr_accessor :no_show
391
- # Car pick-up address.
392
- attr_accessor :pickup_address
393
- # Car pick-up time. Measured in seconds since the Unix epoch.
394
- attr_accessor :pickup_at
395
- # Name of the pickup location.
396
- attr_accessor :pickup_location_name
397
- # Rental rate.
398
- attr_accessor :rate_amount
399
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
400
- attr_accessor :rate_interval
401
- # The name of the person or entity renting the car.
402
- attr_accessor :renter_name
403
- # Car return address.
404
- attr_accessor :return_address
405
- # Car return time. Measured in seconds since the Unix epoch.
406
- attr_accessor :return_at
407
- # Name of the return location.
408
- attr_accessor :return_location_name
409
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
410
- attr_accessor :tax_exempt
411
- # The vehicle identification number.
412
- attr_accessor :vehicle_identification_number
413
-
414
- def initialize(
415
- affiliate: nil,
416
- booking_number: nil,
417
- car_class_code: nil,
418
- car_make: nil,
419
- car_model: nil,
420
- company: nil,
421
- customer_service_phone_number: nil,
422
- days_rented: nil,
423
- delivery: nil,
424
- distance: nil,
425
- drivers: nil,
426
- extra_charges: nil,
427
- no_show: nil,
428
- pickup_address: nil,
429
- pickup_at: nil,
430
- pickup_location_name: nil,
431
- rate_amount: nil,
432
- rate_interval: nil,
433
- renter_name: nil,
434
- return_address: nil,
435
- return_at: nil,
436
- return_location_name: nil,
437
- tax_exempt: nil,
438
- vehicle_identification_number: nil
439
- )
440
- @affiliate = affiliate
441
- @booking_number = booking_number
442
- @car_class_code = car_class_code
443
- @car_make = car_make
444
- @car_model = car_model
445
- @company = company
446
- @customer_service_phone_number = customer_service_phone_number
447
- @days_rented = days_rented
448
- @delivery = delivery
449
- @distance = distance
450
- @drivers = drivers
451
- @extra_charges = extra_charges
452
- @no_show = no_show
453
- @pickup_address = pickup_address
454
- @pickup_at = pickup_at
455
- @pickup_location_name = pickup_location_name
456
- @rate_amount = rate_amount
457
- @rate_interval = rate_interval
458
- @renter_name = renter_name
459
- @return_address = return_address
460
- @return_at = return_at
461
- @return_location_name = return_location_name
462
- @tax_exempt = tax_exempt
463
- @vehicle_identification_number = vehicle_identification_number
464
- end
465
- end
466
-
467
- class EventDetails < ::Stripe::RequestParams
468
- class Address < ::Stripe::RequestParams
469
- # City, district, suburb, town, or village.
470
- attr_accessor :city
471
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
472
- attr_accessor :country
473
- # Address line 1, such as the street, PO Box, or company name.
474
- attr_accessor :line1
475
- # Address line 2, such as the apartment, suite, unit, or building.
476
- attr_accessor :line2
477
- # ZIP or postal code.
478
- attr_accessor :postal_code
479
- # State, county, province, or region.
480
- attr_accessor :state
481
-
482
- def initialize(
483
- city: nil,
484
- country: nil,
485
- line1: nil,
486
- line2: nil,
487
- postal_code: nil,
488
- state: nil
489
- )
490
- @city = city
491
- @country = country
492
- @line1 = line1
493
- @line2 = line2
494
- @postal_code = postal_code
495
- @state = state
496
- end
497
- end
498
-
499
- class Affiliate < ::Stripe::RequestParams
500
- # The name of the affiliate that originated the purchase.
501
- attr_accessor :name
502
-
503
- def initialize(name: nil)
504
- @name = name
505
- end
506
- end
507
-
508
- class Delivery < ::Stripe::RequestParams
509
- class Recipient < ::Stripe::RequestParams
510
- # The email of the recipient the ticket is delivered to.
511
- attr_accessor :email
512
- # The name of the recipient the ticket is delivered to.
513
- attr_accessor :name
514
- # The phone number of the recipient the ticket is delivered to.
515
- attr_accessor :phone
516
-
517
- def initialize(email: nil, name: nil, phone: nil)
518
- @email = email
519
- @name = name
520
- @phone = phone
521
- end
522
- end
523
- # The delivery method for the payment
524
- attr_accessor :mode
525
- # Details of the recipient.
526
- attr_accessor :recipient
527
-
528
- def initialize(mode: nil, recipient: nil)
529
- @mode = mode
530
- @recipient = recipient
531
- end
532
- end
533
- # Indicates if the tickets are digitally checked when entering the venue.
534
- attr_accessor :access_controlled_venue
535
- # The event location's address.
536
- attr_accessor :address
537
- # Affiliate details for this purchase.
538
- attr_accessor :affiliate
539
- # The name of the company
540
- attr_accessor :company
541
- # Delivery details for this purchase.
542
- attr_accessor :delivery
543
- # Event end time. Measured in seconds since the Unix epoch.
544
- attr_accessor :ends_at
545
- # Type of the event entertainment (concert, sports event etc)
546
- attr_accessor :genre
547
- # The name of the event.
548
- attr_accessor :name
549
- # Event start time. Measured in seconds since the Unix epoch.
550
- attr_accessor :starts_at
551
-
552
- def initialize(
553
- access_controlled_venue: nil,
554
- address: nil,
555
- affiliate: nil,
556
- company: nil,
557
- delivery: nil,
558
- ends_at: nil,
559
- genre: nil,
560
- name: nil,
561
- starts_at: nil
562
- )
563
- @access_controlled_venue = access_controlled_venue
564
- @address = address
565
- @affiliate = affiliate
566
- @company = company
567
- @delivery = delivery
568
- @ends_at = ends_at
569
- @genre = genre
570
- @name = name
571
- @starts_at = starts_at
572
- end
573
- end
574
-
575
- class Flight < ::Stripe::RequestParams
576
- class Affiliate < ::Stripe::RequestParams
577
- # The name of the affiliate that originated the purchase.
578
- attr_accessor :name
579
-
580
- def initialize(name: nil)
581
- @name = name
582
- end
583
- end
584
-
585
- class Delivery < ::Stripe::RequestParams
586
- class Recipient < ::Stripe::RequestParams
587
- # The email of the recipient the ticket is delivered to.
588
- attr_accessor :email
589
- # The name of the recipient the ticket is delivered to.
590
- attr_accessor :name
591
- # The phone number of the recipient the ticket is delivered to.
592
- attr_accessor :phone
593
-
594
- def initialize(email: nil, name: nil, phone: nil)
595
- @email = email
596
- @name = name
597
- @phone = phone
598
- end
599
- end
600
- # The delivery method for the payment
601
- attr_accessor :mode
602
- # Details of the recipient.
603
- attr_accessor :recipient
604
-
605
- def initialize(mode: nil, recipient: nil)
606
- @mode = mode
607
- @recipient = recipient
608
- end
609
- end
610
-
611
- class Passenger < ::Stripe::RequestParams
612
- # Full name of the person or entity on the flight reservation.
613
- attr_accessor :name
614
-
615
- def initialize(name: nil)
616
- @name = name
617
- end
618
- end
619
-
620
- class Segment < ::Stripe::RequestParams
621
- # The flight segment amount.
622
- attr_accessor :amount
623
- # The International Air Transport Association (IATA) airport code for the arrival airport.
624
- attr_accessor :arrival_airport
625
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
626
- attr_accessor :arrives_at
627
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
628
- attr_accessor :carrier
629
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
630
- attr_accessor :departs_at
631
- # The International Air Transport Association (IATA) airport code for the departure airport.
632
- attr_accessor :departure_airport
633
- # The flight number associated with the segment
634
- attr_accessor :flight_number
635
- # The fare class for the segment.
636
- attr_accessor :service_class
637
-
638
- def initialize(
639
- amount: nil,
640
- arrival_airport: nil,
641
- arrives_at: nil,
642
- carrier: nil,
643
- departs_at: nil,
644
- departure_airport: nil,
645
- flight_number: nil,
646
- service_class: nil
647
- )
648
- @amount = amount
649
- @arrival_airport = arrival_airport
650
- @arrives_at = arrives_at
651
- @carrier = carrier
652
- @departs_at = departs_at
653
- @departure_airport = departure_airport
654
- @flight_number = flight_number
655
- @service_class = service_class
656
- end
657
- end
658
- # Affiliate details for this purchase.
659
- attr_accessor :affiliate
660
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
661
- attr_accessor :agency_number
662
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
663
- attr_accessor :carrier
664
- # Delivery details for this purchase.
665
- attr_accessor :delivery
666
- # The name of the person or entity on the reservation.
667
- attr_accessor :passenger_name
668
- # The details of the passengers in the travel reservation.
669
- attr_accessor :passengers
670
- # The individual flight segments associated with the trip.
671
- attr_accessor :segments
672
- # The ticket number associated with the travel reservation.
673
- attr_accessor :ticket_number
674
-
675
- def initialize(
676
- affiliate: nil,
677
- agency_number: nil,
678
- carrier: nil,
679
- delivery: nil,
680
- passenger_name: nil,
681
- passengers: nil,
682
- segments: nil,
683
- ticket_number: nil
684
- )
685
- @affiliate = affiliate
686
- @agency_number = agency_number
687
- @carrier = carrier
688
- @delivery = delivery
689
- @passenger_name = passenger_name
690
- @passengers = passengers
691
- @segments = segments
692
- @ticket_number = ticket_number
693
- end
694
- end
695
-
696
- class Lodging < ::Stripe::RequestParams
697
- class Address < ::Stripe::RequestParams
698
- # City, district, suburb, town, or village.
699
- attr_accessor :city
700
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
701
- attr_accessor :country
702
- # Address line 1, such as the street, PO Box, or company name.
703
- attr_accessor :line1
704
- # Address line 2, such as the apartment, suite, unit, or building.
705
- attr_accessor :line2
706
- # ZIP or postal code.
707
- attr_accessor :postal_code
708
- # State, county, province, or region.
709
- attr_accessor :state
710
-
711
- def initialize(
712
- city: nil,
713
- country: nil,
714
- line1: nil,
715
- line2: nil,
716
- postal_code: nil,
717
- state: nil
718
- )
719
- @city = city
720
- @country = country
721
- @line1 = line1
722
- @line2 = line2
723
- @postal_code = postal_code
724
- @state = state
725
- end
726
- end
727
-
728
- class Affiliate < ::Stripe::RequestParams
729
- # The name of the affiliate that originated the purchase.
730
- attr_accessor :name
731
-
732
- def initialize(name: nil)
733
- @name = name
734
- end
735
- end
736
-
737
- class Delivery < ::Stripe::RequestParams
738
- class Recipient < ::Stripe::RequestParams
739
- # The email of the recipient the ticket is delivered to.
740
- attr_accessor :email
741
- # The name of the recipient the ticket is delivered to.
742
- attr_accessor :name
743
- # The phone number of the recipient the ticket is delivered to.
744
- attr_accessor :phone
745
-
746
- def initialize(email: nil, name: nil, phone: nil)
747
- @email = email
748
- @name = name
749
- @phone = phone
750
- end
751
- end
752
- # The delivery method for the payment
753
- attr_accessor :mode
754
- # Details of the recipient.
755
- attr_accessor :recipient
756
-
757
- def initialize(mode: nil, recipient: nil)
758
- @mode = mode
759
- @recipient = recipient
760
- end
761
- end
762
-
763
- class Passenger < ::Stripe::RequestParams
764
- # Full name of the person or entity on the lodging reservation.
765
- attr_accessor :name
766
-
767
- def initialize(name: nil)
768
- @name = name
769
- end
770
- end
771
- # The lodging location's address.
772
- attr_accessor :address
773
- # The number of adults on the booking
774
- attr_accessor :adults
775
- # Affiliate details for this purchase.
776
- attr_accessor :affiliate
777
- # The booking number associated with the lodging reservation.
778
- attr_accessor :booking_number
779
- # The lodging category
780
- attr_accessor :category
781
- # Lodging check-in time. Measured in seconds since the Unix epoch.
782
- attr_accessor :checkin_at
783
- # Lodging check-out time. Measured in seconds since the Unix epoch.
784
- attr_accessor :checkout_at
785
- # The customer service phone number of the lodging company.
786
- attr_accessor :customer_service_phone_number
787
- # The daily lodging room rate.
788
- attr_accessor :daily_room_rate_amount
789
- # Delivery details for this purchase.
790
- attr_accessor :delivery
791
- # List of additional charges being billed.
792
- attr_accessor :extra_charges
793
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
794
- attr_accessor :fire_safety_act_compliance
795
- # The name of the lodging location.
796
- attr_accessor :name
797
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
798
- attr_accessor :no_show
799
- # The number of rooms on the booking
800
- attr_accessor :number_of_rooms
801
- # The details of the passengers in the travel reservation
802
- attr_accessor :passengers
803
- # The phone number of the lodging location.
804
- attr_accessor :property_phone_number
805
- # The room class for this purchase.
806
- attr_accessor :room_class
807
- # The number of room nights
808
- attr_accessor :room_nights
809
- # The total tax amount associating with the room reservation.
810
- attr_accessor :total_room_tax_amount
811
- # The total tax amount
812
- attr_accessor :total_tax_amount
813
-
814
- def initialize(
815
- address: nil,
816
- adults: nil,
817
- affiliate: nil,
818
- booking_number: nil,
819
- category: nil,
820
- checkin_at: nil,
821
- checkout_at: nil,
822
- customer_service_phone_number: nil,
823
- daily_room_rate_amount: nil,
824
- delivery: nil,
825
- extra_charges: nil,
826
- fire_safety_act_compliance: nil,
827
- name: nil,
828
- no_show: nil,
829
- number_of_rooms: nil,
830
- passengers: nil,
831
- property_phone_number: nil,
832
- room_class: nil,
833
- room_nights: nil,
834
- total_room_tax_amount: nil,
835
- total_tax_amount: nil
836
- )
837
- @address = address
838
- @adults = adults
839
- @affiliate = affiliate
840
- @booking_number = booking_number
841
- @category = category
842
- @checkin_at = checkin_at
843
- @checkout_at = checkout_at
844
- @customer_service_phone_number = customer_service_phone_number
845
- @daily_room_rate_amount = daily_room_rate_amount
846
- @delivery = delivery
847
- @extra_charges = extra_charges
848
- @fire_safety_act_compliance = fire_safety_act_compliance
849
- @name = name
850
- @no_show = no_show
851
- @number_of_rooms = number_of_rooms
852
- @passengers = passengers
853
- @property_phone_number = property_phone_number
854
- @room_class = room_class
855
- @room_nights = room_nights
856
- @total_room_tax_amount = total_room_tax_amount
857
- @total_tax_amount = total_tax_amount
858
- end
859
- end
860
-
861
- class Subscription < ::Stripe::RequestParams
862
- class Affiliate < ::Stripe::RequestParams
863
- # The name of the affiliate that originated the purchase.
864
- attr_accessor :name
865
-
866
- def initialize(name: nil)
867
- @name = name
868
- end
869
- end
870
-
871
- class BillingInterval < ::Stripe::RequestParams
872
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
873
- attr_accessor :count
874
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
875
- attr_accessor :interval
876
-
877
- def initialize(count: nil, interval: nil)
878
- @count = count
879
- @interval = interval
880
- end
881
- end
882
- # Affiliate details for this purchase.
883
- attr_accessor :affiliate
884
- # Info whether the subscription will be auto renewed upon expiry.
885
- attr_accessor :auto_renewal
886
- # Subscription billing details for this purchase.
887
- attr_accessor :billing_interval
888
- # Subscription end time. Measured in seconds since the Unix epoch.
889
- attr_accessor :ends_at
890
- # Name of the product on subscription. e.g. Apple Music Subscription
891
- attr_accessor :name
892
- # Subscription start time. Measured in seconds since the Unix epoch.
893
- attr_accessor :starts_at
894
-
895
- def initialize(
896
- affiliate: nil,
897
- auto_renewal: nil,
898
- billing_interval: nil,
899
- ends_at: nil,
900
- name: nil,
901
- starts_at: nil
902
- )
903
- @affiliate = affiliate
904
- @auto_renewal = auto_renewal
905
- @billing_interval = billing_interval
906
- @ends_at = ends_at
907
- @name = name
908
- @starts_at = starts_at
909
- end
168
+
169
+ def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
170
+ @discount_amount = discount_amount
171
+ @line_items = line_items
172
+ @shipping = shipping
173
+ @tax = tax
910
174
  end
911
- # Benefit details for this PaymentIntent
912
- attr_accessor :benefit
913
- # Car rental details for this PaymentIntent.
914
- attr_accessor :car_rental
915
- # 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.
175
+ end
176
+
177
+ class PaymentDetails < ::Stripe::RequestParams
178
+ # A unique value to identify the customer. This field is available only for card payments.
179
+ #
180
+ # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
916
181
  attr_accessor :customer_reference
917
- # Event details for this PaymentIntent
918
- attr_accessor :event_details
919
- # Flight reservation details for this PaymentIntent
920
- attr_accessor :flight
921
- # Lodging reservation details for this PaymentIntent
922
- attr_accessor :lodging
923
- # A unique value assigned by the business to identify the transaction.
182
+ # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
183
+ #
184
+ # 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`.
185
+ #
186
+ # 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.
924
187
  attr_accessor :order_reference
925
- # Subscription details for this PaymentIntent
926
- attr_accessor :subscription
927
188
 
928
- def initialize(
929
- benefit: nil,
930
- car_rental: nil,
931
- customer_reference: nil,
932
- event_details: nil,
933
- flight: nil,
934
- lodging: nil,
935
- order_reference: nil,
936
- subscription: nil
937
- )
938
- @benefit = benefit
939
- @car_rental = car_rental
189
+ def initialize(customer_reference: nil, order_reference: nil)
940
190
  @customer_reference = customer_reference
941
- @event_details = event_details
942
- @flight = flight
943
- @lodging = lodging
944
191
  @order_reference = order_reference
945
- @subscription = subscription
946
192
  end
947
193
  end
948
194
 
@@ -1083,18 +329,8 @@ module Stripe
1083
329
  end
1084
330
 
1085
331
  class Giropay < ::Stripe::RequestParams; end
1086
- class Gopay < ::Stripe::RequestParams; end
1087
332
  class Grabpay < ::Stripe::RequestParams; end
1088
333
 
1089
- class IdBankTransfer < ::Stripe::RequestParams
1090
- # Bank where the account is held.
1091
- attr_accessor :bank
1092
-
1093
- def initialize(bank: nil)
1094
- @bank = bank
1095
- end
1096
- end
1097
-
1098
334
  class Ideal < ::Stripe::RequestParams
1099
335
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
1100
336
  attr_accessor :bank
@@ -1192,26 +428,8 @@ module Stripe
1192
428
  class Payco < ::Stripe::RequestParams; end
1193
429
  class Paynow < ::Stripe::RequestParams; end
1194
430
  class Paypal < ::Stripe::RequestParams; end
1195
- class Paypay < ::Stripe::RequestParams; end
1196
-
1197
- class Payto < ::Stripe::RequestParams
1198
- # The account number for the bank account.
1199
- attr_accessor :account_number
1200
- # Bank-State-Branch number of the bank account.
1201
- attr_accessor :bsb_number
1202
- # The PayID alias for the bank account.
1203
- attr_accessor :pay_id
1204
-
1205
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
1206
- @account_number = account_number
1207
- @bsb_number = bsb_number
1208
- @pay_id = pay_id
1209
- end
1210
- end
1211
-
1212
431
  class Pix < ::Stripe::RequestParams; end
1213
432
  class Promptpay < ::Stripe::RequestParams; end
1214
- class Qris < ::Stripe::RequestParams; end
1215
433
 
1216
434
  class RadarOptions < ::Stripe::RequestParams
1217
435
  # 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.
@@ -1222,29 +440,6 @@ module Stripe
1222
440
  end
1223
441
  end
1224
442
 
1225
- class Rechnung < ::Stripe::RequestParams
1226
- class Dob < ::Stripe::RequestParams
1227
- # The day of birth, between 1 and 31.
1228
- attr_accessor :day
1229
- # The month of birth, between 1 and 12.
1230
- attr_accessor :month
1231
- # The four-digit year of birth.
1232
- attr_accessor :year
1233
-
1234
- def initialize(day: nil, month: nil, year: nil)
1235
- @day = day
1236
- @month = month
1237
- @year = year
1238
- end
1239
- end
1240
- # Customer's date of birth
1241
- attr_accessor :dob
1242
-
1243
- def initialize(dob: nil)
1244
- @dob = dob
1245
- end
1246
- end
1247
-
1248
443
  class RevolutPay < ::Stripe::RequestParams; end
1249
444
  class SamsungPay < ::Stripe::RequestParams; end
1250
445
  class Satispay < ::Stripe::RequestParams; end
@@ -1258,8 +453,6 @@ module Stripe
1258
453
  end
1259
454
  end
1260
455
 
1261
- class Shopeepay < ::Stripe::RequestParams; end
1262
-
1263
456
  class Sofort < ::Stripe::RequestParams
1264
457
  # Two-letter ISO code representing the country the bank account is located in.
1265
458
  attr_accessor :country
@@ -1269,18 +462,6 @@ module Stripe
1269
462
  end
1270
463
  end
1271
464
 
1272
- class StripeBalance < ::Stripe::RequestParams
1273
- # The connected account ID whose Stripe balance to use as the source of payment
1274
- attr_accessor :account
1275
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1276
- attr_accessor :source_type
1277
-
1278
- def initialize(account: nil, source_type: nil)
1279
- @account = account
1280
- @source_type = source_type
1281
- end
1282
- end
1283
-
1284
465
  class Swish < ::Stripe::RequestParams; end
1285
466
  class Twint < ::Stripe::RequestParams; end
1286
467
 
@@ -1353,12 +534,8 @@ module Stripe
1353
534
  attr_accessor :fpx
1354
535
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1355
536
  attr_accessor :giropay
1356
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1357
- attr_accessor :gopay
1358
537
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1359
538
  attr_accessor :grabpay
1360
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1361
- attr_accessor :id_bank_transfer
1362
539
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1363
540
  attr_accessor :ideal
1364
541
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -1397,20 +574,12 @@ module Stripe
1397
574
  attr_accessor :paynow
1398
575
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
1399
576
  attr_accessor :paypal
1400
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
1401
- attr_accessor :paypay
1402
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1403
- attr_accessor :payto
1404
577
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1405
578
  attr_accessor :pix
1406
579
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1407
580
  attr_accessor :promptpay
1408
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1409
- attr_accessor :qris
1410
581
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1411
582
  attr_accessor :radar_options
1412
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1413
- attr_accessor :rechnung
1414
583
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1415
584
  attr_accessor :revolut_pay
1416
585
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -1419,12 +588,8 @@ module Stripe
1419
588
  attr_accessor :satispay
1420
589
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
1421
590
  attr_accessor :sepa_debit
1422
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1423
- attr_accessor :shopeepay
1424
591
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1425
592
  attr_accessor :sofort
1426
- # This hash contains details about the Stripe balance payment method.
1427
- attr_accessor :stripe_balance
1428
593
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
1429
594
  attr_accessor :swish
1430
595
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -1459,9 +624,7 @@ module Stripe
1459
624
  eps: nil,
1460
625
  fpx: nil,
1461
626
  giropay: nil,
1462
- gopay: nil,
1463
627
  grabpay: nil,
1464
- id_bank_transfer: nil,
1465
628
  ideal: nil,
1466
629
  interac_present: nil,
1467
630
  kakao_pay: nil,
@@ -1481,20 +644,14 @@ module Stripe
1481
644
  payco: nil,
1482
645
  paynow: nil,
1483
646
  paypal: nil,
1484
- paypay: nil,
1485
- payto: nil,
1486
647
  pix: nil,
1487
648
  promptpay: nil,
1488
- qris: nil,
1489
649
  radar_options: nil,
1490
- rechnung: nil,
1491
650
  revolut_pay: nil,
1492
651
  samsung_pay: nil,
1493
652
  satispay: nil,
1494
653
  sepa_debit: nil,
1495
- shopeepay: nil,
1496
654
  sofort: nil,
1497
- stripe_balance: nil,
1498
655
  swish: nil,
1499
656
  twint: nil,
1500
657
  type: nil,
@@ -1522,9 +679,7 @@ module Stripe
1522
679
  @eps = eps
1523
680
  @fpx = fpx
1524
681
  @giropay = giropay
1525
- @gopay = gopay
1526
682
  @grabpay = grabpay
1527
- @id_bank_transfer = id_bank_transfer
1528
683
  @ideal = ideal
1529
684
  @interac_present = interac_present
1530
685
  @kakao_pay = kakao_pay
@@ -1544,20 +699,14 @@ module Stripe
1544
699
  @payco = payco
1545
700
  @paynow = paynow
1546
701
  @paypal = paypal
1547
- @paypay = paypay
1548
- @payto = payto
1549
702
  @pix = pix
1550
703
  @promptpay = promptpay
1551
- @qris = qris
1552
704
  @radar_options = radar_options
1553
- @rechnung = rechnung
1554
705
  @revolut_pay = revolut_pay
1555
706
  @samsung_pay = samsung_pay
1556
707
  @satispay = satispay
1557
708
  @sepa_debit = sepa_debit
1558
- @shopeepay = shopeepay
1559
709
  @sofort = sofort
1560
- @stripe_balance = stripe_balance
1561
710
  @swish = swish
1562
711
  @twint = twint
1563
712
  @type = type
@@ -1928,48 +1077,6 @@ module Stripe
1928
1077
  end
1929
1078
  end
1930
1079
 
1931
- class StatementDetails < ::Stripe::RequestParams
1932
- class Address < ::Stripe::RequestParams
1933
- # City, district, suburb, town, or village.
1934
- attr_accessor :city
1935
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1936
- attr_accessor :country
1937
- # Address line 1, such as the street, PO Box, or company name.
1938
- attr_accessor :line1
1939
- # Address line 2, such as the apartment, suite, unit, or building.
1940
- attr_accessor :line2
1941
- # ZIP or postal code.
1942
- attr_accessor :postal_code
1943
- # State, county, province, or region.
1944
- attr_accessor :state
1945
-
1946
- def initialize(
1947
- city: nil,
1948
- country: nil,
1949
- line1: nil,
1950
- line2: nil,
1951
- postal_code: nil,
1952
- state: nil
1953
- )
1954
- @city = city
1955
- @country = country
1956
- @line1 = line1
1957
- @line2 = line2
1958
- @postal_code = postal_code
1959
- @state = state
1960
- end
1961
- end
1962
- # Please pass in an address that is within your Stripe user account country
1963
- attr_accessor :address
1964
- # Phone number (e.g., a toll-free number that customers can call)
1965
- attr_accessor :phone
1966
-
1967
- def initialize(address: nil, phone: nil)
1968
- @address = address
1969
- @phone = phone
1970
- end
1971
- end
1972
-
1973
1080
  class ThreeDSecure < ::Stripe::RequestParams
1974
1081
  class NetworkOptions < ::Stripe::RequestParams
1975
1082
  class CartesBancaires < ::Stripe::RequestParams
@@ -2064,8 +1171,6 @@ module Stripe
2064
1171
  attr_accessor :moto
2065
1172
  # 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.
2066
1173
  attr_accessor :network
2067
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
2068
- attr_accessor :request_decremental_authorization
2069
1174
  # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
2070
1175
  attr_accessor :request_extended_authorization
2071
1176
  # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
@@ -2074,8 +1179,6 @@ module Stripe
2074
1179
  attr_accessor :request_multicapture
2075
1180
  # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
2076
1181
  attr_accessor :request_overcapture
2077
- # Request partial authorization on this PaymentIntent.
2078
- attr_accessor :request_partial_authorization
2079
1182
  # 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.
2080
1183
  attr_accessor :request_three_d_secure
2081
1184
  # 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).
@@ -2094,8 +1197,6 @@ module Stripe
2094
1197
  attr_accessor :statement_descriptor_suffix_kana
2095
1198
  # 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.
2096
1199
  attr_accessor :statement_descriptor_suffix_kanji
2097
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
2098
- attr_accessor :statement_details
2099
1200
  # If 3D Secure authentication was performed with a third-party provider,
2100
1201
  # the authentication details to use for this payment.
2101
1202
  attr_accessor :three_d_secure
@@ -2107,18 +1208,15 @@ module Stripe
2107
1208
  mandate_options: nil,
2108
1209
  moto: nil,
2109
1210
  network: nil,
2110
- request_decremental_authorization: nil,
2111
1211
  request_extended_authorization: nil,
2112
1212
  request_incremental_authorization: nil,
2113
1213
  request_multicapture: nil,
2114
1214
  request_overcapture: nil,
2115
- request_partial_authorization: nil,
2116
1215
  request_three_d_secure: nil,
2117
1216
  require_cvc_recollection: nil,
2118
1217
  setup_future_usage: nil,
2119
1218
  statement_descriptor_suffix_kana: nil,
2120
1219
  statement_descriptor_suffix_kanji: nil,
2121
- statement_details: nil,
2122
1220
  three_d_secure: nil
2123
1221
  )
2124
1222
  @capture_method = capture_method
@@ -2127,18 +1225,15 @@ module Stripe
2127
1225
  @mandate_options = mandate_options
2128
1226
  @moto = moto
2129
1227
  @network = network
2130
- @request_decremental_authorization = request_decremental_authorization
2131
1228
  @request_extended_authorization = request_extended_authorization
2132
1229
  @request_incremental_authorization = request_incremental_authorization
2133
1230
  @request_multicapture = request_multicapture
2134
1231
  @request_overcapture = request_overcapture
2135
- @request_partial_authorization = request_partial_authorization
2136
1232
  @request_three_d_secure = request_three_d_secure
2137
1233
  @require_cvc_recollection = require_cvc_recollection
2138
1234
  @setup_future_usage = setup_future_usage
2139
1235
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
2140
1236
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
2141
- @statement_details = statement_details
2142
1237
  @three_d_secure = three_d_secure
2143
1238
  end
2144
1239
  end
@@ -2152,6 +1247,12 @@ module Stripe
2152
1247
  @requested_priority = requested_priority
2153
1248
  end
2154
1249
  end
1250
+ # Controls when the funds are captured from the customer's account.
1251
+ #
1252
+ # 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.
1253
+ #
1254
+ # 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.
1255
+ attr_accessor :capture_method
2155
1256
  # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
2156
1257
  attr_accessor :request_extended_authorization
2157
1258
  # 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.
@@ -2160,10 +1261,12 @@ module Stripe
2160
1261
  attr_accessor :routing
2161
1262
 
2162
1263
  def initialize(
1264
+ capture_method: nil,
2163
1265
  request_extended_authorization: nil,
2164
1266
  request_incremental_authorization_support: nil,
2165
1267
  routing: nil
2166
1268
  )
1269
+ @capture_method = capture_method
2167
1270
  @request_extended_authorization = request_extended_authorization
2168
1271
  @request_incremental_authorization_support = request_incremental_authorization_support
2169
1272
  @routing = routing
@@ -2309,23 +1412,6 @@ module Stripe
2309
1412
  end
2310
1413
  end
2311
1414
 
2312
- class Gopay < ::Stripe::RequestParams
2313
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2314
- #
2315
- # 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.
2316
- #
2317
- # 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.
2318
- #
2319
- # 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).
2320
- #
2321
- # 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`.
2322
- attr_accessor :setup_future_usage
2323
-
2324
- def initialize(setup_future_usage: nil)
2325
- @setup_future_usage = setup_future_usage
2326
- end
2327
- end
2328
-
2329
1415
  class Grabpay < ::Stripe::RequestParams
2330
1416
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2331
1417
  #
@@ -2343,29 +1429,6 @@ module Stripe
2343
1429
  end
2344
1430
  end
2345
1431
 
2346
- class IdBankTransfer < ::Stripe::RequestParams
2347
- # 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.
2348
- attr_accessor :expires_after
2349
- # 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.
2350
- attr_accessor :expires_at
2351
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2352
- #
2353
- # 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.
2354
- #
2355
- # 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.
2356
- #
2357
- # 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).
2358
- #
2359
- # 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`.
2360
- attr_accessor :setup_future_usage
2361
-
2362
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
2363
- @expires_after = expires_after
2364
- @expires_at = expires_at
2365
- @setup_future_usage = setup_future_usage
2366
- end
2367
- end
2368
-
2369
1432
  class Ideal < ::Stripe::RequestParams
2370
1433
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2371
1434
  #
@@ -2767,65 +1830,12 @@ module Stripe
2767
1830
  end
2768
1831
 
2769
1832
  class Paypal < ::Stripe::RequestParams
2770
- class LineItem < ::Stripe::RequestParams
2771
- class Tax < ::Stripe::RequestParams
2772
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
2773
- attr_accessor :amount
2774
- # The tax behavior for the line item.
2775
- attr_accessor :behavior
2776
-
2777
- def initialize(amount: nil, behavior: nil)
2778
- @amount = amount
2779
- @behavior = behavior
2780
- end
2781
- end
2782
- # Type of the line item.
2783
- attr_accessor :category
2784
- # Description of the line item.
2785
- attr_accessor :description
2786
- # Descriptive name of the line item.
2787
- attr_accessor :name
2788
- # Quantity of the line item. Must be a positive number.
2789
- attr_accessor :quantity
2790
- # Client facing stock keeping unit, article number or similar.
2791
- attr_accessor :sku
2792
- # The Stripe account ID of the connected account that sells the item.
2793
- attr_accessor :sold_by
2794
- # The tax information for the line item.
2795
- attr_accessor :tax
2796
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
2797
- attr_accessor :unit_amount
2798
-
2799
- def initialize(
2800
- category: nil,
2801
- description: nil,
2802
- name: nil,
2803
- quantity: nil,
2804
- sku: nil,
2805
- sold_by: nil,
2806
- tax: nil,
2807
- unit_amount: nil
2808
- )
2809
- @category = category
2810
- @description = description
2811
- @name = name
2812
- @quantity = quantity
2813
- @sku = sku
2814
- @sold_by = sold_by
2815
- @tax = tax
2816
- @unit_amount = unit_amount
2817
- end
2818
- end
2819
1833
  # Controls when the funds will be captured from the customer's account.
2820
1834
  attr_accessor :capture_method
2821
- # The line items purchased by the customer.
2822
- attr_accessor :line_items
2823
1835
  # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
2824
1836
  attr_accessor :preferred_locale
2825
1837
  # 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.
2826
1838
  attr_accessor :reference
2827
- # 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.
2828
- attr_accessor :reference_id
2829
1839
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
2830
1840
  attr_accessor :risk_correlation_id
2831
1841
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2838,140 +1848,29 @@ module Stripe
2838
1848
  #
2839
1849
  # 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`.
2840
1850
  attr_accessor :setup_future_usage
2841
- # 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.
2842
- attr_accessor :subsellers
2843
1851
 
2844
1852
  def initialize(
2845
1853
  capture_method: nil,
2846
- line_items: nil,
2847
1854
  preferred_locale: nil,
2848
1855
  reference: nil,
2849
- reference_id: nil,
2850
1856
  risk_correlation_id: nil,
2851
- setup_future_usage: nil,
2852
- subsellers: nil
1857
+ setup_future_usage: nil
2853
1858
  )
2854
1859
  @capture_method = capture_method
2855
- @line_items = line_items
2856
1860
  @preferred_locale = preferred_locale
2857
1861
  @reference = reference
2858
- @reference_id = reference_id
2859
1862
  @risk_correlation_id = risk_correlation_id
2860
1863
  @setup_future_usage = setup_future_usage
2861
- @subsellers = subsellers
2862
- end
2863
- end
2864
-
2865
- class Paypay < ::Stripe::RequestParams
2866
- # Controls when the funds are captured from the customer's account.
2867
- #
2868
- # 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.
2869
- #
2870
- # 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.
2871
- attr_accessor :capture_method
2872
-
2873
- def initialize(capture_method: nil)
2874
- @capture_method = capture_method
2875
- end
2876
- end
2877
-
2878
- class Payto < ::Stripe::RequestParams
2879
- class MandateOptions < ::Stripe::RequestParams
2880
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
2881
- attr_accessor :amount
2882
- # 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.
2883
- attr_accessor :amount_type
2884
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2885
- attr_accessor :end_date
2886
- # The periodicity at which payments will be collected.
2887
- attr_accessor :payment_schedule
2888
- # 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.
2889
- attr_accessor :payments_per_period
2890
- # The purpose for which payments are made. Defaults to retail.
2891
- attr_accessor :purpose
2892
-
2893
- def initialize(
2894
- amount: nil,
2895
- amount_type: nil,
2896
- end_date: nil,
2897
- payment_schedule: nil,
2898
- payments_per_period: nil,
2899
- purpose: nil
2900
- )
2901
- @amount = amount
2902
- @amount_type = amount_type
2903
- @end_date = end_date
2904
- @payment_schedule = payment_schedule
2905
- @payments_per_period = payments_per_period
2906
- @purpose = purpose
2907
- end
2908
- end
2909
- # 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`
2910
- attr_accessor :mandate_options
2911
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2912
- #
2913
- # 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.
2914
- #
2915
- # 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.
2916
- #
2917
- # 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).
2918
- #
2919
- # 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`.
2920
- attr_accessor :setup_future_usage
2921
-
2922
- def initialize(mandate_options: nil, setup_future_usage: nil)
2923
- @mandate_options = mandate_options
2924
- @setup_future_usage = setup_future_usage
2925
1864
  end
2926
1865
  end
2927
1866
 
2928
1867
  class Pix < ::Stripe::RequestParams
2929
- class MandateOptions < ::Stripe::RequestParams
2930
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
2931
- attr_accessor :amount
2932
- # Determines if the amount includes the IOF tax. Defaults to `never`.
2933
- attr_accessor :amount_includes_iof
2934
- # Type of amount. Defaults to `maximum`.
2935
- attr_accessor :amount_type
2936
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
2937
- attr_accessor :currency
2938
- # 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.
2939
- attr_accessor :end_date
2940
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
2941
- attr_accessor :payment_schedule
2942
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
2943
- attr_accessor :reference
2944
- # 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.
2945
- attr_accessor :start_date
2946
-
2947
- def initialize(
2948
- amount: nil,
2949
- amount_includes_iof: nil,
2950
- amount_type: nil,
2951
- currency: nil,
2952
- end_date: nil,
2953
- payment_schedule: nil,
2954
- reference: nil,
2955
- start_date: nil
2956
- )
2957
- @amount = amount
2958
- @amount_includes_iof = amount_includes_iof
2959
- @amount_type = amount_type
2960
- @currency = currency
2961
- @end_date = end_date
2962
- @payment_schedule = payment_schedule
2963
- @reference = reference
2964
- @start_date = start_date
2965
- end
2966
- end
2967
1868
  # Determines if the amount includes the IOF tax. Defaults to `never`.
2968
1869
  attr_accessor :amount_includes_iof
2969
1870
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
2970
1871
  attr_accessor :expires_after_seconds
2971
1872
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
2972
1873
  attr_accessor :expires_at
2973
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
2974
- attr_accessor :mandate_options
2975
1874
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2976
1875
  #
2977
1876
  # 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.
@@ -2987,13 +1886,11 @@ module Stripe
2987
1886
  amount_includes_iof: nil,
2988
1887
  expires_after_seconds: nil,
2989
1888
  expires_at: nil,
2990
- mandate_options: nil,
2991
1889
  setup_future_usage: nil
2992
1890
  )
2993
1891
  @amount_includes_iof = amount_includes_iof
2994
1892
  @expires_after_seconds = expires_after_seconds
2995
1893
  @expires_at = expires_at
2996
- @mandate_options = mandate_options
2997
1894
  @setup_future_usage = setup_future_usage
2998
1895
  end
2999
1896
  end
@@ -3015,25 +1912,6 @@ module Stripe
3015
1912
  end
3016
1913
  end
3017
1914
 
3018
- class Qris < ::Stripe::RequestParams
3019
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3020
- #
3021
- # 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.
3022
- #
3023
- # 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.
3024
- #
3025
- # 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).
3026
- #
3027
- # 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`.
3028
- attr_accessor :setup_future_usage
3029
-
3030
- def initialize(setup_future_usage: nil)
3031
- @setup_future_usage = setup_future_usage
3032
- end
3033
- end
3034
-
3035
- class Rechnung < ::Stripe::RequestParams; end
3036
-
3037
1915
  class RevolutPay < ::Stripe::RequestParams
3038
1916
  # Controls when the funds are captured from the customer's account.
3039
1917
  #
@@ -3113,23 +1991,6 @@ module Stripe
3113
1991
  end
3114
1992
  end
3115
1993
 
3116
- class Shopeepay < ::Stripe::RequestParams
3117
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3118
- #
3119
- # 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.
3120
- #
3121
- # 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.
3122
- #
3123
- # 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).
3124
- #
3125
- # 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`.
3126
- attr_accessor :setup_future_usage
3127
-
3128
- def initialize(setup_future_usage: nil)
3129
- @setup_future_usage = setup_future_usage
3130
- end
3131
- end
3132
-
3133
1994
  class Sofort < ::Stripe::RequestParams
3134
1995
  # Language shown to the payer on redirect.
3135
1996
  attr_accessor :preferred_language
@@ -3150,23 +2011,6 @@ module Stripe
3150
2011
  end
3151
2012
  end
3152
2013
 
3153
- class StripeBalance < ::Stripe::RequestParams
3154
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3155
- #
3156
- # 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.
3157
- #
3158
- # 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.
3159
- #
3160
- # 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).
3161
- #
3162
- # 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`.
3163
- attr_accessor :setup_future_usage
3164
-
3165
- def initialize(setup_future_usage: nil)
3166
- @setup_future_usage = setup_future_usage
3167
- end
3168
- end
3169
-
3170
2014
  class Swish < ::Stripe::RequestParams
3171
2015
  # A reference for this payment to be displayed in the Swish app.
3172
2016
  attr_accessor :reference
@@ -3209,27 +2053,13 @@ module Stripe
3209
2053
  class Filters < ::Stripe::RequestParams
3210
2054
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3211
2055
  attr_accessor :account_subcategories
3212
- # ID of the institution to use to filter for selectable accounts.
3213
- attr_accessor :institution
3214
2056
 
3215
- def initialize(account_subcategories: nil, institution: nil)
2057
+ def initialize(account_subcategories: nil)
3216
2058
  @account_subcategories = account_subcategories
3217
- @institution = institution
3218
- end
3219
- end
3220
-
3221
- class ManualEntry < ::Stripe::RequestParams
3222
- # Settings for configuring manual entry of account details.
3223
- attr_accessor :mode
3224
-
3225
- def initialize(mode: nil)
3226
- @mode = mode
3227
2059
  end
3228
2060
  end
3229
2061
  # Provide filters for the linked accounts that the customer can select for the payment method.
3230
2062
  attr_accessor :filters
3231
- # Customize manual entry behavior
3232
- attr_accessor :manual_entry
3233
2063
  # 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`.
3234
2064
  attr_accessor :permissions
3235
2065
  # List of data features that you would like to retrieve upon account creation.
@@ -3237,15 +2067,8 @@ module Stripe
3237
2067
  # 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.
3238
2068
  attr_accessor :return_url
3239
2069
 
3240
- def initialize(
3241
- filters: nil,
3242
- manual_entry: nil,
3243
- permissions: nil,
3244
- prefetch: nil,
3245
- return_url: nil
3246
- )
2070
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
3247
2071
  @filters = filters
3248
- @manual_entry = manual_entry
3249
2072
  @permissions = permissions
3250
2073
  @prefetch = prefetch
3251
2074
  @return_url = return_url
@@ -3390,12 +2213,8 @@ module Stripe
3390
2213
  attr_accessor :fpx
3391
2214
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
3392
2215
  attr_accessor :giropay
3393
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
3394
- attr_accessor :gopay
3395
2216
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
3396
2217
  attr_accessor :grabpay
3397
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
3398
- attr_accessor :id_bank_transfer
3399
2218
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
3400
2219
  attr_accessor :ideal
3401
2220
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -3432,18 +2251,10 @@ module Stripe
3432
2251
  attr_accessor :paynow
3433
2252
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
3434
2253
  attr_accessor :paypal
3435
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
3436
- attr_accessor :paypay
3437
- # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
3438
- attr_accessor :payto
3439
2254
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
3440
2255
  attr_accessor :pix
3441
2256
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
3442
2257
  attr_accessor :promptpay
3443
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
3444
- attr_accessor :qris
3445
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
3446
- attr_accessor :rechnung
3447
2258
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
3448
2259
  attr_accessor :revolut_pay
3449
2260
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -3452,12 +2263,8 @@ module Stripe
3452
2263
  attr_accessor :satispay
3453
2264
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
3454
2265
  attr_accessor :sepa_debit
3455
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
3456
- attr_accessor :shopeepay
3457
2266
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
3458
2267
  attr_accessor :sofort
3459
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
3460
- attr_accessor :stripe_balance
3461
2268
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
3462
2269
  attr_accessor :swish
3463
2270
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -3490,9 +2297,7 @@ module Stripe
3490
2297
  eps: nil,
3491
2298
  fpx: nil,
3492
2299
  giropay: nil,
3493
- gopay: nil,
3494
2300
  grabpay: nil,
3495
- id_bank_transfer: nil,
3496
2301
  ideal: nil,
3497
2302
  interac_present: nil,
3498
2303
  kakao_pay: nil,
@@ -3511,19 +2316,13 @@ module Stripe
3511
2316
  payco: nil,
3512
2317
  paynow: nil,
3513
2318
  paypal: nil,
3514
- paypay: nil,
3515
- payto: nil,
3516
2319
  pix: nil,
3517
2320
  promptpay: nil,
3518
- qris: nil,
3519
- rechnung: nil,
3520
2321
  revolut_pay: nil,
3521
2322
  samsung_pay: nil,
3522
2323
  satispay: nil,
3523
2324
  sepa_debit: nil,
3524
- shopeepay: nil,
3525
2325
  sofort: nil,
3526
- stripe_balance: nil,
3527
2326
  swish: nil,
3528
2327
  twint: nil,
3529
2328
  us_bank_account: nil,
@@ -3550,9 +2349,7 @@ module Stripe
3550
2349
  @eps = eps
3551
2350
  @fpx = fpx
3552
2351
  @giropay = giropay
3553
- @gopay = gopay
3554
2352
  @grabpay = grabpay
3555
- @id_bank_transfer = id_bank_transfer
3556
2353
  @ideal = ideal
3557
2354
  @interac_present = interac_present
3558
2355
  @kakao_pay = kakao_pay
@@ -3571,19 +2368,13 @@ module Stripe
3571
2368
  @payco = payco
3572
2369
  @paynow = paynow
3573
2370
  @paypal = paypal
3574
- @paypay = paypay
3575
- @payto = payto
3576
2371
  @pix = pix
3577
2372
  @promptpay = promptpay
3578
- @qris = qris
3579
- @rechnung = rechnung
3580
2373
  @revolut_pay = revolut_pay
3581
2374
  @samsung_pay = samsung_pay
3582
2375
  @satispay = satispay
3583
2376
  @sepa_debit = sepa_debit
3584
- @shopeepay = shopeepay
3585
2377
  @sofort = sofort
3586
- @stripe_balance = stripe_balance
3587
2378
  @swish = swish
3588
2379
  @twint = twint
3589
2380
  @us_bank_account = us_bank_account
@@ -3667,29 +2458,17 @@ module Stripe
3667
2458
  #
3668
2459
  # 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.
3669
2460
  attr_accessor :customer
3670
- # ID of the Account this PaymentIntent belongs to, if one exists.
3671
- #
3672
- # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
3673
- #
3674
- # 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.
3675
- attr_accessor :customer_account
3676
2461
  # An arbitrary string attached to the object. Often useful for displaying to users.
3677
2462
  attr_accessor :description
3678
2463
  # The list of payment method types to exclude from use with this payment.
3679
2464
  attr_accessor :excluded_payment_method_types
3680
2465
  # Specifies which fields in the response should be expanded.
3681
2466
  attr_accessor :expand
3682
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
3683
- attr_accessor :fx_quote
3684
- # Automations to be run during the PaymentIntent lifecycle
3685
- attr_accessor :hooks
3686
- # This hash contains details about the Mandate to create.
3687
- attr_accessor :mandate_data
3688
2467
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3689
2468
  attr_accessor :metadata
3690
2469
  # Provides industry-specific information about the charge.
3691
2470
  attr_accessor :payment_details
3692
- # Attribute for param field payment_method
2471
+ # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string.
3693
2472
  attr_accessor :payment_method
3694
2473
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
3695
2474
  attr_accessor :payment_method_configuration
@@ -3733,13 +2512,9 @@ module Stripe
3733
2512
  capture_method: nil,
3734
2513
  currency: nil,
3735
2514
  customer: nil,
3736
- customer_account: nil,
3737
2515
  description: nil,
3738
2516
  excluded_payment_method_types: nil,
3739
2517
  expand: nil,
3740
- fx_quote: nil,
3741
- hooks: nil,
3742
- mandate_data: nil,
3743
2518
  metadata: nil,
3744
2519
  payment_details: nil,
3745
2520
  payment_method: nil,
@@ -3761,13 +2536,9 @@ module Stripe
3761
2536
  @capture_method = capture_method
3762
2537
  @currency = currency
3763
2538
  @customer = customer
3764
- @customer_account = customer_account
3765
2539
  @description = description
3766
2540
  @excluded_payment_method_types = excluded_payment_method_types
3767
2541
  @expand = expand
3768
- @fx_quote = fx_quote
3769
- @hooks = hooks
3770
- @mandate_data = mandate_data
3771
2542
  @metadata = metadata
3772
2543
  @payment_details = payment_details
3773
2544
  @payment_method = payment_method