stripe 16.1.0.pre.beta.1 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +3 -35
  3. data/lib/stripe/api_version.rb +2 -1
  4. data/lib/stripe/errors.rb +0 -63
  5. data/lib/stripe/event_types.rb +0 -236
  6. data/lib/stripe/object_types.rb +0 -58
  7. data/lib/stripe/params/account_create_params.rb +1 -300
  8. data/lib/stripe/params/account_session_create_params.rb +1 -226
  9. data/lib/stripe/params/account_update_params.rb +0 -262
  10. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -4
  11. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
  12. data/lib/stripe/params/billing/credit_grant_create_params.rb +0 -4
  13. data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
  14. data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
  15. data/lib/stripe/params/charge_capture_params.rb +0 -709
  16. data/lib/stripe/params/charge_update_params.rb +0 -709
  17. data/lib/stripe/params/checkout/session_create_params.rb +3 -193
  18. data/lib/stripe/params/checkout/session_list_params.rb +0 -4
  19. data/lib/stripe/params/checkout/session_update_params.rb +1 -288
  20. data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
  21. data/lib/stripe/params/coupon_create_params.rb +1 -17
  22. data/lib/stripe/params/credit_note_list_params.rb +0 -4
  23. data/lib/stripe/params/customer_session_create_params.rb +1 -4
  24. data/lib/stripe/params/dispute_update_params.rb +1 -10
  25. data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
  26. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
  27. data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
  28. data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
  29. data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
  30. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -46
  31. data/lib/stripe/params/invoice_create_params.rb +2 -112
  32. data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
  33. data/lib/stripe/params/invoice_item_create_params.rb +1 -37
  34. data/lib/stripe/params/invoice_item_list_params.rb +0 -4
  35. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  36. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
  37. data/lib/stripe/params/invoice_list_params.rb +0 -4
  38. data/lib/stripe/params/invoice_payment_list_params.rb +1 -4
  39. data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
  40. data/lib/stripe/params/invoice_update_params.rb +2 -108
  41. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  42. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  43. data/lib/stripe/params/payment_intent_capture_params.rb +0 -895
  44. data/lib/stripe/params/payment_intent_confirm_params.rb +18 -1384
  45. data/lib/stripe/params/payment_intent_create_params.rb +16 -1390
  46. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -223
  47. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  48. data/lib/stripe/params/payment_intent_update_params.rb +4 -1409
  49. data/lib/stripe/params/payment_method_attach_params.rb +1 -4
  50. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
  51. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
  52. data/lib/stripe/params/payment_method_create_params.rb +0 -97
  53. data/lib/stripe/params/payment_method_update_params.rb +0 -19
  54. data/lib/stripe/params/price_update_params.rb +0 -19
  55. data/lib/stripe/params/promotion_code_create_params.rb +0 -4
  56. data/lib/stripe/params/promotion_code_list_params.rb +0 -4
  57. data/lib/stripe/params/quote_create_params.rb +3 -805
  58. data/lib/stripe/params/quote_list_params.rb +0 -8
  59. data/lib/stripe/params/quote_update_params.rb +4 -813
  60. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
  61. data/lib/stripe/params/setup_intent_create_params.rb +3 -231
  62. data/lib/stripe/params/setup_intent_list_params.rb +0 -4
  63. data/lib/stripe/params/setup_intent_update_params.rb +3 -231
  64. data/lib/stripe/params/subscription_create_params.rb +5 -259
  65. data/lib/stripe/params/subscription_item_create_params.rb +2 -46
  66. data/lib/stripe/params/subscription_item_update_params.rb +1 -29
  67. data/lib/stripe/params/subscription_list_params.rb +0 -4
  68. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
  69. data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
  70. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
  71. data/lib/stripe/params/subscription_update_params.rb +4 -238
  72. data/lib/stripe/params/tax_id_create_params.rb +1 -4
  73. data/lib/stripe/params/tax_id_list_params.rb +1 -4
  74. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  75. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  76. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
  77. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  78. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  79. data/lib/stripe/params/transfer_create_params.rb +0 -4
  80. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  81. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  82. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  83. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  84. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  85. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  86. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  87. data/lib/stripe/params.rb +0 -169
  88. data/lib/stripe/request_options.rb +1 -3
  89. data/lib/stripe/resources/account.rb +1 -166
  90. data/lib/stripe/resources/account_session.rb +0 -81
  91. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  92. data/lib/stripe/resources/billing/credit_grant.rb +0 -2
  93. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  94. data/lib/stripe/resources/card.rb +0 -2
  95. data/lib/stripe/resources/cash_balance.rb +0 -2
  96. data/lib/stripe/resources/charge.rb +1 -234
  97. data/lib/stripe/resources/checkout/session.rb +4 -154
  98. data/lib/stripe/resources/confirmation_token.rb +0 -155
  99. data/lib/stripe/resources/coupon.rb +1 -26
  100. data/lib/stripe/resources/credit_note.rb +0 -2
  101. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  102. data/lib/stripe/resources/customer.rb +0 -2
  103. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  104. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  105. data/lib/stripe/resources/customer_session.rb +0 -2
  106. data/lib/stripe/resources/discount.rb +0 -2
  107. data/lib/stripe/resources/dispute.rb +0 -22
  108. data/lib/stripe/resources/event.rb +1 -64
  109. data/lib/stripe/resources/financial_connections/account.rb +0 -27
  110. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  111. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  112. data/lib/stripe/resources/invoice.rb +1 -152
  113. data/lib/stripe/resources/invoice_item.rb +0 -4
  114. data/lib/stripe/resources/invoice_line_item.rb +0 -40
  115. data/lib/stripe/resources/invoice_payment.rb +0 -2
  116. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  117. data/lib/stripe/resources/line_item.rb +1 -68
  118. data/lib/stripe/resources/mandate.rb +0 -71
  119. data/lib/stripe/resources/payment_intent.rb +4 -848
  120. data/lib/stripe/resources/payment_method.rb +0 -157
  121. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  122. data/lib/stripe/resources/price.rb +0 -20
  123. data/lib/stripe/resources/promotion_code.rb +0 -2
  124. data/lib/stripe/resources/quote.rb +2 -571
  125. data/lib/stripe/resources/refund.rb +0 -18
  126. data/lib/stripe/resources/setup_attempt.rb +0 -63
  127. data/lib/stripe/resources/setup_intent.rb +1 -132
  128. data/lib/stripe/resources/source.rb +0 -38
  129. data/lib/stripe/resources/subscription.rb +0 -232
  130. data/lib/stripe/resources/subscription_item.rb +1 -20
  131. data/lib/stripe/resources/subscription_schedule.rb +3 -198
  132. data/lib/stripe/resources/tax_id.rb +0 -4
  133. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  134. data/lib/stripe/resources/terminal/reader.rb +0 -8
  135. data/lib/stripe/resources/transfer.rb +0 -2
  136. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  137. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  138. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  139. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  140. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  141. data/lib/stripe/resources.rb +0 -116
  142. data/lib/stripe/services/billing_service.rb +1 -2
  143. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  144. data/lib/stripe/services/financial_connections_service.rb +1 -2
  145. data/lib/stripe/services/issuing_service.rb +1 -5
  146. data/lib/stripe/services/mandate_service.rb +0 -5
  147. data/lib/stripe/services/payment_intent_service.rb +0 -44
  148. data/lib/stripe/services/quote_service.rb +1 -49
  149. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  150. data/lib/stripe/services/subscription_service.rb +0 -11
  151. data/lib/stripe/services/tax_service.rb +1 -3
  152. data/lib/stripe/services/terminal_service.rb +1 -3
  153. data/lib/stripe/services/v1_services.rb +1 -10
  154. data/lib/stripe/services/v2/billing_service.rb +1 -5
  155. data/lib/stripe/services/v2/core_service.rb +1 -4
  156. data/lib/stripe/services/v2_services.rb +1 -4
  157. data/lib/stripe/services.rb +0 -61
  158. data/lib/stripe/stripe_client.rb +1 -1
  159. data/lib/stripe/stripe_configuration.rb +2 -9
  160. data/lib/stripe/stripe_object.rb +15 -9
  161. data/lib/stripe/util.rb +3 -9
  162. data/lib/stripe/version.rb +1 -1
  163. data/lib/stripe.rb +0 -53
  164. data/rbi/stripe.rbi +98094 -162674
  165. metadata +5 -351
  166. data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
  167. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  168. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  169. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  170. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  171. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  172. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  173. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  174. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  175. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  176. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  177. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  178. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  179. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  180. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  181. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  182. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  183. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  184. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  185. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  186. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  187. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  188. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  189. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  190. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  191. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  192. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  193. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  194. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  195. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  196. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  197. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  198. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  199. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  200. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  201. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  202. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  203. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  204. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  205. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  206. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  207. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  208. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  209. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  210. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  211. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  212. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  213. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  214. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  215. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  216. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  217. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  218. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -44
  219. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  220. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  221. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  222. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  223. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  224. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  225. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  226. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  227. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  228. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  229. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  230. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  231. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  232. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  233. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  234. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  235. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  236. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  237. data/lib/stripe/params/external_account_create_params.rb +0 -134
  238. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  239. data/lib/stripe/params/external_account_list_params.rb +0 -25
  240. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  241. data/lib/stripe/params/external_account_update_params.rb +0 -91
  242. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  243. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  244. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  245. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  246. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  247. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  248. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  249. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  250. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  251. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  252. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  253. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  254. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  255. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  256. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  257. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  258. data/lib/stripe/params/mandate_list_params.rb +0 -39
  259. data/lib/stripe/params/margin_create_params.rb +0 -25
  260. data/lib/stripe/params/margin_list_params.rb +0 -25
  261. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  262. data/lib/stripe/params/margin_update_params.rb +0 -22
  263. data/lib/stripe/params/order_cancel_params.rb +0 -13
  264. data/lib/stripe/params/order_create_params.rb +0 -1124
  265. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  266. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  267. data/lib/stripe/params/order_list_params.rb +0 -25
  268. data/lib/stripe/params/order_reopen_params.rb +0 -13
  269. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  270. data/lib/stripe/params/order_submit_params.rb +0 -16
  271. data/lib/stripe/params/order_update_params.rb +0 -1128
  272. data/lib/stripe/params/payment_attempt_record_list_params.rb +0 -19
  273. data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +0 -13
  274. data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +0 -22
  275. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  276. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  277. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +0 -19
  278. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +0 -19
  279. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +0 -19
  280. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +0 -93
  281. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +0 -186
  282. data/lib/stripe/params/payment_record_report_payment_params.rb +0 -252
  283. data/lib/stripe/params/payment_record_retrieve_params.rb +0 -13
  284. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  285. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  286. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  287. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  288. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  289. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  290. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  291. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  292. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  293. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  294. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  295. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  296. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  297. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  298. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  299. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  300. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  301. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  302. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  303. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  304. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  305. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  306. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  307. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  308. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  309. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  310. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  311. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  312. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  313. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  314. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
  315. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
  316. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  317. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  318. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
  319. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  320. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  321. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  322. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  323. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  324. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  325. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  326. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  327. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  328. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  329. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  330. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2217
  331. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  332. data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
  333. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  334. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2245
  335. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  336. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  337. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  338. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  339. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  340. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  341. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  342. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  343. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  344. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  345. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  346. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  347. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  348. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  349. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  350. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  351. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  352. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  353. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  354. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  355. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
  356. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  357. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  358. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  359. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  360. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  361. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  362. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
  363. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  364. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  365. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  366. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  367. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  368. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
  369. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  370. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  371. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  372. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  373. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
  374. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  375. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  376. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  377. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  378. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  379. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  380. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  381. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  382. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  383. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  384. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  385. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  386. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  387. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  388. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  389. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  390. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  391. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  392. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  393. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  394. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  395. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  396. data/lib/stripe/resources/account_notice.rb +0 -94
  397. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  398. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  399. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  400. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  401. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  402. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  403. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  404. data/lib/stripe/resources/fx_quote.rb +0 -147
  405. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  406. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  407. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  408. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  409. data/lib/stripe/resources/margin.rb +0 -64
  410. data/lib/stripe/resources/order.rb +0 -987
  411. data/lib/stripe/resources/payment_attempt_record.rb +0 -2102
  412. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -128
  413. data/lib/stripe/resources/payment_record.rb +0 -2208
  414. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  415. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  416. data/lib/stripe/resources/quote_line.rb +0 -521
  417. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  418. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  419. data/lib/stripe/resources/tax/association.rb +0 -86
  420. data/lib/stripe/resources/tax/form.rb +0 -264
  421. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  422. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  423. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  424. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  425. data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
  426. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  427. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  428. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  429. data/lib/stripe/resources/v2/core/account.rb +0 -3851
  430. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  431. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  432. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  433. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
  434. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  435. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  436. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  437. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  438. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  439. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  440. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
  441. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  442. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  443. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
  444. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
  445. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  446. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  447. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
  448. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  449. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  450. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  451. data/lib/stripe/services/account_notice_service.rb +0 -39
  452. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  453. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  454. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  455. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  456. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  457. data/lib/stripe/services/capital_service.rb +0 -15
  458. data/lib/stripe/services/external_account_service.rb +0 -68
  459. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  460. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  461. data/lib/stripe/services/fx_quote_service.rb +0 -27
  462. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  463. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  464. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  465. data/lib/stripe/services/margin_service.rb +0 -50
  466. data/lib/stripe/services/order_line_item_service.rb +0 -17
  467. data/lib/stripe/services/order_service.rb +0 -78
  468. data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
  469. data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +0 -17
  470. data/lib/stripe/services/payment_record_service.rb +0 -89
  471. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  472. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  473. data/lib/stripe/services/privacy_service.rb +0 -13
  474. data/lib/stripe/services/quote_line_service.rb +0 -17
  475. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  476. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  477. data/lib/stripe/services/tax/association_service.rb +0 -19
  478. data/lib/stripe/services/tax/form_service.rb +0 -37
  479. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  480. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  481. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  482. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  483. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  484. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  485. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  486. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  487. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  488. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  489. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  490. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -74
  491. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
  492. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  493. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  494. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
  495. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  496. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  497. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  498. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  499. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  500. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  501. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  502. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  503. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  504. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  505. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  506. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  507. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  508. data/lib/stripe/services/v2/payment_service.rb +0 -15
  509. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  510. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  511. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -4,44 +4,16 @@
4
4
  module Stripe
5
5
  class InvoiceItemCreateParams < Stripe::RequestParams
6
6
  class Discount < Stripe::RequestParams
7
- class DiscountEnd < Stripe::RequestParams
8
- class Duration < Stripe::RequestParams
9
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
10
- attr_accessor :interval
11
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
12
- attr_accessor :interval_count
13
-
14
- def initialize(interval: nil, interval_count: nil)
15
- @interval = interval
16
- @interval_count = interval_count
17
- end
18
- end
19
- # Time span for the redeemed discount.
20
- attr_accessor :duration
21
- # A precise Unix timestamp for the discount to end. Must be in the future.
22
- attr_accessor :timestamp
23
- # The type of calculation made to determine when the discount ends.
24
- attr_accessor :type
25
-
26
- def initialize(duration: nil, timestamp: nil, type: nil)
27
- @duration = duration
28
- @timestamp = timestamp
29
- @type = type
30
- end
31
- end
32
7
  # ID of the coupon to create a new discount for.
33
8
  attr_accessor :coupon
34
9
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
35
10
  attr_accessor :discount
36
- # Details to determine how long the discount should be applied for.
37
- attr_accessor :discount_end
38
11
  # ID of the promotion code to create a new discount for.
39
12
  attr_accessor :promotion_code
40
13
 
41
- def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
14
+ def initialize(coupon: nil, discount: nil, promotion_code: nil)
42
15
  @coupon = coupon
43
16
  @discount = discount
44
- @discount_end = discount_end
45
17
  @promotion_code = promotion_code
46
18
  end
47
19
  end
@@ -99,8 +71,6 @@ module Stripe
99
71
  attr_accessor :currency
100
72
  # The ID of the customer who will be billed when this invoice item is billed.
101
73
  attr_accessor :customer
102
- # The ID of the account who will be billed when this invoice item is billed.
103
- attr_accessor :customer_account
104
74
  # An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking.
105
75
  attr_accessor :description
106
76
  # Controls whether discounts apply to this invoice item. Defaults to false for prorations or negative invoice items, and true for all other invoice items.
@@ -111,8 +81,6 @@ module Stripe
111
81
  attr_accessor :expand
112
82
  # The ID of an existing invoice to add this invoice item to. For subscription invoices, when left blank, the invoice item will be added to the next upcoming scheduled invoice. For standalone invoices, the invoice item won't be automatically added unless you pass `pending_invoice_item_behavior: 'include'` when creating the invoice. This is useful when adding invoice items in response to an invoice.created webhook. You can only add invoice items to draft invoices and there is a maximum of 250 items per invoice.
113
83
  attr_accessor :invoice
114
- # The ids of the margins to apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item.
115
- attr_accessor :margins
116
84
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
117
85
  attr_accessor :metadata
118
86
  # The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.
@@ -138,13 +106,11 @@ module Stripe
138
106
  amount: nil,
139
107
  currency: nil,
140
108
  customer: nil,
141
- customer_account: nil,
142
109
  description: nil,
143
110
  discountable: nil,
144
111
  discounts: nil,
145
112
  expand: nil,
146
113
  invoice: nil,
147
- margins: nil,
148
114
  metadata: nil,
149
115
  period: nil,
150
116
  price_data: nil,
@@ -159,13 +125,11 @@ module Stripe
159
125
  @amount = amount
160
126
  @currency = currency
161
127
  @customer = customer
162
- @customer_account = customer_account
163
128
  @description = description
164
129
  @discountable = discountable
165
130
  @discounts = discounts
166
131
  @expand = expand
167
132
  @invoice = invoice
168
- @margins = margins
169
133
  @metadata = metadata
170
134
  @period = period
171
135
  @price_data = price_data
@@ -24,8 +24,6 @@ module Stripe
24
24
  attr_accessor :created
25
25
  # The identifier of the customer whose invoice items to return. If none is provided, all invoice items will be returned.
26
26
  attr_accessor :customer
27
- # The identifier of the account whose invoice items to return. If none is provided, all invoice items will be returned.
28
- attr_accessor :customer_account
29
27
  # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
30
28
  attr_accessor :ending_before
31
29
  # Specifies which fields in the response should be expanded.
@@ -42,7 +40,6 @@ module Stripe
42
40
  def initialize(
43
41
  created: nil,
44
42
  customer: nil,
45
- customer_account: nil,
46
43
  ending_before: nil,
47
44
  expand: nil,
48
45
  invoice: nil,
@@ -52,7 +49,6 @@ module Stripe
52
49
  )
53
50
  @created = created
54
51
  @customer = customer
55
- @customer_account = customer_account
56
52
  @ending_before = ending_before
57
53
  @expand = expand
58
54
  @invoice = invoice
@@ -4,44 +4,16 @@
4
4
  module Stripe
5
5
  class InvoiceItemUpdateParams < Stripe::RequestParams
6
6
  class Discount < Stripe::RequestParams
7
- class DiscountEnd < Stripe::RequestParams
8
- class Duration < Stripe::RequestParams
9
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
10
- attr_accessor :interval
11
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
12
- attr_accessor :interval_count
13
-
14
- def initialize(interval: nil, interval_count: nil)
15
- @interval = interval
16
- @interval_count = interval_count
17
- end
18
- end
19
- # Time span for the redeemed discount.
20
- attr_accessor :duration
21
- # A precise Unix timestamp for the discount to end. Must be in the future.
22
- attr_accessor :timestamp
23
- # The type of calculation made to determine when the discount ends.
24
- attr_accessor :type
25
-
26
- def initialize(duration: nil, timestamp: nil, type: nil)
27
- @duration = duration
28
- @timestamp = timestamp
29
- @type = type
30
- end
31
- end
32
7
  # ID of the coupon to create a new discount for.
33
8
  attr_accessor :coupon
34
9
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
35
10
  attr_accessor :discount
36
- # Details to determine how long the discount should be applied for.
37
- attr_accessor :discount_end
38
11
  # ID of the promotion code to create a new discount for.
39
12
  attr_accessor :promotion_code
40
13
 
41
- def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
14
+ def initialize(coupon: nil, discount: nil, promotion_code: nil)
42
15
  @coupon = coupon
43
16
  @discount = discount
44
- @discount_end = discount_end
45
17
  @promotion_code = promotion_code
46
18
  end
47
19
  end
@@ -103,8 +75,6 @@ module Stripe
103
75
  attr_accessor :discounts
104
76
  # Specifies which fields in the response should be expanded.
105
77
  attr_accessor :expand
106
- # The ids of the margins to apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item.
107
- attr_accessor :margins
108
78
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
109
79
  attr_accessor :metadata
110
80
  # The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.
@@ -130,7 +100,6 @@ module Stripe
130
100
  discountable: nil,
131
101
  discounts: nil,
132
102
  expand: nil,
133
- margins: nil,
134
103
  metadata: nil,
135
104
  period: nil,
136
105
  price_data: nil,
@@ -146,7 +115,6 @@ module Stripe
146
115
  @discountable = discountable
147
116
  @discounts = discounts
148
117
  @expand = expand
149
- @margins = margins
150
118
  @metadata = metadata
151
119
  @period = period
152
120
  @price_data = price_data
@@ -4,44 +4,16 @@
4
4
  module Stripe
5
5
  class InvoiceLineItemUpdateParams < Stripe::RequestParams
6
6
  class Discount < Stripe::RequestParams
7
- class DiscountEnd < Stripe::RequestParams
8
- class Duration < Stripe::RequestParams
9
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
10
- attr_accessor :interval
11
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
12
- attr_accessor :interval_count
13
-
14
- def initialize(interval: nil, interval_count: nil)
15
- @interval = interval
16
- @interval_count = interval_count
17
- end
18
- end
19
- # Time span for the redeemed discount.
20
- attr_accessor :duration
21
- # A precise Unix timestamp for the discount to end. Must be in the future.
22
- attr_accessor :timestamp
23
- # The type of calculation made to determine when the discount ends.
24
- attr_accessor :type
25
-
26
- def initialize(duration: nil, timestamp: nil, type: nil)
27
- @duration = duration
28
- @timestamp = timestamp
29
- @type = type
30
- end
31
- end
32
7
  # ID of the coupon to create a new discount for.
33
8
  attr_accessor :coupon
34
9
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
35
10
  attr_accessor :discount
36
- # Details to determine how long the discount should be applied for.
37
- attr_accessor :discount_end
38
11
  # ID of the promotion code to create a new discount for.
39
12
  attr_accessor :promotion_code
40
13
 
41
- def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
14
+ def initialize(coupon: nil, discount: nil, promotion_code: nil)
42
15
  @coupon = coupon
43
16
  @discount = discount
44
- @discount_end = discount_end
45
17
  @promotion_code = promotion_code
46
18
  end
47
19
  end
@@ -199,8 +171,6 @@ module Stripe
199
171
  attr_accessor :discounts
200
172
  # Specifies which fields in the response should be expanded.
201
173
  attr_accessor :expand
202
- # The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.
203
- attr_accessor :margins
204
174
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For [type=subscription](https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-type) line items, the incoming metadata specified on the request is directly used to set this value, in contrast to [type=invoiceitem](api/invoices/line_item#invoice_line_item_object-type) line items, where any existing metadata on the invoice line is merged with the incoming data.
205
175
  attr_accessor :metadata
206
176
  # The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.
@@ -222,7 +192,6 @@ module Stripe
222
192
  discountable: nil,
223
193
  discounts: nil,
224
194
  expand: nil,
225
- margins: nil,
226
195
  metadata: nil,
227
196
  period: nil,
228
197
  price_data: nil,
@@ -236,7 +205,6 @@ module Stripe
236
205
  @discountable = discountable
237
206
  @discounts = discounts
238
207
  @expand = expand
239
- @margins = margins
240
208
  @metadata = metadata
241
209
  @period = period
242
210
  @price_data = price_data
@@ -44,8 +44,6 @@ module Stripe
44
44
  attr_accessor :created
45
45
  # Only return invoices for the customer specified by this customer ID.
46
46
  attr_accessor :customer
47
- # Only return invoices for the account specified by this account ID.
48
- attr_accessor :customer_account
49
47
  # Attribute for param field due_date
50
48
  attr_accessor :due_date
51
49
  # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
@@ -65,7 +63,6 @@ module Stripe
65
63
  collection_method: nil,
66
64
  created: nil,
67
65
  customer: nil,
68
- customer_account: nil,
69
66
  due_date: nil,
70
67
  ending_before: nil,
71
68
  expand: nil,
@@ -77,7 +74,6 @@ module Stripe
77
74
  @collection_method = collection_method
78
75
  @created = created
79
76
  @customer = customer
80
- @customer_account = customer_account
81
77
  @due_date = due_date
82
78
  @ending_before = ending_before
83
79
  @expand = expand
@@ -6,14 +6,11 @@ module Stripe
6
6
  class Payment < Stripe::RequestParams
7
7
  # Only return invoice payments associated by this payment intent ID.
8
8
  attr_accessor :payment_intent
9
- # Only return invoice payments associated by this payment record ID.
10
- attr_accessor :payment_record
11
9
  # Only return invoice payments associated by this payment type.
12
10
  attr_accessor :type
13
11
 
14
- def initialize(payment_intent: nil, payment_record: nil, type: nil)
12
+ def initialize(payment_intent: nil, type: nil)
15
13
  @payment_intent = payment_intent
16
- @payment_record = payment_record
17
14
  @type = type
18
15
  end
19
16
  end
@@ -5,44 +5,16 @@ module Stripe
5
5
  class InvoiceUpdateLinesParams < Stripe::RequestParams
6
6
  class Line < Stripe::RequestParams
7
7
  class Discount < Stripe::RequestParams
8
- class DiscountEnd < Stripe::RequestParams
9
- class Duration < Stripe::RequestParams
10
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
11
- attr_accessor :interval
12
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
13
- attr_accessor :interval_count
14
-
15
- def initialize(interval: nil, interval_count: nil)
16
- @interval = interval
17
- @interval_count = interval_count
18
- end
19
- end
20
- # Time span for the redeemed discount.
21
- attr_accessor :duration
22
- # A precise Unix timestamp for the discount to end. Must be in the future.
23
- attr_accessor :timestamp
24
- # The type of calculation made to determine when the discount ends.
25
- attr_accessor :type
26
-
27
- def initialize(duration: nil, timestamp: nil, type: nil)
28
- @duration = duration
29
- @timestamp = timestamp
30
- @type = type
31
- end
32
- end
33
8
  # ID of the coupon to create a new discount for.
34
9
  attr_accessor :coupon
35
10
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
36
11
  attr_accessor :discount
37
- # Details to determine how long the discount should be applied for.
38
- attr_accessor :discount_end
39
12
  # ID of the promotion code to create a new discount for.
40
13
  attr_accessor :promotion_code
41
14
 
42
- def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
15
+ def initialize(coupon: nil, discount: nil, promotion_code: nil)
43
16
  @coupon = coupon
44
17
  @discount = discount
45
- @discount_end = discount_end
46
18
  @promotion_code = promotion_code
47
19
  end
48
20
  end
@@ -200,8 +172,6 @@ module Stripe
200
172
  attr_accessor :discounts
201
173
  # ID of an existing line item on the invoice.
202
174
  attr_accessor :id
203
- # The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.
204
- attr_accessor :margins
205
175
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For [type=subscription](https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-type) line items, the incoming metadata specified on the request is directly used to set this value, in contrast to [type=invoiceitem](api/invoices/line_item#invoice_line_item_object-type) line items, where any existing metadata on the invoice line is merged with the incoming data.
206
176
  attr_accessor :metadata
207
177
  # The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.
@@ -223,7 +193,6 @@ module Stripe
223
193
  discountable: nil,
224
194
  discounts: nil,
225
195
  id: nil,
226
- margins: nil,
227
196
  metadata: nil,
228
197
  period: nil,
229
198
  price_data: nil,
@@ -237,7 +206,6 @@ module Stripe
237
206
  @discountable = discountable
238
207
  @discounts = discounts
239
208
  @id = id
240
- @margins = margins
241
209
  @metadata = metadata
242
210
  @period = period
243
211
  @price_data = price_data
@@ -3,24 +3,6 @@
3
3
 
4
4
  module Stripe
5
5
  class InvoiceUpdateParams < Stripe::RequestParams
6
- class AmountsDue < Stripe::RequestParams
7
- # The amount in cents (or local equivalent).
8
- attr_accessor :amount
9
- # Number of days from when invoice is finalized until the payment is due.
10
- attr_accessor :days_until_due
11
- # An arbitrary string attached to the object. Often useful for displaying to users.
12
- attr_accessor :description
13
- # Date on which a payment plan’s payment is due.
14
- attr_accessor :due_date
15
-
16
- def initialize(amount: nil, days_until_due: nil, description: nil, due_date: nil)
17
- @amount = amount
18
- @days_until_due = days_until_due
19
- @description = description
20
- @due_date = due_date
21
- end
22
- end
23
-
24
6
  class AutomaticTax < Stripe::RequestParams
25
7
  class Liability < Stripe::RequestParams
26
8
  # The connected account being referenced when `type` is `account`.
@@ -57,44 +39,16 @@ module Stripe
57
39
  end
58
40
 
59
41
  class Discount < Stripe::RequestParams
60
- class DiscountEnd < Stripe::RequestParams
61
- class Duration < Stripe::RequestParams
62
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
63
- attr_accessor :interval
64
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
65
- attr_accessor :interval_count
66
-
67
- def initialize(interval: nil, interval_count: nil)
68
- @interval = interval
69
- @interval_count = interval_count
70
- end
71
- end
72
- # Time span for the redeemed discount.
73
- attr_accessor :duration
74
- # A precise Unix timestamp for the discount to end. Must be in the future.
75
- attr_accessor :timestamp
76
- # The type of calculation made to determine when the discount ends.
77
- attr_accessor :type
78
-
79
- def initialize(duration: nil, timestamp: nil, type: nil)
80
- @duration = duration
81
- @timestamp = timestamp
82
- @type = type
83
- end
84
- end
85
42
  # ID of the coupon to create a new discount for.
86
43
  attr_accessor :coupon
87
44
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
88
45
  attr_accessor :discount
89
- # Details to determine how long the discount should be applied for.
90
- attr_accessor :discount_end
91
46
  # ID of the promotion code to create a new discount for.
92
47
  attr_accessor :promotion_code
93
48
 
94
- def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
49
+ def initialize(coupon: nil, discount: nil, promotion_code: nil)
95
50
  @coupon = coupon
96
51
  @discount = discount
97
- @discount_end = discount_end
98
52
  @promotion_code = promotion_code
99
53
  end
100
54
  end
@@ -214,57 +168,17 @@ module Stripe
214
168
  end
215
169
  end
216
170
 
217
- class IdBankTransfer < Stripe::RequestParams; end
218
171
  class Konbini < Stripe::RequestParams; end
219
-
220
- class Pix < Stripe::RequestParams
221
- # Determines if the amount includes the IOF tax. Defaults to `never`.
222
- attr_accessor :amount_includes_iof
223
-
224
- def initialize(amount_includes_iof: nil)
225
- @amount_includes_iof = amount_includes_iof
226
- end
227
- end
228
-
229
172
  class SepaDebit < Stripe::RequestParams; end
230
173
 
231
- class Upi < Stripe::RequestParams
232
- class MandateOptions < Stripe::RequestParams
233
- # Amount to be charged for future payments.
234
- attr_accessor :amount
235
- # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
236
- attr_accessor :amount_type
237
- # A description of the mandate or subscription that is meant to be displayed to the customer.
238
- attr_accessor :description
239
- # End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
240
- attr_accessor :end_date
241
-
242
- def initialize(amount: nil, amount_type: nil, description: nil, end_date: nil)
243
- @amount = amount
244
- @amount_type = amount_type
245
- @description = description
246
- @end_date = end_date
247
- end
248
- end
249
- # Configuration options for setting up an eMandate
250
- attr_accessor :mandate_options
251
-
252
- def initialize(mandate_options: nil)
253
- @mandate_options = mandate_options
254
- end
255
- end
256
-
257
174
  class UsBankAccount < Stripe::RequestParams
258
175
  class FinancialConnections < Stripe::RequestParams
259
176
  class Filters < Stripe::RequestParams
260
177
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
261
178
  attr_accessor :account_subcategories
262
- # ID of the institution to use to filter for selectable accounts.
263
- attr_accessor :institution
264
179
 
265
- def initialize(account_subcategories: nil, institution: nil)
180
+ def initialize(account_subcategories: nil)
266
181
  @account_subcategories = account_subcategories
267
- @institution = institution
268
182
  end
269
183
  end
270
184
  # Provide filters for the linked accounts that the customer can select for the payment method.
@@ -298,16 +212,10 @@ module Stripe
298
212
  attr_accessor :card
299
213
  # If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.
300
214
  attr_accessor :customer_balance
301
- # If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.
302
- attr_accessor :id_bank_transfer
303
215
  # If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.
304
216
  attr_accessor :konbini
305
- # If paying by `pix`, this sub-hash contains details about the Pix payment method options to pass to the invoice’s PaymentIntent.
306
- attr_accessor :pix
307
217
  # If paying by `sepa_debit`, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.
308
218
  attr_accessor :sepa_debit
309
- # If paying by `upi`, this sub-hash contains details about the UPI payment method options to pass to the invoice’s PaymentIntent.
310
- attr_accessor :upi
311
219
  # If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
312
220
  attr_accessor :us_bank_account
313
221
 
@@ -316,22 +224,16 @@ module Stripe
316
224
  bancontact: nil,
317
225
  card: nil,
318
226
  customer_balance: nil,
319
- id_bank_transfer: nil,
320
227
  konbini: nil,
321
- pix: nil,
322
228
  sepa_debit: nil,
323
- upi: nil,
324
229
  us_bank_account: nil
325
230
  )
326
231
  @acss_debit = acss_debit
327
232
  @bancontact = bancontact
328
233
  @card = card
329
234
  @customer_balance = customer_balance
330
- @id_bank_transfer = id_bank_transfer
331
235
  @konbini = konbini
332
- @pix = pix
333
236
  @sepa_debit = sepa_debit
334
- @upi = upi
335
237
  @us_bank_account = us_bank_account
336
238
  end
337
239
  end
@@ -541,8 +443,6 @@ module Stripe
541
443
  end
542
444
  # The account tax IDs associated with the invoice. Only editable when the invoice is a draft.
543
445
  attr_accessor :account_tax_ids
544
- # List of expected payments and corresponding due dates. Valid only for invoices where `collection_method=send_invoice`.
545
- attr_accessor :amounts_due
546
446
  # A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/billing/invoices/connect#collecting-fees).
547
447
  attr_accessor :application_fee_amount
548
448
  # Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice.
@@ -557,8 +457,6 @@ module Stripe
557
457
  attr_accessor :custom_fields
558
458
  # The number of days from which the invoice is created until it is due. Only valid for invoices where `collection_method=send_invoice`. This field can only be updated on `draft` invoices.
559
459
  attr_accessor :days_until_due
560
- # The ids of the margins to apply to the invoice. Can be overridden by line item `margins`.
561
- attr_accessor :default_margins
562
460
  # ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.
563
461
  attr_accessor :default_payment_method
564
462
  # ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source.
@@ -600,7 +498,6 @@ module Stripe
600
498
 
601
499
  def initialize(
602
500
  account_tax_ids: nil,
603
- amounts_due: nil,
604
501
  application_fee_amount: nil,
605
502
  auto_advance: nil,
606
503
  automatic_tax: nil,
@@ -608,7 +505,6 @@ module Stripe
608
505
  collection_method: nil,
609
506
  custom_fields: nil,
610
507
  days_until_due: nil,
611
- default_margins: nil,
612
508
  default_payment_method: nil,
613
509
  default_source: nil,
614
510
  default_tax_rates: nil,
@@ -630,7 +526,6 @@ module Stripe
630
526
  transfer_data: nil
631
527
  )
632
528
  @account_tax_ids = account_tax_ids
633
- @amounts_due = amounts_due
634
529
  @application_fee_amount = application_fee_amount
635
530
  @auto_advance = auto_advance
636
531
  @automatic_tax = automatic_tax
@@ -638,7 +533,6 @@ module Stripe
638
533
  @collection_method = collection_method
639
534
  @custom_fields = custom_fields
640
535
  @days_until_due = days_until_due
641
- @default_margins = default_margins
642
536
  @default_payment_method = default_payment_method
643
537
  @default_source = default_source
644
538
  @default_tax_rates = default_tax_rates
@@ -194,8 +194,7 @@ module Stripe
194
194
  attr_accessor :metadata
195
195
  # The cardholder's name. This will be printed on cards issued to them. The maximum length of this field is 24 characters. This field cannot contain any special characters or numbers.
196
196
  attr_accessor :name
197
- # The cardholder's phone number. This will be transformed to [E.164](https://en.wikipedia.org/wiki/E.164) if it is not provided in that format already. This is required for all cardholders who will be creating EU cards.
198
- # While phone number is optional if the cardholder will not be creating EU cards, note that this cardholder will not be eligible for 3DS without a phone number. See the [3D Secure documentation](https://stripe.com/docs/issuing/3d-secure#when-is-3d-secure-applied) for more details.
197
+ # The cardholder's phone number. This will be transformed to [E.164](https://en.wikipedia.org/wiki/E.164) if it is not provided in that format already. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://stripe.com/docs/issuing/3d-secure#when-is-3d-secure-applied) for more details.
199
198
  attr_accessor :phone_number
200
199
  # The cardholder’s preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.
201
200
  # This changes the language of the [3D Secure flow](https://stripe.com/docs/issuing/3d-secure) and one-time password messages sent to the cardholder.
@@ -33,8 +33,6 @@ module Stripe
33
33
  attr_accessor :expand
34
34
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
35
35
  attr_accessor :limit
36
- # Only return transactions that are associated with the given settlement.
37
- attr_accessor :settlement
38
36
  # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
39
37
  attr_accessor :starting_after
40
38
  # Only return transactions that have the given type. One of `capture` or `refund`.
@@ -47,7 +45,6 @@ module Stripe
47
45
  ending_before: nil,
48
46
  expand: nil,
49
47
  limit: nil,
50
- settlement: nil,
51
48
  starting_after: nil,
52
49
  type: nil
53
50
  )
@@ -57,7 +54,6 @@ module Stripe
57
54
  @ending_before = ending_before
58
55
  @expand = expand
59
56
  @limit = limit
60
- @settlement = settlement
61
57
  @starting_after = starting_after
62
58
  @type = type
63
59
  end