stripe 10.8.0.pre.beta.1 → 10.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +47 -270
  3. data/Gemfile +1 -1
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +0 -11
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_operations/request.rb +1 -2
  8. data/lib/stripe/api_version.rb +0 -1
  9. data/lib/stripe/object_types.rb +0 -23
  10. data/lib/stripe/resources/account.rb +61 -1
  11. data/lib/stripe/resources/account_link.rb +5 -0
  12. data/lib/stripe/resources/account_session.rb +5 -0
  13. data/lib/stripe/resources/apple_pay_domain.rb +40 -0
  14. data/lib/stripe/resources/application_fee.rb +5 -0
  15. data/lib/stripe/resources/apps/secret.rb +10 -0
  16. data/lib/stripe/resources/balance_transaction.rb +12 -0
  17. data/lib/stripe/resources/bank_account.rb +27 -0
  18. data/lib/stripe/resources/billing_portal/configuration.rb +30 -0
  19. data/lib/stripe/resources/billing_portal/session.rb +10 -0
  20. data/lib/stripe/resources/card.rb +27 -0
  21. data/lib/stripe/resources/charge.rb +22 -0
  22. data/lib/stripe/resources/checkout/session.rb +20 -0
  23. data/lib/stripe/resources/climate/order.rb +22 -0
  24. data/lib/stripe/resources/climate/product.rb +10 -0
  25. data/lib/stripe/resources/climate/supplier.rb +10 -0
  26. data/lib/stripe/resources/country_spec.rb +5 -0
  27. data/lib/stripe/resources/coupon.rb +42 -0
  28. data/lib/stripe/resources/credit_note.rb +33 -0
  29. data/lib/stripe/resources/customer.rb +42 -11
  30. data/lib/stripe/resources/customer_session.rb +10 -0
  31. data/lib/stripe/resources/dispute.rb +17 -0
  32. data/lib/stripe/resources/ephemeral_key.rb +20 -0
  33. data/lib/stripe/resources/event.rb +5 -0
  34. data/lib/stripe/resources/exchange_rate.rb +5 -0
  35. data/lib/stripe/resources/file.rb +5 -0
  36. data/lib/stripe/resources/file_link.rb +20 -0
  37. data/lib/stripe/resources/financial_connections/account.rb +10 -3
  38. data/lib/stripe/resources/financial_connections/session.rb +10 -0
  39. data/lib/stripe/resources/financial_connections/transaction.rb +10 -0
  40. data/lib/stripe/resources/identity/verification_report.rb +10 -0
  41. data/lib/stripe/resources/identity/verification_session.rb +39 -0
  42. data/lib/stripe/resources/invoice.rb +45 -53
  43. data/lib/stripe/resources/invoice_item.rb +40 -0
  44. data/lib/stripe/resources/issuing/authorization.rb +20 -0
  45. data/lib/stripe/resources/issuing/card.rb +20 -0
  46. data/lib/stripe/resources/issuing/cardholder.rb +30 -0
  47. data/lib/stripe/resources/issuing/dispute.rb +30 -0
  48. data/lib/stripe/resources/issuing/token.rb +15 -0
  49. data/lib/stripe/resources/issuing/transaction.rb +20 -0
  50. data/lib/stripe/resources/payment_intent.rb +35 -0
  51. data/lib/stripe/resources/payment_link.rb +20 -0
  52. data/lib/stripe/resources/payment_method.rb +22 -0
  53. data/lib/stripe/resources/payment_method_configuration.rb +30 -0
  54. data/lib/stripe/resources/payment_method_domain.rb +30 -0
  55. data/lib/stripe/resources/payout.rb +24 -0
  56. data/lib/stripe/resources/plan.rb +40 -0
  57. data/lib/stripe/resources/price.rb +20 -0
  58. data/lib/stripe/resources/product.rb +40 -0
  59. data/lib/stripe/resources/promotion_code.rb +20 -0
  60. data/lib/stripe/resources/quote.rb +13 -97
  61. data/lib/stripe/resources/radar/early_fraud_warning.rb +10 -0
  62. data/lib/stripe/resources/radar/value_list.rb +50 -0
  63. data/lib/stripe/resources/radar/value_list_item.rb +40 -0
  64. data/lib/stripe/resources/refund.rb +36 -0
  65. data/lib/stripe/resources/reporting/report_run.rb +20 -0
  66. data/lib/stripe/resources/reporting/report_type.rb +10 -0
  67. data/lib/stripe/resources/review.rb +5 -0
  68. data/lib/stripe/resources/setup_attempt.rb +5 -0
  69. data/lib/stripe/resources/setup_intent.rb +23 -0
  70. data/lib/stripe/resources/shipping_rate.rb +20 -0
  71. data/lib/stripe/resources/sigma/scheduled_query_run.rb +10 -0
  72. data/lib/stripe/resources/source.rb +17 -0
  73. data/lib/stripe/resources/subscription.rb +46 -0
  74. data/lib/stripe/resources/subscription_item.rb +50 -0
  75. data/lib/stripe/resources/subscription_schedule.rb +28 -18
  76. data/lib/stripe/resources/tax/calculation.rb +10 -0
  77. data/lib/stripe/resources/tax/registration.rb +32 -0
  78. data/lib/stripe/resources/tax_code.rb +5 -0
  79. data/lib/stripe/resources/tax_id.rb +20 -0
  80. data/lib/stripe/resources/tax_rate.rb +20 -0
  81. data/lib/stripe/resources/terminal/configuration.rb +50 -0
  82. data/lib/stripe/resources/terminal/connection_token.rb +10 -0
  83. data/lib/stripe/resources/terminal/location.rb +51 -0
  84. data/lib/stripe/resources/terminal/reader.rb +42 -52
  85. data/lib/stripe/resources/test_helpers/test_clock.rb +40 -0
  86. data/lib/stripe/resources/token.rb +6 -0
  87. data/lib/stripe/resources/topup.rb +20 -0
  88. data/lib/stripe/resources/transfer.rb +22 -0
  89. data/lib/stripe/resources/treasury/credit_reversal.rb +20 -0
  90. data/lib/stripe/resources/treasury/debit_reversal.rb +20 -0
  91. data/lib/stripe/resources/treasury/financial_account.rb +30 -0
  92. data/lib/stripe/resources/treasury/inbound_transfer.rb +20 -0
  93. data/lib/stripe/resources/treasury/outbound_payment.rb +20 -0
  94. data/lib/stripe/resources/treasury/outbound_transfer.rb +20 -0
  95. data/lib/stripe/resources/treasury/received_credit.rb +10 -0
  96. data/lib/stripe/resources/treasury/received_debit.rb +10 -0
  97. data/lib/stripe/resources/treasury/transaction.rb +10 -0
  98. data/lib/stripe/resources/treasury/transaction_entry.rb +10 -0
  99. data/lib/stripe/resources/webhook_endpoint.rb +50 -0
  100. data/lib/stripe/resources.rb +0 -22
  101. data/lib/stripe/search_result_object.rb +1 -1
  102. data/lib/stripe/stripe_client.rb +28 -62
  103. data/lib/stripe/stripe_configuration.rb +1 -2
  104. data/lib/stripe/util.rb +1 -8
  105. data/lib/stripe/version.rb +1 -1
  106. data/lib/stripe.rb +0 -46
  107. metadata +4 -27
  108. data/lib/stripe/request_signing_authenticator.rb +0 -79
  109. data/lib/stripe/resources/account_notice.rb +0 -14
  110. data/lib/stripe/resources/capital/financing_offer.rb +0 -36
  111. data/lib/stripe/resources/capital/financing_summary.rb +0 -12
  112. data/lib/stripe/resources/capital/financing_transaction.rb +0 -13
  113. data/lib/stripe/resources/confirmation_token.rb +0 -13
  114. data/lib/stripe/resources/customer_entitlement.rb +0 -9
  115. data/lib/stripe/resources/customer_entitlement_summary.rb +0 -9
  116. data/lib/stripe/resources/entitlements/event.rb +0 -13
  117. data/lib/stripe/resources/entitlements/feature.rb +0 -15
  118. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -11
  119. data/lib/stripe/resources/gift_cards/card.rb +0 -26
  120. data/lib/stripe/resources/gift_cards/transaction.rb +0 -60
  121. data/lib/stripe/resources/invoice_payment.rb +0 -9
  122. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -75
  123. data/lib/stripe/resources/issuing/personalization_design.rb +0 -83
  124. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
  125. data/lib/stripe/resources/margin.rb +0 -14
  126. data/lib/stripe/resources/order.rb +0 -97
  127. data/lib/stripe/resources/quote_phase.rb +0 -31
  128. data/lib/stripe/resources/quote_preview_invoice.rb +0 -40
  129. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -8
  130. data/lib/stripe/resources/tax/form.rb +0 -41
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b1e4368424356db6b9a4dd7d1cbb557b3194b22c1b5d49f453329c66778b87d
4
- data.tar.gz: 75b2a1d9e1212ddbaeedc51f297d93689864b6eaa334e80ac39e86a2692ec26f
3
+ metadata.gz: dfa0b44d67551bb50efb1af1be0b3725243833ce55648a68807b268a187505e0
4
+ data.tar.gz: 1221c6171794af119e1435efe01ed5ea1add02165ed64da1de00ed5a5a3076a9
5
5
  SHA512:
6
- metadata.gz: cee5c33a2b7f22a8fc6b138d639645a767f3a9bea1a5c64e223033e5a919a58534a818199c36dcfa128aecb911397db2e126302cf03796d104c3a7eb00e547d0
7
- data.tar.gz: b541c4231a195fad1c20fc3956ddb1764aee8c899a8a7762ce62c23215fd717e1127d72be45dcf429b565b903cfb061273749dc799eb98e5490390fcbfff0428
6
+ metadata.gz: 81e2320868d4dc90896a3cb488c619d2b5153b108bf48af7772f0a5800a985aeade6089d93a0114f8eb7d005ba3966400c673cd8f10cc15a67c861e634cfc32d
7
+ data.tar.gz: 665172138ab5c5a8154ec52ace0a21f15c494fff506cf52e7f44dfa8d91cffda9c55077948543d4c013bd887c827ffc00f5f16eb5de605607a37fd0224c4f961
data/CHANGELOG.md CHANGED
@@ -1,44 +1,27 @@
1
1
  # Changelog
2
+ ## 10.8.0 - 2024-02-08
3
+ * [#1322](https://github.com/stripe/stripe-ruby/pull/1322) Update generated code
4
+ * [#1323](https://github.com/stripe/stripe-ruby/pull/1323) Extract other CRUDL api operations from mixins
5
+ * Extract more CRUDL operations, namely `create`, `delete`, `update`, and `list` into the resources. These methods will no longer rely on the APIOperation mixins.
6
+ * [#1314](https://github.com/stripe/stripe-ruby/pull/1314) Update mocha gem to 1.16
2
7
 
3
- ## 10.8.0-beta.1 - 2024-02-01
4
- * [#1318](https://github.com/stripe/stripe-ruby/pull/1318) Update generated code for beta
5
- * Add support for new resources `Entitlements.Event` and `Entitlements.Feature`
6
- * Add support for `create` method on resource `Event`
7
- * Add support for `create` and `list` methods on resource `Feature`
8
+ ## 10.7.1 - 2024-02-05
9
+ * [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious _search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319)
8
10
 
9
11
  ## 10.7.0 - 2024-02-01
10
12
  * [#1317](https://github.com/stripe/stripe-ruby/pull/1317) Remove list method in child resources
11
13
  * Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed
12
14
  * [#1311](https://github.com/stripe/stripe-ruby/pull/1311) Use the deprecation gem in search and clean up usage of the gem
13
15
 
14
- ## 10.7.0-beta.3 - 2024-01-25
15
- * [#1313](https://github.com/stripe/stripe-ruby/pull/1313) Update generated code for beta
16
- * Add support for `create_preview` method on resource `Invoice`
17
- * [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
18
-
19
- ## 10.7.0-beta.2 - 2024-01-19
20
- * [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
21
-
22
- ## 10.7.0-beta.1 - 2024-01-12
23
- * [#1309](https://github.com/stripe/stripe-ruby/pull/1309) Update generated code for beta
24
- * [#1305](https://github.com/stripe/stripe-ruby/pull/1305) Update generated code for beta
25
-
26
16
  ## 10.6.0 - 2024-01-12
27
17
  * [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
28
18
  * Add support for new resource `CustomerSession`
29
19
  * Add support for `create` method on resource `CustomerSession`
30
20
 
31
- ## 10.6.0-beta.1 - 2024-01-04
32
- * [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
33
- * Updated stable APIs to the latest version
34
-
35
21
  ## 10.5.0 - 2024-01-04
36
22
  * [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
37
23
  * Add support for `retrieve` method on resource `Tax.Registration`
38
24
 
39
- ## 10.5.0-beta.1 - 2023-12-22
40
- * [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
41
-
42
25
  ## 10.4.0 - 2023-12-22
43
26
  * [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
44
27
  * Add support for new resource `FinancialConnections.Transaction`
@@ -46,16 +29,9 @@
46
29
  * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
47
30
  * [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
48
31
 
49
- ## 10.4.0-beta.1 - 2023-12-14
50
- Updated stable APIs to the latest version
51
-
52
32
  ## 10.3.0 - 2023-12-14
53
33
  * [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
54
34
 
55
- ## 10.3.0-beta.1 - 2023-11-30
56
- * [#1298](https://github.com/stripe/stripe-ruby/pull/1298) Update generated code for beta
57
- * [#1296](https://github.com/stripe/stripe-ruby/pull/1296) Merge master into beta
58
-
59
35
  ## 10.2.0 - 2023-11-30
60
36
  * [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
61
37
  * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
@@ -68,26 +44,12 @@
68
44
 
69
45
  * [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
70
46
 
71
- ## 10.2.0-beta.1 - 2023-11-02
72
- * [#1287](https://github.com/stripe/stripe-ruby/pull/1287) Update generated code for beta
73
- * Add support for `attach_payment_intent` method on resource `Invoice`
74
- * [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
75
47
 
76
48
  ## 10.1.0 - 2023-11-02
77
49
  * [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
78
50
  * Add support for new resource `Tax.Registration`
79
51
  * Add support for `create`, `list`, and `update` methods on resource `Registration`
80
52
 
81
- ## 10.1.0-beta.2 - 2023-10-26
82
- * [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
83
- * Add support for new resource `Margin`
84
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
85
-
86
- ## 10.1.0-beta.1 - 2023-10-17
87
- * [#1284](https://github.com/stripe/stripe-ruby/pull/1284) Update generated code for beta
88
- - Update pinned API version to `2023-10-16`
89
- * [#1282](https://github.com/stripe/stripe-ruby/pull/1282) Update generated code for beta
90
-
91
53
  ## 10.0.0 - 2023-10-16
92
54
  * This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
93
55
  * [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
@@ -95,33 +57,11 @@
95
57
  * [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
96
58
  * Documentation only changes
97
59
 
98
- ## 9.5.0-beta.2 - 2023-10-12
99
- * [#1280](https://github.com/stripe/stripe-ruby/pull/1280) Update generated code for beta
100
- * Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
101
- * Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
102
- * Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
103
-
104
- ## 9.5.0-beta.1 - 2023-10-05
105
- * [#1278](https://github.com/stripe/stripe-ruby/pull/1278) Update generated code for beta
106
- * Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
107
- * Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote`
108
- * Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote`
109
-
110
60
  ## 9.4.0 - 2023-10-05
111
61
  * [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
112
62
  * Add support for new resources `Issuing.Token`
113
63
  * Add support for `list`, `retrieve`, and `update` methods on resource `Token`
114
64
 
115
- ## 9.4.0-beta.3 - 2023-09-28
116
- * [#1276](https://github.com/stripe/stripe-ruby/pull/1276) Update generated code for beta
117
- * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
118
-
119
- ## 9.4.0-beta.2 - 2023-09-21
120
- * [#1273](https://github.com/stripe/stripe-ruby/pull/1273) Update generated code for beta
121
-
122
- ## 9.4.0-beta.1 - 2023-09-14
123
- * Updated stable APIs to the latest version
124
-
125
65
  ## 9.3.0 - 2023-09-14
126
66
  * [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
127
67
  * Add support for new resource `PaymentMethodConfiguration`
@@ -130,38 +70,18 @@
130
70
  * Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
131
71
  * Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
132
72
 
133
- ## 9.3.0-beta.1 - 2023-09-07
134
- * [#1269](https://github.com/stripe/stripe-ruby/pull/1269) Update generated code for beta
135
- * Release specs are identical.
136
- * [#1268](https://github.com/stripe/stripe-ruby/pull/1268) Update generated code for beta
137
- * Remove support for `submit_card` test helper method on resource `Issuing.Card`
138
- * [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
139
- * Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
140
- * [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
141
- * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
142
- * [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
143
-
144
- * [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
145
-
146
- * [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
147
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
148
- * [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
149
-
150
73
  ## 9.2.0 - 2023-09-07
151
74
  * [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
152
75
  * Add support for new resource `PaymentMethodDomain`
153
76
  * Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
154
77
 
155
- ## 9.2.0-beta.1 - 2023-08-31
156
- * [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
157
- * Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
158
-
159
78
  ## 9.1.0 - 2023-08-31
160
79
  * [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
161
80
  * Add support for new resource `AccountSession`
162
81
  * Add support for `create` method on resource `AccountSession`
163
82
  * [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
164
83
 
84
+
165
85
  ## 9.0.0 - 2023-08-16
166
86
  **⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
167
87
 
@@ -194,39 +114,10 @@
194
114
 
195
115
  That is, instead of upgrading stripe-ruby and separately upgrading your Stripe API Version through the Stripe Dashboard. whenever you upgrade major versions of stripe-ruby, you should also upgrade your integration to be compatible with the latest Stripe API version.
196
116
 
197
- ## 9.0.0-beta.1 - 2023-08-24
198
- * [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
199
- * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
200
- * [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
201
-
202
- ## 8.8.0-beta.1 - 2023-08-10
203
- * [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
204
- * Updated stable APIs to the latest version
205
-
206
117
  ## 8.7.0 - 2023-08-10
207
118
  * [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
208
119
  Add resources `Tax::CalculationLineItem`, `Tax::TransactionLineItem`, and `Treasury::FinancialAccountFeatures`. These resources have no methods on them, but do represent the return type of methods elsewhere.
209
120
 
210
- ## 8.7.0-beta.3 - 2023-08-03
211
- * [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
212
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
213
- * [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
214
-
215
- ## 8.7.0-beta.2 - 2023-07-28
216
- * [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
217
- * Add support for new resource `Tax.Form`
218
- * Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
219
- * [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
220
- * [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
221
-
222
- ## 8.7.0-beta.1 - 2023-07-13
223
- * [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
224
- Release specs are identical.
225
- * [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
226
- * Add support for new resource `PaymentMethodConfiguration`
227
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
228
- * [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
229
-
230
121
  ## 8.6.0 - 2023-07-13
231
122
  * [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
232
123
  * Add support for new resource `Tax.Settings`
@@ -255,37 +146,6 @@
255
146
 
256
147
  * [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
257
148
 
258
- ## 8.6.0-beta.6 - 2023-06-22
259
- * [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
260
- * Add support for new resource `CustomerSession`
261
- * Add support for `create` method on resource `CustomerSession`
262
- * [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
263
- * [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
264
-
265
- ## 8.6.0-beta.5 - 2023-06-01
266
- * [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
267
- * [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
268
- * [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
269
- * [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
270
-
271
- ## 8.6.0-beta.4 - 2023-05-19
272
- * [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
273
- * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
274
- * [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
275
- * [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
276
- * [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
277
-
278
- ## 8.6.0-beta.3 - 2023-04-17
279
- * [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
280
- * [#1210](https://github.com/stripe/stripe-ruby/pull/1210), [#1212](https://github.com/stripe/stripe-ruby/pull/1212), [#1213](https://github.com/stripe/stripe-ruby/pull/1213) Add support for request signing
281
-
282
- ## 8.6.0-beta.2 - 2023-04-13
283
- * [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
284
- * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
285
- * [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
286
-
287
- ## 8.6.0-beta.1 - 2023-03-30
288
- * [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
289
149
 
290
150
  ## 8.5.0 - 2023-03-30
291
151
  * [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
@@ -293,11 +153,6 @@
293
153
  * This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method.
294
154
  * [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
295
155
 
296
- ## 8.5.0-beta.1 - 2023-03-23
297
- * [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
298
- * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
299
- * Add support for `collect_inputs` method on resource `Terminal.Reader`
300
-
301
156
  ## 8.4.0 - 2023-03-23
302
157
  * [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
303
158
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -305,91 +160,18 @@
305
160
  * Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
306
161
  * [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
307
162
 
308
- ## 8.4.0-beta.4 - 2023-03-16
309
- * [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
310
- * Add support for `create_from_calculation` method on resource `Tax.Transaction`
311
- * [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
312
- * Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
313
- * Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
314
- * Remove support for `retrieve` method on resource `FinancingSummary`
315
- * [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
316
-
317
- ## 8.4.0-beta.3 - 2023-03-09
318
- * [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
319
- * Updated stable APIs to the latest version
320
- * Remove support for `list_transactions` method on resource `Tax.Transaction`
321
-
322
- ## 8.4.0-beta.2 - 2023-03-03
323
- * [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
324
- * Updated stable APIs to the latest version
325
- * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
326
- * Add support for `list` and `retrieve` methods on resource `CardBundle`
327
- * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
328
-
329
- ## 8.4.0-beta.1 - 2023-02-23
330
- * [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
331
- * Updated stable APIs to the latest version
332
-
333
163
  ## 8.3.0 - 2023-02-16
334
164
  * [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
335
165
  * Add support for `refund_payment` method on resource `Terminal.Reader`
336
166
 
337
- ## 8.3.0-beta.1 - 2023-02-02
338
- * [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
339
- * Updated stable APIs to the latest version
340
- * Add support for new resource `FinancialConnections.Transaction`
341
- * Add support for `list` method on resource `Transaction`
342
-
343
167
  ## 8.2.0 - 2023-02-02
344
168
  * [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
345
169
  * Add support for `resume` method on resource `Subscription`
346
170
  * [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
347
171
 
348
- ## 8.2.0-beta.3 - 2023-01-26
349
- * [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
350
- * Updated stable APIs to the latest version
351
- * Add support for `list_transactions` method on resource `Tax.Transaction`
352
-
353
- ## 8.2.0-beta.2 - 2023-01-19
354
- * [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
355
- * Updated stable APIs to the latest version
356
- * Add support for `Tax.Settings` resource.
357
-
358
- ## 8.2.0-beta.1 - 2023-01-12
359
- * [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
360
- * Updated stable APIs to the latest version
361
- * Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
362
- * Add support for `Tax::Register` resource
363
-
364
172
  ## 8.1.0 - 2023-01-12
365
173
  * [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
366
174
 
367
- ## 8.1.0-beta.4 - 2023-01-05
368
- * [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
369
- * Updated stable APIs to the latest version
370
- * Add support for `mark_stale_quote` method on resource `Quote`
371
-
372
- ## 8.1.0-beta.3 - 2022-12-22
373
- * [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
374
- * Updated stable APIs to the latest version
375
- * Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
376
-
377
- ## 8.1.0-beta.2 - 2022-12-15
378
- * [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
379
- * Updated stable APIs to the latest version
380
- * Add support for new resources `TaxCalculation`, and `TaxTransaction`
381
- * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
382
- * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
383
- * [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
384
- * Updated stable APIs to the latest version
385
- * Add support for new resource `QuoteLine`.
386
-
387
- ## 8.1.0-beta.1 - 2022-12-08
388
- * [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
389
- * Updated stable APIs to the latest version
390
- * [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
391
- * Updated stable APIs to the latest version
392
-
393
175
  ## 8.0.0 - 2022-11-16
394
176
  * [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
395
177
 
@@ -397,29 +179,30 @@ Breaking changes that arose during code generation of the library that we postpo
397
179
 
398
180
  "⚠️" symbol highlights breaking changes.
399
181
 
400
- ## 7.2.0-beta.5 - 2022-11-02
401
- * [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
402
- * Updated beta APIs to the latest stable version
403
- * [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
404
- * Updated stable APIs to the latest version
405
-
406
- ## 7.2.0-beta.4 - 2022-10-07
407
- * [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
182
+ ### Deprecated
183
+ - The `save` method is deprecated. Prefer the static `update` method that doesn't require retrieval of the resource to update it.
184
+ ``` ruby
185
+ # before
186
+ refund = Stripe::Refund.retrieve("re_123")
187
+ refund.description = "Refund description"
188
+ refund.save
189
+
190
+ # after
191
+ Stripe::Refund.update("re_123", description: "Refund description")
192
+ ```
408
193
 
409
- ## 7.2.0-beta.3 - 2022-09-26
410
- * [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
411
- * Updated stable APIs to the latest version
412
- * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
194
+ ### ⚠️ Removed
195
+ - Removed deprecated `Sku` resource.
196
+ - Removed deprecated `Orders` resource.
197
+ - Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
198
+ ```ruby
199
+ # before
200
+ Stripe::Subscription::delete("sub_12345")
413
201
 
414
- ## 7.2.0-beta.2 - 2022-08-26
415
- * [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
416
- * Updated stable APIs to the latest version
417
- * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
202
+ # after
203
+ Stripe::Subscription::cancel("sub_12345")
204
+ ```
418
205
 
419
- ## 7.2.0-beta.1 - 2022-08-23
420
- * [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
421
- - Updated stable APIs to the latest version
422
- - `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-ruby/blob/master/README.md#beta-sdks)
423
206
 
424
207
  ## 7.1.0 - 2022-08-19
425
208
  * [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
@@ -428,16 +211,6 @@ Breaking changes that arose during code generation of the library that we postpo
428
211
  * [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
429
212
  * [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
430
213
 
431
- ## 7.1.0-beta.2 - 2022-08-11
432
- * [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
433
- - Updated stable APIs to the latest version
434
- - Add `refund_payment` method to Terminal resource
435
-
436
- ## 7.1.0-beta.1 - 2022-08-03
437
- * [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
438
- - Updated stable APIs to the latest version
439
- - Added the `Order` resource support
440
-
441
214
  ## 7.0.0 - 2022-08-02
442
215
 
443
216
  Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
@@ -449,19 +222,21 @@ Breaking changes that arose during code generation of the library that we postpo
449
222
  * [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
450
223
  * [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
451
224
 
452
- ## 6.6.0-beta.1 - 2022-07-22
453
- * [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
454
- - Updated stable APIs to the latest version
455
- - Add `QuotePhase` resource
456
- * [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
457
- - Updated stable APIs to the latest version
458
- - Add `SubscriptionSchedule.amend` method.
459
- * [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
460
- - Include `server_side_confirmation_beta=v1` beta
461
- - Add `secretKeyConfirmation` to `PaymentIntent`
462
- * [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
463
- - Updated stable APIs to the latest version
464
- * [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
225
+ ### ⚠️ Changed
226
+ * `retrieve_cash_balance` and `update_cash_balance` methods on `Customer` resource no longer requires the second argument to always be `nil`. The methods now now take in `customer_id`, `params`, and `opts` parameters.
227
+ * Update default bundle of CA certificates to April 26, 2022.
228
+
229
+ ### Deprecated
230
+ * Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
231
+
232
+ ### ⚠️ Removed
233
+ * Remove `details` method from `Issuing.Card` resource. The method was not supported.
234
+ * Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual.
235
+ * Remove `create` method from `ReportType` resource. The method was not supported.
236
+ * Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead.
237
+ * Remove `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Issuing::CardDetails`, `Recipient`, ` RecipientTransfer`, and `ThreeDSecure` resources. The resources were deprecated or no longer in use.
238
+ * Remove ability to list `Card` resource for a `Recipient`.
239
+ * Remove `cancel` method from `Transfer` resource. The method was deprecated.
465
240
 
466
241
  ## 6.5.0 - 2022-06-29
467
242
  * [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
@@ -491,6 +266,8 @@ Breaking changes that arose during code generation of the library that we postpo
491
266
  * Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
492
267
  * Add support for `retrieve_payment_method` method on resource `Customer`
493
268
  * Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
269
+
270
+
494
271
 
495
272
  ## 6.0.0 - 2022-05-09
496
273
  * [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
@@ -506,6 +283,7 @@ Breaking changes that arose during code generation of the library that we postpo
506
283
  ## 5.55.0 - 2022-05-05
507
284
  * [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
508
285
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
286
+
509
287
 
510
288
  ## 5.54.0 - 2022-05-03
511
289
  * [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
@@ -1536,4 +1314,3 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
1536
1314
  <!--
1537
1315
  # vim: set tw=0:
1538
1316
  -->
1539
-
data/Gemfile CHANGED
@@ -6,7 +6,7 @@ gemspec
6
6
 
7
7
  group :development do
8
8
  gem "coveralls_reborn", "~> 0.25.0" if RUBY_VERSION >= "3.1"
9
- gem "mocha", "~> 0.13.2"
9
+ gem "mocha", "~> 1.16.0"
10
10
  gem "rack", ">= 2.0.6"
11
11
  gem "rake"
12
12
 
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v808
1
+ v810
data/README.md CHANGED
@@ -324,17 +324,6 @@ If your beta feature requires a `Stripe-Version` header to be sent, use the `Str
324
324
  Stripe.api_version += "; feature_beta=v3"
325
325
  ```
326
326
 
327
- ### Custom requests
328
-
329
- If you would like to send a request to an undocumented API (for example you are in a private beta), or if you prefer to bypass the method definitions in the library and specify your request details directly, you can use the `raw_request` method on `Stripe`.
330
-
331
- ```ruby
332
- resp = Stripe.raw_request(:post, "/v1/beta_endpoint", {param: 123}, {stripe_version: "2022-11-15; feature_beta=v3"})
333
-
334
- # (Optional) resp is a StripeResponse. You can use `Stripe.deserialize` to get a StripeObject.
335
- deserialized_resp = Stripe.deserialize(resp.http_body)
336
- ```
337
-
338
327
  ## Support
339
328
 
340
329
  New features and bug fixes are released on the latest major version of the Stripe Ruby library. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 10.8.0-beta.1
1
+ 10.8.0
@@ -48,14 +48,13 @@ module Stripe
48
48
  api_key = headers.delete(:api_key)
49
49
  api_base = headers.delete(:api_base)
50
50
  client = headers.delete(:client)
51
- api_mode = headers.delete(:api_mode)
52
51
  # Assume all remaining opts must be headers
53
52
 
54
53
  resp, opts[:api_key] = client.send(
55
54
  client_request_method_sym,
56
55
  method, url,
57
56
  api_base: api_base, api_key: api_key,
58
- headers: headers, params: params, usage: usage, api_mode: api_mode,
57
+ headers: headers, params: params, usage: usage,
59
58
  &read_body_chunk_block
60
59
  )
61
60
 
@@ -4,6 +4,5 @@
4
4
  module Stripe
5
5
  module ApiVersion
6
6
  CURRENT = "2023-10-16"
7
- PREVIEW = "2023-12-11.preview-v2"
8
7
  end
9
8
  end
@@ -15,7 +15,6 @@ module Stripe
15
15
  File::OBJECT_NAME_ALT => File,
16
16
  Account::OBJECT_NAME => Account,
17
17
  AccountLink::OBJECT_NAME => AccountLink,
18
- AccountNotice::OBJECT_NAME => AccountNotice,
19
18
  AccountSession::OBJECT_NAME => AccountSession,
20
19
  ApplePayDomain::OBJECT_NAME => ApplePayDomain,
21
20
  ApplicationFee::OBJECT_NAME => ApplicationFee,
@@ -27,9 +26,6 @@ module Stripe
27
26
  BillingPortal::Configuration::OBJECT_NAME => BillingPortal::Configuration,
28
27
  BillingPortal::Session::OBJECT_NAME => BillingPortal::Session,
29
28
  Capability::OBJECT_NAME => Capability,
30
- Capital::FinancingOffer::OBJECT_NAME => Capital::FinancingOffer,
31
- Capital::FinancingSummary::OBJECT_NAME => Capital::FinancingSummary,
32
- Capital::FinancingTransaction::OBJECT_NAME => Capital::FinancingTransaction,
33
29
  Card::OBJECT_NAME => Card,
34
30
  CashBalance::OBJECT_NAME => CashBalance,
35
31
  Charge::OBJECT_NAME => Charge,
@@ -37,7 +33,6 @@ module Stripe
37
33
  Climate::Order::OBJECT_NAME => Climate::Order,
38
34
  Climate::Product::OBJECT_NAME => Climate::Product,
39
35
  Climate::Supplier::OBJECT_NAME => Climate::Supplier,
40
- ConfirmationToken::OBJECT_NAME => ConfirmationToken,
41
36
  CountrySpec::OBJECT_NAME => CountrySpec,
42
37
  Coupon::OBJECT_NAME => Coupon,
43
38
  CreditNote::OBJECT_NAME => CreditNote,
@@ -45,49 +40,35 @@ module Stripe
45
40
  Customer::OBJECT_NAME => Customer,
46
41
  CustomerBalanceTransaction::OBJECT_NAME => CustomerBalanceTransaction,
47
42
  CustomerCashBalanceTransaction::OBJECT_NAME => CustomerCashBalanceTransaction,
48
- CustomerEntitlement::OBJECT_NAME => CustomerEntitlement,
49
- CustomerEntitlementSummary::OBJECT_NAME => CustomerEntitlementSummary,
50
43
  CustomerSession::OBJECT_NAME => CustomerSession,
51
44
  Discount::OBJECT_NAME => Discount,
52
45
  Dispute::OBJECT_NAME => Dispute,
53
- Entitlements::Event::OBJECT_NAME => Entitlements::Event,
54
- Entitlements::Feature::OBJECT_NAME => Entitlements::Feature,
55
46
  EphemeralKey::OBJECT_NAME => EphemeralKey,
56
47
  Event::OBJECT_NAME => Event,
57
48
  ExchangeRate::OBJECT_NAME => ExchangeRate,
58
49
  File::OBJECT_NAME => File,
59
50
  FileLink::OBJECT_NAME => FileLink,
60
51
  FinancialConnections::Account::OBJECT_NAME => FinancialConnections::Account,
61
- FinancialConnections::AccountInferredBalance::OBJECT_NAME =>
62
- FinancialConnections::AccountInferredBalance,
63
52
  FinancialConnections::AccountOwner::OBJECT_NAME => FinancialConnections::AccountOwner,
64
53
  FinancialConnections::AccountOwnership::OBJECT_NAME =>
65
54
  FinancialConnections::AccountOwnership,
66
55
  FinancialConnections::Session::OBJECT_NAME => FinancialConnections::Session,
67
56
  FinancialConnections::Transaction::OBJECT_NAME => FinancialConnections::Transaction,
68
57
  FundingInstructions::OBJECT_NAME => FundingInstructions,
69
- GiftCards::Card::OBJECT_NAME => GiftCards::Card,
70
- GiftCards::Transaction::OBJECT_NAME => GiftCards::Transaction,
71
58
  Identity::VerificationReport::OBJECT_NAME => Identity::VerificationReport,
72
59
  Identity::VerificationSession::OBJECT_NAME => Identity::VerificationSession,
73
60
  Invoice::OBJECT_NAME => Invoice,
74
61
  InvoiceItem::OBJECT_NAME => InvoiceItem,
75
62
  InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
76
- InvoicePayment::OBJECT_NAME => InvoicePayment,
77
63
  Issuing::Authorization::OBJECT_NAME => Issuing::Authorization,
78
64
  Issuing::Card::OBJECT_NAME => Issuing::Card,
79
65
  Issuing::Cardholder::OBJECT_NAME => Issuing::Cardholder,
80
- Issuing::CreditUnderwritingRecord::OBJECT_NAME => Issuing::CreditUnderwritingRecord,
81
66
  Issuing::Dispute::OBJECT_NAME => Issuing::Dispute,
82
- Issuing::PersonalizationDesign::OBJECT_NAME => Issuing::PersonalizationDesign,
83
- Issuing::PhysicalBundle::OBJECT_NAME => Issuing::PhysicalBundle,
84
67
  Issuing::Token::OBJECT_NAME => Issuing::Token,
85
68
  Issuing::Transaction::OBJECT_NAME => Issuing::Transaction,
86
69
  LineItem::OBJECT_NAME => LineItem,
87
70
  LoginLink::OBJECT_NAME => LoginLink,
88
71
  Mandate::OBJECT_NAME => Mandate,
89
- Margin::OBJECT_NAME => Margin,
90
- Order::OBJECT_NAME => Order,
91
72
  PaymentIntent::OBJECT_NAME => PaymentIntent,
92
73
  PaymentLink::OBJECT_NAME => PaymentLink,
93
74
  PaymentMethod::OBJECT_NAME => PaymentMethod,
@@ -100,9 +81,6 @@ module Stripe
100
81
  Product::OBJECT_NAME => Product,
101
82
  PromotionCode::OBJECT_NAME => PromotionCode,
102
83
  Quote::OBJECT_NAME => Quote,
103
- QuotePhase::OBJECT_NAME => QuotePhase,
104
- QuotePreviewInvoice::OBJECT_NAME => QuotePreviewInvoice,
105
- QuotePreviewSubscriptionSchedule::OBJECT_NAME => QuotePreviewSubscriptionSchedule,
106
84
  Radar::EarlyFraudWarning::OBJECT_NAME => Radar::EarlyFraudWarning,
107
85
  Radar::ValueList::OBJECT_NAME => Radar::ValueList,
108
86
  Radar::ValueListItem::OBJECT_NAME => Radar::ValueListItem,
@@ -122,7 +100,6 @@ module Stripe
122
100
  SubscriptionSchedule::OBJECT_NAME => SubscriptionSchedule,
123
101
  Tax::Calculation::OBJECT_NAME => Tax::Calculation,
124
102
  Tax::CalculationLineItem::OBJECT_NAME => Tax::CalculationLineItem,
125
- Tax::Form::OBJECT_NAME => Tax::Form,
126
103
  Tax::Registration::OBJECT_NAME => Tax::Registration,
127
104
  Tax::Settings::OBJECT_NAME => Tax::Settings,
128
105
  Tax::Transaction::OBJECT_NAME => Tax::Transaction,