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
@@ -201,36 +201,15 @@ module Stripe
201
201
  @field_remappings = {}
202
202
  end
203
203
  end
204
-
205
- class TaxId < ::Stripe::StripeObject
206
- # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
207
- attr_reader :type
208
- # The value of the tax ID.
209
- attr_reader :value
210
-
211
- def self.inner_class_types
212
- @inner_class_types = {}
213
- end
214
-
215
- def self.field_remappings
216
- @field_remappings = {}
217
- end
218
- end
219
204
  # Customer’s business name for this Checkout Session
220
205
  attr_reader :business_name
221
- # Customer’s email for this Checkout Session
222
- attr_reader :email
223
206
  # Customer’s individual name for this Checkout Session
224
207
  attr_reader :individual_name
225
- # Customer’s phone number for this Checkout Session
226
- attr_reader :phone
227
208
  # Shipping information for this Checkout Session.
228
209
  attr_reader :shipping_details
229
- # Customer’s tax ids for this Checkout Session.
230
- attr_reader :tax_ids
231
210
 
232
211
  def self.inner_class_types
233
- @inner_class_types = { shipping_details: ShippingDetails, tax_ids: TaxId }
212
+ @inner_class_types = { shipping_details: ShippingDetails }
234
213
  end
235
214
 
236
215
  def self.field_remappings
@@ -1031,8 +1010,6 @@ module Stripe
1031
1010
  # Attribute for field installments
1032
1011
  attr_reader :installments
1033
1012
  # Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
1034
- attr_reader :request_decremental_authorization
1035
- # Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
1036
1013
  attr_reader :request_extended_authorization
1037
1014
  # Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
1038
1015
  attr_reader :request_incremental_authorization
@@ -1488,8 +1465,6 @@ module Stripe
1488
1465
  #
1489
1466
  # 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).
1490
1467
  attr_reader :setup_future_usage
1491
- # 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.
1492
- attr_reader :subsellers
1493
1468
 
1494
1469
  def self.inner_class_types
1495
1470
  @inner_class_types = {}
@@ -1500,84 +1475,11 @@ module Stripe
1500
1475
  end
1501
1476
  end
1502
1477
 
1503
- class Payto < ::Stripe::StripeObject
1504
- class MandateOptions < ::Stripe::StripeObject
1505
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
1506
- attr_reader :amount
1507
- # 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.
1508
- attr_reader :amount_type
1509
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1510
- attr_reader :end_date
1511
- # The periodicity at which payments will be collected.
1512
- attr_reader :payment_schedule
1513
- # 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.
1514
- attr_reader :payments_per_period
1515
- # The purpose for which payments are made. Defaults to retail.
1516
- attr_reader :purpose
1517
- # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1518
- attr_reader :start_date
1519
-
1520
- def self.inner_class_types
1521
- @inner_class_types = {}
1522
- end
1523
-
1524
- def self.field_remappings
1525
- @field_remappings = {}
1526
- end
1527
- end
1528
- # Attribute for field mandate_options
1529
- attr_reader :mandate_options
1530
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1531
- #
1532
- # 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.
1533
- #
1534
- # 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.
1535
- #
1536
- # 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).
1537
- attr_reader :setup_future_usage
1538
-
1539
- def self.inner_class_types
1540
- @inner_class_types = { mandate_options: MandateOptions }
1541
- end
1542
-
1543
- def self.field_remappings
1544
- @field_remappings = {}
1545
- end
1546
- end
1547
-
1548
1478
  class Pix < ::Stripe::StripeObject
1549
- class MandateOptions < ::Stripe::StripeObject
1550
- # Amount to be charged for future payments.
1551
- attr_reader :amount
1552
- # Determines if the amount includes the IOF tax.
1553
- attr_reader :amount_includes_iof
1554
- # Type of amount.
1555
- attr_reader :amount_type
1556
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
1557
- attr_reader :currency
1558
- # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
1559
- attr_reader :end_date
1560
- # Schedule at which the future payments will be charged.
1561
- attr_reader :payment_schedule
1562
- # Subscription name displayed to buyers in their bank app.
1563
- attr_reader :reference
1564
- # Start date of the mandate, in `YYYY-MM-DD`.
1565
- attr_reader :start_date
1566
-
1567
- def self.inner_class_types
1568
- @inner_class_types = {}
1569
- end
1570
-
1571
- def self.field_remappings
1572
- @field_remappings = {}
1573
- end
1574
- end
1575
1479
  # Determines if the amount includes the IOF tax.
1576
1480
  attr_reader :amount_includes_iof
1577
1481
  # The number of seconds after which Pix payment will expire.
1578
1482
  attr_reader :expires_after_seconds
1579
- # Attribute for field mandate_options
1580
- attr_reader :mandate_options
1581
1483
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1582
1484
  #
1583
1485
  # 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.
@@ -1588,7 +1490,7 @@ module Stripe
1588
1490
  attr_reader :setup_future_usage
1589
1491
 
1590
1492
  def self.inner_class_types
1591
- @inner_class_types = { mandate_options: MandateOptions }
1493
+ @inner_class_types = {}
1592
1494
  end
1593
1495
 
1594
1496
  def self.field_remappings
@@ -1734,21 +1636,6 @@ module Stripe
1734
1636
  class Filters < ::Stripe::StripeObject
1735
1637
  # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
1736
1638
  attr_reader :account_subcategories
1737
- # The institution to use to filter for possible accounts to link.
1738
- attr_reader :institution
1739
-
1740
- def self.inner_class_types
1741
- @inner_class_types = {}
1742
- end
1743
-
1744
- def self.field_remappings
1745
- @field_remappings = {}
1746
- end
1747
- end
1748
-
1749
- class ManualEntry < ::Stripe::StripeObject
1750
- # Settings for configuring manual entry of account details.
1751
- attr_reader :mode
1752
1639
 
1753
1640
  def self.inner_class_types
1754
1641
  @inner_class_types = {}
@@ -1760,8 +1647,6 @@ module Stripe
1760
1647
  end
1761
1648
  # Attribute for field filters
1762
1649
  attr_reader :filters
1763
- # Attribute for field manual_entry
1764
- attr_reader :manual_entry
1765
1650
  # The list of permissions to request. The `payment_method` permission must be included.
1766
1651
  attr_reader :permissions
1767
1652
  # Data features requested to be retrieved upon account creation.
@@ -1770,7 +1655,7 @@ module Stripe
1770
1655
  attr_reader :return_url
1771
1656
 
1772
1657
  def self.inner_class_types
1773
- @inner_class_types = { filters: Filters, manual_entry: ManualEntry }
1658
+ @inner_class_types = { filters: Filters }
1774
1659
  end
1775
1660
 
1776
1661
  def self.field_remappings
@@ -1864,8 +1749,6 @@ module Stripe
1864
1749
  attr_reader :paynow
1865
1750
  # Attribute for field paypal
1866
1751
  attr_reader :paypal
1867
- # Attribute for field payto
1868
- attr_reader :payto
1869
1752
  # Attribute for field pix
1870
1753
  attr_reader :pix
1871
1754
  # Attribute for field revolut_pay
@@ -1919,7 +1802,6 @@ module Stripe
1919
1802
  payco: Payco,
1920
1803
  paynow: Paynow,
1921
1804
  paypal: Paypal,
1922
- payto: Payto,
1923
1805
  pix: Pix,
1924
1806
  revolut_pay: RevolutPay,
1925
1807
  samsung_pay: SamsungPay,
@@ -1938,36 +1820,6 @@ module Stripe
1938
1820
  end
1939
1821
 
1940
1822
  class Permissions < ::Stripe::StripeObject
1941
- class Update < ::Stripe::StripeObject
1942
- # Determines which entity is allowed to update the line items.
1943
- #
1944
- # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
1945
- #
1946
- # When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
1947
- attr_reader :line_items
1948
- # Determines which entity is allowed to update the shipping details.
1949
- #
1950
- # Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
1951
- #
1952
- # When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
1953
- attr_reader :shipping_details
1954
-
1955
- def self.inner_class_types
1956
- @inner_class_types = {}
1957
- end
1958
-
1959
- def self.field_remappings
1960
- @field_remappings = {}
1961
- end
1962
- end
1963
- # Permissions for updating the Checkout Session.
1964
- attr_reader :update
1965
- # Determines which entity is allowed to update the line items.
1966
- #
1967
- # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
1968
- #
1969
- # When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
1970
- attr_reader :update_line_items
1971
1823
  # Determines which entity is allowed to update the shipping details.
1972
1824
  #
1973
1825
  # Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
@@ -1976,7 +1828,7 @@ module Stripe
1976
1828
  attr_reader :update_shipping_details
1977
1829
 
1978
1830
  def self.inner_class_types
1979
- @inner_class_types = { update: Update }
1831
+ @inner_class_types = {}
1980
1832
  end
1981
1833
 
1982
1834
  def self.field_remappings
@@ -2256,8 +2108,6 @@ module Stripe
2256
2108
  # during the payment flow unless an existing customer was provided when
2257
2109
  # the Session was created.
2258
2110
  attr_reader :customer
2259
- # The ID of the account for this Session.
2260
- attr_reader :customer_account
2261
2111
  # Configure whether a Checkout Session creates a Customer when the Checkout Session completes.
2262
2112
  attr_reader :customer_creation
2263
2113
  # The customer details including the customer's tax exempt status and the customer's tax IDs. Customer's address details are not present on Sessions in `setup` mode.
@@ -114,8 +114,6 @@ module Stripe
114
114
 
115
115
  class PaymentMethodPreview < ::Stripe::StripeObject
116
116
  class AcssDebit < ::Stripe::StripeObject
117
- # Account number of the bank account.
118
- attr_reader :account_number
119
117
  # Name of the bank associated with the bank account.
120
118
  attr_reader :bank_name
121
119
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
@@ -934,16 +932,6 @@ module Stripe
934
932
  end
935
933
  end
936
934
 
937
- class Gopay < ::Stripe::StripeObject
938
- def self.inner_class_types
939
- @inner_class_types = {}
940
- end
941
-
942
- def self.field_remappings
943
- @field_remappings = {}
944
- end
945
- end
946
-
947
935
  class Grabpay < ::Stripe::StripeObject
948
936
  def self.inner_class_types
949
937
  @inner_class_types = {}
@@ -954,25 +942,6 @@ module Stripe
954
942
  end
955
943
  end
956
944
 
957
- class IdBankTransfer < ::Stripe::StripeObject
958
- # Attribute for field bank
959
- attr_reader :bank
960
- # Attribute for field bank_code
961
- attr_reader :bank_code
962
- # Attribute for field bank_name
963
- attr_reader :bank_name
964
- # Attribute for field display_name
965
- attr_reader :display_name
966
-
967
- def self.inner_class_types
968
- @inner_class_types = {}
969
- end
970
-
971
- def self.field_remappings
972
- @field_remappings = {}
973
- end
974
- end
975
-
976
945
  class Ideal < ::Stripe::StripeObject
977
946
  # The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
978
947
  attr_reader :bank
@@ -1246,43 +1215,11 @@ module Stripe
1246
1215
  class Paypal < ::Stripe::StripeObject
1247
1216
  # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1248
1217
  attr_reader :country
1249
- # Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
1250
- attr_reader :fingerprint
1251
1218
  # Owner's email. Values are provided by PayPal directly
1252
1219
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1253
1220
  attr_reader :payer_email
1254
1221
  # PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
1255
1222
  attr_reader :payer_id
1256
- # Owner's verified email. Values are verified or provided by PayPal directly
1257
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1258
- attr_reader :verified_email
1259
-
1260
- def self.inner_class_types
1261
- @inner_class_types = {}
1262
- end
1263
-
1264
- def self.field_remappings
1265
- @field_remappings = {}
1266
- end
1267
- end
1268
-
1269
- class Paypay < ::Stripe::StripeObject
1270
- def self.inner_class_types
1271
- @inner_class_types = {}
1272
- end
1273
-
1274
- def self.field_remappings
1275
- @field_remappings = {}
1276
- end
1277
- end
1278
-
1279
- class Payto < ::Stripe::StripeObject
1280
- # Bank-State-Branch number of the bank account.
1281
- attr_reader :bsb_number
1282
- # Last four digits of the bank account number.
1283
- attr_reader :last4
1284
- # The PayID alias for the bank account.
1285
- attr_reader :pay_id
1286
1223
 
1287
1224
  def self.inner_class_types
1288
1225
  @inner_class_types = {}
@@ -1313,45 +1250,6 @@ module Stripe
1313
1250
  end
1314
1251
  end
1315
1252
 
1316
- class Qris < ::Stripe::StripeObject
1317
- def self.inner_class_types
1318
- @inner_class_types = {}
1319
- end
1320
-
1321
- def self.field_remappings
1322
- @field_remappings = {}
1323
- end
1324
- end
1325
-
1326
- class Rechnung < ::Stripe::StripeObject
1327
- class Dob < ::Stripe::StripeObject
1328
- # The day of birth, between 1 and 31.
1329
- attr_reader :day
1330
- # The month of birth, between 1 and 12.
1331
- attr_reader :month
1332
- # The four-digit year of birth.
1333
- attr_reader :year
1334
-
1335
- def self.inner_class_types
1336
- @inner_class_types = {}
1337
- end
1338
-
1339
- def self.field_remappings
1340
- @field_remappings = {}
1341
- end
1342
- end
1343
- # Attribute for field dob
1344
- attr_reader :dob
1345
-
1346
- def self.inner_class_types
1347
- @inner_class_types = { dob: Dob }
1348
- end
1349
-
1350
- def self.field_remappings
1351
- @field_remappings = {}
1352
- end
1353
- end
1354
-
1355
1253
  class RevolutPay < ::Stripe::StripeObject
1356
1254
  def self.inner_class_types
1357
1255
  @inner_class_types = {}
@@ -1419,16 +1317,6 @@ module Stripe
1419
1317
  end
1420
1318
  end
1421
1319
 
1422
- class Shopeepay < ::Stripe::StripeObject
1423
- def self.inner_class_types
1424
- @inner_class_types = {}
1425
- end
1426
-
1427
- def self.field_remappings
1428
- @field_remappings = {}
1429
- end
1430
- end
1431
-
1432
1320
  class Sofort < ::Stripe::StripeObject
1433
1321
  # Two-letter ISO code representing the country the bank account is located in.
1434
1322
  attr_reader :country
@@ -1442,21 +1330,6 @@ module Stripe
1442
1330
  end
1443
1331
  end
1444
1332
 
1445
- class StripeBalance < ::Stripe::StripeObject
1446
- # The connected account ID whose Stripe balance to use as the source of payment
1447
- attr_reader :account
1448
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1449
- attr_reader :source_type
1450
-
1451
- def self.inner_class_types
1452
- @inner_class_types = {}
1453
- end
1454
-
1455
- def self.field_remappings
1456
- @field_remappings = {}
1457
- end
1458
- end
1459
-
1460
1333
  class Swish < ::Stripe::StripeObject
1461
1334
  def self.inner_class_types
1462
1335
  @inner_class_types = {}
@@ -1521,8 +1394,6 @@ module Stripe
1521
1394
  end
1522
1395
  # Account holder type: individual or company.
1523
1396
  attr_reader :account_holder_type
1524
- # Account number of the bank account.
1525
- attr_reader :account_number
1526
1397
  # Account type: checkings or savings. Defaults to checking if omitted.
1527
1398
  attr_reader :account_type
1528
1399
  # The name of the bank.
@@ -1606,8 +1477,6 @@ module Stripe
1606
1477
  attr_reader :crypto
1607
1478
  # The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
1608
1479
  attr_reader :customer
1609
- # Attribute for field customer_account
1610
- attr_reader :customer_account
1611
1480
  # Attribute for field customer_balance
1612
1481
  attr_reader :customer_balance
1613
1482
  # Attribute for field eps
@@ -1616,12 +1485,8 @@ module Stripe
1616
1485
  attr_reader :fpx
1617
1486
  # Attribute for field giropay
1618
1487
  attr_reader :giropay
1619
- # Attribute for field gopay
1620
- attr_reader :gopay
1621
1488
  # Attribute for field grabpay
1622
1489
  attr_reader :grabpay
1623
- # Attribute for field id_bank_transfer
1624
- attr_reader :id_bank_transfer
1625
1490
  # Attribute for field ideal
1626
1491
  attr_reader :ideal
1627
1492
  # Attribute for field interac_present
@@ -1658,18 +1523,10 @@ module Stripe
1658
1523
  attr_reader :paynow
1659
1524
  # Attribute for field paypal
1660
1525
  attr_reader :paypal
1661
- # Attribute for field paypay
1662
- attr_reader :paypay
1663
- # Attribute for field payto
1664
- attr_reader :payto
1665
1526
  # Attribute for field pix
1666
1527
  attr_reader :pix
1667
1528
  # Attribute for field promptpay
1668
1529
  attr_reader :promptpay
1669
- # Attribute for field qris
1670
- attr_reader :qris
1671
- # Attribute for field rechnung
1672
- attr_reader :rechnung
1673
1530
  # Attribute for field revolut_pay
1674
1531
  attr_reader :revolut_pay
1675
1532
  # Attribute for field samsung_pay
@@ -1678,12 +1535,8 @@ module Stripe
1678
1535
  attr_reader :satispay
1679
1536
  # Attribute for field sepa_debit
1680
1537
  attr_reader :sepa_debit
1681
- # Attribute for field shopeepay
1682
- attr_reader :shopeepay
1683
1538
  # Attribute for field sofort
1684
1539
  attr_reader :sofort
1685
- # Attribute for field stripe_balance
1686
- attr_reader :stripe_balance
1687
1540
  # Attribute for field swish
1688
1541
  attr_reader :swish
1689
1542
  # Attribute for field twint
@@ -1720,9 +1573,7 @@ module Stripe
1720
1573
  eps: Eps,
1721
1574
  fpx: Fpx,
1722
1575
  giropay: Giropay,
1723
- gopay: Gopay,
1724
1576
  grabpay: Grabpay,
1725
- id_bank_transfer: IdBankTransfer,
1726
1577
  ideal: Ideal,
1727
1578
  interac_present: InteracPresent,
1728
1579
  kakao_pay: KakaoPay,
@@ -1741,19 +1592,13 @@ module Stripe
1741
1592
  payco: Payco,
1742
1593
  paynow: Paynow,
1743
1594
  paypal: Paypal,
1744
- paypay: Paypay,
1745
- payto: Payto,
1746
1595
  pix: Pix,
1747
1596
  promptpay: Promptpay,
1748
- qris: Qris,
1749
- rechnung: Rechnung,
1750
1597
  revolut_pay: RevolutPay,
1751
1598
  samsung_pay: SamsungPay,
1752
1599
  satispay: Satispay,
1753
1600
  sepa_debit: SepaDebit,
1754
- shopeepay: Shopeepay,
1755
1601
  sofort: Sofort,
1756
- stripe_balance: StripeBalance,
1757
1602
  swish: Swish,
1758
1603
  twint: Twint,
1759
1604
  us_bank_account: UsBankAccount,
@@ -41,23 +41,6 @@ module Stripe
41
41
  @field_remappings = {}
42
42
  end
43
43
  end
44
-
45
- class Script < ::Stripe::StripeObject
46
- # The configuration values of the script. The keys and values are specific to the script implementation.
47
- attr_reader :configuration
48
- # The name of the script used to calculate the discount.
49
- attr_reader :display_name
50
- # The script implementation ID for this coupon.
51
- attr_reader :id
52
-
53
- def self.inner_class_types
54
- @inner_class_types = {}
55
- end
56
-
57
- def self.field_remappings
58
- @field_remappings = {}
59
- end
60
- end
61
44
  # Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.
62
45
  attr_reader :amount_off
63
46
  # Attribute for field applies_to
@@ -88,12 +71,8 @@ module Stripe
88
71
  attr_reader :percent_off
89
72
  # Date after which the coupon can no longer be redeemed.
90
73
  attr_reader :redeem_by
91
- # Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
92
- attr_reader :script
93
74
  # Number of times this coupon has been applied to a customer.
94
75
  attr_reader :times_redeemed
95
- # One of `amount_off`, `percent_off`, or `script`. Describes the type of coupon logic used to calculate the discount.
96
- attr_reader :type
97
76
  # Taking account of the above properties, whether this coupon can still be applied to a customer.
98
77
  attr_reader :valid
99
78
  # Always true for a deleted object
@@ -142,11 +121,7 @@ module Stripe
142
121
  end
143
122
 
144
123
  def self.inner_class_types
145
- @inner_class_types = {
146
- applies_to: AppliesTo,
147
- currency_options: CurrencyOptions,
148
- script: Script,
149
- }
124
+ @inner_class_types = { applies_to: AppliesTo, currency_options: CurrencyOptions }
150
125
  end
151
126
 
152
127
  def self.field_remappings
@@ -167,8 +167,6 @@ module Stripe
167
167
  attr_reader :currency
168
168
  # ID of the customer.
169
169
  attr_reader :customer
170
- # ID of the account.
171
- attr_reader :customer_account
172
170
  # Customer balance transaction related to this credit note.
173
171
  attr_reader :customer_balance_transaction
174
172
  # The integer amount in cents (or local equivalent) representing the total amount of discount that was credited.
@@ -43,21 +43,6 @@ module Stripe
43
43
  end
44
44
  end
45
45
 
46
- class TaxCalculationReference < ::Stripe::StripeObject
47
- # The calculation identifier for tax calculation response.
48
- attr_reader :calculation_id
49
- # The calculation identifier for tax calculation response line item.
50
- attr_reader :calculation_item_id
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
46
  class Tax < ::Stripe::StripeObject
62
47
  class TaxRateDetails < ::Stripe::StripeObject
63
48
  # Attribute for field tax_rate
@@ -112,8 +97,6 @@ module Stripe
112
97
  attr_reader :pretax_credit_amounts
113
98
  # The number of units of product being credited.
114
99
  attr_reader :quantity
115
- # The tax calculation identifiers of the line item.
116
- attr_reader :tax_calculation_reference
117
100
  # The tax rates which apply to the line item.
118
101
  attr_reader :tax_rates
119
102
  # The tax information of the line item.
@@ -129,7 +112,6 @@ module Stripe
129
112
  @inner_class_types = {
130
113
  discount_amounts: DiscountAmount,
131
114
  pretax_credit_amounts: PretaxCreditAmount,
132
- tax_calculation_reference: TaxCalculationReference,
133
115
  taxes: Tax,
134
116
  }
135
117
  end
@@ -182,8 +182,6 @@ module Stripe
182
182
  attr_reader :created
183
183
  # Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.
184
184
  attr_reader :currency
185
- # Attribute for field customer_account
186
- attr_reader :customer_account
187
185
  # ID of the default payment source for the customer.
188
186
  #
189
187
  # If you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.
@@ -28,8 +28,6 @@ module Stripe
28
28
  attr_reader :currency
29
29
  # The ID of the customer the transaction belongs to.
30
30
  attr_reader :customer
31
- # Attribute for field customer_account
32
- attr_reader :customer_account
33
31
  # An arbitrary string attached to the object. Often useful for displaying to users.
34
32
  attr_reader :description
35
33
  # The customer's `balance` after the transaction was applied. A negative value decreases the amount due on the customer's next invoice. A positive value increases the amount due on the customer's next invoice.
@@ -193,8 +193,6 @@ module Stripe
193
193
  attr_reader :currency
194
194
  # The customer whose available cash balance changed as a result of this transaction.
195
195
  attr_reader :customer
196
- # Attribute for field customer_account
197
- attr_reader :customer_account
198
196
  # The total available cash balance for the specified currency after this transaction was applied. Represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
199
197
  attr_reader :ending_balance
200
198
  # Attribute for field funded