stripe 17.2.0.pre.beta.1 → 17.2.1

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 (500) hide show
  1. checksums.yaml +4 -4
  2. data/lib/data/ca-certificates.crt +290 -3340
  3. data/lib/stripe/api_requestor.rb +0 -34
  4. data/lib/stripe/api_version.rb +2 -1
  5. data/lib/stripe/errors.rb +0 -63
  6. data/lib/stripe/event_types.rb +0 -233
  7. data/lib/stripe/object_types.rb +0 -55
  8. data/lib/stripe/params/account_create_params.rb +2 -301
  9. data/lib/stripe/params/account_session_create_params.rb +1 -226
  10. data/lib/stripe/params/account_update_params.rb +1 -263
  11. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -4
  12. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
  13. data/lib/stripe/params/billing/credit_grant_create_params.rb +0 -4
  14. data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
  15. data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
  16. data/lib/stripe/params/charge_capture_params.rb +0 -715
  17. data/lib/stripe/params/charge_update_params.rb +0 -715
  18. data/lib/stripe/params/checkout/session_create_params.rb +3 -193
  19. data/lib/stripe/params/checkout/session_list_params.rb +0 -4
  20. data/lib/stripe/params/checkout/session_update_params.rb +1 -288
  21. data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
  22. data/lib/stripe/params/coupon_create_params.rb +1 -17
  23. data/lib/stripe/params/credit_note_list_params.rb +0 -4
  24. data/lib/stripe/params/customer_session_create_params.rb +3 -37
  25. data/lib/stripe/params/dispute_update_params.rb +1 -10
  26. data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
  27. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
  28. data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
  29. data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
  30. data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
  31. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  32. data/lib/stripe/params/invoice_create_params.rb +2 -112
  33. data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
  34. data/lib/stripe/params/invoice_item_create_params.rb +1 -37
  35. data/lib/stripe/params/invoice_item_list_params.rb +0 -4
  36. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  37. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
  38. data/lib/stripe/params/invoice_list_params.rb +0 -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 +1 -723
  44. data/lib/stripe/params/payment_intent_confirm_params.rb +12 -1197
  45. data/lib/stripe/params/payment_intent_create_params.rb +12 -1205
  46. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -50
  47. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  48. data/lib/stripe/params/payment_intent_update_params.rb +14 -1238
  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 +9 -22
  75. data/lib/stripe/params/terminal/configuration_update_params.rb +9 -22
  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 -164
  88. data/lib/stripe/resources/account.rb +2 -167
  89. data/lib/stripe/resources/account_session.rb +0 -81
  90. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  91. data/lib/stripe/resources/billing/credit_grant.rb +0 -2
  92. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  93. data/lib/stripe/resources/card.rb +0 -2
  94. data/lib/stripe/resources/cash_balance.rb +0 -2
  95. data/lib/stripe/resources/charge.rb +1 -237
  96. data/lib/stripe/resources/checkout/session.rb +4 -154
  97. data/lib/stripe/resources/confirmation_token.rb +0 -155
  98. data/lib/stripe/resources/coupon.rb +1 -26
  99. data/lib/stripe/resources/credit_note.rb +0 -2
  100. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  101. data/lib/stripe/resources/customer.rb +0 -2
  102. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  103. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  104. data/lib/stripe/resources/customer_session.rb +0 -38
  105. data/lib/stripe/resources/discount.rb +0 -2
  106. data/lib/stripe/resources/dispute.rb +0 -22
  107. data/lib/stripe/resources/event.rb +1 -64
  108. data/lib/stripe/resources/financial_connections/account.rb +0 -27
  109. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  110. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  111. data/lib/stripe/resources/invoice.rb +2 -153
  112. data/lib/stripe/resources/invoice_item.rb +0 -4
  113. data/lib/stripe/resources/invoice_line_item.rb +0 -40
  114. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  115. data/lib/stripe/resources/line_item.rb +1 -68
  116. data/lib/stripe/resources/mandate.rb +0 -71
  117. data/lib/stripe/resources/payment_attempt_record.rb +1 -203
  118. data/lib/stripe/resources/payment_intent.rb +6 -789
  119. data/lib/stripe/resources/payment_method.rb +0 -157
  120. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  121. data/lib/stripe/resources/payment_record.rb +1 -203
  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/v2/billing/meter_event.rb +2 -1
  142. data/lib/stripe/resources/v2/core/event.rb +2 -2
  143. data/lib/stripe/resources.rb +0 -112
  144. data/lib/stripe/services/billing_service.rb +1 -2
  145. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  146. data/lib/stripe/services/financial_connections_service.rb +1 -2
  147. data/lib/stripe/services/issuing_service.rb +1 -5
  148. data/lib/stripe/services/mandate_service.rb +0 -5
  149. data/lib/stripe/services/payment_intent_service.rb +0 -37
  150. data/lib/stripe/services/quote_service.rb +1 -49
  151. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  152. data/lib/stripe/services/subscription_service.rb +0 -11
  153. data/lib/stripe/services/tax_service.rb +1 -3
  154. data/lib/stripe/services/terminal_service.rb +1 -3
  155. data/lib/stripe/services/v1_services.rb +1 -8
  156. data/lib/stripe/services/v2/billing_service.rb +1 -5
  157. data/lib/stripe/services/v2/core_service.rb +1 -4
  158. data/lib/stripe/services/v2_services.rb +1 -4
  159. data/lib/stripe/services.rb +0 -58
  160. data/lib/stripe/stripe_configuration.rb +1 -3
  161. data/lib/stripe/stripe_object.rb +1 -1
  162. data/lib/stripe/util.rb +1 -7
  163. data/lib/stripe/version.rb +1 -1
  164. data/lib/stripe.rb +0 -53
  165. data/rbi/stripe.rbi +83044 -141384
  166. metadata +7 -341
  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 -61
  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_intent_decrement_authorization_params.rb +0 -73
  273. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  274. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  275. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  276. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  277. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  278. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  279. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  280. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  281. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  282. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  283. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  284. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  285. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  286. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  287. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  288. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  289. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  290. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  291. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  292. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  293. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  294. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  295. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  296. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  297. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  298. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  299. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  300. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  301. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  302. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  303. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  304. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
  305. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
  306. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  307. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  308. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
  309. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  310. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  311. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  312. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  313. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  314. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  315. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  316. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  317. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  318. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  319. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  320. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2248
  321. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  322. data/lib/stripe/params/v2/core/account_list_params.rb +0 -23
  323. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  324. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2294
  325. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  326. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  327. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  328. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  329. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  330. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  331. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  332. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  333. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  334. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  335. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  336. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  337. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  338. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  339. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  340. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  341. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  342. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  343. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  344. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  345. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  346. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  347. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  348. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  349. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  350. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
  351. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  352. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  353. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  354. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  355. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  356. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  357. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
  358. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  359. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  360. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  361. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  362. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  363. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
  364. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  365. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  366. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  367. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  368. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
  369. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  370. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  371. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  372. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  373. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  374. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  375. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  376. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  377. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  378. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  379. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  380. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  381. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  382. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  383. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  384. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  385. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  386. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  387. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  388. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  389. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  390. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  391. data/lib/stripe/resources/account_notice.rb +0 -94
  392. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  393. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  394. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  395. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  396. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  397. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  398. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  399. data/lib/stripe/resources/fx_quote.rb +0 -147
  400. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  401. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  402. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  403. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  404. data/lib/stripe/resources/margin.rb +0 -64
  405. data/lib/stripe/resources/order.rb +0 -987
  406. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  407. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  408. data/lib/stripe/resources/quote_line.rb +0 -521
  409. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  410. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  411. data/lib/stripe/resources/tax/association.rb +0 -86
  412. data/lib/stripe/resources/tax/form.rb +0 -264
  413. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  414. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  415. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  416. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  417. data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
  418. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  419. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  420. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  421. data/lib/stripe/resources/v2/core/account.rb +0 -3906
  422. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  423. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  424. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  425. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
  426. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  427. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  428. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  429. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  430. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  431. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  432. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
  433. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  434. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  435. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
  436. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
  437. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  438. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  439. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
  440. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  441. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  442. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  443. data/lib/stripe/services/account_notice_service.rb +0 -39
  444. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  445. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  446. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  447. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  448. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  449. data/lib/stripe/services/capital_service.rb +0 -15
  450. data/lib/stripe/services/external_account_service.rb +0 -68
  451. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  452. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  453. data/lib/stripe/services/fx_quote_service.rb +0 -27
  454. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  455. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  456. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  457. data/lib/stripe/services/margin_service.rb +0 -50
  458. data/lib/stripe/services/order_line_item_service.rb +0 -17
  459. data/lib/stripe/services/order_service.rb +0 -78
  460. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  461. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  462. data/lib/stripe/services/privacy_service.rb +0 -13
  463. data/lib/stripe/services/quote_line_service.rb +0 -17
  464. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  465. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  466. data/lib/stripe/services/tax/association_service.rb +0 -19
  467. data/lib/stripe/services/tax/form_service.rb +0 -37
  468. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  469. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  470. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  471. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  472. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  473. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  474. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  475. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  476. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  477. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  478. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  479. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  480. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
  481. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  482. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  483. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  484. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  485. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  486. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  487. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  488. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  489. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  490. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  491. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  492. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  493. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  494. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  495. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  496. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  497. data/lib/stripe/services/v2/payment_service.rb +0 -15
  498. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  499. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  500. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -1,47 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module V2
6
- module MoneyManagement
7
- class TransactionListParams < ::Stripe::RequestParams
8
- # Filter for Transactions created at an exact time.
9
- attr_accessor :created
10
- # Filter for Transactions created after the specified timestamp.
11
- attr_accessor :created_gt
12
- # Filter for Transactions created at or after the specified timestamp.
13
- attr_accessor :created_gte
14
- # Filter for Transactions created before the specified timestamp.
15
- attr_accessor :created_lt
16
- # Filter for Transactions created at or before the specified timestamp.
17
- attr_accessor :created_lte
18
- # Filter for Transactions belonging to a FinancialAccount.
19
- attr_accessor :financial_account
20
- # Filter for Transactions corresponding to a Flow.
21
- attr_accessor :flow
22
- # The page limit.
23
- attr_accessor :limit
24
-
25
- def initialize(
26
- created: nil,
27
- created_gt: nil,
28
- created_gte: nil,
29
- created_lt: nil,
30
- created_lte: nil,
31
- financial_account: nil,
32
- flow: nil,
33
- limit: nil
34
- )
35
- @created = created
36
- @created_gt = created_gt
37
- @created_gte = created_gte
38
- @created_lt = created_lt
39
- @created_lte = created_lte
40
- @financial_account = financial_account
41
- @flow = flow
42
- @limit = limit
43
- end
44
- end
45
- end
46
- end
47
- end
@@ -1,10 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module V2
6
- module MoneyManagement
7
- class TransactionRetrieveParams < ::Stripe::RequestParams; end
8
- end
9
- end
10
- end
@@ -1,10 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module V2
6
- module Payments
7
- class OffSessionPaymentCancelParams < ::Stripe::RequestParams; end
8
- end
9
- end
10
- end
@@ -1,61 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module V2
6
- module Payments
7
- class OffSessionPaymentCaptureParams < ::Stripe::RequestParams
8
- class TransferData < ::Stripe::RequestParams
9
- # The amount transferred to the destination account. This transfer will occur
10
- # automatically after the payment succeeds. If no amount is specified, by default
11
- # the entire payment amount is transferred to the destination account. The amount
12
- # must be less than or equal to the
13
- # [amount_requested](https://docs.corp.stripe.com/api/v2/off-session-payments/object?api-version=2025-05-28.preview#v2_off_session_payment_object-amount_requested),
14
- # and must be a positive integer representing how much to transfer in the smallest
15
- # currency unit (e.g., 100 cents to charge $1.00).
16
- attr_accessor :amount
17
- # The account (if any) that the payment is attributed to for tax reporting, and
18
- # where funds from the payment are transferred to after payment success.
19
- attr_accessor :destination
20
-
21
- def initialize(amount: nil, destination: nil)
22
- @amount = amount
23
- @destination = destination
24
- end
25
- end
26
- # The amount to capture.
27
- attr_accessor :amount_to_capture
28
- # Set of [key-value pairs](https://docs.corp.stripe.com/api/metadata) that you can
29
- # attach to an object. This can be useful for storing additional information about
30
- # the object in a structured format. Learn more about
31
- # [storing information in metadata](https://docs.corp.stripe.com/payments/payment-intents#storing-information-in-metadata).
32
- attr_accessor :metadata
33
- # Text that appears on the customer’s statement as the statement descriptor for a
34
- # non-card charge. This value overrides the account’s default statement descriptor.
35
- # For information about requirements, including the 22-character limit, see the
36
- # [Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
37
- attr_accessor :statement_descriptor
38
- # Provides information about a card charge. Concatenated to the account’s
39
- # [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static)
40
- # to form the complete statement descriptor that appears on the customer’s statement.
41
- attr_accessor :statement_descriptor_suffix
42
- # The data that automatically creates a Transfer after the payment finalizes. Learn more about the use case for [connected accounts](https://docs.corp.stripe.com/payments/connected-accounts).
43
- attr_accessor :transfer_data
44
-
45
- def initialize(
46
- amount_to_capture: nil,
47
- metadata: nil,
48
- statement_descriptor: nil,
49
- statement_descriptor_suffix: nil,
50
- transfer_data: nil
51
- )
52
- @amount_to_capture = amount_to_capture
53
- @metadata = metadata
54
- @statement_descriptor = statement_descriptor
55
- @statement_descriptor_suffix = statement_descriptor_suffix
56
- @transfer_data = transfer_data
57
- end
58
- end
59
- end
60
- end
61
- end
@@ -1,237 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module V2
6
- module Payments
7
- class OffSessionPaymentCreateParams < ::Stripe::RequestParams
8
- class AmountDetails < ::Stripe::RequestParams
9
- class LineItem < ::Stripe::RequestParams
10
- class Tax < ::Stripe::RequestParams
11
- # Total portion of the amount that is for tax.
12
- attr_accessor :total_tax_amount
13
-
14
- def initialize(total_tax_amount: nil)
15
- @total_tax_amount = total_tax_amount
16
- end
17
- end
18
- # The amount an item was discounted for. Positive integer.
19
- attr_accessor :discount_amount
20
- # Unique identifier of the product. At most 12 characters long.
21
- attr_accessor :product_code
22
- # Name of the product. At most 100 characters long.
23
- attr_accessor :product_name
24
- # Number of items of the product. Positive integer.
25
- attr_accessor :quantity
26
- # Contains information about the tax on the item.
27
- attr_accessor :tax
28
- # Cost of the product. Non-negative integer.
29
- attr_accessor :unit_cost
30
-
31
- def initialize(
32
- discount_amount: nil,
33
- product_code: nil,
34
- product_name: nil,
35
- quantity: nil,
36
- tax: nil,
37
- unit_cost: nil
38
- )
39
- @discount_amount = discount_amount
40
- @product_code = product_code
41
- @product_name = product_name
42
- @quantity = quantity
43
- @tax = tax
44
- @unit_cost = unit_cost
45
- end
46
- end
47
-
48
- class Shipping < ::Stripe::RequestParams
49
- # Portion of the amount that is for shipping.
50
- attr_accessor :amount
51
- # The postal code that represents the shipping source.
52
- attr_accessor :from_postal_code
53
- # The postal code that represents the shipping destination.
54
- attr_accessor :to_postal_code
55
-
56
- def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
57
- @amount = amount
58
- @from_postal_code = from_postal_code
59
- @to_postal_code = to_postal_code
60
- end
61
- end
62
-
63
- class Tax < ::Stripe::RequestParams
64
- # Total portion of the amount that is for tax.
65
- attr_accessor :total_tax_amount
66
-
67
- def initialize(total_tax_amount: nil)
68
- @total_tax_amount = total_tax_amount
69
- end
70
- end
71
- # The amount the total transaction was discounted for.
72
- attr_accessor :discount_amount
73
- # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
74
- attr_accessor :line_items
75
- # Contains information about the shipping portion of the amount.
76
- attr_accessor :shipping
77
- # Contains information about the tax portion of the amount.
78
- attr_accessor :tax
79
-
80
- def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
81
- @discount_amount = discount_amount
82
- @line_items = line_items
83
- @shipping = shipping
84
- @tax = tax
85
- end
86
- end
87
-
88
- class Capture < ::Stripe::RequestParams
89
- # The method to use to capture the payment.
90
- attr_accessor :capture_method
91
-
92
- def initialize(capture_method: nil)
93
- @capture_method = capture_method
94
- end
95
- end
96
-
97
- class PaymentMethodOptions < ::Stripe::RequestParams
98
- class Card < ::Stripe::RequestParams
99
- # If you are making a Credential On File transaction with a previously saved card, you should pass the Network Transaction ID
100
- # from a prior initial authorization on Stripe (from a successful SetupIntent or a PaymentIntent with `setup_future_usage` set),
101
- # or one that you have obtained from another payment processor. This is a token from the network which uniquely identifies the transaction.
102
- # Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data.
103
- # Note that you should pass in a Network Transaction ID if you have one, regardless of whether this is a
104
- # Customer-Initiated Transaction (CIT) or a Merchant-Initiated Transaction (MIT).
105
- attr_accessor :network_transaction_id
106
-
107
- def initialize(network_transaction_id: nil)
108
- @network_transaction_id = network_transaction_id
109
- end
110
- end
111
- # Payment method options for the card payment type.
112
- attr_accessor :card
113
-
114
- def initialize(card: nil)
115
- @card = card
116
- end
117
- end
118
-
119
- class PaymentsOrchestration < ::Stripe::RequestParams
120
- # True when you want to enable payments orchestration for this off-session payment. False otherwise.
121
- attr_accessor :enabled
122
-
123
- def initialize(enabled: nil)
124
- @enabled = enabled
125
- end
126
- end
127
-
128
- class RetryDetails < ::Stripe::RequestParams
129
- # The pre-configured retry policy to use for the payment.
130
- attr_accessor :retry_policy
131
- # Indicates the strategy for how you want Stripe to retry the payment.
132
- attr_accessor :retry_strategy
133
-
134
- def initialize(retry_policy: nil, retry_strategy: nil)
135
- @retry_policy = retry_policy
136
- @retry_strategy = retry_strategy
137
- end
138
- end
139
-
140
- class TransferData < ::Stripe::RequestParams
141
- # The amount transferred to the destination account. This transfer will occur
142
- # automatically after the payment succeeds. If no amount is specified, by default
143
- # the entire payment amount is transferred to the destination account. The amount
144
- # must be less than or equal to the
145
- # [amount_requested](https://docs.corp.stripe.com/api/v2/off-session-payments/object?api-version=2025-05-28.preview#v2_off_session_payment_object-amount_requested),
146
- # and must be a positive integer representing how much to transfer in the smallest
147
- # currency unit (e.g., 100 cents to charge $1.00).
148
- attr_accessor :amount
149
- # The account (if any) that the payment is attributed to for tax reporting, and
150
- # where funds from the payment are transferred to after payment success.
151
- attr_accessor :destination
152
-
153
- def initialize(amount: nil, destination: nil)
154
- @amount = amount
155
- @destination = destination
156
- end
157
- end
158
- # The “presentment amount” to be collected from the customer.
159
- attr_accessor :amount
160
- # Provides industry-specific information about the amount.
161
- attr_accessor :amount_details
162
- # The frequency of the underlying payment.
163
- attr_accessor :cadence
164
- # Details about the capture configuration for the OffSessionPayment.
165
- attr_accessor :capture
166
- # Whether the OffSessionPayment should be captured automatically or manually.
167
- attr_accessor :capture_method
168
- # ID of the Customer to which this OffSessionPayment belongs.
169
- attr_accessor :customer
170
- # Set of [key-value pairs](https://docs.corp.stripe.com/api/metadata) that you can
171
- # attach to an object. This can be useful for storing additional information about
172
- # the object in a structured format. Learn more about
173
- # [storing information in metadata](https://docs.corp.stripe.com/payments/payment-intents#storing-information-in-metadata).
174
- attr_accessor :metadata
175
- # The account (if any) for which the funds of the OffSessionPayment are intended.
176
- attr_accessor :on_behalf_of
177
- # ID of the payment method used in this OffSessionPayment.
178
- attr_accessor :payment_method
179
- # Payment method options for the off-session payment.
180
- attr_accessor :payment_method_options
181
- # Details about the payments orchestration configuration.
182
- attr_accessor :payments_orchestration
183
- # Details about the OffSessionPayment retries.
184
- attr_accessor :retry_details
185
- # Text that appears on the customer’s statement as the statement descriptor for a
186
- # non-card charge. This value overrides the account’s default statement descriptor.
187
- # For information about requirements, including the 22-character limit, see the
188
- # [Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
189
- attr_accessor :statement_descriptor
190
- # Provides information about a card charge. Concatenated to the account’s
191
- # [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static)
192
- # to form the complete statement descriptor that appears on the customer’s statement.
193
- attr_accessor :statement_descriptor_suffix
194
- # Test clock that can be used to advance the retry attempts in a sandbox.
195
- attr_accessor :test_clock
196
- # The data that automatically creates a Transfer after the payment finalizes. Learn more about the use case for [connected accounts](https://docs.corp.stripe.com/payments/connected-accounts).
197
- attr_accessor :transfer_data
198
-
199
- def initialize(
200
- amount: nil,
201
- amount_details: nil,
202
- cadence: nil,
203
- capture: nil,
204
- capture_method: nil,
205
- customer: nil,
206
- metadata: nil,
207
- on_behalf_of: nil,
208
- payment_method: nil,
209
- payment_method_options: nil,
210
- payments_orchestration: nil,
211
- retry_details: nil,
212
- statement_descriptor: nil,
213
- statement_descriptor_suffix: nil,
214
- test_clock: nil,
215
- transfer_data: nil
216
- )
217
- @amount = amount
218
- @amount_details = amount_details
219
- @cadence = cadence
220
- @capture = capture
221
- @capture_method = capture_method
222
- @customer = customer
223
- @metadata = metadata
224
- @on_behalf_of = on_behalf_of
225
- @payment_method = payment_method
226
- @payment_method_options = payment_method_options
227
- @payments_orchestration = payments_orchestration
228
- @retry_details = retry_details
229
- @statement_descriptor = statement_descriptor
230
- @statement_descriptor_suffix = statement_descriptor_suffix
231
- @test_clock = test_clock
232
- @transfer_data = transfer_data
233
- end
234
- end
235
- end
236
- end
237
- end
@@ -1,17 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module V2
6
- module Payments
7
- class OffSessionPaymentListParams < ::Stripe::RequestParams
8
- # The page size limit. If not provided, the default is 20.
9
- attr_accessor :limit
10
-
11
- def initialize(limit: nil)
12
- @limit = limit
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,10 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module V2
6
- module Payments
7
- class OffSessionPaymentRetrieveParams < ::Stripe::RequestParams; end
8
- end
9
- end
10
- end
@@ -1,23 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module V2
6
- module TestHelpers
7
- class FinancialAddressCreditParams < ::Stripe::RequestParams
8
- # Object containing the amount value and currency to credit.
9
- attr_accessor :amount
10
- # Open Enum. The network to use in simulating the funds flow. This will be the reflected in the resulting ReceivedCredit.
11
- attr_accessor :network
12
- # String explaining funds flow. Use this field to populate the statement descriptor of the ReceivedCredit created as an eventual result of this simulation.
13
- attr_accessor :statement_descriptor
14
-
15
- def initialize(amount: nil, network: nil, statement_descriptor: nil)
16
- @amount = amount
17
- @network = network
18
- @statement_descriptor = statement_descriptor
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,10 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module V2
6
- module TestHelpers
7
- class FinancialAddressGenerateMicrodepositsParams < ::Stripe::RequestParams; end
8
- end
9
- end
10
- end
@@ -1,94 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- # A notice to a Connected account. Notice can be sent by Stripe on your behalf or you can opt to send the notices yourself.
6
- #
7
- # See the [guide to send notices](https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices) to your connected accounts.
8
- class AccountNotice < APIResource
9
- extend Stripe::APIOperations::List
10
- include Stripe::APIOperations::Save
11
-
12
- OBJECT_NAME = "account_notice"
13
- def self.object_name
14
- "account_notice"
15
- end
16
-
17
- class Email < ::Stripe::StripeObject
18
- # Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
19
- attr_reader :plain_text
20
- # Email address of the recipient.
21
- attr_reader :recipient
22
- # Subject of the email.
23
- attr_reader :subject
24
-
25
- def self.inner_class_types
26
- @inner_class_types = {}
27
- end
28
-
29
- def self.field_remappings
30
- @field_remappings = {}
31
- end
32
- end
33
-
34
- class LinkedObjects < ::Stripe::StripeObject
35
- # Associated [Capability](https://stripe.com/docs/api/capabilities)
36
- attr_reader :capability
37
- # Associated [Credit Underwriting Record](https://stripe.com/docs/api/issuing/credit_underwriting_record)
38
- attr_reader :issuing_credit_underwriting_record
39
- # Associated [Issuing Dispute](https://stripe.com/docs/api/issuing/disputes)
40
- attr_reader :issuing_dispute
41
-
42
- def self.inner_class_types
43
- @inner_class_types = {}
44
- end
45
-
46
- def self.field_remappings
47
- @field_remappings = {}
48
- end
49
- end
50
- # Time at which the object was created. Measured in seconds since the Unix epoch.
51
- attr_reader :created
52
- # When present, the deadline for sending the notice to meet the relevant regulations.
53
- attr_reader :deadline
54
- # Information about the email when sent.
55
- attr_reader :email
56
- # Unique identifier for the object.
57
- attr_reader :id
58
- # Information about objects related to the notice.
59
- attr_reader :linked_objects
60
- # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
61
- attr_reader :livemode
62
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
63
- attr_reader :metadata
64
- # String representing the object's type. Objects of the same type share the same value.
65
- attr_reader :object
66
- # Reason the notice is being sent. The reason determines what copy the notice must contain. See the [regulated customer notices](https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices) guide. All reasons might not apply to your integration, and Stripe might add new reasons in the future, so we recommend an internal warning when you receive an unknown reason.
67
- attr_reader :reason
68
- # Date when the notice was sent. When absent, you must send the notice, update the content of the email and date when it was sent.
69
- attr_reader :sent_at
70
-
71
- # Retrieves a list of AccountNotice objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.
72
- def self.list(params = {}, opts = {})
73
- request_stripe_object(method: :get, path: "/v1/account_notices", params: params, opts: opts)
74
- end
75
-
76
- # Updates an AccountNotice object.
77
- def self.update(account_notice, params = {}, opts = {})
78
- request_stripe_object(
79
- method: :post,
80
- path: format("/v1/account_notices/%<account_notice>s", { account_notice: CGI.escape(account_notice) }),
81
- params: params,
82
- opts: opts
83
- )
84
- end
85
-
86
- def self.inner_class_types
87
- @inner_class_types = { email: Email, linked_objects: LinkedObjects }
88
- end
89
-
90
- def self.field_remappings
91
- @field_remappings = {}
92
- end
93
- end
94
- end
@@ -1,33 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module Billing
6
- module Analytics
7
- # A billing meter usage event represents an aggregated view of a customer's billing meter events within a specified timeframe.
8
- class MeterUsage < SingletonAPIResource
9
- OBJECT_NAME = "billing.analytics.meter_usage"
10
- def self.object_name
11
- "billing.analytics.meter_usage"
12
- end
13
-
14
- # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
15
- attr_reader :livemode
16
- # String representing the object's type. Objects of the same type share the same value.
17
- attr_reader :object
18
- # The timestamp to indicate data freshness, measured in seconds since the Unix epoch.
19
- attr_reader :refreshed_at
20
- # Attribute for field rows
21
- attr_reader :rows
22
-
23
- def self.inner_class_types
24
- @inner_class_types = {}
25
- end
26
-
27
- def self.field_remappings
28
- @field_remappings = {}
29
- end
30
- end
31
- end
32
- end
33
- end
@@ -1,38 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module Billing
6
- module Analytics
7
- class MeterUsageRow < APIResource
8
- OBJECT_NAME = "billing.analytics.meter_usage_row"
9
- def self.object_name
10
- "billing.analytics.meter_usage_row"
11
- end
12
-
13
- # A set of key-value pairs representing the dimensions of the meter usage.
14
- attr_reader :dimensions
15
- # Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch.
16
- attr_reader :ends_at
17
- # Unique identifier for the object.
18
- attr_reader :id
19
- # The unique identifier for the meter. Null if no meters were provided and usage was aggregated across all meters.
20
- attr_reader :meter
21
- # String representing the object's type. Objects of the same type share the same value.
22
- attr_reader :object
23
- # Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch.
24
- attr_reader :starts_at
25
- # The aggregated meter usage value for the specified bucket.
26
- attr_reader :value
27
-
28
- def self.inner_class_types
29
- @inner_class_types = {}
30
- end
31
-
32
- def self.field_remappings
33
- @field_remappings = {}
34
- end
35
- end
36
- end
37
- end
38
- end