stripe 18.2.0.pre.alpha.2 → 18.2.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 (458) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +1 -3
  3. data/lib/stripe/errors.rb +0 -3
  4. data/lib/stripe/event_types.rb +0 -356
  5. data/lib/stripe/object_types.rb +3 -41
  6. data/lib/stripe/params/account_create_params.rb +2 -34
  7. data/lib/stripe/params/account_person_create_params.rb +0 -32
  8. data/lib/stripe/params/account_person_update_params.rb +0 -32
  9. data/lib/stripe/params/account_session_create_params.rb +0 -17
  10. data/lib/stripe/params/account_update_params.rb +2 -34
  11. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  12. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  13. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +1 -5
  14. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -13
  15. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -29
  16. data/lib/stripe/params/billing/meter_create_params.rb +0 -4
  17. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
  18. data/lib/stripe/params/checkout/session_create_params.rb +2 -96
  19. data/lib/stripe/params/checkout/session_update_params.rb +1 -16
  20. data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
  21. data/lib/stripe/params/invoice_add_lines_params.rb +1 -16
  22. data/lib/stripe/params/invoice_create_preview_params.rb +3 -122
  23. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -16
  24. data/lib/stripe/params/invoice_list_params.rb +0 -4
  25. data/lib/stripe/params/invoice_update_lines_params.rb +1 -16
  26. data/lib/stripe/params/issuing/card_list_params.rb +1 -34
  27. data/lib/stripe/params/payment_intent_capture_params.rb +1 -1
  28. data/lib/stripe/params/payment_intent_confirm_params.rb +2 -40
  29. data/lib/stripe/params/payment_intent_create_params.rb +2 -53
  30. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +1 -1
  31. data/lib/stripe/params/payment_intent_update_params.rb +1 -35
  32. data/lib/stripe/params/payment_link_create_params.rb +1 -16
  33. data/lib/stripe/params/plan_create_params.rb +1 -16
  34. data/lib/stripe/params/price_create_params.rb +1 -16
  35. data/lib/stripe/params/product_create_params.rb +1 -17
  36. data/lib/stripe/params/product_update_params.rb +1 -17
  37. data/lib/stripe/params/quote_create_params.rb +2 -222
  38. data/lib/stripe/params/quote_update_params.rb +2 -222
  39. data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
  40. data/lib/stripe/params/{tax/location_retrieve_params.rb → reserve/hold_retrieve_params.rb} +2 -2
  41. data/lib/stripe/params/{issuing/program_retrieve_params.rb → reserve/plan_retrieve_params.rb} +2 -2
  42. data/lib/stripe/params/{tax/location_list_params.rb → reserve/release_list_params.rb} +20 -6
  43. data/lib/stripe/params/{identity/blocklist_entry_disable_params.rb → reserve/release_retrieve_params.rb} +2 -2
  44. data/lib/stripe/params/setup_intent_confirm_params.rb +0 -29
  45. data/lib/stripe/params/setup_intent_create_params.rb +0 -29
  46. data/lib/stripe/params/setup_intent_update_params.rb +1 -30
  47. data/lib/stripe/params/subscription_create_params.rb +0 -16
  48. data/lib/stripe/params/subscription_item_create_params.rb +0 -16
  49. data/lib/stripe/params/subscription_item_update_params.rb +0 -16
  50. data/lib/stripe/params/subscription_schedule_amend_params.rb +2 -41
  51. data/lib/stripe/params/subscription_schedule_create_params.rb +1 -69
  52. data/lib/stripe/params/subscription_schedule_update_params.rb +1 -69
  53. data/lib/stripe/params/subscription_update_params.rb +0 -16
  54. data/lib/stripe/params/tax/calculation_create_params.rb +1 -5
  55. data/lib/stripe/params/token_create_params.rb +0 -64
  56. data/lib/stripe/params/transfer_create_params.rb +0 -4
  57. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +1 -8
  58. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -4
  59. data/lib/stripe/params/v2/billing/cadence_update_params.rb +1 -4
  60. data/lib/stripe/params/v2/core/account_create_params.rb +9 -716
  61. data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -237
  62. data/lib/stripe/params/v2/core/account_update_params.rb +9 -702
  63. data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
  64. data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
  65. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -4
  66. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +1 -12
  67. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +1 -8
  68. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +1 -4
  69. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -19
  70. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -4
  71. data/lib/stripe/params.rb +5 -129
  72. data/lib/stripe/resources/account_session.rb +0 -27
  73. data/lib/stripe/resources/application_fee.rb +0 -2
  74. data/lib/stripe/resources/balance.rb +0 -83
  75. data/lib/stripe/resources/billing/alert.rb +1 -105
  76. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  77. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -2
  78. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
  79. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  80. data/lib/stripe/resources/billing/credit_grant.rb +2 -58
  81. data/lib/stripe/resources/billing/meter.rb +0 -2
  82. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
  83. data/lib/stripe/resources/capital/financing_offer.rb +0 -41
  84. data/lib/stripe/resources/card.rb +1 -18
  85. data/lib/stripe/resources/charge.rb +0 -18
  86. data/lib/stripe/resources/checkout/session.rb +0 -92
  87. data/lib/stripe/resources/confirmation_token.rb +0 -18
  88. data/lib/stripe/resources/discount.rb +0 -2
  89. data/lib/stripe/resources/identity/verification_report.rb +0 -4
  90. data/lib/stripe/resources/invoice.rb +0 -18
  91. data/lib/stripe/resources/invoice_item.rb +2 -106
  92. data/lib/stripe/resources/invoice_line_item.rb +3 -107
  93. data/lib/stripe/resources/issuing/card.rb +0 -4
  94. data/lib/stripe/resources/payment_intent.rb +1 -63
  95. data/lib/stripe/resources/payment_method.rb +0 -38
  96. data/lib/stripe/resources/person.rb +0 -36
  97. data/lib/stripe/resources/plan.rb +0 -2
  98. data/lib/stripe/resources/price.rb +0 -2
  99. data/lib/stripe/resources/quote.rb +1 -238
  100. data/lib/stripe/resources/quote_line.rb +0 -6
  101. data/lib/stripe/resources/quote_preview_invoice.rb +0 -18
  102. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -94
  103. data/lib/stripe/resources/reserve/hold.rb +74 -0
  104. data/lib/stripe/resources/reserve/plan.rb +78 -0
  105. data/lib/stripe/resources/reserve/release.rb +77 -0
  106. data/lib/stripe/resources/setup_intent.rb +0 -40
  107. data/lib/stripe/resources/subscription.rb +1 -40
  108. data/lib/stripe/resources/subscription_item.rb +1 -24
  109. data/lib/stripe/resources/subscription_schedule.rb +0 -94
  110. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
  111. data/lib/stripe/resources/tax/registration.rb +0 -128
  112. data/lib/stripe/resources/tax_code.rb +1 -15
  113. data/lib/stripe/resources/transfer.rb +0 -4
  114. data/lib/stripe/resources/v2/billing/cadence.rb +0 -46
  115. data/lib/stripe/resources/v2/core/account.rb +5 -1073
  116. data/lib/stripe/resources/v2/core/event.rb +1 -50
  117. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +1 -21
  118. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +1 -21
  119. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -35
  120. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -4
  121. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -2
  122. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -2
  123. data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -47
  124. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -34
  125. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -56
  126. data/lib/stripe/resources.rb +3 -133
  127. data/lib/stripe/services/identity_service.rb +1 -2
  128. data/lib/stripe/services/issuing_service.rb +1 -2
  129. data/lib/stripe/services/payment_method_service.rb +0 -11
  130. data/lib/stripe/services/radar_service.rb +1 -2
  131. data/lib/stripe/services/reserve/hold_service.rb +30 -0
  132. data/lib/stripe/services/reserve/plan_service.rb +19 -0
  133. data/lib/stripe/services/reserve/release_service.rb +30 -0
  134. data/lib/stripe/services/reserve_service.rb +15 -0
  135. data/lib/stripe/services/subscription_service.rb +0 -11
  136. data/lib/stripe/services/tax_service.rb +1 -2
  137. data/lib/stripe/services/test_helpers_service.rb +1 -3
  138. data/lib/stripe/services/v1_services.rb +2 -5
  139. data/lib/stripe/services/v2/billing_service.rb +1 -14
  140. data/lib/stripe/services/v2/core_service.rb +1 -2
  141. data/lib/stripe/services/v2/money_management_service.rb +1 -5
  142. data/lib/stripe/services/v2/test_helper_service.rb +1 -2
  143. data/lib/stripe/services/v2_services.rb +1 -5
  144. data/lib/stripe/services.rb +4 -48
  145. data/lib/stripe/stripe_client.rb +8 -1
  146. data/lib/stripe/stripe_event_notification_handler.rb +425 -0
  147. data/lib/stripe/util.rb +3 -9
  148. data/lib/stripe/version.rb +1 -1
  149. data/lib/stripe.rb +1 -0
  150. data/rbi/stripe/stripe_client.rbi +13 -0
  151. data/rbi/stripe.rbi +1063 -20730
  152. metadata +15 -312
  153. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  154. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  155. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  156. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  157. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  158. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  159. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  160. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  161. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  162. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  163. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  164. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  165. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  166. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  167. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  168. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  169. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  170. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  171. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  172. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  173. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  174. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  175. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  176. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  177. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  178. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  179. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  180. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  181. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  182. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  183. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  184. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  185. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  186. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  187. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  188. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  189. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  190. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
  191. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
  192. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  193. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  194. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  195. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  196. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  197. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -86
  198. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -86
  199. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -84
  200. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -84
  201. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  202. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  203. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
  204. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
  205. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
  206. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
  207. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
  208. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -82
  209. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -82
  210. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +0 -58
  211. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +0 -60
  212. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  213. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  214. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  215. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  216. data/lib/stripe/events/v2_iam_api_key_created_event.rb +0 -20
  217. data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -20
  218. data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -20
  219. data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -20
  220. data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -38
  221. data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -20
  222. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  223. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  224. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
  225. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
  226. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
  227. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
  228. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  229. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  230. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  231. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  232. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  233. data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +0 -44
  234. data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +0 -44
  235. data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +0 -65
  236. data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +0 -44
  237. data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +0 -44
  238. data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +0 -38
  239. data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +0 -44
  240. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +0 -61
  241. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +0 -61
  242. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +0 -61
  243. data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +0 -44
  244. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
  245. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
  246. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
  247. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
  248. data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
  249. data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
  250. data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
  251. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -138
  252. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
  253. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
  254. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
  255. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
  256. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
  257. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
  258. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
  259. data/lib/stripe/params/issuing/program_create_params.rb +0 -21
  260. data/lib/stripe/params/issuing/program_list_params.rb +0 -24
  261. data/lib/stripe/params/issuing/program_update_params.rb +0 -21
  262. data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
  263. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -60
  264. data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
  265. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
  266. data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -18
  267. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
  268. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
  269. data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
  270. data/lib/stripe/params/subscription_pause_params.rb +0 -33
  271. data/lib/stripe/params/tax/location_create_params.rb +0 -54
  272. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
  273. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
  274. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
  275. data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
  276. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  277. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  278. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  279. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  280. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  281. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  282. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -425
  283. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  284. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  285. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  286. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  287. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  288. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  289. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  290. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  291. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  292. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  293. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  294. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  295. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  296. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  297. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  298. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  299. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  300. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  301. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  302. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  303. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  304. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  305. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  306. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  307. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  308. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  309. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  310. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
  311. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  312. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  313. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  314. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  315. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  316. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  317. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  318. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  319. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  320. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  321. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  322. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  323. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  324. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  325. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  326. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  327. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  328. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  329. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  330. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  331. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  332. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  333. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  334. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
  335. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  336. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  337. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  338. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  339. data/lib/stripe/params/v2/iam/api_key_create_params.rb +0 -51
  340. data/lib/stripe/params/v2/iam/api_key_expire_params.rb +0 -10
  341. data/lib/stripe/params/v2/iam/api_key_list_params.rb +0 -20
  342. data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +0 -10
  343. data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +0 -46
  344. data/lib/stripe/params/v2/iam/api_key_update_params.rb +0 -20
  345. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -68
  346. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
  347. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
  348. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  349. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  350. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  351. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  352. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
  353. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
  354. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  355. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  356. data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +0 -10
  357. data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +0 -46
  358. data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +0 -10
  359. data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +0 -10
  360. data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +0 -31
  361. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +0 -12
  362. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +0 -39
  363. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +0 -12
  364. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
  365. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
  366. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
  367. data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +0 -94
  368. data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +0 -10
  369. data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +0 -17
  370. data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +0 -10
  371. data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +0 -94
  372. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
  373. data/lib/stripe/resources/balance_transfer.rb +0 -139
  374. data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -479
  375. data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
  376. data/lib/stripe/resources/issuing/program.rb +0 -69
  377. data/lib/stripe/resources/payment_method_balance.rb +0 -68
  378. data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -101
  379. data/lib/stripe/resources/radar/account_evaluation.rb +0 -116
  380. data/lib/stripe/resources/shared_payment/granted_token.rb +0 -126
  381. data/lib/stripe/resources/tax/location.rb +0 -72
  382. data/lib/stripe/resources/transit_balance.rb +0 -45
  383. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  384. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  385. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -483
  386. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  387. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  388. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  389. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  390. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  391. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  392. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  393. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  394. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
  395. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  396. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  397. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  398. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  399. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  400. data/lib/stripe/resources/v2/billing/service_action.rb +0 -274
  401. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  402. data/lib/stripe/resources/v2/iam/api_key.rb +0 -129
  403. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
  404. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  405. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
  406. data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +0 -92
  407. data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +0 -78
  408. data/lib/stripe/resources/v2/reporting/report.rb +0 -116
  409. data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
  410. data/lib/stripe/resources/v2/tax/manual_rule.rb +0 -115
  411. data/lib/stripe/services/balance_transfer_service.rb +0 -17
  412. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
  413. data/lib/stripe/services/delegated_checkout_service.rb +0 -13
  414. data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
  415. data/lib/stripe/services/issuing/program_service.rb +0 -52
  416. data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
  417. data/lib/stripe/services/product_catalog_service.rb +0 -13
  418. data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
  419. data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
  420. data/lib/stripe/services/shared_payment_service.rb +0 -13
  421. data/lib/stripe/services/tax/location_service.rb +0 -45
  422. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
  423. data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
  424. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
  425. data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
  426. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  427. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  428. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  429. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  430. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  431. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  432. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  433. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  434. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  435. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
  436. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
  437. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  438. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  439. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  440. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  441. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  442. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  443. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  444. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  445. data/lib/stripe/services/v2/iam/api_key_service.rb +0 -76
  446. data/lib/stripe/services/v2/iam_service.rb +0 -15
  447. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
  448. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  449. data/lib/stripe/services/v2/payment_service.rb +0 -17
  450. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  451. data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +0 -72
  452. data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +0 -45
  453. data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
  454. data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
  455. data/lib/stripe/services/v2/reporting_service.rb +0 -16
  456. data/lib/stripe/services/v2/tax/manual_rule_service.rb +0 -65
  457. data/lib/stripe/services/v2/tax_service.rb +0 -15
  458. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -124,81 +124,6 @@ module Stripe
124
124
  end
125
125
  end
126
126
 
127
- class CheckoutItem < ::Stripe::RequestParams
128
- class PricingPlanSubscriptionItem < ::Stripe::RequestParams
129
- class ComponentConfigurations < ::Stripe::RequestParams
130
- class LicenseFeeComponent < ::Stripe::RequestParams
131
- # Attribute for param field quantity
132
- attr_accessor :quantity
133
-
134
- def initialize(quantity: nil)
135
- @quantity = quantity
136
- end
137
- end
138
- # Attribute for param field type
139
- attr_accessor :type
140
- # Attribute for param field license_fee_component
141
- attr_accessor :license_fee_component
142
-
143
- def initialize(type: nil, license_fee_component: nil)
144
- @type = type
145
- @license_fee_component = license_fee_component
146
- end
147
- end
148
- # Attribute for param field pricing_plan
149
- attr_accessor :pricing_plan
150
- # Attribute for param field pricing_plan_version
151
- attr_accessor :pricing_plan_version
152
- # Attribute for param field metadata
153
- attr_accessor :metadata
154
- # Attribute for param field component_configurations
155
- attr_accessor :component_configurations
156
-
157
- def initialize(
158
- pricing_plan: nil,
159
- pricing_plan_version: nil,
160
- metadata: nil,
161
- component_configurations: nil
162
- )
163
- @pricing_plan = pricing_plan
164
- @pricing_plan_version = pricing_plan_version
165
- @metadata = metadata
166
- @component_configurations = component_configurations
167
- end
168
- end
169
-
170
- class RateCardSubscriptionItem < ::Stripe::RequestParams
171
- # Attribute for param field rate_card
172
- attr_accessor :rate_card
173
- # Attribute for param field metadata
174
- attr_accessor :metadata
175
- # Attribute for param field rate_card_version
176
- attr_accessor :rate_card_version
177
-
178
- def initialize(rate_card: nil, metadata: nil, rate_card_version: nil)
179
- @rate_card = rate_card
180
- @metadata = metadata
181
- @rate_card_version = rate_card_version
182
- end
183
- end
184
- # Attribute for param field type
185
- attr_accessor :type
186
- # Attribute for param field rate_card_subscription_item
187
- attr_accessor :rate_card_subscription_item
188
- # Attribute for param field pricing_plan_subscription_item
189
- attr_accessor :pricing_plan_subscription_item
190
-
191
- def initialize(
192
- type: nil,
193
- rate_card_subscription_item: nil,
194
- pricing_plan_subscription_item: nil
195
- )
196
- @type = type
197
- @rate_card_subscription_item = rate_card_subscription_item
198
- @pricing_plan_subscription_item = pricing_plan_subscription_item
199
- end
200
- end
201
-
202
127
  class ConsentCollection < ::Stripe::RequestParams
203
128
  class PaymentMethodReuseAgreement < ::Stripe::RequestParams
204
129
  # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's
@@ -544,17 +469,6 @@ module Stripe
544
469
 
545
470
  class PriceData < ::Stripe::RequestParams
546
471
  class ProductData < ::Stripe::RequestParams
547
- class TaxDetails < ::Stripe::RequestParams
548
- # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
549
- attr_accessor :performance_location
550
- # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
551
- attr_accessor :tax_code
552
-
553
- def initialize(performance_location: nil, tax_code: nil)
554
- @performance_location = performance_location
555
- @tax_code = tax_code
556
- end
557
- end
558
472
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
559
473
  attr_accessor :description
560
474
  # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
@@ -567,8 +481,6 @@ module Stripe
567
481
  attr_accessor :tax_code
568
482
  # A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
569
483
  attr_accessor :unit_label
570
- # Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
571
- attr_accessor :tax_details
572
484
 
573
485
  def initialize(
574
486
  description: nil,
@@ -576,8 +488,7 @@ module Stripe
576
488
  metadata: nil,
577
489
  name: nil,
578
490
  tax_code: nil,
579
- unit_label: nil,
580
- tax_details: nil
491
+ unit_label: nil
581
492
  )
582
493
  @description = description
583
494
  @images = images
@@ -585,7 +496,6 @@ module Stripe
585
496
  @name = name
586
497
  @tax_code = tax_code
587
498
  @unit_label = unit_label
588
- @tax_details = tax_details
589
499
  end
590
500
  end
591
501
 
@@ -2637,8 +2547,6 @@ module Stripe
2637
2547
  attr_accessor :ui_mode
2638
2548
  # Wallet-specific configuration.
2639
2549
  attr_accessor :wallet_options
2640
- # Attribute for param field checkout_items
2641
- attr_accessor :checkout_items
2642
2550
 
2643
2551
  def initialize(
2644
2552
  adaptive_pricing: nil,
@@ -2689,8 +2597,7 @@ module Stripe
2689
2597
  success_url: nil,
2690
2598
  tax_id_collection: nil,
2691
2599
  ui_mode: nil,
2692
- wallet_options: nil,
2693
- checkout_items: nil
2600
+ wallet_options: nil
2694
2601
  )
2695
2602
  @adaptive_pricing = adaptive_pricing
2696
2603
  @after_expiration = after_expiration
@@ -2741,7 +2648,6 @@ module Stripe
2741
2648
  @tax_id_collection = tax_id_collection
2742
2649
  @ui_mode = ui_mode
2743
2650
  @wallet_options = wallet_options
2744
- @checkout_items = checkout_items
2745
2651
  end
2746
2652
  end
2747
2653
  end
@@ -162,17 +162,6 @@ module Stripe
162
162
 
163
163
  class PriceData < ::Stripe::RequestParams
164
164
  class ProductData < ::Stripe::RequestParams
165
- class TaxDetails < ::Stripe::RequestParams
166
- # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
167
- attr_accessor :performance_location
168
- # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
169
- attr_accessor :tax_code
170
-
171
- def initialize(performance_location: nil, tax_code: nil)
172
- @performance_location = performance_location
173
- @tax_code = tax_code
174
- end
175
- end
176
165
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
177
166
  attr_accessor :description
178
167
  # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
@@ -185,8 +174,6 @@ module Stripe
185
174
  attr_accessor :tax_code
186
175
  # A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
187
176
  attr_accessor :unit_label
188
- # Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
189
- attr_accessor :tax_details
190
177
 
191
178
  def initialize(
192
179
  description: nil,
@@ -194,8 +181,7 @@ module Stripe
194
181
  metadata: nil,
195
182
  name: nil,
196
183
  tax_code: nil,
197
- unit_label: nil,
198
- tax_details: nil
184
+ unit_label: nil
199
185
  )
200
186
  @description = description
201
187
  @images = images
@@ -203,7 +189,6 @@ module Stripe
203
189
  @name = name
204
190
  @tax_code = tax_code
205
191
  @unit_label = unit_label
206
- @tax_details = tax_details
207
192
  end
208
193
  end
209
194
 
@@ -21,8 +21,6 @@ module Stripe
21
21
  @lte = lte
22
22
  end
23
23
  end
24
- # Only return VerificationReports that were blocked by this BlocklistEntry id.
25
- attr_accessor :blocked_by_entry
26
24
  # A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.
27
25
  attr_accessor :client_reference_id
28
26
  # Only return VerificationReports that were created during the given date interval.
@@ -41,7 +39,6 @@ module Stripe
41
39
  attr_accessor :verification_session
42
40
 
43
41
  def initialize(
44
- blocked_by_entry: nil,
45
42
  client_reference_id: nil,
46
43
  created: nil,
47
44
  ending_before: nil,
@@ -51,7 +48,6 @@ module Stripe
51
48
  type: nil,
52
49
  verification_session: nil
53
50
  )
54
- @blocked_by_entry = blocked_by_entry
55
51
  @client_reference_id = client_reference_id
56
52
  @created = created
57
53
  @ending_before = ending_before
@@ -61,17 +61,6 @@ module Stripe
61
61
 
62
62
  class PriceData < ::Stripe::RequestParams
63
63
  class ProductData < ::Stripe::RequestParams
64
- class TaxDetails < ::Stripe::RequestParams
65
- # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
66
- attr_accessor :performance_location
67
- # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
68
- attr_accessor :tax_code
69
-
70
- def initialize(performance_location: nil, tax_code: nil)
71
- @performance_location = performance_location
72
- @tax_code = tax_code
73
- end
74
- end
75
64
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
76
65
  attr_accessor :description
77
66
  # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
@@ -84,8 +73,6 @@ module Stripe
84
73
  attr_accessor :tax_code
85
74
  # A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
86
75
  attr_accessor :unit_label
87
- # Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
88
- attr_accessor :tax_details
89
76
 
90
77
  def initialize(
91
78
  description: nil,
@@ -93,8 +80,7 @@ module Stripe
93
80
  metadata: nil,
94
81
  name: nil,
95
82
  tax_code: nil,
96
- unit_label: nil,
97
- tax_details: nil
83
+ unit_label: nil
98
84
  )
99
85
  @description = description
100
86
  @images = images
@@ -102,7 +88,6 @@ module Stripe
102
88
  @name = name
103
89
  @tax_code = tax_code
104
90
  @unit_label = unit_label
105
- @tax_details = tax_details
106
91
  end
107
92
  end
108
93
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
@@ -425,29 +425,6 @@ module Stripe
425
425
  end
426
426
  end
427
427
 
428
- class BillingSchedulesAction < ::Stripe::RequestParams
429
- class AppliesTo < ::Stripe::RequestParams
430
- # The ID of the price object.
431
- attr_accessor :price
432
- # Controls which subscription items the billing schedule applies to.
433
- attr_accessor :type
434
-
435
- def initialize(price: nil, type: nil)
436
- @price = price
437
- @type = type
438
- end
439
- end
440
- # Specify which subscription items the billing schedule applies to.
441
- attr_accessor :applies_to
442
- # Select the action.
443
- attr_accessor :type
444
-
445
- def initialize(applies_to: nil, type: nil)
446
- @applies_to = applies_to
447
- @type = type
448
- end
449
- end
450
-
451
428
  class DiscountAction < ::Stripe::RequestParams
452
429
  class Add < ::Stripe::RequestParams
453
430
  class DiscountEnd < ::Stripe::RequestParams
@@ -598,8 +575,6 @@ module Stripe
598
575
  attr_accessor :tax_rates
599
576
  # Options that configure the trial on the subscription item.
600
577
  attr_accessor :trial
601
- # The ID of the trial offer to apply to the configuration item.
602
- attr_accessor :trial_offer
603
578
 
604
579
  def initialize(
605
580
  discounts: nil,
@@ -607,8 +582,7 @@ module Stripe
607
582
  price: nil,
608
583
  quantity: nil,
609
584
  tax_rates: nil,
610
- trial: nil,
611
- trial_offer: nil
585
+ trial: nil
612
586
  )
613
587
  @discounts = discounts
614
588
  @metadata = metadata
@@ -616,7 +590,6 @@ module Stripe
616
590
  @quantity = quantity
617
591
  @tax_rates = tax_rates
618
592
  @trial = trial
619
- @trial_offer = trial_offer
620
593
  end
621
594
  end
622
595
 
@@ -696,8 +669,6 @@ module Stripe
696
669
  attr_accessor :tax_rates
697
670
  # 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`.
698
671
  attr_accessor :trial
699
- # The ID of the trial offer to apply to the configuration item.
700
- attr_accessor :trial_offer
701
672
 
702
673
  def initialize(
703
674
  discounts: nil,
@@ -705,8 +676,7 @@ module Stripe
705
676
  price: nil,
706
677
  quantity: nil,
707
678
  tax_rates: nil,
708
- trial: nil,
709
- trial_offer: nil
679
+ trial: nil
710
680
  )
711
681
  @discounts = discounts
712
682
  @metadata = metadata
@@ -714,7 +684,6 @@ module Stripe
714
684
  @quantity = quantity
715
685
  @tax_rates = tax_rates
716
686
  @trial = trial
717
- @trial_offer = trial_offer
718
687
  end
719
688
  end
720
689
  # Details of the subscription item to add. If an item with the same `price` exists, it will be replaced by this new item. Otherwise, it adds the new item.
@@ -794,12 +763,8 @@ module Stripe
794
763
  attr_accessor :amendment_start
795
764
  # For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp.For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
796
765
  attr_accessor :billing_cycle_anchor
797
- # Actions to apply to the billing schedules.
798
- attr_accessor :billing_schedules_actions
799
766
  # Changes to the coupons being redeemed or discounts being applied during the amendment time span.
800
767
  attr_accessor :discount_actions
801
- # Configures how the subscription schedule handles billing for phase transitions.
802
- attr_accessor :effective_at
803
768
  # Changes to the subscription items during the amendment time span.
804
769
  attr_accessor :item_actions
805
770
  # Instructions for how to modify phase metadata
@@ -817,9 +782,7 @@ module Stripe
817
782
  amendment_end: nil,
818
783
  amendment_start: nil,
819
784
  billing_cycle_anchor: nil,
820
- billing_schedules_actions: nil,
821
785
  discount_actions: nil,
822
- effective_at: nil,
823
786
  item_actions: nil,
824
787
  metadata_actions: nil,
825
788
  proration_behavior: nil,
@@ -830,9 +793,7 @@ module Stripe
830
793
  @amendment_end = amendment_end
831
794
  @amendment_start = amendment_start
832
795
  @billing_cycle_anchor = billing_cycle_anchor
833
- @billing_schedules_actions = billing_schedules_actions
834
796
  @discount_actions = discount_actions
835
- @effective_at = effective_at
836
797
  @item_actions = item_actions
837
798
  @metadata_actions = metadata_actions
838
799
  @proration_behavior = proration_behavior
@@ -862,58 +823,6 @@ module Stripe
862
823
  end
863
824
  end
864
825
 
865
- class BillingSchedule < ::Stripe::RequestParams
866
- class AppliesTo < ::Stripe::RequestParams
867
- # The ID of the price object.
868
- attr_accessor :price
869
- # Controls which subscription items the billing schedule applies to.
870
- attr_accessor :type
871
-
872
- def initialize(price: nil, type: nil)
873
- @price = price
874
- @type = type
875
- end
876
- end
877
-
878
- class BillUntil < ::Stripe::RequestParams
879
- class Duration < ::Stripe::RequestParams
880
- # Specifies billing duration. Either `day`, `week`, `month` or `year`.
881
- attr_accessor :interval
882
- # The multiplier applied to the interval.
883
- attr_accessor :interval_count
884
-
885
- def initialize(interval: nil, interval_count: nil)
886
- @interval = interval
887
- @interval_count = interval_count
888
- end
889
- end
890
- # Specifies the billing period.
891
- attr_accessor :duration
892
- # The end date of the billing schedule.
893
- attr_accessor :timestamp
894
- # Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
895
- attr_accessor :type
896
-
897
- def initialize(duration: nil, timestamp: nil, type: nil)
898
- @duration = duration
899
- @timestamp = timestamp
900
- @type = type
901
- end
902
- end
903
- # Configure billing schedule differently for individual subscription items.
904
- attr_accessor :applies_to
905
- # The end date for the billing schedule.
906
- attr_accessor :bill_until
907
- # Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
908
- attr_accessor :key
909
-
910
- def initialize(applies_to: nil, bill_until: nil, key: nil)
911
- @applies_to = applies_to
912
- @bill_until = bill_until
913
- @key = key
914
- end
915
- end
916
-
917
826
  class Phase < ::Stripe::RequestParams
918
827
  class AddInvoiceItem < ::Stripe::RequestParams
919
828
  class Discount < ::Stripe::RequestParams
@@ -1294,8 +1203,6 @@ module Stripe
1294
1203
  attr_accessor :tax_rates
1295
1204
  # Options that configure the trial on the subscription item.
1296
1205
  attr_accessor :trial
1297
- # The ID of the trial offer to apply to the configuration item.
1298
- attr_accessor :trial_offer
1299
1206
 
1300
1207
  def initialize(
1301
1208
  billing_thresholds: nil,
@@ -1306,8 +1213,7 @@ module Stripe
1306
1213
  price_data: nil,
1307
1214
  quantity: nil,
1308
1215
  tax_rates: nil,
1309
- trial: nil,
1310
- trial_offer: nil
1216
+ trial: nil
1311
1217
  )
1312
1218
  @billing_thresholds = billing_thresholds
1313
1219
  @discounts = discounts
@@ -1318,7 +1224,6 @@ module Stripe
1318
1224
  @quantity = quantity
1319
1225
  @tax_rates = tax_rates
1320
1226
  @trial = trial
1321
- @trial_offer = trial_offer
1322
1227
  end
1323
1228
  end
1324
1229
 
@@ -1383,8 +1288,6 @@ module Stripe
1383
1288
  attr_accessor :discounts
1384
1289
  # The number of intervals the phase should last. If set, `end_date` must not be set.
1385
1290
  attr_accessor :duration
1386
- # Configures how the subscription schedule handles billing for phase transitions.
1387
- attr_accessor :effective_at
1388
1291
  # The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
1389
1292
  attr_accessor :end_date
1390
1293
  # All invoices will be billed using the specified settings.
@@ -1425,7 +1328,6 @@ module Stripe
1425
1328
  description: nil,
1426
1329
  discounts: nil,
1427
1330
  duration: nil,
1428
- effective_at: nil,
1429
1331
  end_date: nil,
1430
1332
  invoice_settings: nil,
1431
1333
  items: nil,
@@ -1452,7 +1354,6 @@ module Stripe
1452
1354
  @description = description
1453
1355
  @discounts = discounts
1454
1356
  @duration = duration
1455
- @effective_at = effective_at
1456
1357
  @end_date = end_date
1457
1358
  @invoice_settings = invoice_settings
1458
1359
  @items = items
@@ -1523,8 +1424,6 @@ module Stripe
1523
1424
  attr_accessor :billing_behavior
1524
1425
  # Controls how prorations and invoices for subscriptions are calculated and orchestrated.
1525
1426
  attr_accessor :billing_mode
1526
- # Sets the billing schedules for the subscription schedule.
1527
- attr_accessor :billing_schedules
1528
1427
  # Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
1529
1428
  attr_accessor :end_behavior
1530
1429
  # List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.
@@ -1538,7 +1437,6 @@ module Stripe
1538
1437
  amendments: nil,
1539
1438
  billing_behavior: nil,
1540
1439
  billing_mode: nil,
1541
- billing_schedules: nil,
1542
1440
  end_behavior: nil,
1543
1441
  phases: nil,
1544
1442
  prebilling: nil,
@@ -1547,7 +1445,6 @@ module Stripe
1547
1445
  @amendments = amendments
1548
1446
  @billing_behavior = billing_behavior
1549
1447
  @billing_mode = billing_mode
1550
- @billing_schedules = billing_schedules
1551
1448
  @end_behavior = end_behavior
1552
1449
  @phases = phases
1553
1450
  @prebilling = prebilling
@@ -1638,18 +1535,6 @@ module Stripe
1638
1535
  end
1639
1536
  end
1640
1537
 
1641
- class CurrentTrial < ::Stripe::RequestParams
1642
- # Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
1643
- attr_accessor :trial_end
1644
- # The ID of the trial offer to apply to the subscription item.
1645
- attr_accessor :trial_offer
1646
-
1647
- def initialize(trial_end: nil, trial_offer: nil)
1648
- @trial_end = trial_end
1649
- @trial_offer = trial_offer
1650
- end
1651
- end
1652
-
1653
1538
  class Discount < ::Stripe::RequestParams
1654
1539
  class DiscountEnd < ::Stripe::RequestParams
1655
1540
  class Duration < ::Stripe::RequestParams
@@ -1738,8 +1623,6 @@ module Stripe
1738
1623
  attr_accessor :billing_thresholds
1739
1624
  # Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
1740
1625
  attr_accessor :clear_usage
1741
- # The trial offer to apply to this subscription item.
1742
- attr_accessor :current_trial
1743
1626
  # A flag that, if set to `true`, will delete the specified item.
1744
1627
  attr_accessor :deleted
1745
1628
  # The coupons to redeem into discounts for the subscription item.
@@ -1762,7 +1645,6 @@ module Stripe
1762
1645
  def initialize(
1763
1646
  billing_thresholds: nil,
1764
1647
  clear_usage: nil,
1765
- current_trial: nil,
1766
1648
  deleted: nil,
1767
1649
  discounts: nil,
1768
1650
  id: nil,
@@ -1775,7 +1657,6 @@ module Stripe
1775
1657
  )
1776
1658
  @billing_thresholds = billing_thresholds
1777
1659
  @clear_usage = clear_usage
1778
- @current_trial = current_trial
1779
1660
  @deleted = deleted
1780
1661
  @discounts = discounts
1781
1662
  @id = id
@@ -60,17 +60,6 @@ module Stripe
60
60
 
61
61
  class PriceData < ::Stripe::RequestParams
62
62
  class ProductData < ::Stripe::RequestParams
63
- class TaxDetails < ::Stripe::RequestParams
64
- # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
65
- attr_accessor :performance_location
66
- # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
67
- attr_accessor :tax_code
68
-
69
- def initialize(performance_location: nil, tax_code: nil)
70
- @performance_location = performance_location
71
- @tax_code = tax_code
72
- end
73
- end
74
63
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
75
64
  attr_accessor :description
76
65
  # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
@@ -83,8 +72,6 @@ module Stripe
83
72
  attr_accessor :tax_code
84
73
  # A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
85
74
  attr_accessor :unit_label
86
- # Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
87
- attr_accessor :tax_details
88
75
 
89
76
  def initialize(
90
77
  description: nil,
@@ -92,8 +79,7 @@ module Stripe
92
79
  metadata: nil,
93
80
  name: nil,
94
81
  tax_code: nil,
95
- unit_label: nil,
96
- tax_details: nil
82
+ unit_label: nil
97
83
  )
98
84
  @description = description
99
85
  @images = images
@@ -101,7 +87,6 @@ module Stripe
101
87
  @name = name
102
88
  @tax_code = tax_code
103
89
  @unit_label = unit_label
104
- @tax_details = tax_details
105
90
  end
106
91
  end
107
92
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
@@ -38,8 +38,6 @@ module Stripe
38
38
  @lte = lte
39
39
  end
40
40
  end
41
- # Only return invoices for the cadence specified by this billing cadence ID.
42
- attr_accessor :billing_cadence
43
41
  # The collection method of the invoice to retrieve. Either `charge_automatically` or `send_invoice`.
44
42
  attr_accessor :collection_method
45
43
  # Only return invoices that were created during the given date interval.
@@ -64,7 +62,6 @@ module Stripe
64
62
  attr_accessor :subscription
65
63
 
66
64
  def initialize(
67
- billing_cadence: nil,
68
65
  collection_method: nil,
69
66
  created: nil,
70
67
  customer: nil,
@@ -77,7 +74,6 @@ module Stripe
77
74
  status: nil,
78
75
  subscription: nil
79
76
  )
80
- @billing_cadence = billing_cadence
81
77
  @collection_method = collection_method
82
78
  @created = created
83
79
  @customer = customer
@@ -61,17 +61,6 @@ module Stripe
61
61
 
62
62
  class PriceData < ::Stripe::RequestParams
63
63
  class ProductData < ::Stripe::RequestParams
64
- class TaxDetails < ::Stripe::RequestParams
65
- # A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
66
- attr_accessor :performance_location
67
- # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
68
- attr_accessor :tax_code
69
-
70
- def initialize(performance_location: nil, tax_code: nil)
71
- @performance_location = performance_location
72
- @tax_code = tax_code
73
- end
74
- end
75
64
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
76
65
  attr_accessor :description
77
66
  # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
@@ -84,8 +73,6 @@ module Stripe
84
73
  attr_accessor :tax_code
85
74
  # A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
86
75
  attr_accessor :unit_label
87
- # Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
88
- attr_accessor :tax_details
89
76
 
90
77
  def initialize(
91
78
  description: nil,
@@ -93,8 +80,7 @@ module Stripe
93
80
  metadata: nil,
94
81
  name: nil,
95
82
  tax_code: nil,
96
- unit_label: nil,
97
- tax_details: nil
83
+ unit_label: nil
98
84
  )
99
85
  @description = description
100
86
  @images = images
@@ -102,7 +88,6 @@ module Stripe
102
88
  @name = name
103
89
  @tax_code = tax_code
104
90
  @unit_label = unit_label
105
- @tax_details = tax_details
106
91
  end
107
92
  end
108
93
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).