stripe 10.12.0.pre.beta.1 → 10.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +49 -292
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +0 -11
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/request.rb +1 -2
  7. data/lib/stripe/api_version.rb +0 -1
  8. data/lib/stripe/object_types.rb +4 -25
  9. data/lib/stripe/resources/account.rb +1 -1
  10. data/lib/stripe/resources/charge.rb +1 -1
  11. data/lib/stripe/resources/customer.rb +1 -12
  12. data/lib/stripe/resources/financial_connections/account.rb +0 -3
  13. data/lib/stripe/resources/invoice.rb +0 -53
  14. data/lib/stripe/resources/issuing/authorization.rb +24 -24
  15. data/lib/stripe/resources/issuing/card.rb +22 -22
  16. data/lib/stripe/resources/issuing/personalization_design.rb +14 -14
  17. data/lib/stripe/resources/payment_intent.rb +0 -50
  18. data/lib/stripe/resources/quote.rb +0 -104
  19. data/lib/stripe/resources/source.rb +1 -1
  20. data/lib/stripe/resources/subscription_item.rb +1 -1
  21. data/lib/stripe/resources/subscription_schedule.rb +0 -20
  22. data/lib/stripe/resources/tax/settings.rb +0 -1
  23. data/lib/stripe/resources/terminal/reader.rb +0 -60
  24. data/lib/stripe/resources/transfer.rb +1 -1
  25. data/lib/stripe/resources/treasury/inbound_transfer.rb +14 -14
  26. data/lib/stripe/resources/treasury/outbound_payment.rb +14 -14
  27. data/lib/stripe/resources/treasury/outbound_transfer.rb +14 -14
  28. data/lib/stripe/resources.rb +0 -19
  29. data/lib/stripe/stripe_client.rb +28 -62
  30. data/lib/stripe/stripe_configuration.rb +1 -2
  31. data/lib/stripe/util.rb +1 -8
  32. data/lib/stripe/version.rb +1 -1
  33. data/lib/stripe.rb +0 -54
  34. metadata +4 -24
  35. data/lib/stripe/request_signing_authenticator.rb +0 -79
  36. data/lib/stripe/resources/account_notice.rb +0 -32
  37. data/lib/stripe/resources/capital/financing_offer.rb +0 -49
  38. data/lib/stripe/resources/capital/financing_summary.rb +0 -15
  39. data/lib/stripe/resources/capital/financing_transaction.rb +0 -27
  40. data/lib/stripe/resources/confirmation_token.rb +0 -16
  41. data/lib/stripe/resources/customer_entitlement.rb +0 -12
  42. data/lib/stripe/resources/customer_entitlement_summary.rb +0 -12
  43. data/lib/stripe/resources/entitlements/feature.rb +0 -38
  44. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -14
  45. data/lib/stripe/resources/gift_cards/card.rb +0 -59
  46. data/lib/stripe/resources/gift_cards/transaction.rb +0 -93
  47. data/lib/stripe/resources/invoice_payment.rb +0 -12
  48. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -88
  49. data/lib/stripe/resources/margin.rb +0 -37
  50. data/lib/stripe/resources/order.rb +0 -120
  51. data/lib/stripe/resources/quote_phase.rb +0 -39
  52. data/lib/stripe/resources/quote_preview_invoice.rb +0 -43
  53. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -11
  54. data/lib/stripe/resources/tax/form.rb +0 -49
@@ -8,16 +8,12 @@ module Stripe
8
8
  extend Stripe::APIOperations::Create
9
9
  extend Stripe::APIOperations::List
10
10
  include Stripe::APIOperations::Save
11
- extend Stripe::APIOperations::NestedResource
12
11
 
13
12
  OBJECT_NAME = "quote"
14
13
  def self.object_name
15
14
  "quote"
16
15
  end
17
16
 
18
- nested_resource_class_methods :preview_invoice, operations: %i[list]
19
- nested_resource_class_methods :preview_subscription_schedule, operations: %i[list]
20
-
21
17
  # Accepts the specified quote.
22
18
  def accept(params = {}, opts = {})
23
19
  request_stripe_object(
@@ -128,86 +124,6 @@ module Stripe
128
124
  )
129
125
  end
130
126
 
131
- # Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
132
- def list_lines(params = {}, opts = {})
133
- request_stripe_object(
134
- method: :get,
135
- path: format("/v1/quotes/%<quote>s/lines", { quote: CGI.escape(self["id"]) }),
136
- params: params,
137
- opts: opts
138
- )
139
- end
140
-
141
- # Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
142
- def self.list_lines(quote, params = {}, opts = {})
143
- request_stripe_object(
144
- method: :get,
145
- path: format("/v1/quotes/%<quote>s/lines", { quote: CGI.escape(quote) }),
146
- params: params,
147
- opts: opts
148
- )
149
- end
150
-
151
- # Preview the invoice line items that would be generated by accepting the quote.
152
- def list_preview_invoice_lines(preview_invoice, params = {}, opts = {})
153
- request_stripe_object(
154
- method: :get,
155
- path: format("/v1/quotes/%<quote>s/preview_invoices/%<preview_invoice>s/lines", { quote: CGI.escape(self["id"]), preview_invoice: CGI.escape(preview_invoice) }),
156
- params: params,
157
- opts: opts
158
- )
159
- end
160
-
161
- # Preview the invoice line items that would be generated by accepting the quote.
162
- def self.list_preview_invoice_lines(quote, preview_invoice, params = {}, opts = {})
163
- request_stripe_object(
164
- method: :get,
165
- path: format("/v1/quotes/%<quote>s/preview_invoices/%<preview_invoice>s/lines", { quote: CGI.escape(quote), preview_invoice: CGI.escape(preview_invoice) }),
166
- params: params,
167
- opts: opts
168
- )
169
- end
170
-
171
- # Converts a stale quote to draft.
172
- def mark_draft(params = {}, opts = {})
173
- request_stripe_object(
174
- method: :post,
175
- path: format("/v1/quotes/%<quote>s/mark_draft", { quote: CGI.escape(self["id"]) }),
176
- params: params,
177
- opts: opts
178
- )
179
- end
180
-
181
- # Converts a stale quote to draft.
182
- def self.mark_draft(quote, params = {}, opts = {})
183
- request_stripe_object(
184
- method: :post,
185
- path: format("/v1/quotes/%<quote>s/mark_draft", { quote: CGI.escape(quote) }),
186
- params: params,
187
- opts: opts
188
- )
189
- end
190
-
191
- # Converts a draft or open quote to stale.
192
- def mark_stale(params = {}, opts = {})
193
- request_stripe_object(
194
- method: :post,
195
- path: format("/v1/quotes/%<quote>s/mark_stale", { quote: CGI.escape(self["id"]) }),
196
- params: params,
197
- opts: opts
198
- )
199
- end
200
-
201
- # Converts a draft or open quote to stale.
202
- def self.mark_stale(quote, params = {}, opts = {})
203
- request_stripe_object(
204
- method: :post,
205
- path: format("/v1/quotes/%<quote>s/mark_stale", { quote: CGI.escape(quote) }),
206
- params: params,
207
- opts: opts
208
- )
209
- end
210
-
211
127
  # Download the PDF for a finalized quote
212
128
  def pdf(params = {}, opts = {}, &read_body_chunk_block)
213
129
  config = opts[:client]&.config || Stripe.config
@@ -234,26 +150,6 @@ module Stripe
234
150
  )
235
151
  end
236
152
 
237
- # Recompute the upcoming invoice estimate for the quote.
238
- def reestimate(params = {}, opts = {})
239
- request_stripe_object(
240
- method: :post,
241
- path: format("/v1/quotes/%<quote>s/reestimate", { quote: CGI.escape(self["id"]) }),
242
- params: params,
243
- opts: opts
244
- )
245
- end
246
-
247
- # Recompute the upcoming invoice estimate for the quote.
248
- def self.reestimate(quote, params = {}, opts = {})
249
- request_stripe_object(
250
- method: :post,
251
- path: format("/v1/quotes/%<quote>s/reestimate", { quote: CGI.escape(quote) }),
252
- params: params,
253
- opts: opts
254
- )
255
- end
256
-
257
153
  # A quote models prices and services for a customer.
258
154
  def self.update(id, params = {}, opts = {})
259
155
  request_stripe_object(
@@ -14,8 +14,8 @@ module Stripe
14
14
  # Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers).
15
15
  class Source < APIResource
16
16
  extend Stripe::APIOperations::Create
17
- include Stripe::APIOperations::Save
18
17
  extend Stripe::APIOperations::NestedResource
18
+ include Stripe::APIOperations::Save
19
19
 
20
20
  OBJECT_NAME = "source"
21
21
  def self.object_name
@@ -8,8 +8,8 @@ module Stripe
8
8
  extend Stripe::APIOperations::Create
9
9
  include Stripe::APIOperations::Delete
10
10
  extend Stripe::APIOperations::List
11
- include Stripe::APIOperations::Save
12
11
  extend Stripe::APIOperations::NestedResource
12
+ include Stripe::APIOperations::Save
13
13
 
14
14
  OBJECT_NAME = "subscription_item"
15
15
  def self.object_name
@@ -15,26 +15,6 @@ module Stripe
15
15
  "subscription_schedule"
16
16
  end
17
17
 
18
- # Amends an existing subscription schedule.
19
- def amend(params = {}, opts = {})
20
- request_stripe_object(
21
- method: :post,
22
- path: format("/v1/subscription_schedules/%<schedule>s/amend", { schedule: CGI.escape(self["id"]) }),
23
- params: params,
24
- opts: opts
25
- )
26
- end
27
-
28
- # Amends an existing subscription schedule.
29
- def self.amend(schedule, params = {}, opts = {})
30
- request_stripe_object(
31
- method: :post,
32
- path: format("/v1/subscription_schedules/%<schedule>s/amend", { schedule: CGI.escape(schedule) }),
33
- params: params,
34
- opts: opts
35
- )
36
- end
37
-
38
18
  # Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active.
39
19
  def cancel(params = {}, opts = {})
40
20
  request_stripe_object(
@@ -8,7 +8,6 @@ module Stripe
8
8
  # Related guide: [Using the Settings API](https://stripe.com/docs/tax/settings-api)
9
9
  class Settings < SingletonAPIResource
10
10
  include Stripe::APIOperations::SingletonSave
11
-
12
11
  OBJECT_NAME = "tax.settings"
13
12
  def self.object_name
14
13
  "tax.settings"
@@ -37,66 +37,6 @@ module Stripe
37
37
  )
38
38
  end
39
39
 
40
- # Initiates an input collection flow on a Reader.
41
- def collect_inputs(params = {}, opts = {})
42
- request_stripe_object(
43
- method: :post,
44
- path: format("/v1/terminal/readers/%<reader>s/collect_inputs", { reader: CGI.escape(self["id"]) }),
45
- params: params,
46
- opts: opts
47
- )
48
- end
49
-
50
- # Initiates an input collection flow on a Reader.
51
- def self.collect_inputs(reader, params = {}, opts = {})
52
- request_stripe_object(
53
- method: :post,
54
- path: format("/v1/terminal/readers/%<reader>s/collect_inputs", { reader: CGI.escape(reader) }),
55
- params: params,
56
- opts: opts
57
- )
58
- end
59
-
60
- # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation.
61
- def collect_payment_method(params = {}, opts = {})
62
- request_stripe_object(
63
- method: :post,
64
- path: format("/v1/terminal/readers/%<reader>s/collect_payment_method", { reader: CGI.escape(self["id"]) }),
65
- params: params,
66
- opts: opts
67
- )
68
- end
69
-
70
- # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation.
71
- def self.collect_payment_method(reader, params = {}, opts = {})
72
- request_stripe_object(
73
- method: :post,
74
- path: format("/v1/terminal/readers/%<reader>s/collect_payment_method", { reader: CGI.escape(reader) }),
75
- params: params,
76
- opts: opts
77
- )
78
- end
79
-
80
- # Finalizes a payment on a Reader.
81
- def confirm_payment_intent(params = {}, opts = {})
82
- request_stripe_object(
83
- method: :post,
84
- path: format("/v1/terminal/readers/%<reader>s/confirm_payment_intent", { reader: CGI.escape(self["id"]) }),
85
- params: params,
86
- opts: opts
87
- )
88
- end
89
-
90
- # Finalizes a payment on a Reader.
91
- def self.confirm_payment_intent(reader, params = {}, opts = {})
92
- request_stripe_object(
93
- method: :post,
94
- path: format("/v1/terminal/readers/%<reader>s/confirm_payment_intent", { reader: CGI.escape(reader) }),
95
- params: params,
96
- opts: opts
97
- )
98
- end
99
-
100
40
  # Creates a new Reader object.
101
41
  def self.create(params = {}, opts = {})
102
42
  request_stripe_object(
@@ -15,8 +15,8 @@ module Stripe
15
15
  class Transfer < APIResource
16
16
  extend Stripe::APIOperations::Create
17
17
  extend Stripe::APIOperations::List
18
- include Stripe::APIOperations::Save
19
18
  extend Stripe::APIOperations::NestedResource
19
+ include Stripe::APIOperations::Save
20
20
 
21
21
  OBJECT_NAME = "transfer"
22
22
  def self.object_name
@@ -73,41 +73,41 @@ module Stripe
73
73
  )
74
74
  end
75
75
 
76
- # Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.
77
- def self.return_inbound_transfer(id, params = {}, opts = {})
78
- request_stripe_object(
76
+ # Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.
77
+ def fail(params = {}, opts = {})
78
+ @resource.request_stripe_object(
79
79
  method: :post,
80
- path: format("/v1/test_helpers/treasury/inbound_transfers/%<id>s/return", { id: CGI.escape(id) }),
80
+ path: format("/v1/test_helpers/treasury/inbound_transfers/%<id>s/fail", { id: CGI.escape(@resource["id"]) }),
81
81
  params: params,
82
82
  opts: opts
83
83
  )
84
84
  end
85
85
 
86
- # Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.
87
- def self.succeed(id, params = {}, opts = {})
86
+ # Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.
87
+ def self.return_inbound_transfer(id, params = {}, opts = {})
88
88
  request_stripe_object(
89
89
  method: :post,
90
- path: format("/v1/test_helpers/treasury/inbound_transfers/%<id>s/succeed", { id: CGI.escape(id) }),
90
+ path: format("/v1/test_helpers/treasury/inbound_transfers/%<id>s/return", { id: CGI.escape(id) }),
91
91
  params: params,
92
92
  opts: opts
93
93
  )
94
94
  end
95
95
 
96
- # Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.
97
- def fail(params = {}, opts = {})
96
+ # Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.
97
+ def return_inbound_transfer(params = {}, opts = {})
98
98
  @resource.request_stripe_object(
99
99
  method: :post,
100
- path: format("/v1/test_helpers/treasury/inbound_transfers/%<id>s/fail", { id: CGI.escape(@resource["id"]) }),
100
+ path: format("/v1/test_helpers/treasury/inbound_transfers/%<id>s/return", { id: CGI.escape(@resource["id"]) }),
101
101
  params: params,
102
102
  opts: opts
103
103
  )
104
104
  end
105
105
 
106
- # Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.
107
- def return_inbound_transfer(params = {}, opts = {})
108
- @resource.request_stripe_object(
106
+ # Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.
107
+ def self.succeed(id, params = {}, opts = {})
108
+ request_stripe_object(
109
109
  method: :post,
110
- path: format("/v1/test_helpers/treasury/inbound_transfers/%<id>s/return", { id: CGI.escape(@resource["id"]) }),
110
+ path: format("/v1/test_helpers/treasury/inbound_transfers/%<id>s/succeed", { id: CGI.escape(id) }),
111
111
  params: params,
112
112
  opts: opts
113
113
  )
@@ -75,41 +75,41 @@ module Stripe
75
75
  )
76
76
  end
77
77
 
78
- # Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.
79
- def self.post(id, params = {}, opts = {})
80
- request_stripe_object(
78
+ # Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.
79
+ def fail(params = {}, opts = {})
80
+ @resource.request_stripe_object(
81
81
  method: :post,
82
- path: format("/v1/test_helpers/treasury/outbound_payments/%<id>s/post", { id: CGI.escape(id) }),
82
+ path: format("/v1/test_helpers/treasury/outbound_payments/%<id>s/fail", { id: CGI.escape(@resource["id"]) }),
83
83
  params: params,
84
84
  opts: opts
85
85
  )
86
86
  end
87
87
 
88
- # Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.
89
- def self.return_outbound_payment(id, params = {}, opts = {})
88
+ # Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.
89
+ def self.post(id, params = {}, opts = {})
90
90
  request_stripe_object(
91
91
  method: :post,
92
- path: format("/v1/test_helpers/treasury/outbound_payments/%<id>s/return", { id: CGI.escape(id) }),
92
+ path: format("/v1/test_helpers/treasury/outbound_payments/%<id>s/post", { id: CGI.escape(id) }),
93
93
  params: params,
94
94
  opts: opts
95
95
  )
96
96
  end
97
97
 
98
- # Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.
99
- def fail(params = {}, opts = {})
98
+ # Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.
99
+ def post(params = {}, opts = {})
100
100
  @resource.request_stripe_object(
101
101
  method: :post,
102
- path: format("/v1/test_helpers/treasury/outbound_payments/%<id>s/fail", { id: CGI.escape(@resource["id"]) }),
102
+ path: format("/v1/test_helpers/treasury/outbound_payments/%<id>s/post", { id: CGI.escape(@resource["id"]) }),
103
103
  params: params,
104
104
  opts: opts
105
105
  )
106
106
  end
107
107
 
108
- # Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.
109
- def post(params = {}, opts = {})
110
- @resource.request_stripe_object(
108
+ # Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.
109
+ def self.return_outbound_payment(id, params = {}, opts = {})
110
+ request_stripe_object(
111
111
  method: :post,
112
- path: format("/v1/test_helpers/treasury/outbound_payments/%<id>s/post", { id: CGI.escape(@resource["id"]) }),
112
+ path: format("/v1/test_helpers/treasury/outbound_payments/%<id>s/return", { id: CGI.escape(id) }),
113
113
  params: params,
114
114
  opts: opts
115
115
  )
@@ -75,41 +75,41 @@ module Stripe
75
75
  )
76
76
  end
77
77
 
78
- # Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.
79
- def self.post(outbound_transfer, params = {}, opts = {})
80
- request_stripe_object(
78
+ # Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.
79
+ def fail(params = {}, opts = {})
80
+ @resource.request_stripe_object(
81
81
  method: :post,
82
- path: format("/v1/test_helpers/treasury/outbound_transfers/%<outbound_transfer>s/post", { outbound_transfer: CGI.escape(outbound_transfer) }),
82
+ path: format("/v1/test_helpers/treasury/outbound_transfers/%<outbound_transfer>s/fail", { outbound_transfer: CGI.escape(@resource["id"]) }),
83
83
  params: params,
84
84
  opts: opts
85
85
  )
86
86
  end
87
87
 
88
- # Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.
89
- def self.return_outbound_transfer(outbound_transfer, params = {}, opts = {})
88
+ # Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.
89
+ def self.post(outbound_transfer, params = {}, opts = {})
90
90
  request_stripe_object(
91
91
  method: :post,
92
- path: format("/v1/test_helpers/treasury/outbound_transfers/%<outbound_transfer>s/return", { outbound_transfer: CGI.escape(outbound_transfer) }),
92
+ path: format("/v1/test_helpers/treasury/outbound_transfers/%<outbound_transfer>s/post", { outbound_transfer: CGI.escape(outbound_transfer) }),
93
93
  params: params,
94
94
  opts: opts
95
95
  )
96
96
  end
97
97
 
98
- # Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.
99
- def fail(params = {}, opts = {})
98
+ # Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.
99
+ def post(params = {}, opts = {})
100
100
  @resource.request_stripe_object(
101
101
  method: :post,
102
- path: format("/v1/test_helpers/treasury/outbound_transfers/%<outbound_transfer>s/fail", { outbound_transfer: CGI.escape(@resource["id"]) }),
102
+ path: format("/v1/test_helpers/treasury/outbound_transfers/%<outbound_transfer>s/post", { outbound_transfer: CGI.escape(@resource["id"]) }),
103
103
  params: params,
104
104
  opts: opts
105
105
  )
106
106
  end
107
107
 
108
- # Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.
109
- def post(params = {}, opts = {})
110
- @resource.request_stripe_object(
108
+ # Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.
109
+ def self.return_outbound_transfer(outbound_transfer, params = {}, opts = {})
110
+ request_stripe_object(
111
111
  method: :post,
112
- path: format("/v1/test_helpers/treasury/outbound_transfers/%<outbound_transfer>s/post", { outbound_transfer: CGI.escape(@resource["id"]) }),
112
+ path: format("/v1/test_helpers/treasury/outbound_transfers/%<outbound_transfer>s/return", { outbound_transfer: CGI.escape(outbound_transfer) }),
113
113
  params: params,
114
114
  opts: opts
115
115
  )
@@ -3,7 +3,6 @@
3
3
 
4
4
  require "stripe/resources/account"
5
5
  require "stripe/resources/account_link"
6
- require "stripe/resources/account_notice"
7
6
  require "stripe/resources/account_session"
8
7
  require "stripe/resources/apple_pay_domain"
9
8
  require "stripe/resources/application_fee"
@@ -15,9 +14,6 @@ require "stripe/resources/bank_account"
15
14
  require "stripe/resources/billing_portal/configuration"
16
15
  require "stripe/resources/billing_portal/session"
17
16
  require "stripe/resources/capability"
18
- require "stripe/resources/capital/financing_offer"
19
- require "stripe/resources/capital/financing_summary"
20
- require "stripe/resources/capital/financing_transaction"
21
17
  require "stripe/resources/card"
22
18
  require "stripe/resources/cash_balance"
23
19
  require "stripe/resources/charge"
@@ -25,7 +21,6 @@ require "stripe/resources/checkout/session"
25
21
  require "stripe/resources/climate/order"
26
22
  require "stripe/resources/climate/product"
27
23
  require "stripe/resources/climate/supplier"
28
- require "stripe/resources/confirmation_token"
29
24
  require "stripe/resources/country_spec"
30
25
  require "stripe/resources/coupon"
31
26
  require "stripe/resources/credit_note"
@@ -33,36 +28,28 @@ require "stripe/resources/credit_note_line_item"
33
28
  require "stripe/resources/customer"
34
29
  require "stripe/resources/customer_balance_transaction"
35
30
  require "stripe/resources/customer_cash_balance_transaction"
36
- require "stripe/resources/customer_entitlement"
37
- require "stripe/resources/customer_entitlement_summary"
38
31
  require "stripe/resources/customer_session"
39
32
  require "stripe/resources/discount"
40
33
  require "stripe/resources/dispute"
41
- require "stripe/resources/entitlements/feature"
42
34
  require "stripe/resources/ephemeral_key"
43
35
  require "stripe/resources/event"
44
36
  require "stripe/resources/exchange_rate"
45
37
  require "stripe/resources/file"
46
38
  require "stripe/resources/file_link"
47
39
  require "stripe/resources/financial_connections/account"
48
- require "stripe/resources/financial_connections/account_inferred_balance"
49
40
  require "stripe/resources/financial_connections/account_owner"
50
41
  require "stripe/resources/financial_connections/account_ownership"
51
42
  require "stripe/resources/financial_connections/session"
52
43
  require "stripe/resources/financial_connections/transaction"
53
44
  require "stripe/resources/funding_instructions"
54
- require "stripe/resources/gift_cards/card"
55
- require "stripe/resources/gift_cards/transaction"
56
45
  require "stripe/resources/identity/verification_report"
57
46
  require "stripe/resources/identity/verification_session"
58
47
  require "stripe/resources/invoice"
59
48
  require "stripe/resources/invoice_item"
60
49
  require "stripe/resources/invoice_line_item"
61
- require "stripe/resources/invoice_payment"
62
50
  require "stripe/resources/issuing/authorization"
63
51
  require "stripe/resources/issuing/card"
64
52
  require "stripe/resources/issuing/cardholder"
65
- require "stripe/resources/issuing/credit_underwriting_record"
66
53
  require "stripe/resources/issuing/dispute"
67
54
  require "stripe/resources/issuing/personalization_design"
68
55
  require "stripe/resources/issuing/physical_bundle"
@@ -71,8 +58,6 @@ require "stripe/resources/issuing/transaction"
71
58
  require "stripe/resources/line_item"
72
59
  require "stripe/resources/login_link"
73
60
  require "stripe/resources/mandate"
74
- require "stripe/resources/margin"
75
- require "stripe/resources/order"
76
61
  require "stripe/resources/payment_intent"
77
62
  require "stripe/resources/payment_link"
78
63
  require "stripe/resources/payment_method"
@@ -85,9 +70,6 @@ require "stripe/resources/price"
85
70
  require "stripe/resources/product"
86
71
  require "stripe/resources/promotion_code"
87
72
  require "stripe/resources/quote"
88
- require "stripe/resources/quote_phase"
89
- require "stripe/resources/quote_preview_invoice"
90
- require "stripe/resources/quote_preview_subscription_schedule"
91
73
  require "stripe/resources/radar/early_fraud_warning"
92
74
  require "stripe/resources/radar/value_list"
93
75
  require "stripe/resources/radar/value_list_item"
@@ -107,7 +89,6 @@ require "stripe/resources/subscription_item"
107
89
  require "stripe/resources/subscription_schedule"
108
90
  require "stripe/resources/tax/calculation"
109
91
  require "stripe/resources/tax/calculation_line_item"
110
- require "stripe/resources/tax/form"
111
92
  require "stripe/resources/tax/registration"
112
93
  require "stripe/resources/tax/settings"
113
94
  require "stripe/resources/tax/transaction"