stripe 13.1.1 → 13.2.0.pre.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1385 -645
  3. data/OPENAPI_VERSION +1 -1
  4. data/VERSION +1 -1
  5. data/lib/stripe/object_types.rb +22 -0
  6. data/lib/stripe/request_signing_authenticator.rb +79 -0
  7. data/lib/stripe/resources/account_notice.rb +32 -0
  8. data/lib/stripe/resources/billing/credit_grant.rb +5 -6
  9. data/lib/stripe/resources/capital/financing_offer.rb +49 -0
  10. data/lib/stripe/resources/capital/financing_summary.rb +15 -0
  11. data/lib/stripe/resources/capital/financing_transaction.rb +27 -0
  12. data/lib/stripe/resources/financial_connections/account.rb +3 -0
  13. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +14 -0
  14. data/lib/stripe/resources/financial_connections/institution.rb +26 -0
  15. data/lib/stripe/resources/gift_cards/card.rb +59 -0
  16. data/lib/stripe/resources/gift_cards/transaction.rb +93 -0
  17. data/lib/stripe/resources/invoice.rb +81 -0
  18. data/lib/stripe/resources/invoice_payment.rb +12 -0
  19. data/lib/stripe/resources/issuing/card.rb +1 -1
  20. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +88 -0
  21. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +26 -0
  22. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +26 -0
  23. data/lib/stripe/resources/margin.rb +37 -0
  24. data/lib/stripe/resources/order.rb +120 -0
  25. data/lib/stripe/resources/payment_attempt_record.rb +27 -0
  26. data/lib/stripe/resources/payment_intent.rb +70 -0
  27. data/lib/stripe/resources/payment_record.rb +115 -0
  28. data/lib/stripe/resources/quote.rb +104 -0
  29. data/lib/stripe/resources/quote_preview_invoice.rb +43 -0
  30. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +11 -0
  31. data/lib/stripe/resources/subscription_schedule.rb +20 -0
  32. data/lib/stripe/resources/tax/association.rb +24 -0
  33. data/lib/stripe/resources/tax/form.rb +49 -0
  34. data/lib/stripe/resources/terminal/reader.rb +60 -0
  35. data/lib/stripe/resources/terminal/reader_collected_data.rb +14 -0
  36. data/lib/stripe/resources.rb +21 -0
  37. data/lib/stripe/services/account_notice_service.rb +39 -0
  38. data/lib/stripe/services/billing/credit_grant_service.rb +3 -3
  39. data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
  40. data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
  41. data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
  42. data/lib/stripe/services/capital_service.rb +15 -0
  43. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
  44. data/lib/stripe/services/financial_connections/account_service.rb +3 -1
  45. data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
  46. data/lib/stripe/services/financial_connections_service.rb +2 -1
  47. data/lib/stripe/services/gift_cards/card_service.rb +63 -0
  48. data/lib/stripe/services/gift_cards/transaction_service.rb +74 -0
  49. data/lib/stripe/services/gift_cards_service.rb +14 -0
  50. data/lib/stripe/services/invoice_payment_service.rb +28 -0
  51. data/lib/stripe/services/invoice_service.rb +44 -1
  52. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
  53. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
  54. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
  55. data/lib/stripe/services/issuing_service.rb +5 -1
  56. data/lib/stripe/services/margin_service.rb +50 -0
  57. data/lib/stripe/services/order_line_item_service.rb +17 -0
  58. data/lib/stripe/services/order_service.rb +78 -0
  59. data/lib/stripe/services/payment_attempt_record_service.rb +28 -0
  60. data/lib/stripe/services/payment_intent_service.rb +37 -0
  61. data/lib/stripe/services/payment_record_service.rb +78 -0
  62. data/lib/stripe/services/quote_line_service.rb +17 -0
  63. data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
  64. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
  65. data/lib/stripe/services/quote_service.rb +49 -1
  66. data/lib/stripe/services/subscription_schedule_service.rb +11 -0
  67. data/lib/stripe/services/tax/association_service.rb +19 -0
  68. data/lib/stripe/services/tax/form_service.rb +37 -0
  69. data/lib/stripe/services/tax_service.rb +3 -1
  70. data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
  71. data/lib/stripe/services/terminal/reader_service.rb +33 -0
  72. data/lib/stripe/services/terminal_service.rb +2 -1
  73. data/lib/stripe/services/v1_services.rb +8 -1
  74. data/lib/stripe/services.rb +25 -0
  75. data/lib/stripe/stripe_configuration.rb +3 -1
  76. data/lib/stripe/util.rb +7 -1
  77. data/lib/stripe/version.rb +1 -1
  78. data/lib/stripe.rb +45 -0
  79. metadata +51 -4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.1.1
4
+ version: 13.2.0.pre.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Stripe is the easiest way to accept payments online. See https://stripe.com
14
14
  for details.
@@ -60,9 +60,11 @@ files:
60
60
  - lib/stripe/oauth.rb
61
61
  - lib/stripe/object_types.rb
62
62
  - lib/stripe/request_options.rb
63
+ - lib/stripe/request_signing_authenticator.rb
63
64
  - lib/stripe/resources.rb
64
65
  - lib/stripe/resources/account.rb
65
66
  - lib/stripe/resources/account_link.rb
67
+ - lib/stripe/resources/account_notice.rb
66
68
  - lib/stripe/resources/account_session.rb
67
69
  - lib/stripe/resources/alipay_account.rb
68
70
  - lib/stripe/resources/apple_pay_domain.rb
@@ -83,6 +85,9 @@ files:
83
85
  - lib/stripe/resources/billing_portal/configuration.rb
84
86
  - lib/stripe/resources/billing_portal/session.rb
85
87
  - lib/stripe/resources/capability.rb
88
+ - lib/stripe/resources/capital/financing_offer.rb
89
+ - lib/stripe/resources/capital/financing_summary.rb
90
+ - lib/stripe/resources/capital/financing_transaction.rb
86
91
  - lib/stripe/resources/card.rb
87
92
  - lib/stripe/resources/cash_balance.rb
88
93
  - lib/stripe/resources/charge.rb
@@ -109,22 +114,30 @@ files:
109
114
  - lib/stripe/resources/file.rb
110
115
  - lib/stripe/resources/file_link.rb
111
116
  - lib/stripe/resources/financial_connections/account.rb
117
+ - lib/stripe/resources/financial_connections/account_inferred_balance.rb
112
118
  - lib/stripe/resources/financial_connections/account_owner.rb
113
119
  - lib/stripe/resources/financial_connections/account_ownership.rb
120
+ - lib/stripe/resources/financial_connections/institution.rb
114
121
  - lib/stripe/resources/financial_connections/session.rb
115
122
  - lib/stripe/resources/financial_connections/transaction.rb
116
123
  - lib/stripe/resources/forwarding/request.rb
117
124
  - lib/stripe/resources/funding_instructions.rb
125
+ - lib/stripe/resources/gift_cards/card.rb
126
+ - lib/stripe/resources/gift_cards/transaction.rb
118
127
  - lib/stripe/resources/identity/verification_report.rb
119
128
  - lib/stripe/resources/identity/verification_session.rb
120
129
  - lib/stripe/resources/invoice.rb
121
130
  - lib/stripe/resources/invoice_item.rb
122
131
  - lib/stripe/resources/invoice_line_item.rb
132
+ - lib/stripe/resources/invoice_payment.rb
123
133
  - lib/stripe/resources/invoice_rendering_template.rb
124
134
  - lib/stripe/resources/issuing/authorization.rb
125
135
  - lib/stripe/resources/issuing/card.rb
126
136
  - lib/stripe/resources/issuing/cardholder.rb
137
+ - lib/stripe/resources/issuing/credit_underwriting_record.rb
127
138
  - lib/stripe/resources/issuing/dispute.rb
139
+ - lib/stripe/resources/issuing/dispute_settlement_detail.rb
140
+ - lib/stripe/resources/issuing/fraud_liability_debit.rb
128
141
  - lib/stripe/resources/issuing/personalization_design.rb
129
142
  - lib/stripe/resources/issuing/physical_bundle.rb
130
143
  - lib/stripe/resources/issuing/token.rb
@@ -132,11 +145,15 @@ files:
132
145
  - lib/stripe/resources/line_item.rb
133
146
  - lib/stripe/resources/login_link.rb
134
147
  - lib/stripe/resources/mandate.rb
148
+ - lib/stripe/resources/margin.rb
149
+ - lib/stripe/resources/order.rb
150
+ - lib/stripe/resources/payment_attempt_record.rb
135
151
  - lib/stripe/resources/payment_intent.rb
136
152
  - lib/stripe/resources/payment_link.rb
137
153
  - lib/stripe/resources/payment_method.rb
138
154
  - lib/stripe/resources/payment_method_configuration.rb
139
155
  - lib/stripe/resources/payment_method_domain.rb
156
+ - lib/stripe/resources/payment_record.rb
140
157
  - lib/stripe/resources/payout.rb
141
158
  - lib/stripe/resources/person.rb
142
159
  - lib/stripe/resources/plan.rb
@@ -145,6 +162,8 @@ files:
145
162
  - lib/stripe/resources/product_feature.rb
146
163
  - lib/stripe/resources/promotion_code.rb
147
164
  - lib/stripe/resources/quote.rb
165
+ - lib/stripe/resources/quote_preview_invoice.rb
166
+ - lib/stripe/resources/quote_preview_subscription_schedule.rb
148
167
  - lib/stripe/resources/radar/early_fraud_warning.rb
149
168
  - lib/stripe/resources/radar/value_list.rb
150
169
  - lib/stripe/resources/radar/value_list_item.rb
@@ -163,8 +182,10 @@ files:
163
182
  - lib/stripe/resources/subscription.rb
164
183
  - lib/stripe/resources/subscription_item.rb
165
184
  - lib/stripe/resources/subscription_schedule.rb
185
+ - lib/stripe/resources/tax/association.rb
166
186
  - lib/stripe/resources/tax/calculation.rb
167
187
  - lib/stripe/resources/tax/calculation_line_item.rb
188
+ - lib/stripe/resources/tax/form.rb
168
189
  - lib/stripe/resources/tax/registration.rb
169
190
  - lib/stripe/resources/tax/settings.rb
170
191
  - lib/stripe/resources/tax/transaction.rb
@@ -176,6 +197,7 @@ files:
176
197
  - lib/stripe/resources/terminal/connection_token.rb
177
198
  - lib/stripe/resources/terminal/location.rb
178
199
  - lib/stripe/resources/terminal/reader.rb
200
+ - lib/stripe/resources/terminal/reader_collected_data.rb
179
201
  - lib/stripe/resources/test_helpers/test_clock.rb
180
202
  - lib/stripe/resources/token.rb
181
203
  - lib/stripe/resources/topup.rb
@@ -205,6 +227,7 @@ files:
205
227
  - lib/stripe/services/account_external_account_service.rb
206
228
  - lib/stripe/services/account_link_service.rb
207
229
  - lib/stripe/services/account_login_link_service.rb
230
+ - lib/stripe/services/account_notice_service.rb
208
231
  - lib/stripe/services/account_person_service.rb
209
232
  - lib/stripe/services/account_service.rb
210
233
  - lib/stripe/services/account_session_service.rb
@@ -227,6 +250,10 @@ files:
227
250
  - lib/stripe/services/billing_portal/session_service.rb
228
251
  - lib/stripe/services/billing_portal_service.rb
229
252
  - lib/stripe/services/billing_service.rb
253
+ - lib/stripe/services/capital/financing_offer_service.rb
254
+ - lib/stripe/services/capital/financing_summary_service.rb
255
+ - lib/stripe/services/capital/financing_transaction_service.rb
256
+ - lib/stripe/services/capital_service.rb
230
257
  - lib/stripe/services/charge_service.rb
231
258
  - lib/stripe/services/checkout/session_line_item_service.rb
232
259
  - lib/stripe/services/checkout/session_service.rb
@@ -259,38 +286,52 @@ files:
259
286
  - lib/stripe/services/exchange_rate_service.rb
260
287
  - lib/stripe/services/file_link_service.rb
261
288
  - lib/stripe/services/file_service.rb
289
+ - lib/stripe/services/financial_connections/account_inferred_balance_service.rb
262
290
  - lib/stripe/services/financial_connections/account_owner_service.rb
263
291
  - lib/stripe/services/financial_connections/account_service.rb
292
+ - lib/stripe/services/financial_connections/institution_service.rb
264
293
  - lib/stripe/services/financial_connections/session_service.rb
265
294
  - lib/stripe/services/financial_connections/transaction_service.rb
266
295
  - lib/stripe/services/financial_connections_service.rb
267
296
  - lib/stripe/services/forwarding/request_service.rb
268
297
  - lib/stripe/services/forwarding_service.rb
298
+ - lib/stripe/services/gift_cards/card_service.rb
299
+ - lib/stripe/services/gift_cards/transaction_service.rb
300
+ - lib/stripe/services/gift_cards_service.rb
269
301
  - lib/stripe/services/identity/verification_report_service.rb
270
302
  - lib/stripe/services/identity/verification_session_service.rb
271
303
  - lib/stripe/services/identity_service.rb
272
304
  - lib/stripe/services/invoice_item_service.rb
273
305
  - lib/stripe/services/invoice_line_item_service.rb
306
+ - lib/stripe/services/invoice_payment_service.rb
274
307
  - lib/stripe/services/invoice_rendering_template_service.rb
275
308
  - lib/stripe/services/invoice_service.rb
276
309
  - lib/stripe/services/invoice_upcoming_lines_service.rb
277
310
  - lib/stripe/services/issuing/authorization_service.rb
278
311
  - lib/stripe/services/issuing/card_service.rb
279
312
  - lib/stripe/services/issuing/cardholder_service.rb
313
+ - lib/stripe/services/issuing/credit_underwriting_record_service.rb
280
314
  - lib/stripe/services/issuing/dispute_service.rb
315
+ - lib/stripe/services/issuing/dispute_settlement_detail_service.rb
316
+ - lib/stripe/services/issuing/fraud_liability_debit_service.rb
281
317
  - lib/stripe/services/issuing/personalization_design_service.rb
282
318
  - lib/stripe/services/issuing/physical_bundle_service.rb
283
319
  - lib/stripe/services/issuing/token_service.rb
284
320
  - lib/stripe/services/issuing/transaction_service.rb
285
321
  - lib/stripe/services/issuing_service.rb
286
322
  - lib/stripe/services/mandate_service.rb
323
+ - lib/stripe/services/margin_service.rb
287
324
  - lib/stripe/services/oauth_service.rb
325
+ - lib/stripe/services/order_line_item_service.rb
326
+ - lib/stripe/services/order_service.rb
327
+ - lib/stripe/services/payment_attempt_record_service.rb
288
328
  - lib/stripe/services/payment_intent_service.rb
289
329
  - lib/stripe/services/payment_link_line_item_service.rb
290
330
  - lib/stripe/services/payment_link_service.rb
291
331
  - lib/stripe/services/payment_method_configuration_service.rb
292
332
  - lib/stripe/services/payment_method_domain_service.rb
293
333
  - lib/stripe/services/payment_method_service.rb
334
+ - lib/stripe/services/payment_record_service.rb
294
335
  - lib/stripe/services/payout_service.rb
295
336
  - lib/stripe/services/plan_service.rb
296
337
  - lib/stripe/services/price_service.rb
@@ -299,6 +340,9 @@ files:
299
340
  - lib/stripe/services/promotion_code_service.rb
300
341
  - lib/stripe/services/quote_computed_upfront_line_items_service.rb
301
342
  - lib/stripe/services/quote_line_item_service.rb
343
+ - lib/stripe/services/quote_line_service.rb
344
+ - lib/stripe/services/quote_preview_invoice_service.rb
345
+ - lib/stripe/services/quote_preview_subscription_schedule_service.rb
302
346
  - lib/stripe/services/quote_service.rb
303
347
  - lib/stripe/services/radar/early_fraud_warning_service.rb
304
348
  - lib/stripe/services/radar/value_list_item_service.rb
@@ -321,8 +365,10 @@ files:
321
365
  - lib/stripe/services/subscription_item_usage_record_summary_service.rb
322
366
  - lib/stripe/services/subscription_schedule_service.rb
323
367
  - lib/stripe/services/subscription_service.rb
368
+ - lib/stripe/services/tax/association_service.rb
324
369
  - lib/stripe/services/tax/calculation_line_item_service.rb
325
370
  - lib/stripe/services/tax/calculation_service.rb
371
+ - lib/stripe/services/tax/form_service.rb
326
372
  - lib/stripe/services/tax/registration_service.rb
327
373
  - lib/stripe/services/tax/settings_service.rb
328
374
  - lib/stripe/services/tax/transaction_line_item_service.rb
@@ -334,6 +380,7 @@ files:
334
380
  - lib/stripe/services/terminal/configuration_service.rb
335
381
  - lib/stripe/services/terminal/connection_token_service.rb
336
382
  - lib/stripe/services/terminal/location_service.rb
383
+ - lib/stripe/services/terminal/reader_collected_data_service.rb
337
384
  - lib/stripe/services/terminal/reader_service.rb
338
385
  - lib/stripe/services/terminal_service.rb
339
386
  - lib/stripe/services/test_helpers/confirmation_token_service.rb
@@ -415,9 +462,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
415
462
  version: 2.3.0
416
463
  required_rubygems_version: !ruby/object:Gem::Requirement
417
464
  requirements:
418
- - - ">="
465
+ - - ">"
419
466
  - !ruby/object:Gem::Version
420
- version: '0'
467
+ version: 1.3.1
421
468
  requirements: []
422
469
  rubygems_version: 3.3.27
423
470
  signing_key: