stripe 16.1.0.pre.alpha.1 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (880) 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 -1032
  6. data/lib/stripe/object_types.rb +0 -79
  7. data/lib/stripe/params/account_create_params.rb +1 -300
  8. data/lib/stripe/params/account_session_create_params.rb +1 -226
  9. data/lib/stripe/params/account_update_params.rb +0 -262
  10. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  11. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  12. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +2 -17
  13. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
  14. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -33
  15. data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
  16. data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
  17. data/lib/stripe/params/charge_capture_params.rb +0 -709
  18. data/lib/stripe/params/charge_update_params.rb +0 -709
  19. data/lib/stripe/params/checkout/session_create_params.rb +4 -273
  20. data/lib/stripe/params/checkout/session_list_params.rb +0 -4
  21. data/lib/stripe/params/checkout/session_update_params.rb +1 -288
  22. data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
  23. data/lib/stripe/params/coupon_create_params.rb +1 -17
  24. data/lib/stripe/params/credit_note_create_params.rb +1 -18
  25. data/lib/stripe/params/credit_note_list_params.rb +0 -4
  26. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -18
  27. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -18
  28. data/lib/stripe/params/credit_note_preview_params.rb +1 -18
  29. data/lib/stripe/params/customer_session_create_params.rb +1 -4
  30. data/lib/stripe/params/dispute_update_params.rb +1 -10
  31. data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
  32. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
  33. data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
  34. data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
  35. data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
  36. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -46
  37. data/lib/stripe/params/invoice_create_params.rb +2 -112
  38. data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
  39. data/lib/stripe/params/invoice_item_create_params.rb +1 -37
  40. data/lib/stripe/params/invoice_item_list_params.rb +0 -4
  41. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  42. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
  43. data/lib/stripe/params/invoice_list_params.rb +0 -8
  44. data/lib/stripe/params/invoice_payment_list_params.rb +1 -4
  45. data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
  46. data/lib/stripe/params/invoice_update_params.rb +2 -108
  47. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  48. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  49. data/lib/stripe/params/payment_intent_capture_params.rb +0 -895
  50. data/lib/stripe/params/payment_intent_confirm_params.rb +18 -1384
  51. data/lib/stripe/params/payment_intent_create_params.rb +16 -1390
  52. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -223
  53. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  54. data/lib/stripe/params/payment_intent_update_params.rb +4 -1409
  55. data/lib/stripe/params/payment_method_attach_params.rb +1 -4
  56. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
  57. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
  58. data/lib/stripe/params/payment_method_create_params.rb +0 -97
  59. data/lib/stripe/params/payment_method_update_params.rb +0 -19
  60. data/lib/stripe/params/price_update_params.rb +0 -19
  61. data/lib/stripe/params/promotion_code_create_params.rb +0 -4
  62. data/lib/stripe/params/promotion_code_list_params.rb +0 -4
  63. data/lib/stripe/params/quote_create_params.rb +3 -805
  64. data/lib/stripe/params/quote_list_params.rb +0 -8
  65. data/lib/stripe/params/quote_update_params.rb +4 -813
  66. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
  67. data/lib/stripe/params/setup_intent_create_params.rb +3 -231
  68. data/lib/stripe/params/setup_intent_list_params.rb +0 -4
  69. data/lib/stripe/params/setup_intent_update_params.rb +3 -231
  70. data/lib/stripe/params/subscription_create_params.rb +5 -259
  71. data/lib/stripe/params/subscription_item_create_params.rb +2 -46
  72. data/lib/stripe/params/subscription_item_update_params.rb +1 -29
  73. data/lib/stripe/params/subscription_list_params.rb +0 -4
  74. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
  75. data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
  76. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
  77. data/lib/stripe/params/subscription_update_params.rb +4 -238
  78. data/lib/stripe/params/tax_id_create_params.rb +1 -4
  79. data/lib/stripe/params/tax_id_list_params.rb +1 -4
  80. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  81. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  82. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
  83. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  84. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  85. data/lib/stripe/params/transfer_create_params.rb +0 -4
  86. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  87. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  88. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  89. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  90. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  91. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  92. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  93. data/lib/stripe/params.rb +0 -240
  94. data/lib/stripe/resources/account.rb +1 -166
  95. data/lib/stripe/resources/account_session.rb +0 -81
  96. data/lib/stripe/resources/billing/alert.rb +1 -105
  97. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  98. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -86
  99. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  100. data/lib/stripe/resources/billing/credit_grant.rb +2 -60
  101. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  102. data/lib/stripe/resources/card.rb +0 -2
  103. data/lib/stripe/resources/cash_balance.rb +0 -2
  104. data/lib/stripe/resources/charge.rb +1 -234
  105. data/lib/stripe/resources/checkout/session.rb +4 -246
  106. data/lib/stripe/resources/confirmation_token.rb +0 -155
  107. data/lib/stripe/resources/coupon.rb +1 -26
  108. data/lib/stripe/resources/credit_note.rb +1 -21
  109. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  110. data/lib/stripe/resources/customer.rb +0 -2
  111. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  112. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  113. data/lib/stripe/resources/customer_session.rb +0 -2
  114. data/lib/stripe/resources/discount.rb +0 -2
  115. data/lib/stripe/resources/dispute.rb +0 -22
  116. data/lib/stripe/resources/event.rb +1 -64
  117. data/lib/stripe/resources/financial_connections/account.rb +0 -27
  118. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  119. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  120. data/lib/stripe/resources/invoice.rb +1 -152
  121. data/lib/stripe/resources/invoice_item.rb +2 -94
  122. data/lib/stripe/resources/invoice_line_item.rb +1 -131
  123. data/lib/stripe/resources/invoice_payment.rb +0 -2
  124. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  125. data/lib/stripe/resources/line_item.rb +1 -68
  126. data/lib/stripe/resources/mandate.rb +0 -71
  127. data/lib/stripe/resources/payment_intent.rb +4 -848
  128. data/lib/stripe/resources/payment_method.rb +0 -157
  129. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  130. data/lib/stripe/resources/price.rb +0 -20
  131. data/lib/stripe/resources/promotion_code.rb +0 -2
  132. data/lib/stripe/resources/quote.rb +2 -571
  133. data/lib/stripe/resources/refund.rb +0 -18
  134. data/lib/stripe/resources/setup_attempt.rb +0 -63
  135. data/lib/stripe/resources/setup_intent.rb +1 -132
  136. data/lib/stripe/resources/source.rb +0 -38
  137. data/lib/stripe/resources/subscription.rb +0 -232
  138. data/lib/stripe/resources/subscription_item.rb +1 -20
  139. data/lib/stripe/resources/subscription_schedule.rb +3 -198
  140. data/lib/stripe/resources/tax_id.rb +0 -4
  141. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  142. data/lib/stripe/resources/terminal/reader.rb +0 -8
  143. data/lib/stripe/resources/transfer.rb +0 -2
  144. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  145. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  146. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  147. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  148. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  149. data/lib/stripe/resources/v2/core/event.rb +0 -4
  150. data/lib/stripe/resources.rb +0 -384
  151. data/lib/stripe/services/billing_service.rb +1 -2
  152. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  153. data/lib/stripe/services/financial_connections_service.rb +1 -2
  154. data/lib/stripe/services/issuing_service.rb +1 -5
  155. data/lib/stripe/services/mandate_service.rb +0 -5
  156. data/lib/stripe/services/payment_intent_service.rb +0 -44
  157. data/lib/stripe/services/quote_service.rb +1 -49
  158. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  159. data/lib/stripe/services/subscription_service.rb +0 -11
  160. data/lib/stripe/services/tax_service.rb +1 -3
  161. data/lib/stripe/services/terminal_service.rb +1 -3
  162. data/lib/stripe/services/v1_services.rb +1 -10
  163. data/lib/stripe/services/v2/billing_service.rb +1 -18
  164. data/lib/stripe/services/v2/core_service.rb +1 -5
  165. data/lib/stripe/services/v2_services.rb +1 -5
  166. data/lib/stripe/services.rb +0 -83
  167. data/lib/stripe/stripe_configuration.rb +1 -3
  168. data/lib/stripe/stripe_object.rb +7 -1
  169. data/lib/stripe/util.rb +1 -7
  170. data/lib/stripe/version.rb +1 -1
  171. data/lib/stripe.rb +0 -53
  172. data/rbi/stripe.rbi +98295 -169826
  173. metadata +4 -711
  174. data/lib/stripe/events/v1_account_updated_event.rb +0 -44
  175. data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
  176. data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
  177. data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
  178. data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
  179. data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
  180. data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
  181. data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
  182. data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
  183. data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
  184. data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
  185. data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
  186. data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
  187. data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
  188. data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
  189. data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
  190. data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
  191. data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
  192. data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
  193. data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
  194. data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
  195. data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
  196. data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
  197. data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
  198. data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
  199. data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
  200. data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
  201. data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
  202. data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
  203. data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
  204. data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
  205. data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
  206. data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
  207. data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
  208. data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
  209. data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
  210. data/lib/stripe/events/v1_customer_created_event.rb +0 -44
  211. data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
  212. data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
  213. data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
  214. data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
  215. data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
  216. data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
  217. data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
  218. data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
  219. data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
  220. data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
  221. data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
  222. data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
  223. data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
  224. data/lib/stripe/events/v1_file_created_event.rb +0 -44
  225. data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
  226. data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
  227. data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
  228. data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
  229. data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
  230. data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
  231. data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
  232. data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
  233. data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
  234. data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
  235. data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
  236. data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
  237. data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
  238. data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
  239. data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
  240. data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
  241. data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
  242. data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
  243. data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
  244. data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
  245. data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
  246. data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
  247. data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
  248. data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
  249. data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
  250. data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
  251. data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
  252. data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
  253. data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
  254. data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
  255. data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
  256. data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
  257. data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
  258. data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
  259. data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
  260. data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
  261. data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
  262. data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
  263. data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
  264. data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
  265. data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
  266. data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
  267. data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
  268. data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
  269. data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
  270. data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
  271. data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
  272. data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
  273. data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
  274. data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
  275. data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
  276. data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
  277. data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
  278. data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
  279. data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
  280. data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
  281. data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
  282. data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
  283. data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
  284. data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
  285. data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
  286. data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
  287. data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
  288. data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
  289. data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
  290. data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
  291. data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
  292. data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
  293. data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
  294. data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
  295. data/lib/stripe/events/v1_payout_created_event.rb +0 -44
  296. data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
  297. data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
  298. data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
  299. data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
  300. data/lib/stripe/events/v1_person_created_event.rb +0 -44
  301. data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
  302. data/lib/stripe/events/v1_person_updated_event.rb +0 -44
  303. data/lib/stripe/events/v1_plan_created_event.rb +0 -44
  304. data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
  305. data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
  306. data/lib/stripe/events/v1_price_created_event.rb +0 -44
  307. data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
  308. data/lib/stripe/events/v1_price_updated_event.rb +0 -44
  309. data/lib/stripe/events/v1_product_created_event.rb +0 -44
  310. data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
  311. data/lib/stripe/events/v1_product_updated_event.rb +0 -44
  312. data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
  313. data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
  314. data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
  315. data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
  316. data/lib/stripe/events/v1_quote_created_event.rb +0 -44
  317. data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
  318. data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +0 -44
  319. data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
  320. data/lib/stripe/events/v1_refund_created_event.rb +0 -44
  321. data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
  322. data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
  323. data/lib/stripe/events/v1_review_closed_event.rb +0 -44
  324. data/lib/stripe/events/v1_review_opened_event.rb +0 -44
  325. data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
  326. data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
  327. data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
  328. data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
  329. data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
  330. data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +0 -44
  331. data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
  332. data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
  333. data/lib/stripe/events/v1_source_failed_event.rb +0 -44
  334. data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
  335. data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
  336. data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
  337. data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
  338. data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
  339. data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
  340. data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
  341. data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
  342. data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
  343. data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
  344. data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
  345. data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
  346. data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
  347. data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
  348. data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
  349. data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
  350. data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
  351. data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
  352. data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
  353. data/lib/stripe/events/v1_topup_created_event.rb +0 -44
  354. data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
  355. data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
  356. data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
  357. data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
  358. data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
  359. data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
  360. data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
  361. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  362. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  363. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  364. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  365. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  366. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  367. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  368. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  369. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  370. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  371. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  372. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  373. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  374. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  375. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  376. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  377. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  378. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  379. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  380. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  381. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  382. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  383. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  384. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  385. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  386. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  387. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  388. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  389. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  390. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  391. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  392. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  393. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  394. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  395. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  396. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  397. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  398. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  399. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  400. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  401. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  402. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  403. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  404. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  405. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  406. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  407. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  408. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  409. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  410. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  411. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  412. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  413. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  414. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  415. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  416. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  417. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  418. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  419. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  420. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  421. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -66
  422. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -66
  423. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -64
  424. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -64
  425. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  426. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  427. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -66
  428. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -64
  429. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -62
  430. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -64
  431. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -64
  432. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -64
  433. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -62
  434. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -62
  435. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  436. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  437. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  438. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  439. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  440. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  441. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  442. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  443. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  444. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  445. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  446. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  447. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  448. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  449. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  450. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  451. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  452. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  453. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  454. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  455. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  456. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  457. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  458. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  459. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  460. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  461. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  462. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  463. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  464. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  465. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  466. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  467. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  468. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  469. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  470. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  471. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  472. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  473. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  474. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -44
  475. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  476. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  477. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  478. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  479. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  480. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  481. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  482. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  483. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  484. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  485. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  486. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  487. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  488. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  489. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  490. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  491. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  492. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  493. data/lib/stripe/params/external_account_create_params.rb +0 -134
  494. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  495. data/lib/stripe/params/external_account_list_params.rb +0 -25
  496. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  497. data/lib/stripe/params/external_account_update_params.rb +0 -91
  498. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  499. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  500. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  501. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  502. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  503. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  504. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  505. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  506. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  507. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  508. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  509. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  510. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  511. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  512. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  513. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  514. data/lib/stripe/params/mandate_list_params.rb +0 -39
  515. data/lib/stripe/params/margin_create_params.rb +0 -25
  516. data/lib/stripe/params/margin_list_params.rb +0 -25
  517. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  518. data/lib/stripe/params/margin_update_params.rb +0 -22
  519. data/lib/stripe/params/order_cancel_params.rb +0 -13
  520. data/lib/stripe/params/order_create_params.rb +0 -1124
  521. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  522. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  523. data/lib/stripe/params/order_list_params.rb +0 -25
  524. data/lib/stripe/params/order_reopen_params.rb +0 -13
  525. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  526. data/lib/stripe/params/order_submit_params.rb +0 -16
  527. data/lib/stripe/params/order_update_params.rb +0 -1128
  528. data/lib/stripe/params/payment_attempt_record_list_params.rb +0 -19
  529. data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +0 -13
  530. data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +0 -22
  531. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  532. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  533. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +0 -19
  534. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +0 -19
  535. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +0 -19
  536. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +0 -93
  537. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +0 -186
  538. data/lib/stripe/params/payment_record_report_payment_params.rb +0 -252
  539. data/lib/stripe/params/payment_record_retrieve_params.rb +0 -13
  540. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  541. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  542. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  543. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  544. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  545. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  546. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  547. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  548. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  549. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  550. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  551. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  552. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  553. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  554. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  555. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  556. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  557. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  558. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  559. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  560. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  561. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  562. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  563. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  564. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  565. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  566. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  567. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  568. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  569. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  570. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
  571. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
  572. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  573. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  574. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
  575. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  576. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  577. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  578. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  579. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  580. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  581. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  582. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  583. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  584. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  585. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  586. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  587. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
  588. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  589. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  590. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  591. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  592. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  593. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  594. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  595. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  596. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  597. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  598. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  599. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  600. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  601. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  602. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  603. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  604. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  605. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  606. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  607. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  608. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  609. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  610. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  611. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  612. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  613. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  614. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  615. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  616. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  617. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  618. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  619. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  620. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  621. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  622. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  623. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  624. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  625. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  626. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  627. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  628. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  629. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  630. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  631. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  632. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  633. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  634. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  635. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  636. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  637. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  638. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  639. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  640. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  641. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  642. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -254
  643. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  644. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  645. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  646. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2234
  647. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  648. data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
  649. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  650. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2262
  651. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  652. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  653. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  654. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  655. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  656. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  657. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  658. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  659. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  660. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  661. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  662. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  663. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  664. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  665. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  666. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  667. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  668. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  669. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  670. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  671. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  672. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  673. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
  674. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  675. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  676. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  677. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  678. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  679. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  680. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
  681. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  682. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  683. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  684. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  685. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  686. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
  687. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  688. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  689. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  690. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  691. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -81
  692. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  693. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  694. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  695. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  696. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  697. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  698. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  699. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  700. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  701. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  702. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  703. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  704. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  705. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  706. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  707. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  708. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  709. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  710. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  711. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  712. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  713. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  714. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  715. data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +0 -20
  716. data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +0 -10
  717. data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +0 -17
  718. data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +0 -10
  719. data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +0 -17
  720. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  721. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  722. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -23
  723. data/lib/stripe/resources/account_notice.rb +0 -94
  724. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  725. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  726. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  727. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  728. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  729. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  730. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  731. data/lib/stripe/resources/fx_quote.rb +0 -147
  732. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  733. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  734. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  735. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  736. data/lib/stripe/resources/margin.rb +0 -64
  737. data/lib/stripe/resources/order.rb +0 -987
  738. data/lib/stripe/resources/payment_attempt_record.rb +0 -2102
  739. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -128
  740. data/lib/stripe/resources/payment_record.rb +0 -2208
  741. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  742. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  743. data/lib/stripe/resources/quote_line.rb +0 -521
  744. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  745. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  746. data/lib/stripe/resources/tax/association.rb +0 -86
  747. data/lib/stripe/resources/tax/form.rb +0 -264
  748. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  749. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  750. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  751. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  752. data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
  753. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  754. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  755. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  756. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  757. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
  758. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  759. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  760. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  761. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  762. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  763. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  764. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  765. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  766. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  767. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  768. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  769. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  770. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  771. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  772. data/lib/stripe/resources/v2/billing/service_action.rb +0 -244
  773. data/lib/stripe/resources/v2/core/account.rb +0 -3885
  774. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  775. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  776. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  777. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  778. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
  779. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  780. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  781. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  782. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  783. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  784. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  785. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
  786. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  787. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  788. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -198
  789. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
  790. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  791. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  792. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -138
  793. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  794. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  795. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  796. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  797. data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
  798. data/lib/stripe/services/account_notice_service.rb +0 -39
  799. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  800. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  801. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  802. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  803. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  804. data/lib/stripe/services/capital_service.rb +0 -15
  805. data/lib/stripe/services/external_account_service.rb +0 -68
  806. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  807. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  808. data/lib/stripe/services/fx_quote_service.rb +0 -27
  809. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  810. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  811. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  812. data/lib/stripe/services/margin_service.rb +0 -50
  813. data/lib/stripe/services/order_line_item_service.rb +0 -17
  814. data/lib/stripe/services/order_service.rb +0 -78
  815. data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
  816. data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +0 -17
  817. data/lib/stripe/services/payment_record_service.rb +0 -89
  818. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  819. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  820. data/lib/stripe/services/privacy_service.rb +0 -13
  821. data/lib/stripe/services/quote_line_service.rb +0 -17
  822. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  823. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  824. data/lib/stripe/services/tax/association_service.rb +0 -19
  825. data/lib/stripe/services/tax/form_service.rb +0 -37
  826. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  827. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  828. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  829. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  830. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  831. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  832. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  833. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  834. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  835. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  836. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  837. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  838. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  839. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  840. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  841. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  842. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -43
  843. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  844. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  845. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  846. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  847. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  848. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  849. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  850. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  851. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  852. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  853. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  854. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  855. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -74
  856. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
  857. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  858. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  859. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
  860. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  861. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  862. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  863. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  864. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  865. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  866. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  867. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  868. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  869. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  870. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  871. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  872. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  873. data/lib/stripe/services/v2/money_management_service.rb +0 -33
  874. data/lib/stripe/services/v2/payment_service.rb +0 -15
  875. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  876. data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -65
  877. data/lib/stripe/services/v2/tax_service.rb +0 -15
  878. data/lib/stripe/services/v2/test_helper_service.rb +0 -16
  879. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
  880. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -27,44 +27,16 @@ module Stripe
27
27
  end
28
28
 
29
29
  class Discount < Stripe::RequestParams
30
- class DiscountEnd < Stripe::RequestParams
31
- class Duration < Stripe::RequestParams
32
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
33
- attr_accessor :interval
34
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
35
- attr_accessor :interval_count
36
-
37
- def initialize(interval: nil, interval_count: nil)
38
- @interval = interval
39
- @interval_count = interval_count
40
- end
41
- end
42
- # Time span for the redeemed discount.
43
- attr_accessor :duration
44
- # A precise Unix timestamp for the discount to end. Must be in the future.
45
- attr_accessor :timestamp
46
- # The type of calculation made to determine when the discount ends.
47
- attr_accessor :type
48
-
49
- def initialize(duration: nil, timestamp: nil, type: nil)
50
- @duration = duration
51
- @timestamp = timestamp
52
- @type = type
53
- end
54
- end
55
30
  # ID of the coupon to create a new discount for.
56
31
  attr_accessor :coupon
57
32
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
58
33
  attr_accessor :discount
59
- # Details to determine how long the discount should be applied for.
60
- attr_accessor :discount_end
61
34
  # ID of the promotion code to create a new discount for.
62
35
  attr_accessor :promotion_code
63
36
 
64
- def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
37
+ def initialize(coupon: nil, discount: nil, promotion_code: nil)
65
38
  @coupon = coupon
66
39
  @discount = discount
67
- @discount_end = discount_end
68
40
  @promotion_code = promotion_code
69
41
  end
70
42
  end
@@ -104,522 +76,18 @@ module Stripe
104
76
  end
105
77
  end
106
78
 
107
- class Line < Stripe::RequestParams
108
- class Action < Stripe::RequestParams
109
- class AddDiscount < Stripe::RequestParams
110
- class DiscountEnd < Stripe::RequestParams
111
- # The type of calculation made to determine when the discount ends.
112
- attr_accessor :type
113
-
114
- def initialize(type: nil)
115
- @type = type
116
- end
117
- end
118
- # The coupon code to redeem.
119
- attr_accessor :coupon
120
- # An ID of an existing discount for a coupon that was already redeemed.
121
- attr_accessor :discount
122
- # Details to determine how long the discount should be applied for.
123
- attr_accessor :discount_end
124
- # The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.
125
- attr_accessor :index
126
- # The promotion code to redeem.
127
- attr_accessor :promotion_code
128
-
129
- def initialize(
130
- coupon: nil,
131
- discount: nil,
132
- discount_end: nil,
133
- index: nil,
134
- promotion_code: nil
135
- )
136
- @coupon = coupon
137
- @discount = discount
138
- @discount_end = discount_end
139
- @index = index
140
- @promotion_code = promotion_code
141
- end
142
- end
143
-
144
- class AddItem < Stripe::RequestParams
145
- class Discount < Stripe::RequestParams
146
- class DiscountEnd < Stripe::RequestParams
147
- class Duration < Stripe::RequestParams
148
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
149
- attr_accessor :interval
150
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
151
- attr_accessor :interval_count
152
-
153
- def initialize(interval: nil, interval_count: nil)
154
- @interval = interval
155
- @interval_count = interval_count
156
- end
157
- end
158
- # Time span for the redeemed discount.
159
- attr_accessor :duration
160
- # A precise Unix timestamp for the discount to end. Must be in the future.
161
- attr_accessor :timestamp
162
- # The type of calculation made to determine when the discount ends.
163
- attr_accessor :type
164
-
165
- def initialize(duration: nil, timestamp: nil, type: nil)
166
- @duration = duration
167
- @timestamp = timestamp
168
- @type = type
169
- end
170
- end
171
- # ID of the coupon to create a new discount for.
172
- attr_accessor :coupon
173
- # ID of an existing discount on the object (or one of its ancestors) to reuse.
174
- attr_accessor :discount
175
- # Details to determine how long the discount should be applied for.
176
- attr_accessor :discount_end
177
- # ID of the promotion code to create a new discount for.
178
- attr_accessor :promotion_code
179
-
180
- def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
181
- @coupon = coupon
182
- @discount = discount
183
- @discount_end = discount_end
184
- @promotion_code = promotion_code
185
- end
186
- end
187
-
188
- class Trial < Stripe::RequestParams
189
- # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
190
- attr_accessor :converts_to
191
- # Determines the type of trial for this item.
192
- attr_accessor :type
193
-
194
- def initialize(converts_to: nil, type: nil)
195
- @converts_to = converts_to
196
- @type = type
197
- end
198
- end
199
- # The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
200
- attr_accessor :discounts
201
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
202
- attr_accessor :metadata
203
- # The ID of the price object.
204
- attr_accessor :price
205
- # Quantity for this item.
206
- attr_accessor :quantity
207
- # The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
208
- attr_accessor :tax_rates
209
- # Options that configure the trial on the subscription item.
210
- attr_accessor :trial
211
-
212
- def initialize(
213
- discounts: nil,
214
- metadata: nil,
215
- price: nil,
216
- quantity: nil,
217
- tax_rates: nil,
218
- trial: nil
219
- )
220
- @discounts = discounts
221
- @metadata = metadata
222
- @price = price
223
- @quantity = quantity
224
- @tax_rates = tax_rates
225
- @trial = trial
226
- end
227
- end
228
-
229
- class RemoveDiscount < Stripe::RequestParams
230
- # The coupon code to remove from the `discounts` array.
231
- attr_accessor :coupon
232
- # The ID of a discount to remove from the `discounts` array.
233
- attr_accessor :discount
234
- # The ID of a promotion code to remove from the `discounts` array.
235
- attr_accessor :promotion_code
236
-
237
- def initialize(coupon: nil, discount: nil, promotion_code: nil)
238
- @coupon = coupon
239
- @discount = discount
240
- @promotion_code = promotion_code
241
- end
242
- end
243
-
244
- class RemoveItem < Stripe::RequestParams
245
- # ID of a price to remove.
246
- attr_accessor :price
247
-
248
- def initialize(price: nil)
249
- @price = price
250
- end
251
- end
252
-
253
- class SetDiscount < Stripe::RequestParams
254
- # The coupon code to replace the `discounts` array with.
255
- attr_accessor :coupon
256
- # An ID of an existing discount to replace the `discounts` array with.
257
- attr_accessor :discount
258
- # An ID of an existing promotion code to replace the `discounts` array with.
259
- attr_accessor :promotion_code
260
-
261
- def initialize(coupon: nil, discount: nil, promotion_code: nil)
262
- @coupon = coupon
263
- @discount = discount
264
- @promotion_code = promotion_code
265
- end
266
- end
267
-
268
- class SetItem < Stripe::RequestParams
269
- class Discount < Stripe::RequestParams
270
- class DiscountEnd < Stripe::RequestParams
271
- class Duration < Stripe::RequestParams
272
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
273
- attr_accessor :interval
274
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
275
- attr_accessor :interval_count
276
-
277
- def initialize(interval: nil, interval_count: nil)
278
- @interval = interval
279
- @interval_count = interval_count
280
- end
281
- end
282
- # Time span for the redeemed discount.
283
- attr_accessor :duration
284
- # A precise Unix timestamp for the discount to end. Must be in the future.
285
- attr_accessor :timestamp
286
- # The type of calculation made to determine when the discount ends.
287
- attr_accessor :type
288
-
289
- def initialize(duration: nil, timestamp: nil, type: nil)
290
- @duration = duration
291
- @timestamp = timestamp
292
- @type = type
293
- end
294
- end
295
- # ID of the coupon to create a new discount for.
296
- attr_accessor :coupon
297
- # ID of an existing discount on the object (or one of its ancestors) to reuse.
298
- attr_accessor :discount
299
- # Details to determine how long the discount should be applied for.
300
- attr_accessor :discount_end
301
- # ID of the promotion code to create a new discount for.
302
- attr_accessor :promotion_code
303
-
304
- def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
305
- @coupon = coupon
306
- @discount = discount
307
- @discount_end = discount_end
308
- @promotion_code = promotion_code
309
- end
310
- end
311
-
312
- class Trial < Stripe::RequestParams
313
- # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
314
- attr_accessor :converts_to
315
- # Determines the type of trial for this item.
316
- attr_accessor :type
317
-
318
- def initialize(converts_to: nil, type: nil)
319
- @converts_to = converts_to
320
- @type = type
321
- end
322
- end
323
- # If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.
324
- attr_accessor :discounts
325
- # If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`.
326
- attr_accessor :metadata
327
- # The ID of the price object.
328
- attr_accessor :price
329
- # If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`.
330
- attr_accessor :quantity
331
- # If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.
332
- attr_accessor :tax_rates
333
- # If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.
334
- attr_accessor :trial
335
-
336
- def initialize(
337
- discounts: nil,
338
- metadata: nil,
339
- price: nil,
340
- quantity: nil,
341
- tax_rates: nil,
342
- trial: nil
343
- )
344
- @discounts = discounts
345
- @metadata = metadata
346
- @price = price
347
- @quantity = quantity
348
- @tax_rates = tax_rates
349
- @trial = trial
350
- end
351
- end
352
- # Details for the `add_discount` type.
353
- attr_accessor :add_discount
354
- # Details for the `add_item` type.
355
- attr_accessor :add_item
356
- # Details for the `add_metadata` type: specify a hash of key-value pairs.
357
- attr_accessor :add_metadata
358
- # Details for the `remove_discount` type.
359
- attr_accessor :remove_discount
360
- # Details for the `remove_item` type.
361
- attr_accessor :remove_item
362
- # Details for the `remove_metadata` type: specify an array of metadata keys.
363
- attr_accessor :remove_metadata
364
- # Details for the `set_discounts` type.
365
- attr_accessor :set_discounts
366
- # Details for the `set_items` type.
367
- attr_accessor :set_items
368
- # Details for the `set_metadata` type: specify an array of key-value pairs.
369
- attr_accessor :set_metadata
370
- # The type of action the quote line performs.
371
- attr_accessor :type
372
-
373
- def initialize(
374
- add_discount: nil,
375
- add_item: nil,
376
- add_metadata: nil,
377
- remove_discount: nil,
378
- remove_item: nil,
379
- remove_metadata: nil,
380
- set_discounts: nil,
381
- set_items: nil,
382
- set_metadata: nil,
383
- type: nil
384
- )
385
- @add_discount = add_discount
386
- @add_item = add_item
387
- @add_metadata = add_metadata
388
- @remove_discount = remove_discount
389
- @remove_item = remove_item
390
- @remove_metadata = remove_metadata
391
- @set_discounts = set_discounts
392
- @set_items = set_items
393
- @set_metadata = set_metadata
394
- @type = type
395
- end
396
- end
397
-
398
- class AppliesTo < Stripe::RequestParams
399
- # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
400
- attr_accessor :new_reference
401
- # The ID of the schedule the line applies to.
402
- attr_accessor :subscription_schedule
403
- # Describes whether the quote line is affecting a new schedule or an existing schedule.
404
- attr_accessor :type
405
-
406
- def initialize(new_reference: nil, subscription_schedule: nil, type: nil)
407
- @new_reference = new_reference
408
- @subscription_schedule = subscription_schedule
409
- @type = type
410
- end
411
- end
412
-
413
- class CancelSubscriptionSchedule < Stripe::RequestParams
414
- # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.
415
- attr_accessor :cancel_at
416
- # If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to `true`.
417
- attr_accessor :invoice_now
418
- # If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`.
419
- attr_accessor :prorate
420
-
421
- def initialize(cancel_at: nil, invoice_now: nil, prorate: nil)
422
- @cancel_at = cancel_at
423
- @invoice_now = invoice_now
424
- @prorate = prorate
425
- end
426
- end
427
-
428
- class EndsAt < Stripe::RequestParams
429
- class DiscountEnd < Stripe::RequestParams
430
- # The ID of a specific discount.
431
- attr_accessor :discount
432
-
433
- def initialize(discount: nil)
434
- @discount = discount
435
- end
436
- end
437
-
438
- class Duration < Stripe::RequestParams
439
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
440
- attr_accessor :interval
441
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
442
- attr_accessor :interval_count
443
-
444
- def initialize(interval: nil, interval_count: nil)
445
- @interval = interval
446
- @interval_count = interval_count
447
- end
448
- end
449
- # Use the `end` time of a given discount.
450
- attr_accessor :discount_end
451
- # Time span for the quote line starting from the `starts_at` date.
452
- attr_accessor :duration
453
- # A precise Unix timestamp.
454
- attr_accessor :timestamp
455
- # Select a way to pass in `ends_at`.
456
- attr_accessor :type
457
-
458
- def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil)
459
- @discount_end = discount_end
460
- @duration = duration
461
- @timestamp = timestamp
462
- @type = type
463
- end
464
- end
465
-
466
- class SetPauseCollection < Stripe::RequestParams
467
- class Set < Stripe::RequestParams
468
- # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
469
- attr_accessor :behavior
470
-
471
- def initialize(behavior: nil)
472
- @behavior = behavior
473
- end
474
- end
475
- # Details of the pause_collection behavior to apply to the amendment.
476
- attr_accessor :set
477
- # Determines the type of the pause_collection amendment.
478
- attr_accessor :type
479
-
480
- def initialize(set: nil, type: nil)
481
- @set = set
482
- @type = type
483
- end
484
- end
485
-
486
- class StartsAt < Stripe::RequestParams
487
- class DiscountEnd < Stripe::RequestParams
488
- # The ID of a specific discount.
489
- attr_accessor :discount
490
-
491
- def initialize(discount: nil)
492
- @discount = discount
493
- end
494
- end
495
-
496
- class LineEndsAt < Stripe::RequestParams
497
- # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
498
- attr_accessor :index
499
-
500
- def initialize(index: nil)
501
- @index = index
502
- end
503
- end
504
- # Use the `end` time of a given discount.
505
- attr_accessor :discount_end
506
- # The timestamp the given line ends at.
507
- attr_accessor :line_ends_at
508
- # A precise Unix timestamp.
509
- attr_accessor :timestamp
510
- # Select a way to pass in `starts_at`.
511
- attr_accessor :type
512
-
513
- def initialize(discount_end: nil, line_ends_at: nil, timestamp: nil, type: nil)
514
- @discount_end = discount_end
515
- @line_ends_at = line_ends_at
516
- @timestamp = timestamp
517
- @type = type
518
- end
519
- end
520
-
521
- class TrialSettings < Stripe::RequestParams
522
- class EndBehavior < Stripe::RequestParams
523
- # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
524
- attr_accessor :prorate_up_front
525
-
526
- def initialize(prorate_up_front: nil)
527
- @prorate_up_front = prorate_up_front
528
- end
529
- end
530
- # Defines how the subscription should behave when a trial ends.
531
- attr_accessor :end_behavior
532
-
533
- def initialize(end_behavior: nil)
534
- @end_behavior = end_behavior
535
- end
536
- end
537
- # An array of operations the quote line performs.
538
- attr_accessor :actions
539
- # Details to identify the subscription schedule the quote line applies to.
540
- attr_accessor :applies_to
541
- # For point-in-time quote lines (having no `ends_at` timestamp), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the Quote Line `starts_at` timestamp.For time-span based quote lines (having both `starts_at` and `ends_at`), the only valid value is `automatic`, which removes any previously configured billing cycle anchor resets during the window of time spanning the quote line.
542
- attr_accessor :billing_cycle_anchor
543
- # A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with `quote_acceptance_date` for `starts_at`. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for modifications to the metadata, collection_method or invoice_settings.
544
- attr_accessor :cancel_subscription_schedule
545
- # Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at `starts_at`, and a restricted set of attributes is supported on the quote line.
546
- attr_accessor :ends_at
547
- # Changes to how Stripe handles prorations during the quote line's time span. Affects if and how prorations are created when a future phase starts.
548
- attr_accessor :proration_behavior
549
- # Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
550
- attr_accessor :set_pause_collection
551
- # Timestamp helper to end the underlying schedule early, based on the acompanying line's start or end date.
552
- attr_accessor :set_schedule_end
553
- # Details to identify the earliest timestamp where the proposed change should take effect.
554
- attr_accessor :starts_at
555
- # Settings related to subscription trials.
556
- attr_accessor :trial_settings
557
-
558
- def initialize(
559
- actions: nil,
560
- applies_to: nil,
561
- billing_cycle_anchor: nil,
562
- cancel_subscription_schedule: nil,
563
- ends_at: nil,
564
- proration_behavior: nil,
565
- set_pause_collection: nil,
566
- set_schedule_end: nil,
567
- starts_at: nil,
568
- trial_settings: nil
569
- )
570
- @actions = actions
571
- @applies_to = applies_to
572
- @billing_cycle_anchor = billing_cycle_anchor
573
- @cancel_subscription_schedule = cancel_subscription_schedule
574
- @ends_at = ends_at
575
- @proration_behavior = proration_behavior
576
- @set_pause_collection = set_pause_collection
577
- @set_schedule_end = set_schedule_end
578
- @starts_at = starts_at
579
- @trial_settings = trial_settings
580
- end
581
- end
582
-
583
79
  class LineItem < Stripe::RequestParams
584
80
  class Discount < Stripe::RequestParams
585
- class DiscountEnd < Stripe::RequestParams
586
- class Duration < Stripe::RequestParams
587
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
588
- attr_accessor :interval
589
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
590
- attr_accessor :interval_count
591
-
592
- def initialize(interval: nil, interval_count: nil)
593
- @interval = interval
594
- @interval_count = interval_count
595
- end
596
- end
597
- # Time span for the redeemed discount.
598
- attr_accessor :duration
599
- # A precise Unix timestamp for the discount to end. Must be in the future.
600
- attr_accessor :timestamp
601
- # The type of calculation made to determine when the discount ends.
602
- attr_accessor :type
603
-
604
- def initialize(duration: nil, timestamp: nil, type: nil)
605
- @duration = duration
606
- @timestamp = timestamp
607
- @type = type
608
- end
609
- end
610
81
  # ID of the coupon to create a new discount for.
611
82
  attr_accessor :coupon
612
83
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
613
84
  attr_accessor :discount
614
- # Details to determine how long the discount should be applied for.
615
- attr_accessor :discount_end
616
85
  # ID of the promotion code to create a new discount for.
617
86
  attr_accessor :promotion_code
618
87
 
619
- def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
88
+ def initialize(coupon: nil, discount: nil, promotion_code: nil)
620
89
  @coupon = coupon
621
90
  @discount = discount
622
- @discount_end = discount_end
623
91
  @promotion_code = promotion_code
624
92
  end
625
93
  end
@@ -686,84 +154,6 @@ module Stripe
686
154
  end
687
155
 
688
156
  class SubscriptionData < Stripe::RequestParams
689
- class BillOnAcceptance < Stripe::RequestParams
690
- class BillFrom < Stripe::RequestParams
691
- class LineStartsAt < Stripe::RequestParams
692
- # The ID of a quote line.
693
- attr_accessor :id
694
- # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
695
- attr_accessor :index
696
-
697
- def initialize(id: nil, index: nil)
698
- @id = id
699
- @index = index
700
- end
701
- end
702
- # Details of a Quote line to start the bill period from.
703
- attr_accessor :line_starts_at
704
- # A precise Unix timestamp.
705
- attr_accessor :timestamp
706
- # The type of method to specify the `bill_from` time.
707
- attr_accessor :type
708
-
709
- def initialize(line_starts_at: nil, timestamp: nil, type: nil)
710
- @line_starts_at = line_starts_at
711
- @timestamp = timestamp
712
- @type = type
713
- end
714
- end
715
-
716
- class BillUntil < Stripe::RequestParams
717
- class Duration < Stripe::RequestParams
718
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
719
- attr_accessor :interval
720
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
721
- attr_accessor :interval_count
722
-
723
- def initialize(interval: nil, interval_count: nil)
724
- @interval = interval
725
- @interval_count = interval_count
726
- end
727
- end
728
-
729
- class LineEndsAt < Stripe::RequestParams
730
- # The ID of a quote line.
731
- attr_accessor :id
732
- # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
733
- attr_accessor :index
734
-
735
- def initialize(id: nil, index: nil)
736
- @id = id
737
- @index = index
738
- end
739
- end
740
- # Details of the duration over which to bill.
741
- attr_accessor :duration
742
- # Details of a Quote line item from which to bill until.
743
- attr_accessor :line_ends_at
744
- # A precise Unix timestamp.
745
- attr_accessor :timestamp
746
- # The type of method to specify the `bill_until` time.
747
- attr_accessor :type
748
-
749
- def initialize(duration: nil, line_ends_at: nil, timestamp: nil, type: nil)
750
- @duration = duration
751
- @line_ends_at = line_ends_at
752
- @timestamp = timestamp
753
- @type = type
754
- end
755
- end
756
- # The start of the period to bill from when the Quote is accepted.
757
- attr_accessor :bill_from
758
- # The end of the period to bill until when the Quote is accepted.
759
- attr_accessor :bill_until
760
-
761
- def initialize(bill_from: nil, bill_until: nil)
762
- @bill_from = bill_from
763
- @bill_until = bill_until
764
- end
765
- end
766
-
767
157
  class BillingMode < Stripe::RequestParams
768
158
  class Flexible < Stripe::RequestParams
769
159
  # Controls how invoices and invoice items display proration amounts and discount amounts.
@@ -783,208 +173,32 @@ module Stripe
783
173
  @type = type
784
174
  end
785
175
  end
786
-
787
- class Prebilling < Stripe::RequestParams
788
- # This is used to determine the number of billing cycles to prebill.
789
- attr_accessor :iterations
790
-
791
- def initialize(iterations: nil)
792
- @iterations = iterations
793
- end
794
- end
795
- # Describes the period to bill for upon accepting the quote.
796
- attr_accessor :bill_on_acceptance
797
- # Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
798
- attr_accessor :billing_behavior
799
- # When specified as `reset`, the subscription will always start a new billing period when the quote is accepted.
800
- attr_accessor :billing_cycle_anchor
801
176
  # Controls how prorations and invoices for subscriptions are calculated and orchestrated.
802
177
  attr_accessor :billing_mode
803
178
  # The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
804
179
  attr_accessor :description
805
- # When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special value `current_period_end` can be provided to update a subscription at the end of its current period. The `effective_date` is ignored if it is in the past when the quote is accepted.
180
+ # When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. The `effective_date` is ignored if it is in the past when the quote is accepted.
806
181
  attr_accessor :effective_date
807
- # Behavior of the subscription schedule and underlying subscription when it ends.
808
- attr_accessor :end_behavior
809
- # The id of a subscription that the quote will update. By default, the quote will contain the state of the subscription (such as line items, collection method and billing thresholds) unless overridden.
810
- attr_accessor :from_subscription
811
182
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values.
812
183
  attr_accessor :metadata
813
- # If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`.
814
- attr_accessor :prebilling
815
- # Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations). When creating a subscription, valid values are `create_prorations` or `none`.
816
- #
817
- # When updating a subscription, valid values are `create_prorations`, `none`, or `always_invoice`.
818
- #
819
- # Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://stripe.com/docs/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`.
820
- #
821
- # Prorations can be disabled by passing `none`.
822
- attr_accessor :proration_behavior
823
184
  # Integer representing the number of trial period days before the customer is charged for the first time.
824
185
  attr_accessor :trial_period_days
825
186
 
826
187
  def initialize(
827
- bill_on_acceptance: nil,
828
- billing_behavior: nil,
829
- billing_cycle_anchor: nil,
830
188
  billing_mode: nil,
831
189
  description: nil,
832
190
  effective_date: nil,
833
- end_behavior: nil,
834
- from_subscription: nil,
835
191
  metadata: nil,
836
- prebilling: nil,
837
- proration_behavior: nil,
838
192
  trial_period_days: nil
839
193
  )
840
- @bill_on_acceptance = bill_on_acceptance
841
- @billing_behavior = billing_behavior
842
- @billing_cycle_anchor = billing_cycle_anchor
843
194
  @billing_mode = billing_mode
844
195
  @description = description
845
196
  @effective_date = effective_date
846
- @end_behavior = end_behavior
847
- @from_subscription = from_subscription
848
197
  @metadata = metadata
849
- @prebilling = prebilling
850
- @proration_behavior = proration_behavior
851
198
  @trial_period_days = trial_period_days
852
199
  end
853
200
  end
854
201
 
855
- class SubscriptionDataOverride < Stripe::RequestParams
856
- class AppliesTo < Stripe::RequestParams
857
- # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
858
- attr_accessor :new_reference
859
- # The ID of the schedule the line applies to.
860
- attr_accessor :subscription_schedule
861
- # Describes whether the quote line is affecting a new schedule or an existing schedule.
862
- attr_accessor :type
863
-
864
- def initialize(new_reference: nil, subscription_schedule: nil, type: nil)
865
- @new_reference = new_reference
866
- @subscription_schedule = subscription_schedule
867
- @type = type
868
- end
869
- end
870
-
871
- class BillOnAcceptance < Stripe::RequestParams
872
- class BillFrom < Stripe::RequestParams
873
- class LineStartsAt < Stripe::RequestParams
874
- # The ID of a quote line.
875
- attr_accessor :id
876
- # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
877
- attr_accessor :index
878
-
879
- def initialize(id: nil, index: nil)
880
- @id = id
881
- @index = index
882
- end
883
- end
884
- # Details of a Quote line to start the bill period from.
885
- attr_accessor :line_starts_at
886
- # A precise Unix timestamp.
887
- attr_accessor :timestamp
888
- # The type of method to specify the `bill_from` time.
889
- attr_accessor :type
890
-
891
- def initialize(line_starts_at: nil, timestamp: nil, type: nil)
892
- @line_starts_at = line_starts_at
893
- @timestamp = timestamp
894
- @type = type
895
- end
896
- end
897
-
898
- class BillUntil < Stripe::RequestParams
899
- class Duration < Stripe::RequestParams
900
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
901
- attr_accessor :interval
902
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
903
- attr_accessor :interval_count
904
-
905
- def initialize(interval: nil, interval_count: nil)
906
- @interval = interval
907
- @interval_count = interval_count
908
- end
909
- end
910
-
911
- class LineEndsAt < Stripe::RequestParams
912
- # The ID of a quote line.
913
- attr_accessor :id
914
- # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
915
- attr_accessor :index
916
-
917
- def initialize(id: nil, index: nil)
918
- @id = id
919
- @index = index
920
- end
921
- end
922
- # Details of the duration over which to bill.
923
- attr_accessor :duration
924
- # Details of a Quote line item from which to bill until.
925
- attr_accessor :line_ends_at
926
- # A precise Unix timestamp.
927
- attr_accessor :timestamp
928
- # The type of method to specify the `bill_until` time.
929
- attr_accessor :type
930
-
931
- def initialize(duration: nil, line_ends_at: nil, timestamp: nil, type: nil)
932
- @duration = duration
933
- @line_ends_at = line_ends_at
934
- @timestamp = timestamp
935
- @type = type
936
- end
937
- end
938
- # The start of the period to bill from when the Quote is accepted.
939
- attr_accessor :bill_from
940
- # The end of the period to bill until when the Quote is accepted.
941
- attr_accessor :bill_until
942
-
943
- def initialize(bill_from: nil, bill_until: nil)
944
- @bill_from = bill_from
945
- @bill_until = bill_until
946
- end
947
- end
948
- # Whether the override applies to an existing Subscription Schedule or a new Subscription Schedule.
949
- attr_accessor :applies_to
950
- # Describes the period to bill for upon accepting the quote.
951
- attr_accessor :bill_on_acceptance
952
- # Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
953
- attr_accessor :billing_behavior
954
- # The customer the Subscription Data override applies to. This is only relevant when `applies_to.type=new_reference`.
955
- attr_accessor :customer
956
- # The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
957
- attr_accessor :description
958
- # Behavior of the subscription schedule and underlying subscription when it ends.
959
- attr_accessor :end_behavior
960
- # Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations). When creating a subscription, valid values are `create_prorations` or `none`.
961
- #
962
- # When updating a subscription, valid values are `create_prorations`, `none`, or `always_invoice`.
963
- #
964
- # Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://stripe.com/docs/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`.
965
- #
966
- # Prorations can be disabled by passing `none`.
967
- attr_accessor :proration_behavior
968
-
969
- def initialize(
970
- applies_to: nil,
971
- bill_on_acceptance: nil,
972
- billing_behavior: nil,
973
- customer: nil,
974
- description: nil,
975
- end_behavior: nil,
976
- proration_behavior: nil
977
- )
978
- @applies_to = applies_to
979
- @bill_on_acceptance = bill_on_acceptance
980
- @billing_behavior = billing_behavior
981
- @customer = customer
982
- @description = description
983
- @end_behavior = end_behavior
984
- @proration_behavior = proration_behavior
985
- end
986
- end
987
-
988
202
  class TransferData < Stripe::RequestParams
989
203
  # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field.
990
204
  attr_accessor :amount
@@ -999,8 +213,6 @@ module Stripe
999
213
  @destination = destination
1000
214
  end
1001
215
  end
1002
- # Set to true to allow quote lines to have `starts_at` in the past if collection is paused between `starts_at` and now.
1003
- attr_accessor :allow_backdated_lines
1004
216
  # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. There cannot be any line items with recurring prices when using this field.
1005
217
  attr_accessor :application_fee_amount
1006
218
  # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. There must be at least 1 line item with a recurring price to use this field.
@@ -1011,8 +223,6 @@ module Stripe
1011
223
  attr_accessor :collection_method
1012
224
  # The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.
1013
225
  attr_accessor :customer
1014
- # The account for which this quote belongs to. A customer or account is required before finalizing the quote. Once specified, it cannot be changed.
1015
- attr_accessor :customer_account
1016
226
  # The tax rates that will apply to any line item that does not have `tax_rates` set.
1017
227
  attr_accessor :default_tax_rates
1018
228
  # A description that will be displayed on the quote PDF. If no value is passed, the default description configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used.
@@ -1033,29 +243,23 @@ module Stripe
1033
243
  attr_accessor :invoice_settings
1034
244
  # A list of line items the customer is being quoted for. Each line item includes information about the product, the quantity, and the resulting cost.
1035
245
  attr_accessor :line_items
1036
- # A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
1037
- attr_accessor :lines
1038
246
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1039
247
  attr_accessor :metadata
1040
248
  # The account on behalf of which to charge.
1041
249
  attr_accessor :on_behalf_of
1042
250
  # When creating a subscription or subscription schedule, the specified configuration data will be used. There must be at least one line item with a recurring price for a subscription or subscription schedule to be created. A subscription schedule is created if `subscription_data[effective_date]` is present and in the future, otherwise a subscription is created.
1043
251
  attr_accessor :subscription_data
1044
- # List representing overrides for `subscription_data` configurations for specific subscription schedules.
1045
- attr_accessor :subscription_data_overrides
1046
252
  # ID of the test clock to attach to the quote.
1047
253
  attr_accessor :test_clock
1048
254
  # The data with which to automatically create a Transfer for each of the invoices.
1049
255
  attr_accessor :transfer_data
1050
256
 
1051
257
  def initialize(
1052
- allow_backdated_lines: nil,
1053
258
  application_fee_amount: nil,
1054
259
  application_fee_percent: nil,
1055
260
  automatic_tax: nil,
1056
261
  collection_method: nil,
1057
262
  customer: nil,
1058
- customer_account: nil,
1059
263
  default_tax_rates: nil,
1060
264
  description: nil,
1061
265
  discounts: nil,
@@ -1066,21 +270,17 @@ module Stripe
1066
270
  header: nil,
1067
271
  invoice_settings: nil,
1068
272
  line_items: nil,
1069
- lines: nil,
1070
273
  metadata: nil,
1071
274
  on_behalf_of: nil,
1072
275
  subscription_data: nil,
1073
- subscription_data_overrides: nil,
1074
276
  test_clock: nil,
1075
277
  transfer_data: nil
1076
278
  )
1077
- @allow_backdated_lines = allow_backdated_lines
1078
279
  @application_fee_amount = application_fee_amount
1079
280
  @application_fee_percent = application_fee_percent
1080
281
  @automatic_tax = automatic_tax
1081
282
  @collection_method = collection_method
1082
283
  @customer = customer
1083
- @customer_account = customer_account
1084
284
  @default_tax_rates = default_tax_rates
1085
285
  @description = description
1086
286
  @discounts = discounts
@@ -1091,11 +291,9 @@ module Stripe
1091
291
  @header = header
1092
292
  @invoice_settings = invoice_settings
1093
293
  @line_items = line_items
1094
- @lines = lines
1095
294
  @metadata = metadata
1096
295
  @on_behalf_of = on_behalf_of
1097
296
  @subscription_data = subscription_data
1098
- @subscription_data_overrides = subscription_data_overrides
1099
297
  @test_clock = test_clock
1100
298
  @transfer_data = transfer_data
1101
299
  end