stripe 16.1.0.pre.beta.1 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +3 -35
  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 -236
  6. data/lib/stripe/object_types.rb +0 -58
  7. data/lib/stripe/params/account_create_params.rb +1 -300
  8. data/lib/stripe/params/account_session_create_params.rb +1 -226
  9. data/lib/stripe/params/account_update_params.rb +0 -262
  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 -709
  16. data/lib/stripe/params/charge_update_params.rb +0 -709
  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 +1 -4
  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 -46
  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_payment_list_params.rb +1 -4
  39. data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
  40. data/lib/stripe/params/invoice_update_params.rb +2 -108
  41. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  42. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  43. data/lib/stripe/params/payment_intent_capture_params.rb +0 -895
  44. data/lib/stripe/params/payment_intent_confirm_params.rb +18 -1384
  45. data/lib/stripe/params/payment_intent_create_params.rb +16 -1390
  46. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -223
  47. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  48. data/lib/stripe/params/payment_intent_update_params.rb +4 -1409
  49. data/lib/stripe/params/payment_method_attach_params.rb +1 -4
  50. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
  51. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
  52. data/lib/stripe/params/payment_method_create_params.rb +0 -97
  53. data/lib/stripe/params/payment_method_update_params.rb +0 -19
  54. data/lib/stripe/params/price_update_params.rb +0 -19
  55. data/lib/stripe/params/promotion_code_create_params.rb +0 -4
  56. data/lib/stripe/params/promotion_code_list_params.rb +0 -4
  57. data/lib/stripe/params/quote_create_params.rb +3 -805
  58. data/lib/stripe/params/quote_list_params.rb +0 -8
  59. data/lib/stripe/params/quote_update_params.rb +4 -813
  60. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
  61. data/lib/stripe/params/setup_intent_create_params.rb +3 -231
  62. data/lib/stripe/params/setup_intent_list_params.rb +0 -4
  63. data/lib/stripe/params/setup_intent_update_params.rb +3 -231
  64. data/lib/stripe/params/subscription_create_params.rb +5 -259
  65. data/lib/stripe/params/subscription_item_create_params.rb +2 -46
  66. data/lib/stripe/params/subscription_item_update_params.rb +1 -29
  67. data/lib/stripe/params/subscription_list_params.rb +0 -4
  68. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
  69. data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
  70. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
  71. data/lib/stripe/params/subscription_update_params.rb +4 -238
  72. data/lib/stripe/params/tax_id_create_params.rb +1 -4
  73. data/lib/stripe/params/tax_id_list_params.rb +1 -4
  74. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  75. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  76. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
  77. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  78. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  79. data/lib/stripe/params/transfer_create_params.rb +0 -4
  80. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  81. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  82. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  83. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  84. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  85. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  86. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  87. data/lib/stripe/params.rb +0 -169
  88. data/lib/stripe/request_options.rb +1 -3
  89. data/lib/stripe/resources/account.rb +1 -166
  90. data/lib/stripe/resources/account_session.rb +0 -81
  91. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  92. data/lib/stripe/resources/billing/credit_grant.rb +0 -2
  93. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  94. data/lib/stripe/resources/card.rb +0 -2
  95. data/lib/stripe/resources/cash_balance.rb +0 -2
  96. data/lib/stripe/resources/charge.rb +1 -234
  97. data/lib/stripe/resources/checkout/session.rb +4 -154
  98. data/lib/stripe/resources/confirmation_token.rb +0 -155
  99. data/lib/stripe/resources/coupon.rb +1 -26
  100. data/lib/stripe/resources/credit_note.rb +0 -2
  101. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  102. data/lib/stripe/resources/customer.rb +0 -2
  103. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  104. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  105. data/lib/stripe/resources/customer_session.rb +0 -2
  106. data/lib/stripe/resources/discount.rb +0 -2
  107. data/lib/stripe/resources/dispute.rb +0 -22
  108. data/lib/stripe/resources/event.rb +1 -64
  109. data/lib/stripe/resources/financial_connections/account.rb +0 -27
  110. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  111. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  112. data/lib/stripe/resources/invoice.rb +1 -152
  113. data/lib/stripe/resources/invoice_item.rb +0 -4
  114. data/lib/stripe/resources/invoice_line_item.rb +0 -40
  115. data/lib/stripe/resources/invoice_payment.rb +0 -2
  116. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  117. data/lib/stripe/resources/line_item.rb +1 -68
  118. data/lib/stripe/resources/mandate.rb +0 -71
  119. data/lib/stripe/resources/payment_intent.rb +4 -848
  120. data/lib/stripe/resources/payment_method.rb +0 -157
  121. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  122. data/lib/stripe/resources/price.rb +0 -20
  123. data/lib/stripe/resources/promotion_code.rb +0 -2
  124. data/lib/stripe/resources/quote.rb +2 -571
  125. data/lib/stripe/resources/refund.rb +0 -18
  126. data/lib/stripe/resources/setup_attempt.rb +0 -63
  127. data/lib/stripe/resources/setup_intent.rb +1 -132
  128. data/lib/stripe/resources/source.rb +0 -38
  129. data/lib/stripe/resources/subscription.rb +0 -232
  130. data/lib/stripe/resources/subscription_item.rb +1 -20
  131. data/lib/stripe/resources/subscription_schedule.rb +3 -198
  132. data/lib/stripe/resources/tax_id.rb +0 -4
  133. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  134. data/lib/stripe/resources/terminal/reader.rb +0 -8
  135. data/lib/stripe/resources/transfer.rb +0 -2
  136. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  137. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  138. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  139. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  140. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  141. data/lib/stripe/resources.rb +0 -116
  142. data/lib/stripe/services/billing_service.rb +1 -2
  143. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  144. data/lib/stripe/services/financial_connections_service.rb +1 -2
  145. data/lib/stripe/services/issuing_service.rb +1 -5
  146. data/lib/stripe/services/mandate_service.rb +0 -5
  147. data/lib/stripe/services/payment_intent_service.rb +0 -44
  148. data/lib/stripe/services/quote_service.rb +1 -49
  149. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  150. data/lib/stripe/services/subscription_service.rb +0 -11
  151. data/lib/stripe/services/tax_service.rb +1 -3
  152. data/lib/stripe/services/terminal_service.rb +1 -3
  153. data/lib/stripe/services/v1_services.rb +1 -10
  154. data/lib/stripe/services/v2/billing_service.rb +1 -5
  155. data/lib/stripe/services/v2/core_service.rb +1 -4
  156. data/lib/stripe/services/v2_services.rb +1 -4
  157. data/lib/stripe/services.rb +0 -61
  158. data/lib/stripe/stripe_client.rb +1 -1
  159. data/lib/stripe/stripe_configuration.rb +2 -9
  160. data/lib/stripe/stripe_object.rb +15 -9
  161. data/lib/stripe/util.rb +3 -9
  162. data/lib/stripe/version.rb +1 -1
  163. data/lib/stripe.rb +0 -53
  164. data/rbi/stripe.rbi +98094 -162674
  165. metadata +5 -351
  166. data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
  167. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  168. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  169. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  170. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  171. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  172. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  173. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  174. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  175. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  176. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  177. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  178. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  179. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  180. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  181. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  182. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  183. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  184. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  185. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  186. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  187. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  188. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  189. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  190. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  191. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  192. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  193. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  194. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  195. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  196. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  197. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  198. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  199. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  200. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  201. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  202. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  203. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  204. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  205. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  206. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  207. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  208. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  209. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  210. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  211. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  212. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  213. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  214. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  215. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  216. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  217. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  218. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -44
  219. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  220. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  221. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  222. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  223. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  224. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  225. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  226. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  227. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  228. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  229. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  230. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  231. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  232. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  233. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  234. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  235. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  236. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  237. data/lib/stripe/params/external_account_create_params.rb +0 -134
  238. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  239. data/lib/stripe/params/external_account_list_params.rb +0 -25
  240. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  241. data/lib/stripe/params/external_account_update_params.rb +0 -91
  242. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  243. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  244. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  245. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  246. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  247. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  248. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  249. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  250. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  251. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  252. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  253. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  254. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  255. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  256. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  257. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  258. data/lib/stripe/params/mandate_list_params.rb +0 -39
  259. data/lib/stripe/params/margin_create_params.rb +0 -25
  260. data/lib/stripe/params/margin_list_params.rb +0 -25
  261. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  262. data/lib/stripe/params/margin_update_params.rb +0 -22
  263. data/lib/stripe/params/order_cancel_params.rb +0 -13
  264. data/lib/stripe/params/order_create_params.rb +0 -1124
  265. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  266. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  267. data/lib/stripe/params/order_list_params.rb +0 -25
  268. data/lib/stripe/params/order_reopen_params.rb +0 -13
  269. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  270. data/lib/stripe/params/order_submit_params.rb +0 -16
  271. data/lib/stripe/params/order_update_params.rb +0 -1128
  272. data/lib/stripe/params/payment_attempt_record_list_params.rb +0 -19
  273. data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +0 -13
  274. data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +0 -22
  275. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  276. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  277. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +0 -19
  278. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +0 -19
  279. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +0 -19
  280. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +0 -93
  281. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +0 -186
  282. data/lib/stripe/params/payment_record_report_payment_params.rb +0 -252
  283. data/lib/stripe/params/payment_record_retrieve_params.rb +0 -13
  284. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  285. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  286. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  287. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  288. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  289. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  290. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  291. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  292. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  293. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  294. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  295. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  296. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  297. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  298. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  299. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  300. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  301. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  302. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  303. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  304. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  305. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  306. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  307. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  308. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  309. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  310. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  311. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  312. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  313. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  314. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
  315. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
  316. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  317. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  318. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
  319. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  320. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  321. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  322. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  323. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  324. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  325. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  326. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  327. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  328. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  329. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  330. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2217
  331. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  332. data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
  333. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  334. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2245
  335. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  336. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  337. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  338. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  339. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  340. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  341. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  342. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  343. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  344. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  345. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  346. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  347. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  348. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  349. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  350. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  351. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  352. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  353. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  354. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  355. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
  356. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  357. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  358. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  359. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  360. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  361. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  362. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
  363. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  364. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  365. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  366. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  367. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  368. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
  369. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  370. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  371. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  372. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  373. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
  374. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  375. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  376. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  377. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  378. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  379. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  380. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  381. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  382. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  383. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  384. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  385. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  386. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  387. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  388. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  389. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  390. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  391. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  392. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  393. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  394. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  395. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  396. data/lib/stripe/resources/account_notice.rb +0 -94
  397. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  398. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  399. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  400. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  401. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  402. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  403. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  404. data/lib/stripe/resources/fx_quote.rb +0 -147
  405. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  406. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  407. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  408. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  409. data/lib/stripe/resources/margin.rb +0 -64
  410. data/lib/stripe/resources/order.rb +0 -987
  411. data/lib/stripe/resources/payment_attempt_record.rb +0 -2102
  412. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -128
  413. data/lib/stripe/resources/payment_record.rb +0 -2208
  414. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  415. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  416. data/lib/stripe/resources/quote_line.rb +0 -521
  417. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  418. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  419. data/lib/stripe/resources/tax/association.rb +0 -86
  420. data/lib/stripe/resources/tax/form.rb +0 -264
  421. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  422. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  423. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  424. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  425. data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
  426. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  427. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  428. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  429. data/lib/stripe/resources/v2/core/account.rb +0 -3851
  430. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  431. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  432. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  433. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
  434. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  435. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  436. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  437. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  438. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  439. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  440. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
  441. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  442. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  443. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
  444. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
  445. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  446. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  447. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
  448. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  449. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  450. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  451. data/lib/stripe/services/account_notice_service.rb +0 -39
  452. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  453. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  454. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  455. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  456. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  457. data/lib/stripe/services/capital_service.rb +0 -15
  458. data/lib/stripe/services/external_account_service.rb +0 -68
  459. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  460. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  461. data/lib/stripe/services/fx_quote_service.rb +0 -27
  462. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  463. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  464. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  465. data/lib/stripe/services/margin_service.rb +0 -50
  466. data/lib/stripe/services/order_line_item_service.rb +0 -17
  467. data/lib/stripe/services/order_service.rb +0 -78
  468. data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
  469. data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +0 -17
  470. data/lib/stripe/services/payment_record_service.rb +0 -89
  471. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  472. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  473. data/lib/stripe/services/privacy_service.rb +0 -13
  474. data/lib/stripe/services/quote_line_service.rb +0 -17
  475. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  476. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  477. data/lib/stripe/services/tax/association_service.rb +0 -19
  478. data/lib/stripe/services/tax/form_service.rb +0 -37
  479. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  480. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  481. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  482. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  483. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  484. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  485. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  486. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  487. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  488. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  489. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  490. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -74
  491. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
  492. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  493. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  494. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
  495. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  496. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  497. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  498. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  499. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  500. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  501. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  502. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  503. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  504. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  505. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  506. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  507. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  508. data/lib/stripe/services/v2/payment_service.rb +0 -15
  509. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  510. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  511. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -16,7 +16,6 @@ module Stripe
16
16
  class PaymentIntent < APIResource
17
17
  extend Stripe::APIOperations::Create
18
18
  extend Stripe::APIOperations::List
19
- extend Stripe::APIOperations::NestedResource
20
19
  extend Stripe::APIOperations::Search
21
20
  include Stripe::APIOperations::Save
22
21
 
@@ -25,39 +24,7 @@ module Stripe
25
24
  "payment_intent"
26
25
  end
27
26
 
28
- nested_resource_class_methods :amount_details_line_item, operations: %i[list]
29
-
30
27
  class AmountDetails < Stripe::StripeObject
31
- class Shipping < Stripe::StripeObject
32
- # Portion of the amount that is for shipping.
33
- attr_reader :amount
34
- # The postal code that represents the shipping source.
35
- attr_reader :from_postal_code
36
- # The postal code that represents the shipping destination.
37
- attr_reader :to_postal_code
38
-
39
- def self.inner_class_types
40
- @inner_class_types = {}
41
- end
42
-
43
- def self.field_remappings
44
- @field_remappings = {}
45
- end
46
- end
47
-
48
- class Tax < Stripe::StripeObject
49
- # Total portion of the amount that is for tax.
50
- attr_reader :total_tax_amount
51
-
52
- def self.inner_class_types
53
- @inner_class_types = {}
54
- end
55
-
56
- def self.field_remappings
57
- @field_remappings = {}
58
- end
59
- end
60
-
61
28
  class Tip < Stripe::StripeObject
62
29
  # Portion of the amount that corresponds to a tip.
63
30
  attr_reader :amount
@@ -70,19 +37,11 @@ module Stripe
70
37
  @field_remappings = {}
71
38
  end
72
39
  end
73
- # The total discount applied on the transaction.
74
- attr_reader :discount_amount
75
- # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
76
- attr_reader :line_items
77
- # Attribute for field shipping
78
- attr_reader :shipping
79
- # Attribute for field tax
80
- attr_reader :tax
81
40
  # Attribute for field tip
82
41
  attr_reader :tip
83
42
 
84
43
  def self.inner_class_types
85
- @inner_class_types = { shipping: Shipping, tax: Tax, tip: Tip }
44
+ @inner_class_types = { tip: Tip }
86
45
  end
87
46
 
88
47
  def self.field_remappings
@@ -107,43 +66,6 @@ module Stripe
107
66
  end
108
67
  end
109
68
 
110
- class Hooks < Stripe::StripeObject
111
- class Inputs < Stripe::StripeObject
112
- class Tax < Stripe::StripeObject
113
- # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
114
- attr_reader :calculation
115
-
116
- def self.inner_class_types
117
- @inner_class_types = {}
118
- end
119
-
120
- def self.field_remappings
121
- @field_remappings = {}
122
- end
123
- end
124
- # Attribute for field tax
125
- attr_reader :tax
126
-
127
- def self.inner_class_types
128
- @inner_class_types = { tax: Tax }
129
- end
130
-
131
- def self.field_remappings
132
- @field_remappings = {}
133
- end
134
- end
135
- # Attribute for field inputs
136
- attr_reader :inputs
137
-
138
- def self.inner_class_types
139
- @inner_class_types = { inputs: Inputs }
140
- end
141
-
142
- def self.field_remappings
143
- @field_remappings = {}
144
- end
145
- end
146
-
147
69
  class LastPaymentError < Stripe::StripeObject
148
70
  # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
149
71
  attr_reader :advice_code
@@ -1180,362 +1102,6 @@ module Stripe
1180
1102
  end
1181
1103
  end
1182
1104
 
1183
- class PaymentDetails < Stripe::StripeObject
1184
- class CarRental < Stripe::StripeObject
1185
- class Affiliate < Stripe::StripeObject
1186
- # The name of the affiliate that originated the purchase.
1187
- attr_reader :name
1188
-
1189
- def self.inner_class_types
1190
- @inner_class_types = {}
1191
- end
1192
-
1193
- def self.field_remappings
1194
- @field_remappings = {}
1195
- end
1196
- end
1197
-
1198
- class Delivery < Stripe::StripeObject
1199
- class Recipient < Stripe::StripeObject
1200
- # The email of the recipient the ticket is delivered to.
1201
- attr_reader :email
1202
- # The name of the recipient the ticket is delivered to.
1203
- attr_reader :name
1204
- # The phone number of the recipient the ticket is delivered to.
1205
- attr_reader :phone
1206
-
1207
- def self.inner_class_types
1208
- @inner_class_types = {}
1209
- end
1210
-
1211
- def self.field_remappings
1212
- @field_remappings = {}
1213
- end
1214
- end
1215
- # The delivery method for the payment
1216
- attr_reader :mode
1217
- # Attribute for field recipient
1218
- attr_reader :recipient
1219
-
1220
- def self.inner_class_types
1221
- @inner_class_types = { recipient: Recipient }
1222
- end
1223
-
1224
- def self.field_remappings
1225
- @field_remappings = {}
1226
- end
1227
- end
1228
-
1229
- class Distance < Stripe::StripeObject
1230
- # Distance traveled.
1231
- attr_reader :amount
1232
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`
1233
- attr_reader :unit
1234
-
1235
- def self.inner_class_types
1236
- @inner_class_types = {}
1237
- end
1238
-
1239
- def self.field_remappings
1240
- @field_remappings = {}
1241
- end
1242
- end
1243
-
1244
- class Driver < Stripe::StripeObject
1245
- # Driver's identification number.
1246
- attr_reader :driver_identification_number
1247
- # Driver's tax number.
1248
- attr_reader :driver_tax_number
1249
- # Full name of the driver on the reservation.
1250
- attr_reader :name
1251
-
1252
- def self.inner_class_types
1253
- @inner_class_types = {}
1254
- end
1255
-
1256
- def self.field_remappings
1257
- @field_remappings = {}
1258
- end
1259
- end
1260
-
1261
- class PickupAddress < Stripe::StripeObject
1262
- # City, district, suburb, town, or village.
1263
- attr_reader :city
1264
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1265
- attr_reader :country
1266
- # Address line 1, such as the street, PO Box, or company name.
1267
- attr_reader :line1
1268
- # Address line 2, such as the apartment, suite, unit, or building.
1269
- attr_reader :line2
1270
- # ZIP or postal code.
1271
- attr_reader :postal_code
1272
- # State, county, province, or region.
1273
- attr_reader :state
1274
-
1275
- def self.inner_class_types
1276
- @inner_class_types = {}
1277
- end
1278
-
1279
- def self.field_remappings
1280
- @field_remappings = {}
1281
- end
1282
- end
1283
-
1284
- class ReturnAddress < Stripe::StripeObject
1285
- # City, district, suburb, town, or village.
1286
- attr_reader :city
1287
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1288
- attr_reader :country
1289
- # Address line 1, such as the street, PO Box, or company name.
1290
- attr_reader :line1
1291
- # Address line 2, such as the apartment, suite, unit, or building.
1292
- attr_reader :line2
1293
- # ZIP or postal code.
1294
- attr_reader :postal_code
1295
- # State, county, province, or region.
1296
- attr_reader :state
1297
-
1298
- def self.inner_class_types
1299
- @inner_class_types = {}
1300
- end
1301
-
1302
- def self.field_remappings
1303
- @field_remappings = {}
1304
- end
1305
- end
1306
- # Attribute for field affiliate
1307
- attr_reader :affiliate
1308
- # The booking number associated with the car rental.
1309
- attr_reader :booking_number
1310
- # Class code of the car.
1311
- attr_reader :car_class_code
1312
- # Make of the car.
1313
- attr_reader :car_make
1314
- # Model of the car.
1315
- attr_reader :car_model
1316
- # The name of the rental car company.
1317
- attr_reader :company
1318
- # The customer service phone number of the car rental company.
1319
- attr_reader :customer_service_phone_number
1320
- # Number of days the car is being rented.
1321
- attr_reader :days_rented
1322
- # Attribute for field delivery
1323
- attr_reader :delivery
1324
- # Attribute for field distance
1325
- attr_reader :distance
1326
- # The details of the drivers associated with the trip.
1327
- attr_reader :drivers
1328
- # List of additional charges being billed.
1329
- attr_reader :extra_charges
1330
- # Indicates if the customer did not keep nor cancel their booking.
1331
- attr_reader :no_show
1332
- # Attribute for field pickup_address
1333
- attr_reader :pickup_address
1334
- # Car pick-up time. Measured in seconds since the Unix epoch.
1335
- attr_reader :pickup_at
1336
- # Name of the pickup location.
1337
- attr_reader :pickup_location_name
1338
- # Rental rate.
1339
- attr_reader :rate_amount
1340
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1341
- attr_reader :rate_interval
1342
- # The full name of the person or entity renting the car.
1343
- attr_reader :renter_name
1344
- # Attribute for field return_address
1345
- attr_reader :return_address
1346
- # Car return time. Measured in seconds since the Unix epoch.
1347
- attr_reader :return_at
1348
- # Name of the return location.
1349
- attr_reader :return_location_name
1350
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
1351
- attr_reader :tax_exempt
1352
- # The vehicle identification number of the car.
1353
- attr_reader :vehicle_identification_number
1354
-
1355
- def self.inner_class_types
1356
- @inner_class_types = {
1357
- affiliate: Affiliate,
1358
- delivery: Delivery,
1359
- distance: Distance,
1360
- drivers: Driver,
1361
- pickup_address: PickupAddress,
1362
- return_address: ReturnAddress,
1363
- }
1364
- end
1365
-
1366
- def self.field_remappings
1367
- @field_remappings = {}
1368
- end
1369
- end
1370
-
1371
- class EventDetails < Stripe::StripeObject
1372
- class Address < Stripe::StripeObject
1373
- # City, district, suburb, town, or village.
1374
- attr_reader :city
1375
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1376
- attr_reader :country
1377
- # Address line 1, such as the street, PO Box, or company name.
1378
- attr_reader :line1
1379
- # Address line 2, such as the apartment, suite, unit, or building.
1380
- attr_reader :line2
1381
- # ZIP or postal code.
1382
- attr_reader :postal_code
1383
- # State, county, province, or region.
1384
- attr_reader :state
1385
-
1386
- def self.inner_class_types
1387
- @inner_class_types = {}
1388
- end
1389
-
1390
- def self.field_remappings
1391
- @field_remappings = {}
1392
- end
1393
- end
1394
-
1395
- class Affiliate < Stripe::StripeObject
1396
- # The name of the affiliate that originated the purchase.
1397
- attr_reader :name
1398
-
1399
- def self.inner_class_types
1400
- @inner_class_types = {}
1401
- end
1402
-
1403
- def self.field_remappings
1404
- @field_remappings = {}
1405
- end
1406
- end
1407
-
1408
- class Delivery < Stripe::StripeObject
1409
- class Recipient < Stripe::StripeObject
1410
- # The email of the recipient the ticket is delivered to.
1411
- attr_reader :email
1412
- # The name of the recipient the ticket is delivered to.
1413
- attr_reader :name
1414
- # The phone number of the recipient the ticket is delivered to.
1415
- attr_reader :phone
1416
-
1417
- def self.inner_class_types
1418
- @inner_class_types = {}
1419
- end
1420
-
1421
- def self.field_remappings
1422
- @field_remappings = {}
1423
- end
1424
- end
1425
- # The delivery method for the payment
1426
- attr_reader :mode
1427
- # Attribute for field recipient
1428
- attr_reader :recipient
1429
-
1430
- def self.inner_class_types
1431
- @inner_class_types = { recipient: Recipient }
1432
- end
1433
-
1434
- def self.field_remappings
1435
- @field_remappings = {}
1436
- end
1437
- end
1438
- # Indicates if the tickets are digitally checked when entering the venue.
1439
- attr_reader :access_controlled_venue
1440
- # Attribute for field address
1441
- attr_reader :address
1442
- # Attribute for field affiliate
1443
- attr_reader :affiliate
1444
- # The name of the company
1445
- attr_reader :company
1446
- # Attribute for field delivery
1447
- attr_reader :delivery
1448
- # Event end time. Measured in seconds since the Unix epoch.
1449
- attr_reader :ends_at
1450
- # Type of the event entertainment (concert, sports event etc)
1451
- attr_reader :genre
1452
- # The name of the event.
1453
- attr_reader :name
1454
- # Event start time. Measured in seconds since the Unix epoch.
1455
- attr_reader :starts_at
1456
-
1457
- def self.inner_class_types
1458
- @inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
1459
- end
1460
-
1461
- def self.field_remappings
1462
- @field_remappings = {}
1463
- end
1464
- end
1465
-
1466
- class Subscription < Stripe::StripeObject
1467
- class Affiliate < Stripe::StripeObject
1468
- # The name of the affiliate that originated the purchase.
1469
- attr_reader :name
1470
-
1471
- def self.inner_class_types
1472
- @inner_class_types = {}
1473
- end
1474
-
1475
- def self.field_remappings
1476
- @field_remappings = {}
1477
- end
1478
- end
1479
-
1480
- class BillingInterval < Stripe::StripeObject
1481
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1482
- attr_reader :count
1483
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1484
- attr_reader :interval
1485
-
1486
- def self.inner_class_types
1487
- @inner_class_types = {}
1488
- end
1489
-
1490
- def self.field_remappings
1491
- @field_remappings = {}
1492
- end
1493
- end
1494
- # Attribute for field affiliate
1495
- attr_reader :affiliate
1496
- # Info whether the subscription will be auto renewed upon expiry.
1497
- attr_reader :auto_renewal
1498
- # Attribute for field billing_interval
1499
- attr_reader :billing_interval
1500
- # Subscription end time. Measured in seconds since the Unix epoch.
1501
- attr_reader :ends_at
1502
- # Name of the product on subscription. e.g. Apple Music Subscription.
1503
- attr_reader :name
1504
- # Subscription start time. Measured in seconds since the Unix epoch.
1505
- attr_reader :starts_at
1506
-
1507
- def self.inner_class_types
1508
- @inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
1509
- end
1510
-
1511
- def self.field_remappings
1512
- @field_remappings = {}
1513
- end
1514
- end
1515
- # Attribute for field car_rental
1516
- attr_reader :car_rental
1517
- # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
1518
- attr_reader :customer_reference
1519
- # Attribute for field event_details
1520
- attr_reader :event_details
1521
- # A unique value assigned by the business to identify the transaction.
1522
- attr_reader :order_reference
1523
- # Attribute for field subscription
1524
- attr_reader :subscription
1525
-
1526
- def self.inner_class_types
1527
- @inner_class_types = {
1528
- car_rental: CarRental,
1529
- event_details: EventDetails,
1530
- subscription: Subscription,
1531
- }
1532
- end
1533
-
1534
- def self.field_remappings
1535
- @field_remappings = {}
1536
- end
1537
- end
1538
-
1539
1105
  class PaymentMethodConfigurationDetails < Stripe::StripeObject
1540
1106
  # ID of the payment method configuration used.
1541
1107
  attr_reader :id
@@ -1906,43 +1472,6 @@ module Stripe
1906
1472
  @field_remappings = {}
1907
1473
  end
1908
1474
  end
1909
-
1910
- class StatementDetails < Stripe::StripeObject
1911
- class Address < Stripe::StripeObject
1912
- # City, district, suburb, town, or village.
1913
- attr_reader :city
1914
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1915
- attr_reader :country
1916
- # Address line 1, such as the street, PO Box, or company name.
1917
- attr_reader :line1
1918
- # Address line 2, such as the apartment, suite, unit, or building.
1919
- attr_reader :line2
1920
- # ZIP or postal code.
1921
- attr_reader :postal_code
1922
- # State, county, province, or region.
1923
- attr_reader :state
1924
-
1925
- def self.inner_class_types
1926
- @inner_class_types = {}
1927
- end
1928
-
1929
- def self.field_remappings
1930
- @field_remappings = {}
1931
- end
1932
- end
1933
- # Attribute for field address
1934
- attr_reader :address
1935
- # Phone number
1936
- attr_reader :phone
1937
-
1938
- def self.inner_class_types
1939
- @inner_class_types = { address: Address }
1940
- end
1941
-
1942
- def self.field_remappings
1943
- @field_remappings = {}
1944
- end
1945
- end
1946
1475
  # Controls when the funds will be captured from the customer's account.
1947
1476
  attr_reader :capture_method
1948
1477
  # Installment details for this payment.
@@ -1953,8 +1482,6 @@ module Stripe
1953
1482
  attr_reader :mandate_options
1954
1483
  # Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
1955
1484
  attr_reader :network
1956
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
1957
- attr_reader :request_decremental_authorization
1958
1485
  # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
1959
1486
  attr_reader :request_extended_authorization
1960
1487
  # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
@@ -1963,8 +1490,6 @@ module Stripe
1963
1490
  attr_reader :request_multicapture
1964
1491
  # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
1965
1492
  attr_reader :request_overcapture
1966
- # Request partial authorization on this PaymentIntent.
1967
- attr_reader :request_partial_authorization
1968
1493
  # 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.
1969
1494
  attr_reader :request_three_d_secure
1970
1495
  # 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).
@@ -1981,15 +1506,9 @@ module Stripe
1981
1506
  attr_reader :statement_descriptor_suffix_kana
1982
1507
  # 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.
1983
1508
  attr_reader :statement_descriptor_suffix_kanji
1984
- # Attribute for field statement_details
1985
- attr_reader :statement_details
1986
1509
 
1987
1510
  def self.inner_class_types
1988
- @inner_class_types = {
1989
- installments: Installments,
1990
- mandate_options: MandateOptions,
1991
- statement_details: StatementDetails,
1992
- }
1511
+ @inner_class_types = { installments: Installments, mandate_options: MandateOptions }
1993
1512
  end
1994
1513
 
1995
1514
  def self.field_remappings
@@ -2176,25 +1695,6 @@ module Stripe
2176
1695
  end
2177
1696
  end
2178
1697
 
2179
- class Gopay < Stripe::StripeObject
2180
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2181
- #
2182
- # 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.
2183
- #
2184
- # 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.
2185
- #
2186
- # 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).
2187
- attr_reader :setup_future_usage
2188
-
2189
- def self.inner_class_types
2190
- @inner_class_types = {}
2191
- end
2192
-
2193
- def self.field_remappings
2194
- @field_remappings = {}
2195
- end
2196
- end
2197
-
2198
1698
  class Grabpay < Stripe::StripeObject
2199
1699
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2200
1700
  #
@@ -2214,29 +1714,6 @@ module Stripe
2214
1714
  end
2215
1715
  end
2216
1716
 
2217
- class IdBankTransfer < Stripe::StripeObject
2218
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
2219
- attr_reader :expires_after
2220
- # 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.
2221
- attr_reader :expires_at
2222
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2223
- #
2224
- # 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.
2225
- #
2226
- # 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.
2227
- #
2228
- # 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).
2229
- attr_reader :setup_future_usage
2230
-
2231
- def self.inner_class_types
2232
- @inner_class_types = {}
2233
- end
2234
-
2235
- def self.field_remappings
2236
- @field_remappings = {}
2237
- end
2238
- end
2239
-
2240
1717
  class Ideal < Stripe::StripeObject
2241
1718
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2242
1719
  #
@@ -2565,56 +2042,12 @@ module Stripe
2565
2042
  end
2566
2043
 
2567
2044
  class Paypal < Stripe::StripeObject
2568
- class LineItem < Stripe::StripeObject
2569
- class Tax < Stripe::StripeObject
2570
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
2571
- attr_reader :amount
2572
- # The tax behavior for the line item.
2573
- attr_reader :behavior
2574
-
2575
- def self.inner_class_types
2576
- @inner_class_types = {}
2577
- end
2578
-
2579
- def self.field_remappings
2580
- @field_remappings = {}
2581
- end
2582
- end
2583
- # Type of the line item.
2584
- attr_reader :category
2585
- # Description of the line item.
2586
- attr_reader :description
2587
- # Descriptive name of the line item.
2588
- attr_reader :name
2589
- # Quantity of the line item. Cannot be a negative number.
2590
- attr_reader :quantity
2591
- # Client facing stock keeping unit, article number or similar.
2592
- attr_reader :sku
2593
- # The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
2594
- attr_reader :sold_by
2595
- # Attribute for field tax
2596
- attr_reader :tax
2597
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
2598
- attr_reader :unit_amount
2599
-
2600
- def self.inner_class_types
2601
- @inner_class_types = { tax: Tax }
2602
- end
2603
-
2604
- def self.field_remappings
2605
- @field_remappings = {}
2606
- end
2607
- end
2608
2045
  # Controls when the funds will be captured from the customer's account.
2609
2046
  attr_reader :capture_method
2610
- # The line items purchased by the customer.
2611
- attr_reader :line_items
2612
2047
  # Preferred locale of the PayPal checkout page that the customer is redirected to.
2613
2048
  attr_reader :preferred_locale
2614
2049
  # 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.
2615
2050
  attr_reader :reference
2616
- # 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.
2617
- attr_reader :reference_id
2618
2051
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2619
2052
  #
2620
2053
  # 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.
@@ -2623,19 +2056,7 @@ module Stripe
2623
2056
  #
2624
2057
  # 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).
2625
2058
  attr_reader :setup_future_usage
2626
- # 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.
2627
- attr_reader :subsellers
2628
-
2629
- def self.inner_class_types
2630
- @inner_class_types = { line_items: LineItem }
2631
- end
2632
2059
 
2633
- def self.field_remappings
2634
- @field_remappings = {}
2635
- end
2636
- end
2637
-
2638
- class Paypay < Stripe::StripeObject
2639
2060
  def self.inner_class_types
2640
2061
  @inner_class_types = {}
2641
2062
  end
@@ -2645,103 +2066,13 @@ module Stripe
2645
2066
  end
2646
2067
  end
2647
2068
 
2648
- class Payto < Stripe::StripeObject
2649
- class MandateOptions < Stripe::StripeObject
2650
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
2651
- attr_reader :amount
2652
- # 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.
2653
- attr_reader :amount_type
2654
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2655
- attr_reader :end_date
2656
- # The periodicity at which payments will be collected.
2657
- attr_reader :payment_schedule
2658
- # 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.
2659
- attr_reader :payments_per_period
2660
- # The purpose for which payments are made. Defaults to retail.
2661
- attr_reader :purpose
2662
-
2663
- def self.inner_class_types
2664
- @inner_class_types = {}
2665
- end
2666
-
2667
- def self.field_remappings
2668
- @field_remappings = {}
2669
- end
2670
- end
2671
- # Attribute for field mandate_options
2672
- attr_reader :mandate_options
2673
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2674
- #
2675
- # 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.
2676
- #
2677
- # 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.
2678
- #
2679
- # 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).
2680
- attr_reader :setup_future_usage
2681
-
2682
- def self.inner_class_types
2683
- @inner_class_types = { mandate_options: MandateOptions }
2684
- end
2685
-
2686
- def self.field_remappings
2687
- @field_remappings = {}
2688
- end
2689
- end
2690
-
2691
2069
  class Pix < Stripe::StripeObject
2692
- class MandateOptions < Stripe::StripeObject
2693
- # Amount to be charged for future payments.
2694
- attr_reader :amount
2695
- # Determines if the amount includes the IOF tax.
2696
- attr_reader :amount_includes_iof
2697
- # Type of amount.
2698
- attr_reader :amount_type
2699
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
2700
- attr_reader :currency
2701
- # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
2702
- attr_reader :end_date
2703
- # Schedule at which the future payments will be charged.
2704
- attr_reader :payment_schedule
2705
- # Subscription name displayed to buyers in their bank app.
2706
- attr_reader :reference
2707
- # Start date of the mandate, in `YYYY-MM-DD`.
2708
- attr_reader :start_date
2709
-
2710
- def self.inner_class_types
2711
- @inner_class_types = {}
2712
- end
2713
-
2714
- def self.field_remappings
2715
- @field_remappings = {}
2716
- end
2717
- end
2718
2070
  # Determines if the amount includes the IOF tax.
2719
2071
  attr_reader :amount_includes_iof
2720
2072
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire.
2721
2073
  attr_reader :expires_after_seconds
2722
2074
  # The timestamp at which the Pix expires.
2723
2075
  attr_reader :expires_at
2724
- # Attribute for field mandate_options
2725
- attr_reader :mandate_options
2726
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2727
- #
2728
- # 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.
2729
- #
2730
- # 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.
2731
- #
2732
- # 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).
2733
- attr_reader :setup_future_usage
2734
-
2735
- def self.inner_class_types
2736
- @inner_class_types = { mandate_options: MandateOptions }
2737
- end
2738
-
2739
- def self.field_remappings
2740
- @field_remappings = {}
2741
- end
2742
- end
2743
-
2744
- class Promptpay < Stripe::StripeObject
2745
2076
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2746
2077
  #
2747
2078
  # 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.
@@ -2760,7 +2091,7 @@ module Stripe
2760
2091
  end
2761
2092
  end
2762
2093
 
2763
- class Qris < Stripe::StripeObject
2094
+ class Promptpay < Stripe::StripeObject
2764
2095
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2765
2096
  #
2766
2097
  # 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.
@@ -2779,16 +2110,6 @@ module Stripe
2779
2110
  end
2780
2111
  end
2781
2112
 
2782
- class Rechnung < Stripe::StripeObject
2783
- def self.inner_class_types
2784
- @inner_class_types = {}
2785
- end
2786
-
2787
- def self.field_remappings
2788
- @field_remappings = {}
2789
- end
2790
- end
2791
-
2792
2113
  class RevolutPay < Stripe::StripeObject
2793
2114
  # Controls when the funds will be captured from the customer's account.
2794
2115
  attr_reader :capture_method
@@ -2871,25 +2192,6 @@ module Stripe
2871
2192
  end
2872
2193
  end
2873
2194
 
2874
- class Shopeepay < Stripe::StripeObject
2875
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2876
- #
2877
- # 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.
2878
- #
2879
- # 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.
2880
- #
2881
- # 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).
2882
- attr_reader :setup_future_usage
2883
-
2884
- def self.inner_class_types
2885
- @inner_class_types = {}
2886
- end
2887
-
2888
- def self.field_remappings
2889
- @field_remappings = {}
2890
- end
2891
- end
2892
-
2893
2195
  class Sofort < Stripe::StripeObject
2894
2196
  # Preferred language of the SOFORT authorization page that the customer is redirected to.
2895
2197
  attr_reader :preferred_language
@@ -2911,25 +2213,6 @@ module Stripe
2911
2213
  end
2912
2214
  end
2913
2215
 
2914
- class StripeBalance < Stripe::StripeObject
2915
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2916
- #
2917
- # 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.
2918
- #
2919
- # 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.
2920
- #
2921
- # 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).
2922
- attr_reader :setup_future_usage
2923
-
2924
- def self.inner_class_types
2925
- @inner_class_types = {}
2926
- end
2927
-
2928
- def self.field_remappings
2929
- @field_remappings = {}
2930
- end
2931
- end
2932
-
2933
2216
  class Swish < Stripe::StripeObject
2934
2217
  # A reference for this payment to be displayed in the Swish app.
2935
2218
  attr_reader :reference
@@ -2975,21 +2258,6 @@ module Stripe
2975
2258
  class Filters < Stripe::StripeObject
2976
2259
  # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
2977
2260
  attr_reader :account_subcategories
2978
- # The institution to use to filter for possible accounts to link.
2979
- attr_reader :institution
2980
-
2981
- def self.inner_class_types
2982
- @inner_class_types = {}
2983
- end
2984
-
2985
- def self.field_remappings
2986
- @field_remappings = {}
2987
- end
2988
- end
2989
-
2990
- class ManualEntry < Stripe::StripeObject
2991
- # Settings for configuring manual entry of account details.
2992
- attr_reader :mode
2993
2261
 
2994
2262
  def self.inner_class_types
2995
2263
  @inner_class_types = {}
@@ -3001,8 +2269,6 @@ module Stripe
3001
2269
  end
3002
2270
  # Attribute for field filters
3003
2271
  attr_reader :filters
3004
- # Attribute for field manual_entry
3005
- attr_reader :manual_entry
3006
2272
  # The list of permissions to request. The `payment_method` permission must be included.
3007
2273
  attr_reader :permissions
3008
2274
  # Data features requested to be retrieved upon account creation.
@@ -3011,7 +2277,7 @@ module Stripe
3011
2277
  attr_reader :return_url
3012
2278
 
3013
2279
  def self.inner_class_types
3014
- @inner_class_types = { filters: Filters, manual_entry: ManualEntry }
2280
+ @inner_class_types = { filters: Filters }
3015
2281
  end
3016
2282
 
3017
2283
  def self.field_remappings
@@ -3143,12 +2409,8 @@ module Stripe
3143
2409
  attr_reader :fpx
3144
2410
  # Attribute for field giropay
3145
2411
  attr_reader :giropay
3146
- # Attribute for field gopay
3147
- attr_reader :gopay
3148
2412
  # Attribute for field grabpay
3149
2413
  attr_reader :grabpay
3150
- # Attribute for field id_bank_transfer
3151
- attr_reader :id_bank_transfer
3152
2414
  # Attribute for field ideal
3153
2415
  attr_reader :ideal
3154
2416
  # Attribute for field interac_present
@@ -3185,18 +2447,10 @@ module Stripe
3185
2447
  attr_reader :paynow
3186
2448
  # Attribute for field paypal
3187
2449
  attr_reader :paypal
3188
- # Attribute for field paypay
3189
- attr_reader :paypay
3190
- # Attribute for field payto
3191
- attr_reader :payto
3192
2450
  # Attribute for field pix
3193
2451
  attr_reader :pix
3194
2452
  # Attribute for field promptpay
3195
2453
  attr_reader :promptpay
3196
- # Attribute for field qris
3197
- attr_reader :qris
3198
- # Attribute for field rechnung
3199
- attr_reader :rechnung
3200
2454
  # Attribute for field revolut_pay
3201
2455
  attr_reader :revolut_pay
3202
2456
  # Attribute for field samsung_pay
@@ -3205,12 +2459,8 @@ module Stripe
3205
2459
  attr_reader :satispay
3206
2460
  # Attribute for field sepa_debit
3207
2461
  attr_reader :sepa_debit
3208
- # Attribute for field shopeepay
3209
- attr_reader :shopeepay
3210
2462
  # Attribute for field sofort
3211
2463
  attr_reader :sofort
3212
- # Attribute for field stripe_balance
3213
- attr_reader :stripe_balance
3214
2464
  # Attribute for field swish
3215
2465
  attr_reader :swish
3216
2466
  # Attribute for field twint
@@ -3244,9 +2494,7 @@ module Stripe
3244
2494
  eps: Eps,
3245
2495
  fpx: Fpx,
3246
2496
  giropay: Giropay,
3247
- gopay: Gopay,
3248
2497
  grabpay: Grabpay,
3249
- id_bank_transfer: IdBankTransfer,
3250
2498
  ideal: Ideal,
3251
2499
  interac_present: InteracPresent,
3252
2500
  kakao_pay: KakaoPay,
@@ -3265,19 +2513,13 @@ module Stripe
3265
2513
  payco: Payco,
3266
2514
  paynow: Paynow,
3267
2515
  paypal: Paypal,
3268
- paypay: Paypay,
3269
- payto: Payto,
3270
2516
  pix: Pix,
3271
2517
  promptpay: Promptpay,
3272
- qris: Qris,
3273
- rechnung: Rechnung,
3274
2518
  revolut_pay: RevolutPay,
3275
2519
  samsung_pay: SamsungPay,
3276
2520
  satispay: Satispay,
3277
2521
  sepa_debit: SepaDebit,
3278
- shopeepay: Shopeepay,
3279
2522
  sofort: Sofort,
3280
- stripe_balance: StripeBalance,
3281
2523
  swish: Swish,
3282
2524
  twint: Twint,
3283
2525
  us_bank_account: UsBankAccount,
@@ -3444,20 +2686,10 @@ module Stripe
3444
2686
  #
3445
2687
  # 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.
3446
2688
  attr_reader :customer
3447
- # ID of the Account this PaymentIntent belongs to, if one exists.
3448
- #
3449
- # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
3450
- #
3451
- # 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.
3452
- attr_reader :customer_account
3453
2689
  # An arbitrary string attached to the object. Often useful for displaying to users.
3454
2690
  attr_reader :description
3455
2691
  # The list of payment method types to exclude from use with this payment.
3456
2692
  attr_reader :excluded_payment_method_types
3457
- # The FX Quote used for the PaymentIntent.
3458
- attr_reader :fx_quote
3459
- # Attribute for field hooks
3460
- attr_reader :hooks
3461
2693
  # Unique identifier for the object.
3462
2694
  attr_reader :id
3463
2695
  # The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
@@ -3474,8 +2706,6 @@ module Stripe
3474
2706
  attr_reader :object
3475
2707
  # The account (if any) for which the funds of the PaymentIntent are intended. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details.
3476
2708
  attr_reader :on_behalf_of
3477
- # Attribute for field payment_details
3478
- attr_reader :payment_details
3479
2709
  # ID of the payment method used in this PaymentIntent.
3480
2710
  attr_reader :payment_method
3481
2711
  # Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this PaymentIntent.
@@ -3492,8 +2722,6 @@ module Stripe
3492
2722
  attr_reader :receipt_email
3493
2723
  # ID of the review associated with this PaymentIntent, if any.
3494
2724
  attr_reader :review
3495
- # Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
3496
- attr_reader :secret_key_confirmation
3497
2725
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3498
2726
  #
3499
2727
  # 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.
@@ -3687,56 +2915,6 @@ module Stripe
3687
2915
  request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
3688
2916
  end
3689
2917
 
3690
- # Perform a decremental authorization on an eligible
3691
- # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
3692
- # PaymentIntent's status must be requires_capture and
3693
- # [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
3694
- # must be available.
3695
- #
3696
- # Decremental authorizations decrease the authorized amount on your customer's card
3697
- # to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
3698
- #
3699
- # After decrement, the PaymentIntent object
3700
- # returns with the updated
3701
- # [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
3702
- # The PaymentIntent will now be capturable up to the new authorized amount.
3703
- #
3704
- # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
3705
- # After it's fully captured, a PaymentIntent can no longer be decremented.
3706
- def decrement_authorization(params = {}, opts = {})
3707
- request_stripe_object(
3708
- method: :post,
3709
- path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
3710
- params: params,
3711
- opts: opts
3712
- )
3713
- end
3714
-
3715
- # Perform a decremental authorization on an eligible
3716
- # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
3717
- # PaymentIntent's status must be requires_capture and
3718
- # [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
3719
- # must be available.
3720
- #
3721
- # Decremental authorizations decrease the authorized amount on your customer's card
3722
- # to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
3723
- #
3724
- # After decrement, the PaymentIntent object
3725
- # returns with the updated
3726
- # [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
3727
- # The PaymentIntent will now be capturable up to the new authorized amount.
3728
- #
3729
- # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
3730
- # After it's fully captured, a PaymentIntent can no longer be decremented.
3731
- def self.decrement_authorization(intent, params = {}, opts = {})
3732
- request_stripe_object(
3733
- method: :post,
3734
- path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
3735
- params: params,
3736
- opts: opts
3737
- )
3738
- end
3739
-
3740
2918
  # Perform an incremental authorization on an eligible
3741
2919
  # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
3742
2920
  # PaymentIntent's status must be requires_capture and
@@ -3821,26 +2999,6 @@ module Stripe
3821
2999
  search(params, opts).auto_paging_each(&blk)
3822
3000
  end
3823
3001
 
3824
- # Trigger an external action on a PaymentIntent.
3825
- def trigger_action(params = {}, opts = {})
3826
- request_stripe_object(
3827
- method: :post,
3828
- path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
3829
- params: params,
3830
- opts: opts
3831
- )
3832
- end
3833
-
3834
- # Trigger an external action on a PaymentIntent.
3835
- def self.trigger_action(intent, params = {}, opts = {})
3836
- request_stripe_object(
3837
- method: :post,
3838
- path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
3839
- params: params,
3840
- opts: opts
3841
- )
3842
- end
3843
-
3844
3002
  # Updates properties on a PaymentIntent object without confirming.
3845
3003
  #
3846
3004
  # Depending on which properties you update, you might need to confirm the
@@ -3881,10 +3039,8 @@ module Stripe
3881
3039
  @inner_class_types = {
3882
3040
  amount_details: AmountDetails,
3883
3041
  automatic_payment_methods: AutomaticPaymentMethods,
3884
- hooks: Hooks,
3885
3042
  last_payment_error: LastPaymentError,
3886
3043
  next_action: NextAction,
3887
- payment_details: PaymentDetails,
3888
3044
  payment_method_configuration_details: PaymentMethodConfigurationDetails,
3889
3045
  payment_method_options: PaymentMethodOptions,
3890
3046
  presentment_details: PresentmentDetails,