stripe 18.1.0.pre.alpha.2 → 18.1.0.pre.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/event_types.rb +0 -284
  3. data/lib/stripe/object_types.rb +0 -33
  4. data/lib/stripe/params/account_create_params.rb +0 -32
  5. data/lib/stripe/params/account_person_create_params.rb +0 -32
  6. data/lib/stripe/params/account_person_update_params.rb +0 -32
  7. data/lib/stripe/params/account_update_params.rb +0 -32
  8. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  9. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  10. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +1 -5
  11. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -13
  12. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -29
  13. data/lib/stripe/params/billing/meter_create_params.rb +0 -4
  14. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
  15. data/lib/stripe/params/checkout/session_create_params.rb +1 -80
  16. data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
  17. data/lib/stripe/params/invoice_create_preview_params.rb +7 -126
  18. data/lib/stripe/params/invoice_list_params.rb +0 -4
  19. data/lib/stripe/params/payment_intent_confirm_params.rb +0 -34
  20. data/lib/stripe/params/payment_intent_create_params.rb +0 -34
  21. data/lib/stripe/params/payment_intent_update_params.rb +0 -34
  22. data/lib/stripe/params/quote_create_params.rb +3 -223
  23. data/lib/stripe/params/quote_update_params.rb +3 -223
  24. data/lib/stripe/params/setup_intent_confirm_params.rb +0 -29
  25. data/lib/stripe/params/setup_intent_create_params.rb +0 -29
  26. data/lib/stripe/params/setup_intent_update_params.rb +1 -30
  27. data/lib/stripe/params/subscription_create_params.rb +1 -17
  28. data/lib/stripe/params/subscription_item_create_params.rb +1 -17
  29. data/lib/stripe/params/subscription_item_update_params.rb +1 -17
  30. data/lib/stripe/params/subscription_schedule_amend_params.rb +3 -42
  31. data/lib/stripe/params/subscription_schedule_create_params.rb +4 -72
  32. data/lib/stripe/params/subscription_schedule_update_params.rb +4 -72
  33. data/lib/stripe/params/subscription_update_params.rb +1 -17
  34. data/lib/stripe/params/token_create_params.rb +0 -64
  35. data/lib/stripe/params/transfer_create_params.rb +0 -4
  36. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +1 -8
  37. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -4
  38. data/lib/stripe/params/v2/billing/cadence_update_params.rb +1 -4
  39. data/lib/stripe/params/v2/core/account_create_params.rb +8 -725
  40. data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -259
  41. data/lib/stripe/params/v2/core/account_update_params.rb +8 -711
  42. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +1 -12
  43. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -12
  44. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -16
  45. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -12
  46. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -19
  47. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -16
  48. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -11
  49. data/lib/stripe/params.rb +0 -100
  50. data/lib/stripe/resources/application_fee.rb +0 -2
  51. data/lib/stripe/resources/balance.rb +0 -83
  52. data/lib/stripe/resources/billing/alert.rb +1 -105
  53. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  54. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -2
  55. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
  56. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  57. data/lib/stripe/resources/billing/credit_grant.rb +2 -58
  58. data/lib/stripe/resources/billing/meter.rb +0 -2
  59. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
  60. data/lib/stripe/resources/capital/financing_offer.rb +0 -41
  61. data/lib/stripe/resources/card.rb +1 -18
  62. data/lib/stripe/resources/charge.rb +0 -18
  63. data/lib/stripe/resources/checkout/session.rb +0 -92
  64. data/lib/stripe/resources/confirmation_token.rb +0 -18
  65. data/lib/stripe/resources/discount.rb +0 -2
  66. data/lib/stripe/resources/identity/verification_report.rb +0 -4
  67. data/lib/stripe/resources/invoice.rb +0 -16
  68. data/lib/stripe/resources/invoice_item.rb +2 -106
  69. data/lib/stripe/resources/invoice_line_item.rb +1 -107
  70. data/lib/stripe/resources/payment_intent.rb +0 -44
  71. data/lib/stripe/resources/payment_method.rb +0 -38
  72. data/lib/stripe/resources/person.rb +0 -36
  73. data/lib/stripe/resources/quote.rb +1 -238
  74. data/lib/stripe/resources/quote_line.rb +0 -6
  75. data/lib/stripe/resources/quote_preview_invoice.rb +0 -16
  76. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -94
  77. data/lib/stripe/resources/setup_intent.rb +0 -40
  78. data/lib/stripe/resources/subscription.rb +1 -20
  79. data/lib/stripe/resources/subscription_item.rb +1 -24
  80. data/lib/stripe/resources/subscription_schedule.rb +0 -94
  81. data/lib/stripe/resources/transfer.rb +0 -4
  82. data/lib/stripe/resources/v2/billing/cadence.rb +0 -46
  83. data/lib/stripe/resources/v2/core/account.rb +6 -1095
  84. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +1 -15
  85. data/lib/stripe/resources/v2/money_management/adjustment.rb +1 -16
  86. data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -49
  87. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +3 -52
  88. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -48
  89. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +3 -61
  90. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +2 -48
  91. data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -29
  92. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -34
  93. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -36
  94. data/lib/stripe/resources/v2/money_management/transaction.rb +1 -65
  95. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +1 -49
  96. data/lib/stripe/resources.rb +0 -107
  97. data/lib/stripe/services/identity_service.rb +1 -2
  98. data/lib/stripe/services/issuing_service.rb +1 -2
  99. data/lib/stripe/services/payment_method_service.rb +0 -11
  100. data/lib/stripe/services/radar_service.rb +1 -2
  101. data/lib/stripe/services/test_helpers_service.rb +1 -2
  102. data/lib/stripe/services/v1_services.rb +1 -3
  103. data/lib/stripe/services/v2/billing_service.rb +1 -14
  104. data/lib/stripe/services/v2/core_service.rb +1 -2
  105. data/lib/stripe/services/v2/money_management_service.rb +1 -5
  106. data/lib/stripe/services/v2/test_helper_service.rb +1 -2
  107. data/lib/stripe/services/v2_services.rb +1 -3
  108. data/lib/stripe/services.rb +0 -35
  109. data/lib/stripe/version.rb +1 -1
  110. data/rbi/stripe.rbi +431 -17910
  111. metadata +2 -244
  112. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  113. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  114. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  115. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  116. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  117. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  118. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  119. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  120. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  121. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  122. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  123. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  124. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  125. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  126. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  127. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  128. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  129. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  130. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  131. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  132. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  133. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  134. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  135. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  136. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  137. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  138. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  139. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  140. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  141. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  142. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  143. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  144. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  145. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  146. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  147. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  148. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  149. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
  150. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
  151. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  152. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  153. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  154. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  155. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  156. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -68
  157. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -68
  158. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -66
  159. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -66
  160. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  161. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  162. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
  163. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
  164. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
  165. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
  166. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
  167. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -64
  168. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -64
  169. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  170. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  171. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  172. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  173. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  174. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  175. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
  176. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
  177. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
  178. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
  179. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  180. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  181. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  182. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  183. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  184. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
  185. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
  186. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
  187. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
  188. data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
  189. data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
  190. data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
  191. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
  192. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
  193. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
  194. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
  195. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
  196. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
  197. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
  198. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
  199. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
  200. data/lib/stripe/params/issuing/program_create_params.rb +0 -21
  201. data/lib/stripe/params/issuing/program_list_params.rb +0 -24
  202. data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
  203. data/lib/stripe/params/issuing/program_update_params.rb +0 -21
  204. data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
  205. data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
  206. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
  207. data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -18
  208. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
  209. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
  210. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  211. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  212. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  213. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  214. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  215. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  216. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
  217. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  218. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  219. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  220. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  221. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  222. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  223. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  224. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  225. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  226. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  227. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  228. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  229. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  230. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  231. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  232. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  233. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  234. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  235. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  236. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  237. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  238. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  239. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  240. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  241. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  242. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  243. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  244. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
  245. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  246. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  247. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  248. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  249. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  250. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  251. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  252. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  253. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  254. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  255. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  256. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  257. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  258. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  259. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  260. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  261. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  262. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  263. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  264. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  265. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  266. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  267. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  268. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
  269. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  270. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  271. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  272. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  273. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -68
  274. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
  275. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
  276. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  277. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  278. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  279. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  280. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
  281. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
  282. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  283. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  284. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
  285. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
  286. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
  287. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
  288. data/lib/stripe/resources/balance_transfer.rb +0 -139
  289. data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -434
  290. data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
  291. data/lib/stripe/resources/issuing/program.rb +0 -69
  292. data/lib/stripe/resources/payment_method_balance.rb +0 -68
  293. data/lib/stripe/resources/radar/account_evaluation.rb +0 -116
  294. data/lib/stripe/resources/transit_balance.rb +0 -45
  295. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  296. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  297. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
  298. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  299. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  300. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  301. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  302. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  303. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  304. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  305. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  306. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
  307. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  308. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  309. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  310. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  311. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  312. data/lib/stripe/resources/v2/billing/service_action.rb +0 -274
  313. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  314. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
  315. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  316. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
  317. data/lib/stripe/resources/v2/reporting/report.rb +0 -116
  318. data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
  319. data/lib/stripe/services/balance_transfer_service.rb +0 -17
  320. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
  321. data/lib/stripe/services/delegated_checkout_service.rb +0 -13
  322. data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
  323. data/lib/stripe/services/issuing/program_service.rb +0 -52
  324. data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
  325. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
  326. data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
  327. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  328. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  329. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  330. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  331. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  332. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  333. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  334. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  335. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  336. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
  337. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
  338. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  339. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  340. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  341. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  342. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  343. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  344. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  345. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  346. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
  347. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  348. data/lib/stripe/services/v2/payment_service.rb +0 -15
  349. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  350. data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
  351. data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
  352. data/lib/stripe/services/v2/reporting_service.rb +0 -16
  353. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -588,118 +588,6 @@ module Stripe
588
588
  end
589
589
  end
590
590
 
591
- class BillingSchedule < ::Stripe::StripeObject
592
- class AppliesTo < ::Stripe::StripeObject
593
- # The billing schedule will apply to the subscription item with the given price ID.
594
- attr_reader :price
595
- # Controls which subscription items the billing schedule applies to.
596
- attr_reader :type
597
-
598
- def self.inner_class_types
599
- @inner_class_types = {}
600
- end
601
-
602
- def self.field_remappings
603
- @field_remappings = {}
604
- end
605
- end
606
-
607
- class BillFrom < ::Stripe::StripeObject
608
- class LineStartsAt < ::Stripe::StripeObject
609
- # Unique identifier for the object.
610
- attr_reader :id
611
-
612
- def self.inner_class_types
613
- @inner_class_types = {}
614
- end
615
-
616
- def self.field_remappings
617
- @field_remappings = {}
618
- end
619
- end
620
- # The time the billing schedule applies from.
621
- attr_reader :computed_timestamp
622
- # Lets you bill the period starting from a particular Quote line.
623
- attr_reader :line_starts_at
624
- # Use a precise Unix timestamp for prebilling to start. Must be earlier than `bill_until`.
625
- attr_reader :timestamp
626
- # Describes how the billing schedule determines the start date. Possible values are `timestamp`, `relative`, `amendment_start`, `now`, `quote_acceptance_date`, `line_starts_at`, or `pause_collection_start`.
627
- attr_reader :type
628
-
629
- def self.inner_class_types
630
- @inner_class_types = { line_starts_at: LineStartsAt }
631
- end
632
-
633
- def self.field_remappings
634
- @field_remappings = {}
635
- end
636
- end
637
-
638
- class BillUntil < ::Stripe::StripeObject
639
- class Duration < ::Stripe::StripeObject
640
- # Specifies billing duration. Either `day`, `week`, `month` or `year`.
641
- attr_reader :interval
642
- # The multiplier applied to the interval.
643
- attr_reader :interval_count
644
-
645
- def self.inner_class_types
646
- @inner_class_types = {}
647
- end
648
-
649
- def self.field_remappings
650
- @field_remappings = {}
651
- end
652
- end
653
-
654
- class LineEndsAt < ::Stripe::StripeObject
655
- # Unique identifier for the object.
656
- attr_reader :id
657
-
658
- def self.inner_class_types
659
- @inner_class_types = {}
660
- end
661
-
662
- def self.field_remappings
663
- @field_remappings = {}
664
- end
665
- end
666
- # The timestamp the billing schedule will apply until.
667
- attr_reader :computed_timestamp
668
- # Specifies the billing period.
669
- attr_reader :duration
670
- # Lets you bill the period ending at a particular Quote line.
671
- attr_reader :line_ends_at
672
- # If specified, the billing schedule will apply until the specified timestamp.
673
- attr_reader :timestamp
674
- # Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
675
- attr_reader :type
676
-
677
- def self.inner_class_types
678
- @inner_class_types = { duration: Duration, line_ends_at: LineEndsAt }
679
- end
680
-
681
- def self.field_remappings
682
- @field_remappings = {}
683
- end
684
- end
685
- # Specifies which subscription items the billing schedule applies to.
686
- attr_reader :applies_to
687
- # Specifies the start of the billing period.
688
- attr_reader :bill_from
689
- # Attribute for field bill_until
690
- attr_reader :bill_until
691
- # Unique identifier for the billing schedule.
692
- attr_reader :key
693
-
694
- def self.inner_class_types
695
- @inner_class_types = { applies_to: AppliesTo, bill_from: BillFrom, bill_until: BillUntil }
696
- end
697
-
698
- def self.field_remappings
699
- @field_remappings = {}
700
- end
701
- end
702
-
703
591
  class Prebilling < ::Stripe::StripeObject
704
592
  # Attribute for field iterations
705
593
  attr_reader :iterations
@@ -720,8 +608,6 @@ module Stripe
720
608
  attr_reader :billing_cycle_anchor
721
609
  # The billing mode of the quote.
722
610
  attr_reader :billing_mode
723
- # Billing schedules that will be applied to the subscription or subscription schedule created from this quote.
724
- attr_reader :billing_schedules
725
611
  # 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.
726
612
  attr_reader :description
727
613
  # When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. This date is ignored if it is in the past when the quote is accepted. Measured in seconds since the Unix epoch.
@@ -732,8 +618,6 @@ module Stripe
732
618
  attr_reader :from_subscription
733
619
  # 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.
734
620
  attr_reader :metadata
735
- # Configures how the quote handles billing for line transitions. Possible values are `line_start` (default) or `billing_period_start`. `line_start` bills based on the current state of the line, ignoring changes scheduled for future lines. `billing_period_start` bills predictively for upcoming line transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
736
- attr_reader :phase_effective_at
737
621
  # If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`.
738
622
  attr_reader :prebilling
739
623
  # Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the quote is accepted.
@@ -745,7 +629,6 @@ module Stripe
745
629
  @inner_class_types = {
746
630
  bill_on_acceptance: BillOnAcceptance,
747
631
  billing_mode: BillingMode,
748
- billing_schedules: BillingSchedule,
749
632
  prebilling: Prebilling,
750
633
  }
751
634
  end
@@ -865,143 +748,23 @@ module Stripe
865
748
  @field_remappings = {}
866
749
  end
867
750
  end
868
-
869
- class BillingSchedule < ::Stripe::StripeObject
870
- class AppliesTo < ::Stripe::StripeObject
871
- # The billing schedule will apply to the subscription item with the given price ID.
872
- attr_reader :price
873
- # Controls which subscription items the billing schedule applies to.
874
- attr_reader :type
875
-
876
- def self.inner_class_types
877
- @inner_class_types = {}
878
- end
879
-
880
- def self.field_remappings
881
- @field_remappings = {}
882
- end
883
- end
884
-
885
- class BillFrom < ::Stripe::StripeObject
886
- class LineStartsAt < ::Stripe::StripeObject
887
- # Unique identifier for the object.
888
- attr_reader :id
889
-
890
- def self.inner_class_types
891
- @inner_class_types = {}
892
- end
893
-
894
- def self.field_remappings
895
- @field_remappings = {}
896
- end
897
- end
898
- # The time the billing schedule applies from.
899
- attr_reader :computed_timestamp
900
- # Lets you bill the period starting from a particular Quote line.
901
- attr_reader :line_starts_at
902
- # Use a precise Unix timestamp for prebilling to start. Must be earlier than `bill_until`.
903
- attr_reader :timestamp
904
- # Describes how the billing schedule determines the start date. Possible values are `timestamp`, `relative`, `amendment_start`, `now`, `quote_acceptance_date`, `line_starts_at`, or `pause_collection_start`.
905
- attr_reader :type
906
-
907
- def self.inner_class_types
908
- @inner_class_types = { line_starts_at: LineStartsAt }
909
- end
910
-
911
- def self.field_remappings
912
- @field_remappings = {}
913
- end
914
- end
915
-
916
- class BillUntil < ::Stripe::StripeObject
917
- class Duration < ::Stripe::StripeObject
918
- # Specifies billing duration. Either `day`, `week`, `month` or `year`.
919
- attr_reader :interval
920
- # The multiplier applied to the interval.
921
- attr_reader :interval_count
922
-
923
- def self.inner_class_types
924
- @inner_class_types = {}
925
- end
926
-
927
- def self.field_remappings
928
- @field_remappings = {}
929
- end
930
- end
931
-
932
- class LineEndsAt < ::Stripe::StripeObject
933
- # Unique identifier for the object.
934
- attr_reader :id
935
-
936
- def self.inner_class_types
937
- @inner_class_types = {}
938
- end
939
-
940
- def self.field_remappings
941
- @field_remappings = {}
942
- end
943
- end
944
- # The timestamp the billing schedule will apply until.
945
- attr_reader :computed_timestamp
946
- # Specifies the billing period.
947
- attr_reader :duration
948
- # Lets you bill the period ending at a particular Quote line.
949
- attr_reader :line_ends_at
950
- # If specified, the billing schedule will apply until the specified timestamp.
951
- attr_reader :timestamp
952
- # Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
953
- attr_reader :type
954
-
955
- def self.inner_class_types
956
- @inner_class_types = { duration: Duration, line_ends_at: LineEndsAt }
957
- end
958
-
959
- def self.field_remappings
960
- @field_remappings = {}
961
- end
962
- end
963
- # Specifies which subscription items the billing schedule applies to.
964
- attr_reader :applies_to
965
- # Specifies the start of the billing period.
966
- attr_reader :bill_from
967
- # Attribute for field bill_until
968
- attr_reader :bill_until
969
- # Unique identifier for the billing schedule.
970
- attr_reader :key
971
-
972
- def self.inner_class_types
973
- @inner_class_types = { applies_to: AppliesTo, bill_from: BillFrom, bill_until: BillUntil }
974
- end
975
-
976
- def self.field_remappings
977
- @field_remappings = {}
978
- end
979
- end
980
751
  # Attribute for field applies_to
981
752
  attr_reader :applies_to
982
753
  # Describes the period to bill for upon accepting the quote.
983
754
  attr_reader :bill_on_acceptance
984
755
  # 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.
985
756
  attr_reader :billing_behavior
986
- # Billing schedules that will be applied to the subscription or subscription schedule created from this quote.
987
- attr_reader :billing_schedules
988
757
  # The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.
989
758
  attr_reader :customer
990
759
  # 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.
991
760
  attr_reader :description
992
761
  # Behavior of the subscription schedule and underlying subscription when it ends.
993
762
  attr_reader :end_behavior
994
- # Configures how the quote handles billing for line transitions. Possible values are `line_start` (default) or `billing_period_start`. `line_start` bills based on the current state of the line, ignoring changes scheduled for future lines. `billing_period_start` bills predictively for upcoming line transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
995
- attr_reader :phase_effective_at
996
763
  # Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the quote is accepted.
997
764
  attr_reader :proration_behavior
998
765
 
999
766
  def self.inner_class_types
1000
- @inner_class_types = {
1001
- applies_to: AppliesTo,
1002
- bill_on_acceptance: BillOnAcceptance,
1003
- billing_schedules: BillingSchedule,
1004
- }
767
+ @inner_class_types = { applies_to: AppliesTo, bill_on_acceptance: BillOnAcceptance }
1005
768
  end
1006
769
 
1007
770
  def self.field_remappings
@@ -103,8 +103,6 @@ module Stripe
103
103
  attr_reader :tax_rates
104
104
  # Options that configure the trial on the subscription item.
105
105
  attr_reader :trial
106
- # The ID of the trial offer to apply to the configuration item.
107
- attr_reader :trial_offer
108
106
 
109
107
  def self.inner_class_types
110
108
  @inner_class_types = { discounts: Discount, trial: Trial }
@@ -254,8 +252,6 @@ module Stripe
254
252
  attr_reader :tax_rates
255
253
  # Options that configure the trial on the subscription item.
256
254
  attr_reader :trial
257
- # The ID of the trial offer to apply to the configuration item.
258
- attr_reader :trial_offer
259
255
 
260
256
  def self.inner_class_types
261
257
  @inner_class_types = { discounts: Discount, trial: Trial }
@@ -505,8 +501,6 @@ module Stripe
505
501
  attr_reader :starts_at
506
502
  # Settings related to subscription trials.
507
503
  attr_reader :trial_settings
508
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
509
- attr_reader :effective_at
510
504
 
511
505
  def self.inner_class_types
512
506
  @inner_class_types = {
@@ -364,19 +364,6 @@ module Stripe
364
364
  end
365
365
  end
366
366
 
367
- class ScheduleDetails < ::Stripe::StripeObject
368
- # The schedule that generated this invoice
369
- attr_reader :schedule
370
-
371
- def self.inner_class_types
372
- @inner_class_types = {}
373
- end
374
-
375
- def self.field_remappings
376
- @field_remappings = {}
377
- end
378
- end
379
-
380
367
  class SubscriptionDetails < ::Stripe::StripeObject
381
368
  class PauseCollection < ::Stripe::StripeObject
382
369
  # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
@@ -418,15 +405,12 @@ module Stripe
418
405
  attr_reader :subscription_details
419
406
  # The type of parent that generated this invoice
420
407
  attr_reader :type
421
- # Details about the schedule that generated this invoice
422
- attr_reader :schedule_details
423
408
 
424
409
  def self.inner_class_types
425
410
  @inner_class_types = {
426
411
  billing_cadence_details: BillingCadenceDetails,
427
412
  quote_details: QuoteDetails,
428
413
  subscription_details: SubscriptionDetails,
429
- schedule_details: ScheduleDetails,
430
414
  }
431
415
  end
432
416
 
@@ -181,8 +181,6 @@ module Stripe
181
181
  attr_reader :on_behalf_of
182
182
  # The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.
183
183
  attr_reader :transfer_data
184
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
185
- attr_reader :phase_effective_at
186
184
 
187
185
  def self.inner_class_types
188
186
  @inner_class_types = {
@@ -516,8 +514,6 @@ module Stripe
516
514
  attr_reader :tax_rates
517
515
  # Options that configure the trial on the subscription item.
518
516
  attr_reader :trial
519
- # The ID of the trial offer to apply to the configuration item.
520
- attr_reader :trial_offer
521
517
 
522
518
  def self.inner_class_types
523
519
  @inner_class_types = {
@@ -630,8 +626,6 @@ module Stripe
630
626
  attr_reader :trial_end
631
627
  # Settings related to any trials on the subscription during this phase.
632
628
  attr_reader :trial_settings
633
- # Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
634
- attr_reader :effective_at
635
629
 
636
630
  def self.inner_class_types
637
631
  @inner_class_types = {
@@ -670,89 +664,6 @@ module Stripe
670
664
  @field_remappings = {}
671
665
  end
672
666
  end
673
-
674
- class BillingSchedule < ::Stripe::StripeObject
675
- class AppliesTo < ::Stripe::StripeObject
676
- # The billing schedule will apply to the subscription item with the given price ID.
677
- attr_reader :price
678
- # Controls which subscription items the billing schedule applies to.
679
- attr_reader :type
680
-
681
- def self.inner_class_types
682
- @inner_class_types = {}
683
- end
684
-
685
- def self.field_remappings
686
- @field_remappings = {}
687
- end
688
- end
689
-
690
- class BillFrom < ::Stripe::StripeObject
691
- # The time the billing schedule applies from.
692
- attr_reader :computed_timestamp
693
- # Use a precise Unix timestamp for prebilling to start. Must be earlier than `bill_until`.
694
- attr_reader :timestamp
695
- # Describes how the billing schedule determines the start date. Possible values are `timestamp`.
696
- attr_reader :type
697
-
698
- def self.inner_class_types
699
- @inner_class_types = {}
700
- end
701
-
702
- def self.field_remappings
703
- @field_remappings = {}
704
- end
705
- end
706
-
707
- class BillUntil < ::Stripe::StripeObject
708
- class Duration < ::Stripe::StripeObject
709
- # Specifies billing duration. Either `day`, `week`, `month` or `year`.
710
- attr_reader :interval
711
- # The multiplier applied to the interval.
712
- attr_reader :interval_count
713
-
714
- def self.inner_class_types
715
- @inner_class_types = {}
716
- end
717
-
718
- def self.field_remappings
719
- @field_remappings = {}
720
- end
721
- end
722
- # The timestamp the billing schedule will apply until.
723
- attr_reader :computed_timestamp
724
- # Specifies the billing period.
725
- attr_reader :duration
726
- # If specified, the billing schedule will apply until the specified timestamp.
727
- attr_reader :timestamp
728
- # Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
729
- attr_reader :type
730
-
731
- def self.inner_class_types
732
- @inner_class_types = { duration: Duration }
733
- end
734
-
735
- def self.field_remappings
736
- @field_remappings = {}
737
- end
738
- end
739
- # Specifies which subscription items the billing schedule applies to.
740
- attr_reader :applies_to
741
- # Specifies the start of the billing period.
742
- attr_reader :bill_from
743
- # Specifies the end of billing period.
744
- attr_reader :bill_until
745
- # Unique identifier for the billing schedule.
746
- attr_reader :key
747
-
748
- def self.inner_class_types
749
- @inner_class_types = { applies_to: AppliesTo, bill_from: BillFrom, bill_until: BillUntil }
750
- end
751
-
752
- def self.field_remappings
753
- @field_remappings = {}
754
- end
755
- end
756
667
  # ID of the Connect Application that created the schedule.
757
668
  attr_reader :application
758
669
  # Attribute for field applies_to
@@ -801,10 +712,6 @@ module Stripe
801
712
  attr_reader :subscription
802
713
  # ID of the test clock this subscription schedule belongs to.
803
714
  attr_reader :test_clock
804
- # Billing schedules for this subscription schedule.
805
- attr_reader :billing_schedules
806
- # The most recent invoice this subscription schedule has generated.
807
- attr_reader :latest_invoice
808
715
 
809
716
  def self.inner_class_types
810
717
  @inner_class_types = {
@@ -815,7 +722,6 @@ module Stripe
815
722
  last_price_migration_error: LastPriceMigrationError,
816
723
  phases: Phase,
817
724
  prebilling: Prebilling,
818
- billing_schedules: BillingSchedule,
819
725
  }
820
726
  end
821
727
 
@@ -656,43 +656,6 @@ module Stripe
656
656
  @field_remappings = {}
657
657
  end
658
658
  end
659
-
660
- class SetupDetails < ::Stripe::StripeObject
661
- class Benefit < ::Stripe::StripeObject
662
- class FrMealVoucher < ::Stripe::StripeObject
663
- # The 14-digit SIRET of the meal voucher acceptor.
664
- attr_reader :siret
665
-
666
- def self.inner_class_types
667
- @inner_class_types = {}
668
- end
669
-
670
- def self.field_remappings
671
- @field_remappings = {}
672
- end
673
- end
674
- # Attribute for field fr_meal_voucher
675
- attr_reader :fr_meal_voucher
676
-
677
- def self.inner_class_types
678
- @inner_class_types = { fr_meal_voucher: FrMealVoucher }
679
- end
680
-
681
- def self.field_remappings
682
- @field_remappings = {}
683
- end
684
- end
685
- # Attribute for field benefit
686
- attr_reader :benefit
687
-
688
- def self.inner_class_types
689
- @inner_class_types = { benefit: Benefit }
690
- end
691
-
692
- def self.field_remappings
693
- @field_remappings = {}
694
- end
695
- end
696
659
  # ID of the Connect application that created the SetupIntent.
697
660
  attr_reader :application
698
661
  # If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
@@ -751,8 +714,6 @@ module Stripe
751
714
  attr_reader :payment_method_options
752
715
  # The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
753
716
  attr_reader :payment_method_types
754
- # Attribute for field setup_details
755
- attr_reader :setup_details
756
717
  # ID of the single_use Mandate generated by the SetupIntent.
757
718
  attr_reader :single_use_mandate
758
719
  # [Status](https://stripe.com/docs/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`.
@@ -882,7 +843,6 @@ module Stripe
882
843
  next_action: NextAction,
883
844
  payment_method_configuration_details: PaymentMethodConfigurationDetails,
884
845
  payment_method_options: PaymentMethodOptions,
885
- setup_details: SetupDetails,
886
846
  }
887
847
  end
888
848
 
@@ -113,23 +113,6 @@ module Stripe
113
113
  end
114
114
  end
115
115
 
116
- class BillFrom < ::Stripe::StripeObject
117
- # The time the billing schedule applies from.
118
- attr_reader :computed_timestamp
119
- # Use a precise Unix timestamp for prebilling to start. Must be earlier than `bill_until`.
120
- attr_reader :timestamp
121
- # Describes how the billing schedule determines the start date. Possible values are `timestamp`.
122
- attr_reader :type
123
-
124
- def self.inner_class_types
125
- @inner_class_types = {}
126
- end
127
-
128
- def self.field_remappings
129
- @field_remappings = {}
130
- end
131
- end
132
-
133
116
  class BillUntil < ::Stripe::StripeObject
134
117
  class Duration < ::Stripe::StripeObject
135
118
  # Specifies billing duration. Either `day`, `week`, `month` or `year`.
@@ -164,15 +147,13 @@ module Stripe
164
147
  end
165
148
  # Specifies which subscription items the billing schedule applies to.
166
149
  attr_reader :applies_to
167
- # Specifies the start of the billing period.
168
- attr_reader :bill_from
169
150
  # Specifies the end of billing period.
170
151
  attr_reader :bill_until
171
152
  # Unique identifier for the billing schedule.
172
153
  attr_reader :key
173
154
 
174
155
  def self.inner_class_types
175
- @inner_class_types = { applies_to: AppliesTo, bill_from: BillFrom, bill_until: BillUntil }
156
+ @inner_class_types = { applies_to: AppliesTo, bill_until: BillUntil }
176
157
  end
177
158
 
178
159
  def self.field_remappings
@@ -42,23 +42,6 @@ module Stripe
42
42
  @field_remappings = {}
43
43
  end
44
44
  end
45
-
46
- class CurrentTrial < ::Stripe::StripeObject
47
- # Attribute for field end_date
48
- attr_reader :end_date
49
- # Attribute for field start_date
50
- attr_reader :start_date
51
- # Attribute for field trial_offer
52
- attr_reader :trial_offer
53
-
54
- def self.inner_class_types
55
- @inner_class_types = {}
56
- end
57
-
58
- def self.field_remappings
59
- @field_remappings = {}
60
- end
61
- end
62
45
  # The time period the subscription item has been billed for.
63
46
  attr_reader :billed_until
64
47
  # Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
@@ -101,8 +84,6 @@ module Stripe
101
84
  attr_reader :tax_rates
102
85
  # Options that configure the trial on the subscription item.
103
86
  attr_reader :trial
104
- # The current trial that is applied to this subscription item.
105
- attr_reader :current_trial
106
87
  # Always true for a deleted object
107
88
  attr_reader :deleted
108
89
 
@@ -157,11 +138,7 @@ module Stripe
157
138
  end
158
139
 
159
140
  def self.inner_class_types
160
- @inner_class_types = {
161
- billing_thresholds: BillingThresholds,
162
- trial: Trial,
163
- current_trial: CurrentTrial,
164
- }
141
+ @inner_class_types = { billing_thresholds: BillingThresholds, trial: Trial }
165
142
  end
166
143
 
167
144
  def self.field_remappings