stripe 17.2.0.pre.beta.1 → 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 (499) 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 -233
  6. data/lib/stripe/object_types.rb +0 -55
  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/credit_balance_summary_retrieve_params.rb +1 -4
  11. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
  12. data/lib/stripe/params/billing/credit_grant_create_params.rb +0 -4
  13. data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
  14. data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
  15. data/lib/stripe/params/charge_capture_params.rb +0 -715
  16. data/lib/stripe/params/charge_update_params.rb +0 -715
  17. data/lib/stripe/params/checkout/session_create_params.rb +3 -193
  18. data/lib/stripe/params/checkout/session_list_params.rb +0 -4
  19. data/lib/stripe/params/checkout/session_update_params.rb +1 -288
  20. data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
  21. data/lib/stripe/params/coupon_create_params.rb +1 -17
  22. data/lib/stripe/params/credit_note_list_params.rb +0 -4
  23. data/lib/stripe/params/customer_session_create_params.rb +3 -37
  24. data/lib/stripe/params/dispute_update_params.rb +1 -10
  25. data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
  26. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
  27. data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
  28. data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
  29. data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
  30. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  31. data/lib/stripe/params/invoice_create_params.rb +2 -112
  32. data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
  33. data/lib/stripe/params/invoice_item_create_params.rb +1 -37
  34. data/lib/stripe/params/invoice_item_list_params.rb +0 -4
  35. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  36. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
  37. data/lib/stripe/params/invoice_list_params.rb +0 -4
  38. data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
  39. data/lib/stripe/params/invoice_update_params.rb +2 -108
  40. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  41. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  42. data/lib/stripe/params/payment_intent_capture_params.rb +1 -723
  43. data/lib/stripe/params/payment_intent_confirm_params.rb +12 -1197
  44. data/lib/stripe/params/payment_intent_create_params.rb +12 -1205
  45. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -50
  46. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  47. data/lib/stripe/params/payment_intent_update_params.rb +14 -1238
  48. data/lib/stripe/params/payment_method_attach_params.rb +1 -4
  49. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
  50. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
  51. data/lib/stripe/params/payment_method_create_params.rb +0 -97
  52. data/lib/stripe/params/payment_method_update_params.rb +0 -19
  53. data/lib/stripe/params/price_update_params.rb +0 -19
  54. data/lib/stripe/params/promotion_code_create_params.rb +0 -4
  55. data/lib/stripe/params/promotion_code_list_params.rb +0 -4
  56. data/lib/stripe/params/quote_create_params.rb +3 -805
  57. data/lib/stripe/params/quote_list_params.rb +0 -8
  58. data/lib/stripe/params/quote_update_params.rb +4 -813
  59. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
  60. data/lib/stripe/params/setup_intent_create_params.rb +3 -231
  61. data/lib/stripe/params/setup_intent_list_params.rb +0 -4
  62. data/lib/stripe/params/setup_intent_update_params.rb +3 -231
  63. data/lib/stripe/params/subscription_create_params.rb +5 -259
  64. data/lib/stripe/params/subscription_item_create_params.rb +2 -46
  65. data/lib/stripe/params/subscription_item_update_params.rb +1 -29
  66. data/lib/stripe/params/subscription_list_params.rb +0 -4
  67. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
  68. data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
  69. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
  70. data/lib/stripe/params/subscription_update_params.rb +4 -238
  71. data/lib/stripe/params/tax_id_create_params.rb +1 -4
  72. data/lib/stripe/params/tax_id_list_params.rb +1 -4
  73. data/lib/stripe/params/terminal/configuration_create_params.rb +9 -22
  74. data/lib/stripe/params/terminal/configuration_update_params.rb +9 -22
  75. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
  76. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  77. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  78. data/lib/stripe/params/transfer_create_params.rb +0 -4
  79. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  80. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  81. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  82. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  83. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  84. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  85. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  86. data/lib/stripe/params.rb +0 -164
  87. data/lib/stripe/resources/account.rb +2 -167
  88. data/lib/stripe/resources/account_session.rb +0 -81
  89. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  90. data/lib/stripe/resources/billing/credit_grant.rb +0 -2
  91. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  92. data/lib/stripe/resources/card.rb +0 -2
  93. data/lib/stripe/resources/cash_balance.rb +0 -2
  94. data/lib/stripe/resources/charge.rb +1 -237
  95. data/lib/stripe/resources/checkout/session.rb +4 -154
  96. data/lib/stripe/resources/confirmation_token.rb +0 -155
  97. data/lib/stripe/resources/coupon.rb +1 -26
  98. data/lib/stripe/resources/credit_note.rb +0 -2
  99. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  100. data/lib/stripe/resources/customer.rb +0 -2
  101. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  102. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  103. data/lib/stripe/resources/customer_session.rb +0 -38
  104. data/lib/stripe/resources/discount.rb +0 -2
  105. data/lib/stripe/resources/dispute.rb +0 -22
  106. data/lib/stripe/resources/event.rb +1 -64
  107. data/lib/stripe/resources/financial_connections/account.rb +0 -27
  108. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  109. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  110. data/lib/stripe/resources/invoice.rb +2 -153
  111. data/lib/stripe/resources/invoice_item.rb +0 -4
  112. data/lib/stripe/resources/invoice_line_item.rb +0 -40
  113. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  114. data/lib/stripe/resources/line_item.rb +1 -68
  115. data/lib/stripe/resources/mandate.rb +0 -71
  116. data/lib/stripe/resources/payment_attempt_record.rb +1 -203
  117. data/lib/stripe/resources/payment_intent.rb +6 -789
  118. data/lib/stripe/resources/payment_method.rb +0 -157
  119. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  120. data/lib/stripe/resources/payment_record.rb +1 -203
  121. data/lib/stripe/resources/price.rb +0 -20
  122. data/lib/stripe/resources/promotion_code.rb +0 -2
  123. data/lib/stripe/resources/quote.rb +2 -571
  124. data/lib/stripe/resources/refund.rb +0 -18
  125. data/lib/stripe/resources/setup_attempt.rb +0 -63
  126. data/lib/stripe/resources/setup_intent.rb +1 -132
  127. data/lib/stripe/resources/source.rb +0 -38
  128. data/lib/stripe/resources/subscription.rb +0 -232
  129. data/lib/stripe/resources/subscription_item.rb +1 -20
  130. data/lib/stripe/resources/subscription_schedule.rb +3 -198
  131. data/lib/stripe/resources/tax_id.rb +0 -4
  132. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  133. data/lib/stripe/resources/terminal/reader.rb +0 -8
  134. data/lib/stripe/resources/transfer.rb +0 -2
  135. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  136. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  137. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  138. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  139. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  140. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
  141. data/lib/stripe/resources/v2/core/event.rb +2 -2
  142. data/lib/stripe/resources.rb +0 -112
  143. data/lib/stripe/services/billing_service.rb +1 -2
  144. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  145. data/lib/stripe/services/financial_connections_service.rb +1 -2
  146. data/lib/stripe/services/issuing_service.rb +1 -5
  147. data/lib/stripe/services/mandate_service.rb +0 -5
  148. data/lib/stripe/services/payment_intent_service.rb +0 -37
  149. data/lib/stripe/services/quote_service.rb +1 -49
  150. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  151. data/lib/stripe/services/subscription_service.rb +0 -11
  152. data/lib/stripe/services/tax_service.rb +1 -3
  153. data/lib/stripe/services/terminal_service.rb +1 -3
  154. data/lib/stripe/services/v1_services.rb +1 -8
  155. data/lib/stripe/services/v2/billing_service.rb +1 -5
  156. data/lib/stripe/services/v2/core_service.rb +1 -4
  157. data/lib/stripe/services/v2_services.rb +1 -4
  158. data/lib/stripe/services.rb +0 -58
  159. data/lib/stripe/stripe_configuration.rb +1 -3
  160. data/lib/stripe/stripe_object.rb +1 -1
  161. data/lib/stripe/util.rb +1 -7
  162. data/lib/stripe/version.rb +1 -1
  163. data/lib/stripe.rb +0 -53
  164. data/rbi/stripe.rbi +83044 -141384
  165. metadata +4 -338
  166. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  167. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  168. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  169. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  170. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  171. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  172. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  173. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  174. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  175. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  176. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  177. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  178. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  179. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  180. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  181. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  182. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  183. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  184. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  185. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  186. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  187. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  188. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  189. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  190. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  191. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  192. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  193. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  194. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  195. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  196. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  197. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  198. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  199. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  200. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  201. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  202. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  203. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  204. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  205. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  206. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  207. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  208. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  209. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  210. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  211. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  212. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  213. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  214. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  215. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  216. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  217. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
  218. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  219. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  220. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  221. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  222. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  223. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  224. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  225. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  226. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  227. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  228. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  229. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  230. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  231. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  232. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  233. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  234. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  235. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  236. data/lib/stripe/params/external_account_create_params.rb +0 -134
  237. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  238. data/lib/stripe/params/external_account_list_params.rb +0 -25
  239. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  240. data/lib/stripe/params/external_account_update_params.rb +0 -91
  241. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  242. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  243. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  244. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  245. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  246. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  247. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  248. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  249. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  250. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  251. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  252. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  253. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  254. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  255. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  256. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  257. data/lib/stripe/params/mandate_list_params.rb +0 -39
  258. data/lib/stripe/params/margin_create_params.rb +0 -25
  259. data/lib/stripe/params/margin_list_params.rb +0 -25
  260. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  261. data/lib/stripe/params/margin_update_params.rb +0 -22
  262. data/lib/stripe/params/order_cancel_params.rb +0 -13
  263. data/lib/stripe/params/order_create_params.rb +0 -1124
  264. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  265. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  266. data/lib/stripe/params/order_list_params.rb +0 -25
  267. data/lib/stripe/params/order_reopen_params.rb +0 -13
  268. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  269. data/lib/stripe/params/order_submit_params.rb +0 -16
  270. data/lib/stripe/params/order_update_params.rb +0 -1128
  271. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  272. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  273. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  274. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  275. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  276. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  277. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  278. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  279. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  280. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  281. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  282. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  283. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  284. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  285. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  286. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  287. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  288. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  289. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  290. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  291. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  292. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  293. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  294. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  295. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  296. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  297. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  298. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  299. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  300. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  301. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  302. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  303. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
  304. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
  305. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  306. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  307. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
  308. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  309. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  310. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  311. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  312. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  313. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  314. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  315. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  316. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  317. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  318. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  319. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2248
  320. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  321. data/lib/stripe/params/v2/core/account_list_params.rb +0 -23
  322. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  323. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2294
  324. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  325. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  326. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  327. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  328. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  329. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  330. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  331. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  332. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  333. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  334. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  335. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  336. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  337. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  338. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  339. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  340. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  341. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  342. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  343. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  344. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  345. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  346. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  347. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  348. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  349. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
  350. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  351. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  352. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  353. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  354. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  355. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  356. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
  357. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  358. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  359. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  360. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  361. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  362. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
  363. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  364. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  365. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  366. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  367. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
  368. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  369. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  370. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  371. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  372. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  373. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  374. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  375. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  376. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  377. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  378. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  379. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  380. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  381. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  382. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  383. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  384. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  385. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  386. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  387. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  388. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  389. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  390. data/lib/stripe/resources/account_notice.rb +0 -94
  391. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  392. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  393. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  394. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  395. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  396. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  397. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  398. data/lib/stripe/resources/fx_quote.rb +0 -147
  399. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  400. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  401. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  402. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  403. data/lib/stripe/resources/margin.rb +0 -64
  404. data/lib/stripe/resources/order.rb +0 -987
  405. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  406. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  407. data/lib/stripe/resources/quote_line.rb +0 -521
  408. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  409. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  410. data/lib/stripe/resources/tax/association.rb +0 -86
  411. data/lib/stripe/resources/tax/form.rb +0 -264
  412. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  413. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  414. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  415. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  416. data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
  417. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  418. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  419. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  420. data/lib/stripe/resources/v2/core/account.rb +0 -3906
  421. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  422. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  423. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  424. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
  425. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  426. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  427. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  428. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  429. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  430. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  431. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
  432. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  433. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  434. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
  435. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
  436. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  437. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  438. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
  439. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  440. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  441. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  442. data/lib/stripe/services/account_notice_service.rb +0 -39
  443. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  444. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  445. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  446. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  447. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  448. data/lib/stripe/services/capital_service.rb +0 -15
  449. data/lib/stripe/services/external_account_service.rb +0 -68
  450. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  451. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  452. data/lib/stripe/services/fx_quote_service.rb +0 -27
  453. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  454. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  455. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  456. data/lib/stripe/services/margin_service.rb +0 -50
  457. data/lib/stripe/services/order_line_item_service.rb +0 -17
  458. data/lib/stripe/services/order_service.rb +0 -78
  459. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  460. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  461. data/lib/stripe/services/privacy_service.rb +0 -13
  462. data/lib/stripe/services/quote_line_service.rb +0 -17
  463. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  464. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  465. data/lib/stripe/services/tax/association_service.rb +0 -19
  466. data/lib/stripe/services/tax/form_service.rb +0 -37
  467. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  468. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  469. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  470. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  471. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  472. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  473. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  474. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  475. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  476. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  477. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  478. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  479. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
  480. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  481. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  482. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  483. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  484. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  485. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  486. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  487. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  488. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  489. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  490. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  491. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  492. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  493. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  494. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  495. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  496. data/lib/stripe/services/v2/payment_service.rb +0 -15
  497. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  498. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  499. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -174,770 +174,21 @@ module Stripe
174
174
  end
175
175
  end
176
176
 
177
- class Hooks < ::Stripe::RequestParams
178
- class Inputs < ::Stripe::RequestParams
179
- class Tax < ::Stripe::RequestParams
180
- # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
181
- attr_accessor :calculation
182
-
183
- def initialize(calculation: nil)
184
- @calculation = calculation
185
- end
186
- end
187
- # Tax arguments for automations
188
- attr_accessor :tax
189
-
190
- def initialize(tax: nil)
191
- @tax = tax
192
- end
193
- end
194
- # Arguments passed in automations
195
- attr_accessor :inputs
196
-
197
- def initialize(inputs: nil)
198
- @inputs = inputs
199
- end
200
- end
201
-
202
- class MandateData < ::Stripe::RequestParams
203
- class CustomerAcceptance < ::Stripe::RequestParams
204
- class Online < ::Stripe::RequestParams
205
- # The IP address from which the Mandate was accepted by the customer.
206
- attr_accessor :ip_address
207
- # The user agent of the browser from which the Mandate was accepted by the customer.
208
- attr_accessor :user_agent
209
-
210
- def initialize(ip_address: nil, user_agent: nil)
211
- @ip_address = ip_address
212
- @user_agent = user_agent
213
- end
214
- end
215
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
216
- attr_accessor :online
217
- # The type of customer acceptance information included with the Mandate.
218
- attr_accessor :type
219
-
220
- def initialize(online: nil, type: nil)
221
- @online = online
222
- @type = type
223
- end
224
- end
225
- # This hash contains details about the customer acceptance of the Mandate.
226
- attr_accessor :customer_acceptance
227
-
228
- def initialize(customer_acceptance: nil)
229
- @customer_acceptance = customer_acceptance
230
- end
231
- end
232
-
233
- class PaymentDetails < ::Stripe::RequestParams
234
- class CarRental < ::Stripe::RequestParams
235
- class Affiliate < ::Stripe::RequestParams
236
- # The name of the affiliate that originated the purchase.
237
- attr_accessor :name
238
-
239
- def initialize(name: nil)
240
- @name = name
241
- end
242
- end
243
-
244
- class Delivery < ::Stripe::RequestParams
245
- class Recipient < ::Stripe::RequestParams
246
- # The email of the recipient the ticket is delivered to.
247
- attr_accessor :email
248
- # The name of the recipient the ticket is delivered to.
249
- attr_accessor :name
250
- # The phone number of the recipient the ticket is delivered to.
251
- attr_accessor :phone
252
-
253
- def initialize(email: nil, name: nil, phone: nil)
254
- @email = email
255
- @name = name
256
- @phone = phone
257
- end
258
- end
259
- # The delivery method for the payment
260
- attr_accessor :mode
261
- # Details of the recipient.
262
- attr_accessor :recipient
263
-
264
- def initialize(mode: nil, recipient: nil)
265
- @mode = mode
266
- @recipient = recipient
267
- end
268
- end
269
-
270
- class Distance < ::Stripe::RequestParams
271
- # Distance traveled.
272
- attr_accessor :amount
273
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
274
- attr_accessor :unit
275
-
276
- def initialize(amount: nil, unit: nil)
277
- @amount = amount
278
- @unit = unit
279
- end
280
- end
281
-
282
- class Driver < ::Stripe::RequestParams
283
- # Driver's identification number.
284
- attr_accessor :driver_identification_number
285
- # Driver's tax number.
286
- attr_accessor :driver_tax_number
287
- # Full name of the person or entity on the car reservation.
288
- attr_accessor :name
289
-
290
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
291
- @driver_identification_number = driver_identification_number
292
- @driver_tax_number = driver_tax_number
293
- @name = name
294
- end
295
- end
296
-
297
- class PickupAddress < ::Stripe::RequestParams
298
- # City, district, suburb, town, or village.
299
- attr_accessor :city
300
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
301
- attr_accessor :country
302
- # Address line 1, such as the street, PO Box, or company name.
303
- attr_accessor :line1
304
- # Address line 2, such as the apartment, suite, unit, or building.
305
- attr_accessor :line2
306
- # ZIP or postal code.
307
- attr_accessor :postal_code
308
- # State, county, province, or region.
309
- attr_accessor :state
310
-
311
- def initialize(
312
- city: nil,
313
- country: nil,
314
- line1: nil,
315
- line2: nil,
316
- postal_code: nil,
317
- state: nil
318
- )
319
- @city = city
320
- @country = country
321
- @line1 = line1
322
- @line2 = line2
323
- @postal_code = postal_code
324
- @state = state
325
- end
326
- end
327
-
328
- class ReturnAddress < ::Stripe::RequestParams
329
- # City, district, suburb, town, or village.
330
- attr_accessor :city
331
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
332
- attr_accessor :country
333
- # Address line 1, such as the street, PO Box, or company name.
334
- attr_accessor :line1
335
- # Address line 2, such as the apartment, suite, unit, or building.
336
- attr_accessor :line2
337
- # ZIP or postal code.
338
- attr_accessor :postal_code
339
- # State, county, province, or region.
340
- attr_accessor :state
341
-
342
- def initialize(
343
- city: nil,
344
- country: nil,
345
- line1: nil,
346
- line2: nil,
347
- postal_code: nil,
348
- state: nil
349
- )
350
- @city = city
351
- @country = country
352
- @line1 = line1
353
- @line2 = line2
354
- @postal_code = postal_code
355
- @state = state
356
- end
357
- end
358
- # Affiliate details for this purchase.
359
- attr_accessor :affiliate
360
- # The booking number associated with the car rental.
361
- attr_accessor :booking_number
362
- # Class code of the car.
363
- attr_accessor :car_class_code
364
- # Make of the car.
365
- attr_accessor :car_make
366
- # Model of the car.
367
- attr_accessor :car_model
368
- # The name of the rental car company.
369
- attr_accessor :company
370
- # The customer service phone number of the car rental company.
371
- attr_accessor :customer_service_phone_number
372
- # Number of days the car is being rented.
373
- attr_accessor :days_rented
374
- # Delivery details for this purchase.
375
- attr_accessor :delivery
376
- # The details of the distance traveled during the rental period.
377
- attr_accessor :distance
378
- # The details of the passengers in the travel reservation
379
- attr_accessor :drivers
380
- # List of additional charges being billed.
381
- attr_accessor :extra_charges
382
- # Indicates if the customer did not keep nor cancel their booking.
383
- attr_accessor :no_show
384
- # Car pick-up address.
385
- attr_accessor :pickup_address
386
- # Car pick-up time. Measured in seconds since the Unix epoch.
387
- attr_accessor :pickup_at
388
- # Name of the pickup location.
389
- attr_accessor :pickup_location_name
390
- # Rental rate.
391
- attr_accessor :rate_amount
392
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
393
- attr_accessor :rate_interval
394
- # The name of the person or entity renting the car.
395
- attr_accessor :renter_name
396
- # Car return address.
397
- attr_accessor :return_address
398
- # Car return time. Measured in seconds since the Unix epoch.
399
- attr_accessor :return_at
400
- # Name of the return location.
401
- attr_accessor :return_location_name
402
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
403
- attr_accessor :tax_exempt
404
- # The vehicle identification number.
405
- attr_accessor :vehicle_identification_number
406
-
407
- def initialize(
408
- affiliate: nil,
409
- booking_number: nil,
410
- car_class_code: nil,
411
- car_make: nil,
412
- car_model: nil,
413
- company: nil,
414
- customer_service_phone_number: nil,
415
- days_rented: nil,
416
- delivery: nil,
417
- distance: nil,
418
- drivers: nil,
419
- extra_charges: nil,
420
- no_show: nil,
421
- pickup_address: nil,
422
- pickup_at: nil,
423
- pickup_location_name: nil,
424
- rate_amount: nil,
425
- rate_interval: nil,
426
- renter_name: nil,
427
- return_address: nil,
428
- return_at: nil,
429
- return_location_name: nil,
430
- tax_exempt: nil,
431
- vehicle_identification_number: nil
432
- )
433
- @affiliate = affiliate
434
- @booking_number = booking_number
435
- @car_class_code = car_class_code
436
- @car_make = car_make
437
- @car_model = car_model
438
- @company = company
439
- @customer_service_phone_number = customer_service_phone_number
440
- @days_rented = days_rented
441
- @delivery = delivery
442
- @distance = distance
443
- @drivers = drivers
444
- @extra_charges = extra_charges
445
- @no_show = no_show
446
- @pickup_address = pickup_address
447
- @pickup_at = pickup_at
448
- @pickup_location_name = pickup_location_name
449
- @rate_amount = rate_amount
450
- @rate_interval = rate_interval
451
- @renter_name = renter_name
452
- @return_address = return_address
453
- @return_at = return_at
454
- @return_location_name = return_location_name
455
- @tax_exempt = tax_exempt
456
- @vehicle_identification_number = vehicle_identification_number
457
- end
458
- end
459
-
460
- class EventDetails < ::Stripe::RequestParams
461
- class Address < ::Stripe::RequestParams
462
- # City, district, suburb, town, or village.
463
- attr_accessor :city
464
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
465
- attr_accessor :country
466
- # Address line 1, such as the street, PO Box, or company name.
467
- attr_accessor :line1
468
- # Address line 2, such as the apartment, suite, unit, or building.
469
- attr_accessor :line2
470
- # ZIP or postal code.
471
- attr_accessor :postal_code
472
- # State, county, province, or region.
473
- attr_accessor :state
474
-
475
- def initialize(
476
- city: nil,
477
- country: nil,
478
- line1: nil,
479
- line2: nil,
480
- postal_code: nil,
481
- state: nil
482
- )
483
- @city = city
484
- @country = country
485
- @line1 = line1
486
- @line2 = line2
487
- @postal_code = postal_code
488
- @state = state
489
- end
490
- end
491
-
492
- class Affiliate < ::Stripe::RequestParams
493
- # The name of the affiliate that originated the purchase.
494
- attr_accessor :name
495
-
496
- def initialize(name: nil)
497
- @name = name
498
- end
499
- end
500
-
501
- class Delivery < ::Stripe::RequestParams
502
- class Recipient < ::Stripe::RequestParams
503
- # The email of the recipient the ticket is delivered to.
504
- attr_accessor :email
505
- # The name of the recipient the ticket is delivered to.
506
- attr_accessor :name
507
- # The phone number of the recipient the ticket is delivered to.
508
- attr_accessor :phone
509
-
510
- def initialize(email: nil, name: nil, phone: nil)
511
- @email = email
512
- @name = name
513
- @phone = phone
514
- end
515
- end
516
- # The delivery method for the payment
517
- attr_accessor :mode
518
- # Details of the recipient.
519
- attr_accessor :recipient
520
-
521
- def initialize(mode: nil, recipient: nil)
522
- @mode = mode
523
- @recipient = recipient
524
- end
525
- end
526
- # Indicates if the tickets are digitally checked when entering the venue.
527
- attr_accessor :access_controlled_venue
528
- # The event location's address.
529
- attr_accessor :address
530
- # Affiliate details for this purchase.
531
- attr_accessor :affiliate
532
- # The name of the company
533
- attr_accessor :company
534
- # Delivery details for this purchase.
535
- attr_accessor :delivery
536
- # Event end time. Measured in seconds since the Unix epoch.
537
- attr_accessor :ends_at
538
- # Type of the event entertainment (concert, sports event etc)
539
- attr_accessor :genre
540
- # The name of the event.
541
- attr_accessor :name
542
- # Event start time. Measured in seconds since the Unix epoch.
543
- attr_accessor :starts_at
544
-
545
- def initialize(
546
- access_controlled_venue: nil,
547
- address: nil,
548
- affiliate: nil,
549
- company: nil,
550
- delivery: nil,
551
- ends_at: nil,
552
- genre: nil,
553
- name: nil,
554
- starts_at: nil
555
- )
556
- @access_controlled_venue = access_controlled_venue
557
- @address = address
558
- @affiliate = affiliate
559
- @company = company
560
- @delivery = delivery
561
- @ends_at = ends_at
562
- @genre = genre
563
- @name = name
564
- @starts_at = starts_at
565
- end
566
- end
567
-
568
- class Flight < ::Stripe::RequestParams
569
- class Affiliate < ::Stripe::RequestParams
570
- # The name of the affiliate that originated the purchase.
571
- attr_accessor :name
572
-
573
- def initialize(name: nil)
574
- @name = name
575
- end
576
- end
577
-
578
- class Delivery < ::Stripe::RequestParams
579
- class Recipient < ::Stripe::RequestParams
580
- # The email of the recipient the ticket is delivered to.
581
- attr_accessor :email
582
- # The name of the recipient the ticket is delivered to.
583
- attr_accessor :name
584
- # The phone number of the recipient the ticket is delivered to.
585
- attr_accessor :phone
586
-
587
- def initialize(email: nil, name: nil, phone: nil)
588
- @email = email
589
- @name = name
590
- @phone = phone
591
- end
592
- end
593
- # The delivery method for the payment
594
- attr_accessor :mode
595
- # Details of the recipient.
596
- attr_accessor :recipient
597
-
598
- def initialize(mode: nil, recipient: nil)
599
- @mode = mode
600
- @recipient = recipient
601
- end
602
- end
603
-
604
- class Passenger < ::Stripe::RequestParams
605
- # Full name of the person or entity on the flight reservation.
606
- attr_accessor :name
607
-
608
- def initialize(name: nil)
609
- @name = name
610
- end
611
- end
612
-
613
- class Segment < ::Stripe::RequestParams
614
- # The flight segment amount.
615
- attr_accessor :amount
616
- # The International Air Transport Association (IATA) airport code for the arrival airport.
617
- attr_accessor :arrival_airport
618
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
619
- attr_accessor :arrives_at
620
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
621
- attr_accessor :carrier
622
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
623
- attr_accessor :departs_at
624
- # The International Air Transport Association (IATA) airport code for the departure airport.
625
- attr_accessor :departure_airport
626
- # The flight number associated with the segment
627
- attr_accessor :flight_number
628
- # The fare class for the segment.
629
- attr_accessor :service_class
630
-
631
- def initialize(
632
- amount: nil,
633
- arrival_airport: nil,
634
- arrives_at: nil,
635
- carrier: nil,
636
- departs_at: nil,
637
- departure_airport: nil,
638
- flight_number: nil,
639
- service_class: nil
640
- )
641
- @amount = amount
642
- @arrival_airport = arrival_airport
643
- @arrives_at = arrives_at
644
- @carrier = carrier
645
- @departs_at = departs_at
646
- @departure_airport = departure_airport
647
- @flight_number = flight_number
648
- @service_class = service_class
649
- end
650
- end
651
- # Affiliate details for this purchase.
652
- attr_accessor :affiliate
653
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
654
- attr_accessor :agency_number
655
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
656
- attr_accessor :carrier
657
- # Delivery details for this purchase.
658
- attr_accessor :delivery
659
- # The name of the person or entity on the reservation.
660
- attr_accessor :passenger_name
661
- # The details of the passengers in the travel reservation.
662
- attr_accessor :passengers
663
- # The individual flight segments associated with the trip.
664
- attr_accessor :segments
665
- # The ticket number associated with the travel reservation.
666
- attr_accessor :ticket_number
667
-
668
- def initialize(
669
- affiliate: nil,
670
- agency_number: nil,
671
- carrier: nil,
672
- delivery: nil,
673
- passenger_name: nil,
674
- passengers: nil,
675
- segments: nil,
676
- ticket_number: nil
677
- )
678
- @affiliate = affiliate
679
- @agency_number = agency_number
680
- @carrier = carrier
681
- @delivery = delivery
682
- @passenger_name = passenger_name
683
- @passengers = passengers
684
- @segments = segments
685
- @ticket_number = ticket_number
686
- end
687
- end
688
-
689
- class Lodging < ::Stripe::RequestParams
690
- class Address < ::Stripe::RequestParams
691
- # City, district, suburb, town, or village.
692
- attr_accessor :city
693
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
694
- attr_accessor :country
695
- # Address line 1, such as the street, PO Box, or company name.
696
- attr_accessor :line1
697
- # Address line 2, such as the apartment, suite, unit, or building.
698
- attr_accessor :line2
699
- # ZIP or postal code.
700
- attr_accessor :postal_code
701
- # State, county, province, or region.
702
- attr_accessor :state
703
-
704
- def initialize(
705
- city: nil,
706
- country: nil,
707
- line1: nil,
708
- line2: nil,
709
- postal_code: nil,
710
- state: nil
711
- )
712
- @city = city
713
- @country = country
714
- @line1 = line1
715
- @line2 = line2
716
- @postal_code = postal_code
717
- @state = state
718
- end
719
- end
720
-
721
- class Affiliate < ::Stripe::RequestParams
722
- # The name of the affiliate that originated the purchase.
723
- attr_accessor :name
724
-
725
- def initialize(name: nil)
726
- @name = name
727
- end
728
- end
729
-
730
- class Delivery < ::Stripe::RequestParams
731
- class Recipient < ::Stripe::RequestParams
732
- # The email of the recipient the ticket is delivered to.
733
- attr_accessor :email
734
- # The name of the recipient the ticket is delivered to.
735
- attr_accessor :name
736
- # The phone number of the recipient the ticket is delivered to.
737
- attr_accessor :phone
738
-
739
- def initialize(email: nil, name: nil, phone: nil)
740
- @email = email
741
- @name = name
742
- @phone = phone
743
- end
744
- end
745
- # The delivery method for the payment
746
- attr_accessor :mode
747
- # Details of the recipient.
748
- attr_accessor :recipient
749
-
750
- def initialize(mode: nil, recipient: nil)
751
- @mode = mode
752
- @recipient = recipient
753
- end
754
- end
755
-
756
- class Passenger < ::Stripe::RequestParams
757
- # Full name of the person or entity on the lodging reservation.
758
- attr_accessor :name
759
-
760
- def initialize(name: nil)
761
- @name = name
762
- end
763
- end
764
- # The lodging location's address.
765
- attr_accessor :address
766
- # The number of adults on the booking
767
- attr_accessor :adults
768
- # Affiliate details for this purchase.
769
- attr_accessor :affiliate
770
- # The booking number associated with the lodging reservation.
771
- attr_accessor :booking_number
772
- # The lodging category
773
- attr_accessor :category
774
- # Lodging check-in time. Measured in seconds since the Unix epoch.
775
- attr_accessor :checkin_at
776
- # Lodging check-out time. Measured in seconds since the Unix epoch.
777
- attr_accessor :checkout_at
778
- # The customer service phone number of the lodging company.
779
- attr_accessor :customer_service_phone_number
780
- # The daily lodging room rate.
781
- attr_accessor :daily_room_rate_amount
782
- # Delivery details for this purchase.
783
- attr_accessor :delivery
784
- # List of additional charges being billed.
785
- attr_accessor :extra_charges
786
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
787
- attr_accessor :fire_safety_act_compliance
788
- # The name of the lodging location.
789
- attr_accessor :name
790
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
791
- attr_accessor :no_show
792
- # The number of rooms on the booking
793
- attr_accessor :number_of_rooms
794
- # The details of the passengers in the travel reservation
795
- attr_accessor :passengers
796
- # The phone number of the lodging location.
797
- attr_accessor :property_phone_number
798
- # The room class for this purchase.
799
- attr_accessor :room_class
800
- # The number of room nights
801
- attr_accessor :room_nights
802
- # The total tax amount associating with the room reservation.
803
- attr_accessor :total_room_tax_amount
804
- # The total tax amount
805
- attr_accessor :total_tax_amount
806
-
807
- def initialize(
808
- address: nil,
809
- adults: nil,
810
- affiliate: nil,
811
- booking_number: nil,
812
- category: nil,
813
- checkin_at: nil,
814
- checkout_at: nil,
815
- customer_service_phone_number: nil,
816
- daily_room_rate_amount: nil,
817
- delivery: nil,
818
- extra_charges: nil,
819
- fire_safety_act_compliance: nil,
820
- name: nil,
821
- no_show: nil,
822
- number_of_rooms: nil,
823
- passengers: nil,
824
- property_phone_number: nil,
825
- room_class: nil,
826
- room_nights: nil,
827
- total_room_tax_amount: nil,
828
- total_tax_amount: nil
829
- )
830
- @address = address
831
- @adults = adults
832
- @affiliate = affiliate
833
- @booking_number = booking_number
834
- @category = category
835
- @checkin_at = checkin_at
836
- @checkout_at = checkout_at
837
- @customer_service_phone_number = customer_service_phone_number
838
- @daily_room_rate_amount = daily_room_rate_amount
839
- @delivery = delivery
840
- @extra_charges = extra_charges
841
- @fire_safety_act_compliance = fire_safety_act_compliance
842
- @name = name
843
- @no_show = no_show
844
- @number_of_rooms = number_of_rooms
845
- @passengers = passengers
846
- @property_phone_number = property_phone_number
847
- @room_class = room_class
848
- @room_nights = room_nights
849
- @total_room_tax_amount = total_room_tax_amount
850
- @total_tax_amount = total_tax_amount
851
- end
852
- end
853
-
854
- class Subscription < ::Stripe::RequestParams
855
- class Affiliate < ::Stripe::RequestParams
856
- # The name of the affiliate that originated the purchase.
857
- attr_accessor :name
858
-
859
- def initialize(name: nil)
860
- @name = name
861
- end
862
- end
863
-
864
- class BillingInterval < ::Stripe::RequestParams
865
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
866
- attr_accessor :count
867
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
868
- attr_accessor :interval
869
-
870
- def initialize(count: nil, interval: nil)
871
- @count = count
872
- @interval = interval
873
- end
874
- end
875
- # Affiliate details for this purchase.
876
- attr_accessor :affiliate
877
- # Info whether the subscription will be auto renewed upon expiry.
878
- attr_accessor :auto_renewal
879
- # Subscription billing details for this purchase.
880
- attr_accessor :billing_interval
881
- # Subscription end time. Measured in seconds since the Unix epoch.
882
- attr_accessor :ends_at
883
- # Name of the product on subscription. e.g. Apple Music Subscription
884
- attr_accessor :name
885
- # Subscription start time. Measured in seconds since the Unix epoch.
886
- attr_accessor :starts_at
887
-
888
- def initialize(
889
- affiliate: nil,
890
- auto_renewal: nil,
891
- billing_interval: nil,
892
- ends_at: nil,
893
- name: nil,
894
- starts_at: nil
895
- )
896
- @affiliate = affiliate
897
- @auto_renewal = auto_renewal
898
- @billing_interval = billing_interval
899
- @ends_at = ends_at
900
- @name = name
901
- @starts_at = starts_at
902
- end
903
- end
904
- # Car rental details for this PaymentIntent.
905
- attr_accessor :car_rental
177
+ class PaymentDetails < ::Stripe::RequestParams
906
178
  # A unique value to identify the customer. This field is available only for card payments.
907
179
  #
908
180
  # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
909
181
  attr_accessor :customer_reference
910
- # Event details for this PaymentIntent
911
- attr_accessor :event_details
912
- # Flight reservation details for this PaymentIntent
913
- attr_accessor :flight
914
- # Lodging reservation details for this PaymentIntent
915
- attr_accessor :lodging
916
182
  # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
917
183
  #
918
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`.
919
185
  #
920
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.
921
187
  attr_accessor :order_reference
922
- # Subscription details for this PaymentIntent
923
- attr_accessor :subscription
924
188
 
925
- def initialize(
926
- car_rental: nil,
927
- customer_reference: nil,
928
- event_details: nil,
929
- flight: nil,
930
- lodging: nil,
931
- order_reference: nil,
932
- subscription: nil
933
- )
934
- @car_rental = car_rental
189
+ def initialize(customer_reference: nil, order_reference: nil)
935
190
  @customer_reference = customer_reference
936
- @event_details = event_details
937
- @flight = flight
938
- @lodging = lodging
939
191
  @order_reference = order_reference
940
- @subscription = subscription
941
192
  end
942
193
  end
943
194
 
@@ -1078,18 +329,8 @@ module Stripe
1078
329
  end
1079
330
 
1080
331
  class Giropay < ::Stripe::RequestParams; end
1081
- class Gopay < ::Stripe::RequestParams; end
1082
332
  class Grabpay < ::Stripe::RequestParams; end
1083
333
 
1084
- class IdBankTransfer < ::Stripe::RequestParams
1085
- # Bank where the account is held.
1086
- attr_accessor :bank
1087
-
1088
- def initialize(bank: nil)
1089
- @bank = bank
1090
- end
1091
- end
1092
-
1093
334
  class Ideal < ::Stripe::RequestParams
1094
335
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
1095
336
  attr_accessor :bank
@@ -1187,26 +428,8 @@ module Stripe
1187
428
  class Payco < ::Stripe::RequestParams; end
1188
429
  class Paynow < ::Stripe::RequestParams; end
1189
430
  class Paypal < ::Stripe::RequestParams; end
1190
- class Paypay < ::Stripe::RequestParams; end
1191
-
1192
- class Payto < ::Stripe::RequestParams
1193
- # The account number for the bank account.
1194
- attr_accessor :account_number
1195
- # Bank-State-Branch number of the bank account.
1196
- attr_accessor :bsb_number
1197
- # The PayID alias for the bank account.
1198
- attr_accessor :pay_id
1199
-
1200
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
1201
- @account_number = account_number
1202
- @bsb_number = bsb_number
1203
- @pay_id = pay_id
1204
- end
1205
- end
1206
-
1207
431
  class Pix < ::Stripe::RequestParams; end
1208
432
  class Promptpay < ::Stripe::RequestParams; end
1209
- class Qris < ::Stripe::RequestParams; end
1210
433
 
1211
434
  class RadarOptions < ::Stripe::RequestParams
1212
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.
@@ -1217,29 +440,6 @@ module Stripe
1217
440
  end
1218
441
  end
1219
442
 
1220
- class Rechnung < ::Stripe::RequestParams
1221
- class Dob < ::Stripe::RequestParams
1222
- # The day of birth, between 1 and 31.
1223
- attr_accessor :day
1224
- # The month of birth, between 1 and 12.
1225
- attr_accessor :month
1226
- # The four-digit year of birth.
1227
- attr_accessor :year
1228
-
1229
- def initialize(day: nil, month: nil, year: nil)
1230
- @day = day
1231
- @month = month
1232
- @year = year
1233
- end
1234
- end
1235
- # Customer's date of birth
1236
- attr_accessor :dob
1237
-
1238
- def initialize(dob: nil)
1239
- @dob = dob
1240
- end
1241
- end
1242
-
1243
443
  class RevolutPay < ::Stripe::RequestParams; end
1244
444
  class SamsungPay < ::Stripe::RequestParams; end
1245
445
  class Satispay < ::Stripe::RequestParams; end
@@ -1253,8 +453,6 @@ module Stripe
1253
453
  end
1254
454
  end
1255
455
 
1256
- class Shopeepay < ::Stripe::RequestParams; end
1257
-
1258
456
  class Sofort < ::Stripe::RequestParams
1259
457
  # Two-letter ISO code representing the country the bank account is located in.
1260
458
  attr_accessor :country
@@ -1264,18 +462,6 @@ module Stripe
1264
462
  end
1265
463
  end
1266
464
 
1267
- class StripeBalance < ::Stripe::RequestParams
1268
- # The connected account ID whose Stripe balance to use as the source of payment
1269
- attr_accessor :account
1270
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1271
- attr_accessor :source_type
1272
-
1273
- def initialize(account: nil, source_type: nil)
1274
- @account = account
1275
- @source_type = source_type
1276
- end
1277
- end
1278
-
1279
465
  class Swish < ::Stripe::RequestParams; end
1280
466
  class Twint < ::Stripe::RequestParams; end
1281
467
 
@@ -1348,12 +534,8 @@ module Stripe
1348
534
  attr_accessor :fpx
1349
535
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1350
536
  attr_accessor :giropay
1351
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1352
- attr_accessor :gopay
1353
537
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1354
538
  attr_accessor :grabpay
1355
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1356
- attr_accessor :id_bank_transfer
1357
539
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1358
540
  attr_accessor :ideal
1359
541
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -1392,20 +574,12 @@ module Stripe
1392
574
  attr_accessor :paynow
1393
575
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
1394
576
  attr_accessor :paypal
1395
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
1396
- attr_accessor :paypay
1397
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1398
- attr_accessor :payto
1399
577
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1400
578
  attr_accessor :pix
1401
579
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1402
580
  attr_accessor :promptpay
1403
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1404
- attr_accessor :qris
1405
581
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1406
582
  attr_accessor :radar_options
1407
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1408
- attr_accessor :rechnung
1409
583
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1410
584
  attr_accessor :revolut_pay
1411
585
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -1414,12 +588,8 @@ module Stripe
1414
588
  attr_accessor :satispay
1415
589
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
1416
590
  attr_accessor :sepa_debit
1417
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1418
- attr_accessor :shopeepay
1419
591
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1420
592
  attr_accessor :sofort
1421
- # This hash contains details about the Stripe balance payment method.
1422
- attr_accessor :stripe_balance
1423
593
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
1424
594
  attr_accessor :swish
1425
595
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -1454,9 +624,7 @@ module Stripe
1454
624
  eps: nil,
1455
625
  fpx: nil,
1456
626
  giropay: nil,
1457
- gopay: nil,
1458
627
  grabpay: nil,
1459
- id_bank_transfer: nil,
1460
628
  ideal: nil,
1461
629
  interac_present: nil,
1462
630
  kakao_pay: nil,
@@ -1476,20 +644,14 @@ module Stripe
1476
644
  payco: nil,
1477
645
  paynow: nil,
1478
646
  paypal: nil,
1479
- paypay: nil,
1480
- payto: nil,
1481
647
  pix: nil,
1482
648
  promptpay: nil,
1483
- qris: nil,
1484
649
  radar_options: nil,
1485
- rechnung: nil,
1486
650
  revolut_pay: nil,
1487
651
  samsung_pay: nil,
1488
652
  satispay: nil,
1489
653
  sepa_debit: nil,
1490
- shopeepay: nil,
1491
654
  sofort: nil,
1492
- stripe_balance: nil,
1493
655
  swish: nil,
1494
656
  twint: nil,
1495
657
  type: nil,
@@ -1517,9 +679,7 @@ module Stripe
1517
679
  @eps = eps
1518
680
  @fpx = fpx
1519
681
  @giropay = giropay
1520
- @gopay = gopay
1521
682
  @grabpay = grabpay
1522
- @id_bank_transfer = id_bank_transfer
1523
683
  @ideal = ideal
1524
684
  @interac_present = interac_present
1525
685
  @kakao_pay = kakao_pay
@@ -1539,20 +699,14 @@ module Stripe
1539
699
  @payco = payco
1540
700
  @paynow = paynow
1541
701
  @paypal = paypal
1542
- @paypay = paypay
1543
- @payto = payto
1544
702
  @pix = pix
1545
703
  @promptpay = promptpay
1546
- @qris = qris
1547
704
  @radar_options = radar_options
1548
- @rechnung = rechnung
1549
705
  @revolut_pay = revolut_pay
1550
706
  @samsung_pay = samsung_pay
1551
707
  @satispay = satispay
1552
708
  @sepa_debit = sepa_debit
1553
- @shopeepay = shopeepay
1554
709
  @sofort = sofort
1555
- @stripe_balance = stripe_balance
1556
710
  @swish = swish
1557
711
  @twint = twint
1558
712
  @type = type
@@ -1923,48 +1077,6 @@ module Stripe
1923
1077
  end
1924
1078
  end
1925
1079
 
1926
- class StatementDetails < ::Stripe::RequestParams
1927
- class Address < ::Stripe::RequestParams
1928
- # City, district, suburb, town, or village.
1929
- attr_accessor :city
1930
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1931
- attr_accessor :country
1932
- # Address line 1, such as the street, PO Box, or company name.
1933
- attr_accessor :line1
1934
- # Address line 2, such as the apartment, suite, unit, or building.
1935
- attr_accessor :line2
1936
- # ZIP or postal code.
1937
- attr_accessor :postal_code
1938
- # State, county, province, or region.
1939
- attr_accessor :state
1940
-
1941
- def initialize(
1942
- city: nil,
1943
- country: nil,
1944
- line1: nil,
1945
- line2: nil,
1946
- postal_code: nil,
1947
- state: nil
1948
- )
1949
- @city = city
1950
- @country = country
1951
- @line1 = line1
1952
- @line2 = line2
1953
- @postal_code = postal_code
1954
- @state = state
1955
- end
1956
- end
1957
- # Please pass in an address that is within your Stripe user account country
1958
- attr_accessor :address
1959
- # Phone number (e.g., a toll-free number that customers can call)
1960
- attr_accessor :phone
1961
-
1962
- def initialize(address: nil, phone: nil)
1963
- @address = address
1964
- @phone = phone
1965
- end
1966
- end
1967
-
1968
1080
  class ThreeDSecure < ::Stripe::RequestParams
1969
1081
  class NetworkOptions < ::Stripe::RequestParams
1970
1082
  class CartesBancaires < ::Stripe::RequestParams
@@ -2059,8 +1171,6 @@ module Stripe
2059
1171
  attr_accessor :moto
2060
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.
2061
1173
  attr_accessor :network
2062
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
2063
- attr_accessor :request_decremental_authorization
2064
1174
  # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
2065
1175
  attr_accessor :request_extended_authorization
2066
1176
  # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
@@ -2069,8 +1179,6 @@ module Stripe
2069
1179
  attr_accessor :request_multicapture
2070
1180
  # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
2071
1181
  attr_accessor :request_overcapture
2072
- # Request partial authorization on this PaymentIntent.
2073
- attr_accessor :request_partial_authorization
2074
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.
2075
1183
  attr_accessor :request_three_d_secure
2076
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).
@@ -2089,8 +1197,6 @@ module Stripe
2089
1197
  attr_accessor :statement_descriptor_suffix_kana
2090
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.
2091
1199
  attr_accessor :statement_descriptor_suffix_kanji
2092
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
2093
- attr_accessor :statement_details
2094
1200
  # If 3D Secure authentication was performed with a third-party provider,
2095
1201
  # the authentication details to use for this payment.
2096
1202
  attr_accessor :three_d_secure
@@ -2102,18 +1208,15 @@ module Stripe
2102
1208
  mandate_options: nil,
2103
1209
  moto: nil,
2104
1210
  network: nil,
2105
- request_decremental_authorization: nil,
2106
1211
  request_extended_authorization: nil,
2107
1212
  request_incremental_authorization: nil,
2108
1213
  request_multicapture: nil,
2109
1214
  request_overcapture: nil,
2110
- request_partial_authorization: nil,
2111
1215
  request_three_d_secure: nil,
2112
1216
  require_cvc_recollection: nil,
2113
1217
  setup_future_usage: nil,
2114
1218
  statement_descriptor_suffix_kana: nil,
2115
1219
  statement_descriptor_suffix_kanji: nil,
2116
- statement_details: nil,
2117
1220
  three_d_secure: nil
2118
1221
  )
2119
1222
  @capture_method = capture_method
@@ -2122,18 +1225,15 @@ module Stripe
2122
1225
  @mandate_options = mandate_options
2123
1226
  @moto = moto
2124
1227
  @network = network
2125
- @request_decremental_authorization = request_decremental_authorization
2126
1228
  @request_extended_authorization = request_extended_authorization
2127
1229
  @request_incremental_authorization = request_incremental_authorization
2128
1230
  @request_multicapture = request_multicapture
2129
1231
  @request_overcapture = request_overcapture
2130
- @request_partial_authorization = request_partial_authorization
2131
1232
  @request_three_d_secure = request_three_d_secure
2132
1233
  @require_cvc_recollection = require_cvc_recollection
2133
1234
  @setup_future_usage = setup_future_usage
2134
1235
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
2135
1236
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
2136
- @statement_details = statement_details
2137
1237
  @three_d_secure = three_d_secure
2138
1238
  end
2139
1239
  end
@@ -2147,6 +1247,12 @@ module Stripe
2147
1247
  @requested_priority = requested_priority
2148
1248
  end
2149
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
2150
1256
  # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
2151
1257
  attr_accessor :request_extended_authorization
2152
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.
@@ -2155,10 +1261,12 @@ module Stripe
2155
1261
  attr_accessor :routing
2156
1262
 
2157
1263
  def initialize(
1264
+ capture_method: nil,
2158
1265
  request_extended_authorization: nil,
2159
1266
  request_incremental_authorization_support: nil,
2160
1267
  routing: nil
2161
1268
  )
1269
+ @capture_method = capture_method
2162
1270
  @request_extended_authorization = request_extended_authorization
2163
1271
  @request_incremental_authorization_support = request_incremental_authorization_support
2164
1272
  @routing = routing
@@ -2304,23 +1412,6 @@ module Stripe
2304
1412
  end
2305
1413
  end
2306
1414
 
2307
- class Gopay < ::Stripe::RequestParams
2308
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2309
- #
2310
- # 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.
2311
- #
2312
- # 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.
2313
- #
2314
- # 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).
2315
- #
2316
- # 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`.
2317
- attr_accessor :setup_future_usage
2318
-
2319
- def initialize(setup_future_usage: nil)
2320
- @setup_future_usage = setup_future_usage
2321
- end
2322
- end
2323
-
2324
1415
  class Grabpay < ::Stripe::RequestParams
2325
1416
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2326
1417
  #
@@ -2338,29 +1429,6 @@ module Stripe
2338
1429
  end
2339
1430
  end
2340
1431
 
2341
- class IdBankTransfer < ::Stripe::RequestParams
2342
- # 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.
2343
- attr_accessor :expires_after
2344
- # 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.
2345
- attr_accessor :expires_at
2346
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2347
- #
2348
- # 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.
2349
- #
2350
- # 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.
2351
- #
2352
- # 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).
2353
- #
2354
- # 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`.
2355
- attr_accessor :setup_future_usage
2356
-
2357
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
2358
- @expires_after = expires_after
2359
- @expires_at = expires_at
2360
- @setup_future_usage = setup_future_usage
2361
- end
2362
- end
2363
-
2364
1432
  class Ideal < ::Stripe::RequestParams
2365
1433
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2366
1434
  #
@@ -2762,65 +1830,12 @@ module Stripe
2762
1830
  end
2763
1831
 
2764
1832
  class Paypal < ::Stripe::RequestParams
2765
- class LineItem < ::Stripe::RequestParams
2766
- class Tax < ::Stripe::RequestParams
2767
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
2768
- attr_accessor :amount
2769
- # The tax behavior for the line item.
2770
- attr_accessor :behavior
2771
-
2772
- def initialize(amount: nil, behavior: nil)
2773
- @amount = amount
2774
- @behavior = behavior
2775
- end
2776
- end
2777
- # Type of the line item.
2778
- attr_accessor :category
2779
- # Description of the line item.
2780
- attr_accessor :description
2781
- # Descriptive name of the line item.
2782
- attr_accessor :name
2783
- # Quantity of the line item. Must be a positive number.
2784
- attr_accessor :quantity
2785
- # Client facing stock keeping unit, article number or similar.
2786
- attr_accessor :sku
2787
- # The Stripe account ID of the connected account that sells the item.
2788
- attr_accessor :sold_by
2789
- # The tax information for the line item.
2790
- attr_accessor :tax
2791
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
2792
- attr_accessor :unit_amount
2793
-
2794
- def initialize(
2795
- category: nil,
2796
- description: nil,
2797
- name: nil,
2798
- quantity: nil,
2799
- sku: nil,
2800
- sold_by: nil,
2801
- tax: nil,
2802
- unit_amount: nil
2803
- )
2804
- @category = category
2805
- @description = description
2806
- @name = name
2807
- @quantity = quantity
2808
- @sku = sku
2809
- @sold_by = sold_by
2810
- @tax = tax
2811
- @unit_amount = unit_amount
2812
- end
2813
- end
2814
1833
  # Controls when the funds will be captured from the customer's account.
2815
1834
  attr_accessor :capture_method
2816
- # The line items purchased by the customer.
2817
- attr_accessor :line_items
2818
1835
  # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
2819
1836
  attr_accessor :preferred_locale
2820
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.
2821
1838
  attr_accessor :reference
2822
- # 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.
2823
- attr_accessor :reference_id
2824
1839
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
2825
1840
  attr_accessor :risk_correlation_id
2826
1841
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2833,140 +1848,29 @@ module Stripe
2833
1848
  #
2834
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`.
2835
1850
  attr_accessor :setup_future_usage
2836
- # 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.
2837
- attr_accessor :subsellers
2838
1851
 
2839
1852
  def initialize(
2840
1853
  capture_method: nil,
2841
- line_items: nil,
2842
1854
  preferred_locale: nil,
2843
1855
  reference: nil,
2844
- reference_id: nil,
2845
1856
  risk_correlation_id: nil,
2846
- setup_future_usage: nil,
2847
- subsellers: nil
1857
+ setup_future_usage: nil
2848
1858
  )
2849
1859
  @capture_method = capture_method
2850
- @line_items = line_items
2851
1860
  @preferred_locale = preferred_locale
2852
1861
  @reference = reference
2853
- @reference_id = reference_id
2854
1862
  @risk_correlation_id = risk_correlation_id
2855
1863
  @setup_future_usage = setup_future_usage
2856
- @subsellers = subsellers
2857
- end
2858
- end
2859
-
2860
- class Paypay < ::Stripe::RequestParams
2861
- # Controls when the funds are captured from the customer's account.
2862
- #
2863
- # 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.
2864
- #
2865
- # 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.
2866
- attr_accessor :capture_method
2867
-
2868
- def initialize(capture_method: nil)
2869
- @capture_method = capture_method
2870
- end
2871
- end
2872
-
2873
- class Payto < ::Stripe::RequestParams
2874
- class MandateOptions < ::Stripe::RequestParams
2875
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
2876
- attr_accessor :amount
2877
- # 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.
2878
- attr_accessor :amount_type
2879
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2880
- attr_accessor :end_date
2881
- # The periodicity at which payments will be collected.
2882
- attr_accessor :payment_schedule
2883
- # 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.
2884
- attr_accessor :payments_per_period
2885
- # The purpose for which payments are made. Defaults to retail.
2886
- attr_accessor :purpose
2887
-
2888
- def initialize(
2889
- amount: nil,
2890
- amount_type: nil,
2891
- end_date: nil,
2892
- payment_schedule: nil,
2893
- payments_per_period: nil,
2894
- purpose: nil
2895
- )
2896
- @amount = amount
2897
- @amount_type = amount_type
2898
- @end_date = end_date
2899
- @payment_schedule = payment_schedule
2900
- @payments_per_period = payments_per_period
2901
- @purpose = purpose
2902
- end
2903
- end
2904
- # 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`
2905
- attr_accessor :mandate_options
2906
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2907
- #
2908
- # 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.
2909
- #
2910
- # 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.
2911
- #
2912
- # 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).
2913
- #
2914
- # 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`.
2915
- attr_accessor :setup_future_usage
2916
-
2917
- def initialize(mandate_options: nil, setup_future_usage: nil)
2918
- @mandate_options = mandate_options
2919
- @setup_future_usage = setup_future_usage
2920
1864
  end
2921
1865
  end
2922
1866
 
2923
1867
  class Pix < ::Stripe::RequestParams
2924
- class MandateOptions < ::Stripe::RequestParams
2925
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
2926
- attr_accessor :amount
2927
- # Determines if the amount includes the IOF tax. Defaults to `never`.
2928
- attr_accessor :amount_includes_iof
2929
- # Type of amount. Defaults to `maximum`.
2930
- attr_accessor :amount_type
2931
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
2932
- attr_accessor :currency
2933
- # 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.
2934
- attr_accessor :end_date
2935
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
2936
- attr_accessor :payment_schedule
2937
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
2938
- attr_accessor :reference
2939
- # 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.
2940
- attr_accessor :start_date
2941
-
2942
- def initialize(
2943
- amount: nil,
2944
- amount_includes_iof: nil,
2945
- amount_type: nil,
2946
- currency: nil,
2947
- end_date: nil,
2948
- payment_schedule: nil,
2949
- reference: nil,
2950
- start_date: nil
2951
- )
2952
- @amount = amount
2953
- @amount_includes_iof = amount_includes_iof
2954
- @amount_type = amount_type
2955
- @currency = currency
2956
- @end_date = end_date
2957
- @payment_schedule = payment_schedule
2958
- @reference = reference
2959
- @start_date = start_date
2960
- end
2961
- end
2962
1868
  # Determines if the amount includes the IOF tax. Defaults to `never`.
2963
1869
  attr_accessor :amount_includes_iof
2964
1870
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
2965
1871
  attr_accessor :expires_after_seconds
2966
1872
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
2967
1873
  attr_accessor :expires_at
2968
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
2969
- attr_accessor :mandate_options
2970
1874
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2971
1875
  #
2972
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.
@@ -2982,13 +1886,11 @@ module Stripe
2982
1886
  amount_includes_iof: nil,
2983
1887
  expires_after_seconds: nil,
2984
1888
  expires_at: nil,
2985
- mandate_options: nil,
2986
1889
  setup_future_usage: nil
2987
1890
  )
2988
1891
  @amount_includes_iof = amount_includes_iof
2989
1892
  @expires_after_seconds = expires_after_seconds
2990
1893
  @expires_at = expires_at
2991
- @mandate_options = mandate_options
2992
1894
  @setup_future_usage = setup_future_usage
2993
1895
  end
2994
1896
  end
@@ -3010,25 +1912,6 @@ module Stripe
3010
1912
  end
3011
1913
  end
3012
1914
 
3013
- class Qris < ::Stripe::RequestParams
3014
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3015
- #
3016
- # 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.
3017
- #
3018
- # 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.
3019
- #
3020
- # 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).
3021
- #
3022
- # 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`.
3023
- attr_accessor :setup_future_usage
3024
-
3025
- def initialize(setup_future_usage: nil)
3026
- @setup_future_usage = setup_future_usage
3027
- end
3028
- end
3029
-
3030
- class Rechnung < ::Stripe::RequestParams; end
3031
-
3032
1915
  class RevolutPay < ::Stripe::RequestParams
3033
1916
  # Controls when the funds are captured from the customer's account.
3034
1917
  #
@@ -3108,23 +1991,6 @@ module Stripe
3108
1991
  end
3109
1992
  end
3110
1993
 
3111
- class Shopeepay < ::Stripe::RequestParams
3112
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3113
- #
3114
- # 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.
3115
- #
3116
- # 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.
3117
- #
3118
- # 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).
3119
- #
3120
- # 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`.
3121
- attr_accessor :setup_future_usage
3122
-
3123
- def initialize(setup_future_usage: nil)
3124
- @setup_future_usage = setup_future_usage
3125
- end
3126
- end
3127
-
3128
1994
  class Sofort < ::Stripe::RequestParams
3129
1995
  # Language shown to the payer on redirect.
3130
1996
  attr_accessor :preferred_language
@@ -3145,23 +2011,6 @@ module Stripe
3145
2011
  end
3146
2012
  end
3147
2013
 
3148
- class StripeBalance < ::Stripe::RequestParams
3149
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3150
- #
3151
- # 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.
3152
- #
3153
- # 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.
3154
- #
3155
- # 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).
3156
- #
3157
- # 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`.
3158
- attr_accessor :setup_future_usage
3159
-
3160
- def initialize(setup_future_usage: nil)
3161
- @setup_future_usage = setup_future_usage
3162
- end
3163
- end
3164
-
3165
2014
  class Swish < ::Stripe::RequestParams
3166
2015
  # A reference for this payment to be displayed in the Swish app.
3167
2016
  attr_accessor :reference
@@ -3204,27 +2053,13 @@ module Stripe
3204
2053
  class Filters < ::Stripe::RequestParams
3205
2054
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3206
2055
  attr_accessor :account_subcategories
3207
- # ID of the institution to use to filter for selectable accounts.
3208
- attr_accessor :institution
3209
2056
 
3210
- def initialize(account_subcategories: nil, institution: nil)
2057
+ def initialize(account_subcategories: nil)
3211
2058
  @account_subcategories = account_subcategories
3212
- @institution = institution
3213
- end
3214
- end
3215
-
3216
- class ManualEntry < ::Stripe::RequestParams
3217
- # Settings for configuring manual entry of account details.
3218
- attr_accessor :mode
3219
-
3220
- def initialize(mode: nil)
3221
- @mode = mode
3222
2059
  end
3223
2060
  end
3224
2061
  # Provide filters for the linked accounts that the customer can select for the payment method.
3225
2062
  attr_accessor :filters
3226
- # Customize manual entry behavior
3227
- attr_accessor :manual_entry
3228
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`.
3229
2064
  attr_accessor :permissions
3230
2065
  # List of data features that you would like to retrieve upon account creation.
@@ -3232,15 +2067,8 @@ module Stripe
3232
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.
3233
2068
  attr_accessor :return_url
3234
2069
 
3235
- def initialize(
3236
- filters: nil,
3237
- manual_entry: nil,
3238
- permissions: nil,
3239
- prefetch: nil,
3240
- return_url: nil
3241
- )
2070
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
3242
2071
  @filters = filters
3243
- @manual_entry = manual_entry
3244
2072
  @permissions = permissions
3245
2073
  @prefetch = prefetch
3246
2074
  @return_url = return_url
@@ -3385,12 +2213,8 @@ module Stripe
3385
2213
  attr_accessor :fpx
3386
2214
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
3387
2215
  attr_accessor :giropay
3388
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
3389
- attr_accessor :gopay
3390
2216
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
3391
2217
  attr_accessor :grabpay
3392
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
3393
- attr_accessor :id_bank_transfer
3394
2218
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
3395
2219
  attr_accessor :ideal
3396
2220
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -3427,18 +2251,10 @@ module Stripe
3427
2251
  attr_accessor :paynow
3428
2252
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
3429
2253
  attr_accessor :paypal
3430
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
3431
- attr_accessor :paypay
3432
- # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
3433
- attr_accessor :payto
3434
2254
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
3435
2255
  attr_accessor :pix
3436
2256
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
3437
2257
  attr_accessor :promptpay
3438
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
3439
- attr_accessor :qris
3440
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
3441
- attr_accessor :rechnung
3442
2258
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
3443
2259
  attr_accessor :revolut_pay
3444
2260
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -3447,12 +2263,8 @@ module Stripe
3447
2263
  attr_accessor :satispay
3448
2264
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
3449
2265
  attr_accessor :sepa_debit
3450
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
3451
- attr_accessor :shopeepay
3452
2266
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
3453
2267
  attr_accessor :sofort
3454
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
3455
- attr_accessor :stripe_balance
3456
2268
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
3457
2269
  attr_accessor :swish
3458
2270
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -3485,9 +2297,7 @@ module Stripe
3485
2297
  eps: nil,
3486
2298
  fpx: nil,
3487
2299
  giropay: nil,
3488
- gopay: nil,
3489
2300
  grabpay: nil,
3490
- id_bank_transfer: nil,
3491
2301
  ideal: nil,
3492
2302
  interac_present: nil,
3493
2303
  kakao_pay: nil,
@@ -3506,19 +2316,13 @@ module Stripe
3506
2316
  payco: nil,
3507
2317
  paynow: nil,
3508
2318
  paypal: nil,
3509
- paypay: nil,
3510
- payto: nil,
3511
2319
  pix: nil,
3512
2320
  promptpay: nil,
3513
- qris: nil,
3514
- rechnung: nil,
3515
2321
  revolut_pay: nil,
3516
2322
  samsung_pay: nil,
3517
2323
  satispay: nil,
3518
2324
  sepa_debit: nil,
3519
- shopeepay: nil,
3520
2325
  sofort: nil,
3521
- stripe_balance: nil,
3522
2326
  swish: nil,
3523
2327
  twint: nil,
3524
2328
  us_bank_account: nil,
@@ -3545,9 +2349,7 @@ module Stripe
3545
2349
  @eps = eps
3546
2350
  @fpx = fpx
3547
2351
  @giropay = giropay
3548
- @gopay = gopay
3549
2352
  @grabpay = grabpay
3550
- @id_bank_transfer = id_bank_transfer
3551
2353
  @ideal = ideal
3552
2354
  @interac_present = interac_present
3553
2355
  @kakao_pay = kakao_pay
@@ -3566,19 +2368,13 @@ module Stripe
3566
2368
  @payco = payco
3567
2369
  @paynow = paynow
3568
2370
  @paypal = paypal
3569
- @paypay = paypay
3570
- @payto = payto
3571
2371
  @pix = pix
3572
2372
  @promptpay = promptpay
3573
- @qris = qris
3574
- @rechnung = rechnung
3575
2373
  @revolut_pay = revolut_pay
3576
2374
  @samsung_pay = samsung_pay
3577
2375
  @satispay = satispay
3578
2376
  @sepa_debit = sepa_debit
3579
- @shopeepay = shopeepay
3580
2377
  @sofort = sofort
3581
- @stripe_balance = stripe_balance
3582
2378
  @swish = swish
3583
2379
  @twint = twint
3584
2380
  @us_bank_account = us_bank_account
@@ -3662,29 +2458,17 @@ module Stripe
3662
2458
  #
3663
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.
3664
2460
  attr_accessor :customer
3665
- # ID of the Account this PaymentIntent belongs to, if one exists.
3666
- #
3667
- # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
3668
- #
3669
- # 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.
3670
- attr_accessor :customer_account
3671
2461
  # An arbitrary string attached to the object. Often useful for displaying to users.
3672
2462
  attr_accessor :description
3673
2463
  # The list of payment method types to exclude from use with this payment.
3674
2464
  attr_accessor :excluded_payment_method_types
3675
2465
  # Specifies which fields in the response should be expanded.
3676
2466
  attr_accessor :expand
3677
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
3678
- attr_accessor :fx_quote
3679
- # Automations to be run during the PaymentIntent lifecycle
3680
- attr_accessor :hooks
3681
- # This hash contains details about the Mandate to create.
3682
- attr_accessor :mandate_data
3683
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`.
3684
2468
  attr_accessor :metadata
3685
2469
  # Provides industry-specific information about the charge.
3686
2470
  attr_accessor :payment_details
3687
- # 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.
3688
2472
  attr_accessor :payment_method
3689
2473
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
3690
2474
  attr_accessor :payment_method_configuration
@@ -3728,13 +2512,9 @@ module Stripe
3728
2512
  capture_method: nil,
3729
2513
  currency: nil,
3730
2514
  customer: nil,
3731
- customer_account: nil,
3732
2515
  description: nil,
3733
2516
  excluded_payment_method_types: nil,
3734
2517
  expand: nil,
3735
- fx_quote: nil,
3736
- hooks: nil,
3737
- mandate_data: nil,
3738
2518
  metadata: nil,
3739
2519
  payment_details: nil,
3740
2520
  payment_method: nil,
@@ -3756,13 +2536,9 @@ module Stripe
3756
2536
  @capture_method = capture_method
3757
2537
  @currency = currency
3758
2538
  @customer = customer
3759
- @customer_account = customer_account
3760
2539
  @description = description
3761
2540
  @excluded_payment_method_types = excluded_payment_method_types
3762
2541
  @expand = expand
3763
- @fx_quote = fx_quote
3764
- @hooks = hooks
3765
- @mandate_data = mandate_data
3766
2542
  @metadata = metadata
3767
2543
  @payment_details = payment_details
3768
2544
  @payment_method = payment_method