stripe 15.6.0.pre.alpha.1 → 15.6.0.pre.alpha.2

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 (229) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +6 -0
  4. data/OPENAPI_VERSION +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/resources/account.rb +443 -0
  7. data/lib/stripe/resources/account_link.rb +8 -0
  8. data/lib/stripe/resources/account_notice.rb +24 -0
  9. data/lib/stripe/resources/account_session.rb +435 -10
  10. data/lib/stripe/resources/apple_pay_domain.rb +8 -0
  11. data/lib/stripe/resources/application.rb +8 -0
  12. data/lib/stripe/resources/application_fee.rb +16 -0
  13. data/lib/stripe/resources/application_fee_refund.rb +8 -0
  14. data/lib/stripe/resources/apps/secret.rb +16 -0
  15. data/lib/stripe/resources/balance.rb +159 -0
  16. data/lib/stripe/resources/balance_settings.rb +40 -0
  17. data/lib/stripe/resources/balance_transaction.rb +16 -0
  18. data/lib/stripe/resources/bank_account.rb +40 -0
  19. data/lib/stripe/resources/billing/alert.rb +75 -0
  20. data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
  21. data/lib/stripe/resources/billing/credit_balance_summary.rb +80 -0
  22. data/lib/stripe/resources/billing/credit_balance_transaction.rb +107 -0
  23. data/lib/stripe/resources/billing/credit_grant.rb +72 -0
  24. data/lib/stripe/resources/billing/meter.rb +45 -0
  25. data/lib/stripe/resources/billing/meter_event.rb +8 -0
  26. data/lib/stripe/resources/billing/meter_event_adjustment.rb +16 -0
  27. data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
  28. data/lib/stripe/resources/billing/meter_usage.rb +8 -0
  29. data/lib/stripe/resources/billing/meter_usage_row.rb +8 -0
  30. data/lib/stripe/resources/billing_portal/configuration.rb +122 -0
  31. data/lib/stripe/resources/billing_portal/session.rb +101 -0
  32. data/lib/stripe/resources/capability.rb +56 -0
  33. data/lib/stripe/resources/capital/financing_offer.rb +24 -0
  34. data/lib/stripe/resources/capital/financing_summary.rb +24 -0
  35. data/lib/stripe/resources/capital/financing_transaction.rb +24 -0
  36. data/lib/stripe/resources/card.rb +16 -0
  37. data/lib/stripe/resources/cash_balance.rb +16 -0
  38. data/lib/stripe/resources/charge.rb +1052 -16
  39. data/lib/stripe/resources/checkout/session.rb +950 -0
  40. data/lib/stripe/resources/climate/order.rb +32 -0
  41. data/lib/stripe/resources/climate/product.rb +16 -0
  42. data/lib/stripe/resources/climate/supplier.rb +16 -0
  43. data/lib/stripe/resources/confirmation_token.rb +960 -38
  44. data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
  45. data/lib/stripe/resources/country_spec.rb +32 -0
  46. data/lib/stripe/resources/coupon.rb +36 -0
  47. data/lib/stripe/resources/credit_note.rb +70 -0
  48. data/lib/stripe/resources/credit_note_line_item.rb +53 -0
  49. data/lib/stripe/resources/customer.rb +77 -0
  50. data/lib/stripe/resources/customer_balance_transaction.rb +8 -0
  51. data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -0
  52. data/lib/stripe/resources/customer_session.rb +52 -0
  53. data/lib/stripe/resources/discount.rb +8 -0
  54. data/lib/stripe/resources/dispute.rb +166 -0
  55. data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -0
  56. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
  57. data/lib/stripe/resources/entitlements/feature.rb +8 -0
  58. data/lib/stripe/resources/ephemeral_key.rb +8 -0
  59. data/lib/stripe/resources/event.rb +56 -0
  60. data/lib/stripe/resources/exchange_rate.rb +8 -0
  61. data/lib/stripe/resources/file.rb +8 -0
  62. data/lib/stripe/resources/file_link.rb +8 -0
  63. data/lib/stripe/resources/financial_connections/account.rb +79 -0
  64. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +8 -0
  65. data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
  66. data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
  67. data/lib/stripe/resources/financial_connections/institution.rb +53 -0
  68. data/lib/stripe/resources/financial_connections/session.rb +63 -1
  69. data/lib/stripe/resources/financial_connections/transaction.rb +16 -0
  70. data/lib/stripe/resources/forwarding/request.rb +52 -0
  71. data/lib/stripe/resources/funding_instructions.rb +193 -0
  72. data/lib/stripe/resources/fx_quote.rb +48 -0
  73. data/lib/stripe/resources/identity/verification_report.rb +166 -1
  74. data/lib/stripe/resources/identity/verification_session.rb +126 -1
  75. data/lib/stripe/resources/invoice.rb +441 -3
  76. data/lib/stripe/resources/invoice_item.rb +88 -0
  77. data/lib/stripe/resources/invoice_line_item.rb +186 -0
  78. data/lib/stripe/resources/invoice_payment.rb +24 -0
  79. data/lib/stripe/resources/invoice_rendering_template.rb +8 -0
  80. data/lib/stripe/resources/issuing/authorization.rb +177 -0
  81. data/lib/stripe/resources/issuing/card.rb +96 -0
  82. data/lib/stripe/resources/issuing/cardholder.rb +110 -0
  83. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +82 -0
  84. data/lib/stripe/resources/issuing/dispute.rb +97 -0
  85. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +16 -0
  86. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +8 -0
  87. data/lib/stripe/resources/issuing/personalization_design.rb +36 -0
  88. data/lib/stripe/resources/issuing/physical_bundle.rb +16 -0
  89. data/lib/stripe/resources/issuing/settlement.rb +8 -0
  90. data/lib/stripe/resources/issuing/token.rb +61 -0
  91. data/lib/stripe/resources/issuing/transaction.rb +151 -0
  92. data/lib/stripe/resources/line_item.rb +54 -0
  93. data/lib/stripe/resources/login_link.rb +8 -0
  94. data/lib/stripe/resources/mandate.rb +242 -11
  95. data/lib/stripe/resources/margin.rb +8 -0
  96. data/lib/stripe/resources/order.rb +348 -0
  97. data/lib/stripe/resources/payment_attempt_record.rb +890 -11
  98. data/lib/stripe/resources/payment_intent.rb +1405 -3
  99. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +56 -0
  100. data/lib/stripe/resources/payment_link.rb +337 -0
  101. data/lib/stripe/resources/payment_method.rb +884 -38
  102. data/lib/stripe/resources/payment_method_configuration.rb +961 -0
  103. data/lib/stripe/resources/payment_method_domain.rb +111 -0
  104. data/lib/stripe/resources/payment_record.rb +890 -11
  105. data/lib/stripe/resources/payout.rb +16 -0
  106. data/lib/stripe/resources/person.rb +180 -0
  107. data/lib/stripe/resources/plan.rb +24 -0
  108. data/lib/stripe/resources/price.rb +79 -0
  109. data/lib/stripe/resources/privacy/redaction_job.rb +16 -0
  110. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +16 -0
  111. data/lib/stripe/resources/product.rb +27 -0
  112. data/lib/stripe/resources/product_feature.rb +8 -0
  113. data/lib/stripe/resources/promotion_code.rb +24 -0
  114. data/lib/stripe/resources/quote.rb +432 -0
  115. data/lib/stripe/resources/quote_line.rb +247 -0
  116. data/lib/stripe/resources/quote_preview_invoice.rb +450 -3
  117. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +323 -0
  118. data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -0
  119. data/lib/stripe/resources/radar/value_list.rb +8 -0
  120. data/lib/stripe/resources/radar/value_list_item.rb +8 -0
  121. data/lib/stripe/resources/refund.rb +380 -19
  122. data/lib/stripe/resources/reporting/report_run.rb +16 -0
  123. data/lib/stripe/resources/reporting/report_type.rb +8 -0
  124. data/lib/stripe/resources/reserve_transaction.rb +8 -0
  125. data/lib/stripe/resources/reversal.rb +8 -0
  126. data/lib/stripe/resources/review.rb +24 -0
  127. data/lib/stripe/resources/setup_attempt.rb +331 -20
  128. data/lib/stripe/resources/setup_intent.rb +293 -2
  129. data/lib/stripe/resources/shipping_rate.rb +48 -0
  130. data/lib/stripe/resources/sigma/scheduled_query_run.rb +16 -0
  131. data/lib/stripe/resources/source.rb +274 -0
  132. data/lib/stripe/resources/source_mandate_notification.rb +32 -0
  133. data/lib/stripe/resources/source_transaction.rb +54 -0
  134. data/lib/stripe/resources/subscription.rb +318 -3
  135. data/lib/stripe/resources/subscription_item.rb +24 -0
  136. data/lib/stripe/resources/subscription_schedule.rb +314 -0
  137. data/lib/stripe/resources/tax/association.rb +32 -0
  138. data/lib/stripe/resources/tax/calculation.rb +109 -0
  139. data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
  140. data/lib/stripe/resources/tax/form.rb +107 -0
  141. data/lib/stripe/resources/tax/registration.rb +1232 -0
  142. data/lib/stripe/resources/tax/settings.rb +61 -1
  143. data/lib/stripe/resources/tax/transaction.rb +93 -0
  144. data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
  145. data/lib/stripe/resources/tax_code.rb +8 -0
  146. data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
  147. data/lib/stripe/resources/tax_id.rb +24 -0
  148. data/lib/stripe/resources/tax_rate.rb +16 -0
  149. data/lib/stripe/resources/terminal/configuration.rb +299 -0
  150. data/lib/stripe/resources/terminal/connection_token.rb +8 -0
  151. data/lib/stripe/resources/terminal/location.rb +16 -0
  152. data/lib/stripe/resources/terminal/onboarding_link.rb +24 -0
  153. data/lib/stripe/resources/terminal/reader.rb +241 -0
  154. data/lib/stripe/resources/terminal/reader_collected_data.rb +16 -0
  155. data/lib/stripe/resources/test_helpers/test_clock.rb +24 -0
  156. data/lib/stripe/resources/token.rb +8 -0
  157. data/lib/stripe/resources/topup.rb +8 -0
  158. data/lib/stripe/resources/transfer.rb +8 -0
  159. data/lib/stripe/resources/treasury/credit_reversal.rb +16 -0
  160. data/lib/stripe/resources/treasury/debit_reversal.rb +24 -0
  161. data/lib/stripe/resources/treasury/financial_account.rb +61 -0
  162. data/lib/stripe/resources/treasury/financial_account_features.rb +192 -0
  163. data/lib/stripe/resources/treasury/inbound_transfer.rb +69 -0
  164. data/lib/stripe/resources/treasury/outbound_payment.rb +106 -0
  165. data/lib/stripe/resources/treasury/outbound_transfer.rb +114 -0
  166. data/lib/stripe/resources/treasury/received_credit.rb +97 -0
  167. data/lib/stripe/resources/treasury/received_debit.rb +89 -0
  168. data/lib/stripe/resources/treasury/transaction.rb +36 -0
  169. data/lib/stripe/resources/treasury/transaction_entry.rb +24 -0
  170. data/lib/stripe/resources/v2/billing/bill_setting.rb +40 -0
  171. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +40 -0
  172. data/lib/stripe/resources/v2/billing/cadence.rb +141 -0
  173. data/lib/stripe/resources/v2/billing/collection_setting.rb +150 -2
  174. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +150 -2
  175. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +8 -0
  176. data/lib/stripe/resources/v2/billing/intent.rb +27 -0
  177. data/lib/stripe/resources/v2/billing/intent_action.rb +195 -0
  178. data/lib/stripe/resources/v2/billing/license_fee.rb +24 -0
  179. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +8 -0
  180. data/lib/stripe/resources/v2/billing/license_fee_version.rb +24 -0
  181. data/lib/stripe/resources/v2/billing/licensed_item.rb +16 -0
  182. data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
  183. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
  184. data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
  185. data/lib/stripe/resources/v2/billing/metered_item.rb +27 -0
  186. data/lib/stripe/resources/v2/billing/pricing_plan.rb +8 -0
  187. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +36 -0
  188. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +27 -0
  189. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +8 -0
  190. data/lib/stripe/resources/v2/billing/profile.rb +8 -0
  191. data/lib/stripe/resources/v2/billing/rate_card.rb +8 -0
  192. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +36 -0
  193. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +27 -0
  194. data/lib/stripe/resources/v2/billing/rate_card_version.rb +8 -0
  195. data/lib/stripe/resources/v2/billing/service_action.rb +115 -0
  196. data/lib/stripe/resources/v2/core/account.rb +1900 -0
  197. data/lib/stripe/resources/v2/core/account_link.rb +51 -0
  198. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +24 -0
  199. data/lib/stripe/resources/v2/core/person.rb +201 -0
  200. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +40 -0
  201. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +8 -0
  202. data/lib/stripe/resources/v2/event.rb +24 -0
  203. data/lib/stripe/resources/v2/event_destination.rb +44 -0
  204. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +8 -0
  205. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +8 -0
  206. data/lib/stripe/resources/v2/money_management/adjustment.rb +16 -0
  207. data/lib/stripe/resources/v2/money_management/financial_account.rb +61 -0
  208. data/lib/stripe/resources/v2/money_management/financial_address.rb +32 -0
  209. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +90 -3
  210. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +88 -0
  211. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +62 -0
  212. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +24 -0
  213. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +79 -0
  214. data/lib/stripe/resources/v2/money_management/payout_method.rb +32 -0
  215. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +32 -0
  216. data/lib/stripe/resources/v2/money_management/received_credit.rb +77 -0
  217. data/lib/stripe/resources/v2/money_management/received_debit.rb +52 -0
  218. data/lib/stripe/resources/v2/money_management/transaction.rb +36 -0
  219. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +35 -0
  220. data/lib/stripe/resources/v2/payments/off_session_payment.rb +24 -0
  221. data/lib/stripe/resources/v2/reporting/report.rb +52 -0
  222. data/lib/stripe/resources/v2/reporting/report_run.rb +69 -0
  223. data/lib/stripe/resources/v2/tax/automatic_rule.rb +8 -0
  224. data/lib/stripe/resources/webhook_endpoint.rb +8 -0
  225. data/lib/stripe/stripe_object.rb +25 -1
  226. data/lib/stripe/util.rb +9 -5
  227. data/lib/stripe/version.rb +1 -1
  228. data/rbi/stripe.rbi +280174 -0
  229. metadata +3 -2
@@ -35,16 +35,40 @@ module Stripe
35
35
  attr_reader :from_postal_code
36
36
  # The postal code that represents the shipping destination.
37
37
  attr_reader :to_postal_code
38
+
39
+ def self.inner_class_types
40
+ @inner_class_types = {}
41
+ end
42
+
43
+ def self.field_remappings
44
+ @field_remappings = {}
45
+ end
38
46
  end
39
47
 
40
48
  class Tax < Stripe::StripeObject
41
49
  # Total portion of the amount that is for tax.
42
50
  attr_reader :total_tax_amount
51
+
52
+ def self.inner_class_types
53
+ @inner_class_types = {}
54
+ end
55
+
56
+ def self.field_remappings
57
+ @field_remappings = {}
58
+ end
43
59
  end
44
60
 
45
61
  class Tip < Stripe::StripeObject
46
62
  # Portion of the amount that corresponds to a tip.
47
63
  attr_reader :amount
64
+
65
+ def self.inner_class_types
66
+ @inner_class_types = {}
67
+ end
68
+
69
+ def self.field_remappings
70
+ @field_remappings = {}
71
+ end
48
72
  end
49
73
  # The amount an item was discounted for.
50
74
  attr_reader :discount_amount
@@ -56,6 +80,14 @@ module Stripe
56
80
  attr_reader :tax
57
81
  # Attribute for field tip
58
82
  attr_reader :tip
83
+
84
+ def self.inner_class_types
85
+ @inner_class_types = { shipping: Shipping, tax: Tax, tip: Tip }
86
+ end
87
+
88
+ def self.field_remappings
89
+ @field_remappings = {}
90
+ end
59
91
  end
60
92
 
61
93
  class AutomaticPaymentMethods < Stripe::StripeObject
@@ -65,6 +97,14 @@ module Stripe
65
97
  attr_reader :allow_redirects
66
98
  # Automatically calculates compatible payment methods
67
99
  attr_reader :enabled
100
+
101
+ def self.inner_class_types
102
+ @inner_class_types = {}
103
+ end
104
+
105
+ def self.field_remappings
106
+ @field_remappings = {}
107
+ end
68
108
  end
69
109
 
70
110
  class Hooks < Stripe::StripeObject
@@ -72,12 +112,36 @@ module Stripe
72
112
  class Tax < Stripe::StripeObject
73
113
  # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
74
114
  attr_reader :calculation
115
+
116
+ def self.inner_class_types
117
+ @inner_class_types = {}
118
+ end
119
+
120
+ def self.field_remappings
121
+ @field_remappings = {}
122
+ end
75
123
  end
76
124
  # Attribute for field tax
77
125
  attr_reader :tax
126
+
127
+ def self.inner_class_types
128
+ @inner_class_types = { tax: Tax }
129
+ end
130
+
131
+ def self.field_remappings
132
+ @field_remappings = {}
133
+ end
78
134
  end
79
135
  # Attribute for field inputs
80
136
  attr_reader :inputs
137
+
138
+ def self.inner_class_types
139
+ @inner_class_types = { inputs: Inputs }
140
+ end
141
+
142
+ def self.field_remappings
143
+ @field_remappings = {}
144
+ end
81
145
  end
82
146
 
83
147
  class LastPaymentError < Stripe::StripeObject
@@ -147,6 +211,14 @@ module Stripe
147
211
  attr_reader :source
148
212
  # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
149
213
  attr_reader :type
214
+
215
+ def self.inner_class_types
216
+ @inner_class_types = {}
217
+ end
218
+
219
+ def self.field_remappings
220
+ @field_remappings = {}
221
+ end
150
222
  end
151
223
 
152
224
  class NextAction < Stripe::StripeObject
@@ -159,6 +231,14 @@ module Stripe
159
231
  attr_reader :return_url
160
232
  # The URL you must redirect your customer to in order to authenticate the payment.
161
233
  attr_reader :url
234
+
235
+ def self.inner_class_types
236
+ @inner_class_types = {}
237
+ end
238
+
239
+ def self.field_remappings
240
+ @field_remappings = {}
241
+ end
162
242
  end
163
243
 
164
244
  class BoletoDisplayDetails < Stripe::StripeObject
@@ -170,6 +250,14 @@ module Stripe
170
250
  attr_reader :number
171
251
  # The URL to the downloadable boleto voucher PDF.
172
252
  attr_reader :pdf
253
+
254
+ def self.inner_class_types
255
+ @inner_class_types = {}
256
+ end
257
+
258
+ def self.field_remappings
259
+ @field_remappings = {}
260
+ end
173
261
  end
174
262
 
175
263
  class CardAwaitNotification < Stripe::StripeObject
@@ -177,6 +265,14 @@ module Stripe
177
265
  attr_reader :charge_attempt_at
178
266
  # For payments greater than INR 15000, the customer must provide explicit approval of the payment with their bank. For payments of lower amount, no customer action is required.
179
267
  attr_reader :customer_approval_required
268
+
269
+ def self.inner_class_types
270
+ @inner_class_types = {}
271
+ end
272
+
273
+ def self.field_remappings
274
+ @field_remappings = {}
275
+ end
180
276
  end
181
277
 
182
278
  class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject
@@ -187,6 +283,14 @@ module Stripe
187
283
  attr_reader :image_url_png
188
284
  # The image_url_svg string used to render QR code
189
285
  attr_reader :image_url_svg
286
+
287
+ def self.inner_class_types
288
+ @inner_class_types = {}
289
+ end
290
+
291
+ def self.field_remappings
292
+ @field_remappings = {}
293
+ end
190
294
  end
191
295
  # The URL to the hosted Cash App Pay instructions page, which allows customers to view the QR code, and supports QR code refreshing on expiration.
192
296
  attr_reader :hosted_instructions_url
@@ -194,6 +298,14 @@ module Stripe
194
298
  attr_reader :mobile_auth_url
195
299
  # Attribute for field qr_code
196
300
  attr_reader :qr_code
301
+
302
+ def self.inner_class_types
303
+ @inner_class_types = { qr_code: QrCode }
304
+ end
305
+
306
+ def self.field_remappings
307
+ @field_remappings = {}
308
+ end
197
309
  end
198
310
 
199
311
  class DisplayBankTransferInstructions < Stripe::StripeObject
@@ -212,6 +324,14 @@ module Stripe
212
324
  attr_reader :postal_code
213
325
  # State, county, province, or region.
214
326
  attr_reader :state
327
+
328
+ def self.inner_class_types
329
+ @inner_class_types = {}
330
+ end
331
+
332
+ def self.field_remappings
333
+ @field_remappings = {}
334
+ end
215
335
  end
216
336
 
217
337
  class BankAddress < Stripe::StripeObject
@@ -227,6 +347,14 @@ module Stripe
227
347
  attr_reader :postal_code
228
348
  # State, county, province, or region.
229
349
  attr_reader :state
350
+
351
+ def self.inner_class_types
352
+ @inner_class_types = {}
353
+ end
354
+
355
+ def self.field_remappings
356
+ @field_remappings = {}
357
+ end
230
358
  end
231
359
  # Attribute for field account_holder_address
232
360
  attr_reader :account_holder_address
@@ -242,6 +370,17 @@ module Stripe
242
370
  attr_reader :bank_name
243
371
  # The ABA routing number
244
372
  attr_reader :routing_number
373
+
374
+ def self.inner_class_types
375
+ @inner_class_types = {
376
+ account_holder_address: AccountHolderAddress,
377
+ bank_address: BankAddress,
378
+ }
379
+ end
380
+
381
+ def self.field_remappings
382
+ @field_remappings = {}
383
+ end
245
384
  end
246
385
 
247
386
  class Iban < Stripe::StripeObject
@@ -258,6 +397,14 @@ module Stripe
258
397
  attr_reader :postal_code
259
398
  # State, county, province, or region.
260
399
  attr_reader :state
400
+
401
+ def self.inner_class_types
402
+ @inner_class_types = {}
403
+ end
404
+
405
+ def self.field_remappings
406
+ @field_remappings = {}
407
+ end
261
408
  end
262
409
 
263
410
  class BankAddress < Stripe::StripeObject
@@ -273,6 +420,14 @@ module Stripe
273
420
  attr_reader :postal_code
274
421
  # State, county, province, or region.
275
422
  attr_reader :state
423
+
424
+ def self.inner_class_types
425
+ @inner_class_types = {}
426
+ end
427
+
428
+ def self.field_remappings
429
+ @field_remappings = {}
430
+ end
276
431
  end
277
432
  # Attribute for field account_holder_address
278
433
  attr_reader :account_holder_address
@@ -286,6 +441,17 @@ module Stripe
286
441
  attr_reader :country
287
442
  # The IBAN of the account.
288
443
  attr_reader :iban
444
+
445
+ def self.inner_class_types
446
+ @inner_class_types = {
447
+ account_holder_address: AccountHolderAddress,
448
+ bank_address: BankAddress,
449
+ }
450
+ end
451
+
452
+ def self.field_remappings
453
+ @field_remappings = {}
454
+ end
289
455
  end
290
456
 
291
457
  class SortCode < Stripe::StripeObject
@@ -302,6 +468,14 @@ module Stripe
302
468
  attr_reader :postal_code
303
469
  # State, county, province, or region.
304
470
  attr_reader :state
471
+
472
+ def self.inner_class_types
473
+ @inner_class_types = {}
474
+ end
475
+
476
+ def self.field_remappings
477
+ @field_remappings = {}
478
+ end
305
479
  end
306
480
 
307
481
  class BankAddress < Stripe::StripeObject
@@ -317,6 +491,14 @@ module Stripe
317
491
  attr_reader :postal_code
318
492
  # State, county, province, or region.
319
493
  attr_reader :state
494
+
495
+ def self.inner_class_types
496
+ @inner_class_types = {}
497
+ end
498
+
499
+ def self.field_remappings
500
+ @field_remappings = {}
501
+ end
320
502
  end
321
503
  # Attribute for field account_holder_address
322
504
  attr_reader :account_holder_address
@@ -328,6 +510,17 @@ module Stripe
328
510
  attr_reader :bank_address
329
511
  # The six-digit sort code
330
512
  attr_reader :sort_code
513
+
514
+ def self.inner_class_types
515
+ @inner_class_types = {
516
+ account_holder_address: AccountHolderAddress,
517
+ bank_address: BankAddress,
518
+ }
519
+ end
520
+
521
+ def self.field_remappings
522
+ @field_remappings = {}
523
+ end
331
524
  end
332
525
 
333
526
  class Spei < Stripe::StripeObject
@@ -344,6 +537,14 @@ module Stripe
344
537
  attr_reader :postal_code
345
538
  # State, county, province, or region.
346
539
  attr_reader :state
540
+
541
+ def self.inner_class_types
542
+ @inner_class_types = {}
543
+ end
544
+
545
+ def self.field_remappings
546
+ @field_remappings = {}
547
+ end
347
548
  end
348
549
 
349
550
  class BankAddress < Stripe::StripeObject
@@ -359,6 +560,14 @@ module Stripe
359
560
  attr_reader :postal_code
360
561
  # State, county, province, or region.
361
562
  attr_reader :state
563
+
564
+ def self.inner_class_types
565
+ @inner_class_types = {}
566
+ end
567
+
568
+ def self.field_remappings
569
+ @field_remappings = {}
570
+ end
362
571
  end
363
572
  # Attribute for field account_holder_address
364
573
  attr_reader :account_holder_address
@@ -372,6 +581,17 @@ module Stripe
372
581
  attr_reader :bank_name
373
582
  # The CLABE number
374
583
  attr_reader :clabe
584
+
585
+ def self.inner_class_types
586
+ @inner_class_types = {
587
+ account_holder_address: AccountHolderAddress,
588
+ bank_address: BankAddress,
589
+ }
590
+ end
591
+
592
+ def self.field_remappings
593
+ @field_remappings = {}
594
+ end
375
595
  end
376
596
 
377
597
  class Swift < Stripe::StripeObject
@@ -388,6 +608,14 @@ module Stripe
388
608
  attr_reader :postal_code
389
609
  # State, county, province, or region.
390
610
  attr_reader :state
611
+
612
+ def self.inner_class_types
613
+ @inner_class_types = {}
614
+ end
615
+
616
+ def self.field_remappings
617
+ @field_remappings = {}
618
+ end
391
619
  end
392
620
 
393
621
  class BankAddress < Stripe::StripeObject
@@ -403,6 +631,14 @@ module Stripe
403
631
  attr_reader :postal_code
404
632
  # State, county, province, or region.
405
633
  attr_reader :state
634
+
635
+ def self.inner_class_types
636
+ @inner_class_types = {}
637
+ end
638
+
639
+ def self.field_remappings
640
+ @field_remappings = {}
641
+ end
406
642
  end
407
643
  # Attribute for field account_holder_address
408
644
  attr_reader :account_holder_address
@@ -418,6 +654,17 @@ module Stripe
418
654
  attr_reader :bank_name
419
655
  # The SWIFT code
420
656
  attr_reader :swift_code
657
+
658
+ def self.inner_class_types
659
+ @inner_class_types = {
660
+ account_holder_address: AccountHolderAddress,
661
+ bank_address: BankAddress,
662
+ }
663
+ end
664
+
665
+ def self.field_remappings
666
+ @field_remappings = {}
667
+ end
421
668
  end
422
669
 
423
670
  class Zengin < Stripe::StripeObject
@@ -434,6 +681,14 @@ module Stripe
434
681
  attr_reader :postal_code
435
682
  # State, county, province, or region.
436
683
  attr_reader :state
684
+
685
+ def self.inner_class_types
686
+ @inner_class_types = {}
687
+ end
688
+
689
+ def self.field_remappings
690
+ @field_remappings = {}
691
+ end
437
692
  end
438
693
 
439
694
  class BankAddress < Stripe::StripeObject
@@ -449,6 +704,14 @@ module Stripe
449
704
  attr_reader :postal_code
450
705
  # State, county, province, or region.
451
706
  attr_reader :state
707
+
708
+ def self.inner_class_types
709
+ @inner_class_types = {}
710
+ end
711
+
712
+ def self.field_remappings
713
+ @field_remappings = {}
714
+ end
452
715
  end
453
716
  # Attribute for field account_holder_address
454
717
  attr_reader :account_holder_address
@@ -468,6 +731,17 @@ module Stripe
468
731
  attr_reader :branch_code
469
732
  # The branch name of the account
470
733
  attr_reader :branch_name
734
+
735
+ def self.inner_class_types
736
+ @inner_class_types = {
737
+ account_holder_address: AccountHolderAddress,
738
+ bank_address: BankAddress,
739
+ }
740
+ end
741
+
742
+ def self.field_remappings
743
+ @field_remappings = {}
744
+ end
471
745
  end
472
746
  # ABA Records contain U.S. bank account details per the ABA format.
473
747
  attr_reader :aba
@@ -485,6 +759,21 @@ module Stripe
485
759
  attr_reader :type
486
760
  # Zengin Records contain Japan bank account details per the Zengin format.
487
761
  attr_reader :zengin
762
+
763
+ def self.inner_class_types
764
+ @inner_class_types = {
765
+ aba: Aba,
766
+ iban: Iban,
767
+ sort_code: SortCode,
768
+ spei: Spei,
769
+ swift: Swift,
770
+ zengin: Zengin,
771
+ }
772
+ end
773
+
774
+ def self.field_remappings
775
+ @field_remappings = {}
776
+ end
488
777
  end
489
778
  # The remaining amount that needs to be transferred to complete the payment.
490
779
  attr_reader :amount_remaining
@@ -498,6 +787,14 @@ module Stripe
498
787
  attr_reader :reference
499
788
  # Type of bank transfer
500
789
  attr_reader :type
790
+
791
+ def self.inner_class_types
792
+ @inner_class_types = { financial_addresses: FinancialAddress }
793
+ end
794
+
795
+ def self.field_remappings
796
+ @field_remappings = {}
797
+ end
501
798
  end
502
799
 
503
800
  class KonbiniDisplayDetails < Stripe::StripeObject
@@ -507,6 +804,14 @@ module Stripe
507
804
  attr_reader :confirmation_number
508
805
  # The payment code.
509
806
  attr_reader :payment_code
807
+
808
+ def self.inner_class_types
809
+ @inner_class_types = {}
810
+ end
811
+
812
+ def self.field_remappings
813
+ @field_remappings = {}
814
+ end
510
815
  end
511
816
 
512
817
  class Lawson < Stripe::StripeObject
@@ -514,6 +819,14 @@ module Stripe
514
819
  attr_reader :confirmation_number
515
820
  # The payment code.
516
821
  attr_reader :payment_code
822
+
823
+ def self.inner_class_types
824
+ @inner_class_types = {}
825
+ end
826
+
827
+ def self.field_remappings
828
+ @field_remappings = {}
829
+ end
517
830
  end
518
831
 
519
832
  class Ministop < Stripe::StripeObject
@@ -521,6 +834,14 @@ module Stripe
521
834
  attr_reader :confirmation_number
522
835
  # The payment code.
523
836
  attr_reader :payment_code
837
+
838
+ def self.inner_class_types
839
+ @inner_class_types = {}
840
+ end
841
+
842
+ def self.field_remappings
843
+ @field_remappings = {}
844
+ end
524
845
  end
525
846
 
526
847
  class Seicomart < Stripe::StripeObject
@@ -528,6 +849,14 @@ module Stripe
528
849
  attr_reader :confirmation_number
529
850
  # The payment code.
530
851
  attr_reader :payment_code
852
+
853
+ def self.inner_class_types
854
+ @inner_class_types = {}
855
+ end
856
+
857
+ def self.field_remappings
858
+ @field_remappings = {}
859
+ end
531
860
  end
532
861
  # FamilyMart instruction details.
533
862
  attr_reader :familymart
@@ -537,6 +866,19 @@ module Stripe
537
866
  attr_reader :ministop
538
867
  # Seicomart instruction details.
539
868
  attr_reader :seicomart
869
+
870
+ def self.inner_class_types
871
+ @inner_class_types = {
872
+ familymart: Familymart,
873
+ lawson: Lawson,
874
+ ministop: Ministop,
875
+ seicomart: Seicomart,
876
+ }
877
+ end
878
+
879
+ def self.field_remappings
880
+ @field_remappings = {}
881
+ end
540
882
  end
541
883
  # The timestamp at which the pending Konbini payment expires.
542
884
  attr_reader :expires_at
@@ -544,6 +886,14 @@ module Stripe
544
886
  attr_reader :hosted_voucher_url
545
887
  # Attribute for field stores
546
888
  attr_reader :stores
889
+
890
+ def self.inner_class_types
891
+ @inner_class_types = { stores: Stores }
892
+ end
893
+
894
+ def self.field_remappings
895
+ @field_remappings = {}
896
+ end
547
897
  end
548
898
 
549
899
  class MultibancoDisplayDetails < Stripe::StripeObject
@@ -555,6 +905,14 @@ module Stripe
555
905
  attr_reader :hosted_voucher_url
556
906
  # Reference number associated with this Multibanco payment.
557
907
  attr_reader :reference
908
+
909
+ def self.inner_class_types
910
+ @inner_class_types = {}
911
+ end
912
+
913
+ def self.field_remappings
914
+ @field_remappings = {}
915
+ end
558
916
  end
559
917
 
560
918
  class OxxoDisplayDetails < Stripe::StripeObject
@@ -564,6 +922,14 @@ module Stripe
564
922
  attr_reader :hosted_voucher_url
565
923
  # OXXO reference number.
566
924
  attr_reader :number
925
+
926
+ def self.inner_class_types
927
+ @inner_class_types = {}
928
+ end
929
+
930
+ def self.field_remappings
931
+ @field_remappings = {}
932
+ end
567
933
  end
568
934
 
569
935
  class PaynowDisplayQrCode < Stripe::StripeObject
@@ -575,6 +941,14 @@ module Stripe
575
941
  attr_reader :image_url_png
576
942
  # The image_url_svg string used to render QR code
577
943
  attr_reader :image_url_svg
944
+
945
+ def self.inner_class_types
946
+ @inner_class_types = {}
947
+ end
948
+
949
+ def self.field_remappings
950
+ @field_remappings = {}
951
+ end
578
952
  end
579
953
 
580
954
  class PixDisplayQrCode < Stripe::StripeObject
@@ -588,6 +962,14 @@ module Stripe
588
962
  attr_reader :image_url_png
589
963
  # The image_url_svg string used to render svg QR code
590
964
  attr_reader :image_url_svg
965
+
966
+ def self.inner_class_types
967
+ @inner_class_types = {}
968
+ end
969
+
970
+ def self.field_remappings
971
+ @field_remappings = {}
972
+ end
591
973
  end
592
974
 
593
975
  class PromptpayDisplayQrCode < Stripe::StripeObject
@@ -599,6 +981,14 @@ module Stripe
599
981
  attr_reader :image_url_png
600
982
  # The SVG path used to render the QR code, can be used as the source in an HTML img tag
601
983
  attr_reader :image_url_svg
984
+
985
+ def self.inner_class_types
986
+ @inner_class_types = {}
987
+ end
988
+
989
+ def self.field_remappings
990
+ @field_remappings = {}
991
+ end
602
992
  end
603
993
 
604
994
  class RedirectToUrl < Stripe::StripeObject
@@ -606,6 +996,14 @@ module Stripe
606
996
  attr_reader :return_url
607
997
  # The URL you must redirect your customer to in order to authenticate the payment.
608
998
  attr_reader :url
999
+
1000
+ def self.inner_class_types
1001
+ @inner_class_types = {}
1002
+ end
1003
+
1004
+ def self.field_remappings
1005
+ @field_remappings = {}
1006
+ end
609
1007
  end
610
1008
 
611
1009
  class SwishHandleRedirectOrDisplayQrCode < Stripe::StripeObject
@@ -616,6 +1014,14 @@ module Stripe
616
1014
  attr_reader :image_url_png
617
1015
  # The image_url_svg string used to render QR code
618
1016
  attr_reader :image_url_svg
1017
+
1018
+ def self.inner_class_types
1019
+ @inner_class_types = {}
1020
+ end
1021
+
1022
+ def self.field_remappings
1023
+ @field_remappings = {}
1024
+ end
619
1025
  end
620
1026
  # The URL to the hosted Swish instructions page, which allows customers to view the QR code.
621
1027
  attr_reader :hosted_instructions_url
@@ -623,6 +1029,14 @@ module Stripe
623
1029
  attr_reader :mobile_auth_url
624
1030
  # Attribute for field qr_code
625
1031
  attr_reader :qr_code
1032
+
1033
+ def self.inner_class_types
1034
+ @inner_class_types = { qr_code: QrCode }
1035
+ end
1036
+
1037
+ def self.field_remappings
1038
+ @field_remappings = {}
1039
+ end
626
1040
  end
627
1041
 
628
1042
  class VerifyWithMicrodeposits < Stripe::StripeObject
@@ -632,6 +1046,14 @@ module Stripe
632
1046
  attr_reader :hosted_verification_url
633
1047
  # The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
634
1048
  attr_reader :microdeposit_type
1049
+
1050
+ def self.inner_class_types
1051
+ @inner_class_types = {}
1052
+ end
1053
+
1054
+ def self.field_remappings
1055
+ @field_remappings = {}
1056
+ end
635
1057
  end
636
1058
 
637
1059
  class WechatPayDisplayQrCode < Stripe::StripeObject
@@ -645,6 +1067,14 @@ module Stripe
645
1067
  attr_reader :image_url_png
646
1068
  # The image_url_svg string used to render QR code
647
1069
  attr_reader :image_url_svg
1070
+
1071
+ def self.inner_class_types
1072
+ @inner_class_types = {}
1073
+ end
1074
+
1075
+ def self.field_remappings
1076
+ @field_remappings = {}
1077
+ end
648
1078
  end
649
1079
 
650
1080
  class WechatPayRedirectToAndroidApp < Stripe::StripeObject
@@ -662,11 +1092,27 @@ module Stripe
662
1092
  attr_reader :sign
663
1093
  # Specifies the current time in epoch format
664
1094
  attr_reader :timestamp
1095
+
1096
+ def self.inner_class_types
1097
+ @inner_class_types = {}
1098
+ end
1099
+
1100
+ def self.field_remappings
1101
+ @field_remappings = {}
1102
+ end
665
1103
  end
666
1104
 
667
1105
  class WechatPayRedirectToIosApp < Stripe::StripeObject
668
1106
  # An universal link that redirect to WeChat Pay app
669
1107
  attr_reader :native_url
1108
+
1109
+ def self.inner_class_types
1110
+ @inner_class_types = {}
1111
+ end
1112
+
1113
+ def self.field_remappings
1114
+ @field_remappings = {}
1115
+ end
670
1116
  end
671
1117
  # Attribute for field alipay_handle_redirect
672
1118
  attr_reader :alipay_handle_redirect
@@ -706,6 +1152,32 @@ module Stripe
706
1152
  attr_reader :wechat_pay_redirect_to_android_app
707
1153
  # Attribute for field wechat_pay_redirect_to_ios_app
708
1154
  attr_reader :wechat_pay_redirect_to_ios_app
1155
+
1156
+ def self.inner_class_types
1157
+ @inner_class_types = {
1158
+ alipay_handle_redirect: AlipayHandleRedirect,
1159
+ boleto_display_details: BoletoDisplayDetails,
1160
+ card_await_notification: CardAwaitNotification,
1161
+ cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
1162
+ display_bank_transfer_instructions: DisplayBankTransferInstructions,
1163
+ konbini_display_details: KonbiniDisplayDetails,
1164
+ multibanco_display_details: MultibancoDisplayDetails,
1165
+ oxxo_display_details: OxxoDisplayDetails,
1166
+ paynow_display_qr_code: PaynowDisplayQrCode,
1167
+ pix_display_qr_code: PixDisplayQrCode,
1168
+ promptpay_display_qr_code: PromptpayDisplayQrCode,
1169
+ redirect_to_url: RedirectToUrl,
1170
+ swish_handle_redirect_or_display_qr_code: SwishHandleRedirectOrDisplayQrCode,
1171
+ verify_with_microdeposits: VerifyWithMicrodeposits,
1172
+ wechat_pay_display_qr_code: WechatPayDisplayQrCode,
1173
+ wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
1174
+ wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
1175
+ }
1176
+ end
1177
+
1178
+ def self.field_remappings
1179
+ @field_remappings = {}
1180
+ end
709
1181
  end
710
1182
 
711
1183
  class PaymentDetails < Stripe::StripeObject
@@ -713,6 +1185,14 @@ module Stripe
713
1185
  class Affiliate < Stripe::StripeObject
714
1186
  # The name of the affiliate that originated the purchase.
715
1187
  attr_reader :name
1188
+
1189
+ def self.inner_class_types
1190
+ @inner_class_types = {}
1191
+ end
1192
+
1193
+ def self.field_remappings
1194
+ @field_remappings = {}
1195
+ end
716
1196
  end
717
1197
 
718
1198
  class Delivery < Stripe::StripeObject
@@ -723,11 +1203,27 @@ module Stripe
723
1203
  attr_reader :name
724
1204
  # The phone number of the recipient the ticket is delivered to.
725
1205
  attr_reader :phone
1206
+
1207
+ def self.inner_class_types
1208
+ @inner_class_types = {}
1209
+ end
1210
+
1211
+ def self.field_remappings
1212
+ @field_remappings = {}
1213
+ end
726
1214
  end
727
1215
  # The delivery method for the payment
728
1216
  attr_reader :mode
729
1217
  # Attribute for field recipient
730
1218
  attr_reader :recipient
1219
+
1220
+ def self.inner_class_types
1221
+ @inner_class_types = { recipient: Recipient }
1222
+ end
1223
+
1224
+ def self.field_remappings
1225
+ @field_remappings = {}
1226
+ end
731
1227
  end
732
1228
 
733
1229
  class Distance < Stripe::StripeObject
@@ -735,6 +1231,14 @@ module Stripe
735
1231
  attr_reader :amount
736
1232
  # Unit of measurement for the distance traveled. One of `miles` or `kilometers`
737
1233
  attr_reader :unit
1234
+
1235
+ def self.inner_class_types
1236
+ @inner_class_types = {}
1237
+ end
1238
+
1239
+ def self.field_remappings
1240
+ @field_remappings = {}
1241
+ end
738
1242
  end
739
1243
 
740
1244
  class Driver < Stripe::StripeObject
@@ -744,6 +1248,14 @@ module Stripe
744
1248
  attr_reader :driver_tax_number
745
1249
  # Full name of the driver on the reservation.
746
1250
  attr_reader :name
1251
+
1252
+ def self.inner_class_types
1253
+ @inner_class_types = {}
1254
+ end
1255
+
1256
+ def self.field_remappings
1257
+ @field_remappings = {}
1258
+ end
747
1259
  end
748
1260
 
749
1261
  class PickupAddress < Stripe::StripeObject
@@ -759,6 +1271,14 @@ module Stripe
759
1271
  attr_reader :postal_code
760
1272
  # State, county, province, or region.
761
1273
  attr_reader :state
1274
+
1275
+ def self.inner_class_types
1276
+ @inner_class_types = {}
1277
+ end
1278
+
1279
+ def self.field_remappings
1280
+ @field_remappings = {}
1281
+ end
762
1282
  end
763
1283
 
764
1284
  class ReturnAddress < Stripe::StripeObject
@@ -774,6 +1294,14 @@ module Stripe
774
1294
  attr_reader :postal_code
775
1295
  # State, county, province, or region.
776
1296
  attr_reader :state
1297
+
1298
+ def self.inner_class_types
1299
+ @inner_class_types = {}
1300
+ end
1301
+
1302
+ def self.field_remappings
1303
+ @field_remappings = {}
1304
+ end
777
1305
  end
778
1306
  # Attribute for field affiliate
779
1307
  attr_reader :affiliate
@@ -823,6 +1351,21 @@ module Stripe
823
1351
  attr_reader :tax_exempt
824
1352
  # The vehicle identification number of the car.
825
1353
  attr_reader :vehicle_identification_number
1354
+
1355
+ def self.inner_class_types
1356
+ @inner_class_types = {
1357
+ affiliate: Affiliate,
1358
+ delivery: Delivery,
1359
+ distance: Distance,
1360
+ drivers: Driver,
1361
+ pickup_address: PickupAddress,
1362
+ return_address: ReturnAddress,
1363
+ }
1364
+ end
1365
+
1366
+ def self.field_remappings
1367
+ @field_remappings = {}
1368
+ end
826
1369
  end
827
1370
 
828
1371
  class EventDetails < Stripe::StripeObject
@@ -839,11 +1382,27 @@ module Stripe
839
1382
  attr_reader :postal_code
840
1383
  # State, county, province, or region.
841
1384
  attr_reader :state
1385
+
1386
+ def self.inner_class_types
1387
+ @inner_class_types = {}
1388
+ end
1389
+
1390
+ def self.field_remappings
1391
+ @field_remappings = {}
1392
+ end
842
1393
  end
843
1394
 
844
1395
  class Affiliate < Stripe::StripeObject
845
1396
  # The name of the affiliate that originated the purchase.
846
1397
  attr_reader :name
1398
+
1399
+ def self.inner_class_types
1400
+ @inner_class_types = {}
1401
+ end
1402
+
1403
+ def self.field_remappings
1404
+ @field_remappings = {}
1405
+ end
847
1406
  end
848
1407
 
849
1408
  class Delivery < Stripe::StripeObject
@@ -854,11 +1413,27 @@ module Stripe
854
1413
  attr_reader :name
855
1414
  # The phone number of the recipient the ticket is delivered to.
856
1415
  attr_reader :phone
1416
+
1417
+ def self.inner_class_types
1418
+ @inner_class_types = {}
1419
+ end
1420
+
1421
+ def self.field_remappings
1422
+ @field_remappings = {}
1423
+ end
857
1424
  end
858
1425
  # The delivery method for the payment
859
1426
  attr_reader :mode
860
1427
  # Attribute for field recipient
861
1428
  attr_reader :recipient
1429
+
1430
+ def self.inner_class_types
1431
+ @inner_class_types = { recipient: Recipient }
1432
+ end
1433
+
1434
+ def self.field_remappings
1435
+ @field_remappings = {}
1436
+ end
862
1437
  end
863
1438
  # Indicates if the tickets are digitally checked when entering the venue.
864
1439
  attr_reader :access_controlled_venue
@@ -878,12 +1453,28 @@ module Stripe
878
1453
  attr_reader :name
879
1454
  # Event start time. Measured in seconds since the Unix epoch.
880
1455
  attr_reader :starts_at
1456
+
1457
+ def self.inner_class_types
1458
+ @inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
1459
+ end
1460
+
1461
+ def self.field_remappings
1462
+ @field_remappings = {}
1463
+ end
881
1464
  end
882
1465
 
883
1466
  class Subscription < Stripe::StripeObject
884
1467
  class Affiliate < Stripe::StripeObject
885
1468
  # The name of the affiliate that originated the purchase.
886
1469
  attr_reader :name
1470
+
1471
+ def self.inner_class_types
1472
+ @inner_class_types = {}
1473
+ end
1474
+
1475
+ def self.field_remappings
1476
+ @field_remappings = {}
1477
+ end
887
1478
  end
888
1479
 
889
1480
  class BillingInterval < Stripe::StripeObject
@@ -891,6 +1482,14 @@ module Stripe
891
1482
  attr_reader :count
892
1483
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
893
1484
  attr_reader :interval
1485
+
1486
+ def self.inner_class_types
1487
+ @inner_class_types = {}
1488
+ end
1489
+
1490
+ def self.field_remappings
1491
+ @field_remappings = {}
1492
+ end
894
1493
  end
895
1494
  # Attribute for field affiliate
896
1495
  attr_reader :affiliate
@@ -904,6 +1503,14 @@ module Stripe
904
1503
  attr_reader :name
905
1504
  # Subscription start time. Measured in seconds since the Unix epoch.
906
1505
  attr_reader :starts_at
1506
+
1507
+ def self.inner_class_types
1508
+ @inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
1509
+ end
1510
+
1511
+ def self.field_remappings
1512
+ @field_remappings = {}
1513
+ end
907
1514
  end
908
1515
  # Attribute for field car_rental
909
1516
  attr_reader :car_rental
@@ -915,6 +1522,18 @@ module Stripe
915
1522
  attr_reader :order_reference
916
1523
  # Attribute for field subscription
917
1524
  attr_reader :subscription
1525
+
1526
+ def self.inner_class_types
1527
+ @inner_class_types = {
1528
+ car_rental: CarRental,
1529
+ event_details: EventDetails,
1530
+ subscription: Subscription,
1531
+ }
1532
+ end
1533
+
1534
+ def self.field_remappings
1535
+ @field_remappings = {}
1536
+ end
918
1537
  end
919
1538
 
920
1539
  class PaymentMethodConfigurationDetails < Stripe::StripeObject
@@ -922,6 +1541,14 @@ module Stripe
922
1541
  attr_reader :id
923
1542
  # ID of the parent payment method configuration used.
924
1543
  attr_reader :parent
1544
+
1545
+ def self.inner_class_types
1546
+ @inner_class_types = {}
1547
+ end
1548
+
1549
+ def self.field_remappings
1550
+ @field_remappings = {}
1551
+ end
925
1552
  end
926
1553
 
927
1554
  class PaymentMethodOptions < Stripe::StripeObject
@@ -935,6 +1562,14 @@ module Stripe
935
1562
  attr_reader :payment_schedule
936
1563
  # Transaction type of the mandate.
937
1564
  attr_reader :transaction_type
1565
+
1566
+ def self.inner_class_types
1567
+ @inner_class_types = {}
1568
+ end
1569
+
1570
+ def self.field_remappings
1571
+ @field_remappings = {}
1572
+ end
938
1573
  end
939
1574
  # Attribute for field mandate_options
940
1575
  attr_reader :mandate_options
@@ -950,6 +1585,14 @@ module Stripe
950
1585
  attr_reader :target_date
951
1586
  # Bank account verification method.
952
1587
  attr_reader :verification_method
1588
+
1589
+ def self.inner_class_types
1590
+ @inner_class_types = { mandate_options: MandateOptions }
1591
+ end
1592
+
1593
+ def self.field_remappings
1594
+ @field_remappings = {}
1595
+ end
953
1596
  end
954
1597
 
955
1598
  class Affirm < Stripe::StripeObject
@@ -965,6 +1608,14 @@ module Stripe
965
1608
  #
966
1609
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
967
1610
  attr_reader :setup_future_usage
1611
+
1612
+ def self.inner_class_types
1613
+ @inner_class_types = {}
1614
+ end
1615
+
1616
+ def self.field_remappings
1617
+ @field_remappings = {}
1618
+ end
968
1619
  end
969
1620
 
970
1621
  class AfterpayClearpay < Stripe::StripeObject
@@ -981,6 +1632,14 @@ module Stripe
981
1632
  #
982
1633
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
983
1634
  attr_reader :setup_future_usage
1635
+
1636
+ def self.inner_class_types
1637
+ @inner_class_types = {}
1638
+ end
1639
+
1640
+ def self.field_remappings
1641
+ @field_remappings = {}
1642
+ end
984
1643
  end
985
1644
 
986
1645
  class Alipay < Stripe::StripeObject
@@ -992,11 +1651,27 @@ module Stripe
992
1651
  #
993
1652
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
994
1653
  attr_reader :setup_future_usage
1654
+
1655
+ def self.inner_class_types
1656
+ @inner_class_types = {}
1657
+ end
1658
+
1659
+ def self.field_remappings
1660
+ @field_remappings = {}
1661
+ end
995
1662
  end
996
1663
 
997
1664
  class Alma < Stripe::StripeObject
998
1665
  # Controls when the funds will be captured from the customer's account.
999
1666
  attr_reader :capture_method
1667
+
1668
+ def self.inner_class_types
1669
+ @inner_class_types = {}
1670
+ end
1671
+
1672
+ def self.field_remappings
1673
+ @field_remappings = {}
1674
+ end
1000
1675
  end
1001
1676
 
1002
1677
  class AmazonPay < Stripe::StripeObject
@@ -1010,6 +1685,14 @@ module Stripe
1010
1685
  #
1011
1686
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1012
1687
  attr_reader :setup_future_usage
1688
+
1689
+ def self.inner_class_types
1690
+ @inner_class_types = {}
1691
+ end
1692
+
1693
+ def self.field_remappings
1694
+ @field_remappings = {}
1695
+ end
1013
1696
  end
1014
1697
 
1015
1698
  class AuBecsDebit < Stripe::StripeObject
@@ -1023,12 +1706,28 @@ module Stripe
1023
1706
  attr_reader :setup_future_usage
1024
1707
  # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1025
1708
  attr_reader :target_date
1709
+
1710
+ def self.inner_class_types
1711
+ @inner_class_types = {}
1712
+ end
1713
+
1714
+ def self.field_remappings
1715
+ @field_remappings = {}
1716
+ end
1026
1717
  end
1027
1718
 
1028
1719
  class BacsDebit < Stripe::StripeObject
1029
1720
  class MandateOptions < Stripe::StripeObject
1030
1721
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
1031
1722
  attr_reader :reference_prefix
1723
+
1724
+ def self.inner_class_types
1725
+ @inner_class_types = {}
1726
+ end
1727
+
1728
+ def self.field_remappings
1729
+ @field_remappings = {}
1730
+ end
1032
1731
  end
1033
1732
  # Attribute for field mandate_options
1034
1733
  attr_reader :mandate_options
@@ -1042,6 +1741,14 @@ module Stripe
1042
1741
  attr_reader :setup_future_usage
1043
1742
  # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1044
1743
  attr_reader :target_date
1744
+
1745
+ def self.inner_class_types
1746
+ @inner_class_types = { mandate_options: MandateOptions }
1747
+ end
1748
+
1749
+ def self.field_remappings
1750
+ @field_remappings = {}
1751
+ end
1045
1752
  end
1046
1753
 
1047
1754
  class Bancontact < Stripe::StripeObject
@@ -1055,11 +1762,27 @@ module Stripe
1055
1762
  #
1056
1763
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1057
1764
  attr_reader :setup_future_usage
1765
+
1766
+ def self.inner_class_types
1767
+ @inner_class_types = {}
1768
+ end
1769
+
1770
+ def self.field_remappings
1771
+ @field_remappings = {}
1772
+ end
1058
1773
  end
1059
1774
 
1060
1775
  class Billie < Stripe::StripeObject
1061
1776
  # Controls when the funds will be captured from the customer's account.
1062
1777
  attr_reader :capture_method
1778
+
1779
+ def self.inner_class_types
1780
+ @inner_class_types = {}
1781
+ end
1782
+
1783
+ def self.field_remappings
1784
+ @field_remappings = {}
1785
+ end
1063
1786
  end
1064
1787
 
1065
1788
  class Blik < Stripe::StripeObject
@@ -1071,6 +1794,14 @@ module Stripe
1071
1794
  #
1072
1795
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1073
1796
  attr_reader :setup_future_usage
1797
+
1798
+ def self.inner_class_types
1799
+ @inner_class_types = {}
1800
+ end
1801
+
1802
+ def self.field_remappings
1803
+ @field_remappings = {}
1804
+ end
1074
1805
  end
1075
1806
 
1076
1807
  class Boleto < Stripe::StripeObject
@@ -1084,6 +1815,14 @@ module Stripe
1084
1815
  #
1085
1816
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1086
1817
  attr_reader :setup_future_usage
1818
+
1819
+ def self.inner_class_types
1820
+ @inner_class_types = {}
1821
+ end
1822
+
1823
+ def self.field_remappings
1824
+ @field_remappings = {}
1825
+ end
1087
1826
  end
1088
1827
 
1089
1828
  class Card < Stripe::StripeObject
@@ -1096,6 +1835,14 @@ module Stripe
1096
1835
  attr_reader :interval
1097
1836
  # Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
1098
1837
  attr_reader :type
1838
+
1839
+ def self.inner_class_types
1840
+ @inner_class_types = {}
1841
+ end
1842
+
1843
+ def self.field_remappings
1844
+ @field_remappings = {}
1845
+ end
1099
1846
  end
1100
1847
 
1101
1848
  class Plan < Stripe::StripeObject
@@ -1106,6 +1853,14 @@ module Stripe
1106
1853
  attr_reader :interval
1107
1854
  # Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
1108
1855
  attr_reader :type
1856
+
1857
+ def self.inner_class_types
1858
+ @inner_class_types = {}
1859
+ end
1860
+
1861
+ def self.field_remappings
1862
+ @field_remappings = {}
1863
+ end
1109
1864
  end
1110
1865
  # Installment plans that may be selected for this PaymentIntent.
1111
1866
  attr_reader :available_plans
@@ -1113,6 +1868,14 @@ module Stripe
1113
1868
  attr_reader :enabled
1114
1869
  # Installment plan selected for this PaymentIntent.
1115
1870
  attr_reader :plan
1871
+
1872
+ def self.inner_class_types
1873
+ @inner_class_types = { available_plans: AvailablePlan, plan: Plan }
1874
+ end
1875
+
1876
+ def self.field_remappings
1877
+ @field_remappings = {}
1878
+ end
1116
1879
  end
1117
1880
 
1118
1881
  class MandateOptions < Stripe::StripeObject
@@ -1134,6 +1897,14 @@ module Stripe
1134
1897
  attr_reader :start_date
1135
1898
  # Specifies the type of mandates supported. Possible values are `india`.
1136
1899
  attr_reader :supported_types
1900
+
1901
+ def self.inner_class_types
1902
+ @inner_class_types = {}
1903
+ end
1904
+
1905
+ def self.field_remappings
1906
+ @field_remappings = {}
1907
+ end
1137
1908
  end
1138
1909
 
1139
1910
  class StatementDetails < Stripe::StripeObject
@@ -1150,11 +1921,27 @@ module Stripe
1150
1921
  attr_reader :postal_code
1151
1922
  # State, county, province, or region.
1152
1923
  attr_reader :state
1924
+
1925
+ def self.inner_class_types
1926
+ @inner_class_types = {}
1927
+ end
1928
+
1929
+ def self.field_remappings
1930
+ @field_remappings = {}
1931
+ end
1153
1932
  end
1154
1933
  # Attribute for field address
1155
1934
  attr_reader :address
1156
1935
  # Phone number
1157
1936
  attr_reader :phone
1937
+
1938
+ def self.inner_class_types
1939
+ @inner_class_types = { address: Address }
1940
+ end
1941
+
1942
+ def self.field_remappings
1943
+ @field_remappings = {}
1944
+ end
1158
1945
  end
1159
1946
  # Controls when the funds will be captured from the customer's account.
1160
1947
  attr_reader :capture_method
@@ -1196,12 +1983,32 @@ module Stripe
1196
1983
  attr_reader :statement_descriptor_suffix_kanji
1197
1984
  # Attribute for field statement_details
1198
1985
  attr_reader :statement_details
1986
+
1987
+ def self.inner_class_types
1988
+ @inner_class_types = {
1989
+ installments: Installments,
1990
+ mandate_options: MandateOptions,
1991
+ statement_details: StatementDetails,
1992
+ }
1993
+ end
1994
+
1995
+ def self.field_remappings
1996
+ @field_remappings = {}
1997
+ end
1199
1998
  end
1200
1999
 
1201
2000
  class CardPresent < Stripe::StripeObject
1202
2001
  class Routing < Stripe::StripeObject
1203
2002
  # Requested routing priority
1204
2003
  attr_reader :requested_priority
2004
+
2005
+ def self.inner_class_types
2006
+ @inner_class_types = {}
2007
+ end
2008
+
2009
+ def self.field_remappings
2010
+ @field_remappings = {}
2011
+ end
1205
2012
  end
1206
2013
  # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
1207
2014
  attr_reader :request_extended_authorization
@@ -1209,6 +2016,14 @@ module Stripe
1209
2016
  attr_reader :request_incremental_authorization_support
1210
2017
  # Attribute for field routing
1211
2018
  attr_reader :routing
2019
+
2020
+ def self.inner_class_types
2021
+ @inner_class_types = { routing: Routing }
2022
+ end
2023
+
2024
+ def self.field_remappings
2025
+ @field_remappings = {}
2026
+ end
1212
2027
  end
1213
2028
 
1214
2029
  class Cashapp < Stripe::StripeObject
@@ -1222,6 +2037,14 @@ module Stripe
1222
2037
  #
1223
2038
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1224
2039
  attr_reader :setup_future_usage
2040
+
2041
+ def self.inner_class_types
2042
+ @inner_class_types = {}
2043
+ end
2044
+
2045
+ def self.field_remappings
2046
+ @field_remappings = {}
2047
+ end
1225
2048
  end
1226
2049
 
1227
2050
  class Crypto < Stripe::StripeObject
@@ -1233,6 +2056,14 @@ module Stripe
1233
2056
  #
1234
2057
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1235
2058
  attr_reader :setup_future_usage
2059
+
2060
+ def self.inner_class_types
2061
+ @inner_class_types = {}
2062
+ end
2063
+
2064
+ def self.field_remappings
2065
+ @field_remappings = {}
2066
+ end
1236
2067
  end
1237
2068
 
1238
2069
  class CustomerBalance < Stripe::StripeObject
@@ -1240,6 +2071,14 @@ module Stripe
1240
2071
  class EuBankTransfer < Stripe::StripeObject
1241
2072
  # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
1242
2073
  attr_reader :country
2074
+
2075
+ def self.inner_class_types
2076
+ @inner_class_types = {}
2077
+ end
2078
+
2079
+ def self.field_remappings
2080
+ @field_remappings = {}
2081
+ end
1243
2082
  end
1244
2083
  # Attribute for field eu_bank_transfer
1245
2084
  attr_reader :eu_bank_transfer
@@ -1249,6 +2088,14 @@ module Stripe
1249
2088
  attr_reader :requested_address_types
1250
2089
  # The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
1251
2090
  attr_reader :type
2091
+
2092
+ def self.inner_class_types
2093
+ @inner_class_types = { eu_bank_transfer: EuBankTransfer }
2094
+ end
2095
+
2096
+ def self.field_remappings
2097
+ @field_remappings = {}
2098
+ end
1252
2099
  end
1253
2100
  # Attribute for field bank_transfer
1254
2101
  attr_reader :bank_transfer
@@ -1262,6 +2109,14 @@ module Stripe
1262
2109
  #
1263
2110
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1264
2111
  attr_reader :setup_future_usage
2112
+
2113
+ def self.inner_class_types
2114
+ @inner_class_types = { bank_transfer: BankTransfer }
2115
+ end
2116
+
2117
+ def self.field_remappings
2118
+ @field_remappings = {}
2119
+ end
1265
2120
  end
1266
2121
 
1267
2122
  class Eps < Stripe::StripeObject
@@ -1273,6 +2128,14 @@ module Stripe
1273
2128
  #
1274
2129
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1275
2130
  attr_reader :setup_future_usage
2131
+
2132
+ def self.inner_class_types
2133
+ @inner_class_types = {}
2134
+ end
2135
+
2136
+ def self.field_remappings
2137
+ @field_remappings = {}
2138
+ end
1276
2139
  end
1277
2140
 
1278
2141
  class Fpx < Stripe::StripeObject
@@ -1284,6 +2147,14 @@ module Stripe
1284
2147
  #
1285
2148
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1286
2149
  attr_reader :setup_future_usage
2150
+
2151
+ def self.inner_class_types
2152
+ @inner_class_types = {}
2153
+ end
2154
+
2155
+ def self.field_remappings
2156
+ @field_remappings = {}
2157
+ end
1287
2158
  end
1288
2159
 
1289
2160
  class Giropay < Stripe::StripeObject
@@ -1295,6 +2166,14 @@ module Stripe
1295
2166
  #
1296
2167
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1297
2168
  attr_reader :setup_future_usage
2169
+
2170
+ def self.inner_class_types
2171
+ @inner_class_types = {}
2172
+ end
2173
+
2174
+ def self.field_remappings
2175
+ @field_remappings = {}
2176
+ end
1298
2177
  end
1299
2178
 
1300
2179
  class Gopay < Stripe::StripeObject
@@ -1306,6 +2185,14 @@ module Stripe
1306
2185
  #
1307
2186
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1308
2187
  attr_reader :setup_future_usage
2188
+
2189
+ def self.inner_class_types
2190
+ @inner_class_types = {}
2191
+ end
2192
+
2193
+ def self.field_remappings
2194
+ @field_remappings = {}
2195
+ end
1309
2196
  end
1310
2197
 
1311
2198
  class Grabpay < Stripe::StripeObject
@@ -1317,6 +2204,14 @@ module Stripe
1317
2204
  #
1318
2205
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1319
2206
  attr_reader :setup_future_usage
2207
+
2208
+ def self.inner_class_types
2209
+ @inner_class_types = {}
2210
+ end
2211
+
2212
+ def self.field_remappings
2213
+ @field_remappings = {}
2214
+ end
1320
2215
  end
1321
2216
 
1322
2217
  class IdBankTransfer < Stripe::StripeObject
@@ -1332,6 +2227,14 @@ module Stripe
1332
2227
  #
1333
2228
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1334
2229
  attr_reader :setup_future_usage
2230
+
2231
+ def self.inner_class_types
2232
+ @inner_class_types = {}
2233
+ end
2234
+
2235
+ def self.field_remappings
2236
+ @field_remappings = {}
2237
+ end
1335
2238
  end
1336
2239
 
1337
2240
  class Ideal < Stripe::StripeObject
@@ -1343,9 +2246,25 @@ module Stripe
1343
2246
  #
1344
2247
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1345
2248
  attr_reader :setup_future_usage
2249
+
2250
+ def self.inner_class_types
2251
+ @inner_class_types = {}
2252
+ end
2253
+
2254
+ def self.field_remappings
2255
+ @field_remappings = {}
2256
+ end
1346
2257
  end
1347
2258
 
1348
- class InteracPresent < Stripe::StripeObject; end
2259
+ class InteracPresent < Stripe::StripeObject
2260
+ def self.inner_class_types
2261
+ @inner_class_types = {}
2262
+ end
2263
+
2264
+ def self.field_remappings
2265
+ @field_remappings = {}
2266
+ end
2267
+ end
1349
2268
 
1350
2269
  class KakaoPay < Stripe::StripeObject
1351
2270
  # Controls when the funds will be captured from the customer's account.
@@ -1358,6 +2277,14 @@ module Stripe
1358
2277
  #
1359
2278
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1360
2279
  attr_reader :setup_future_usage
2280
+
2281
+ def self.inner_class_types
2282
+ @inner_class_types = {}
2283
+ end
2284
+
2285
+ def self.field_remappings
2286
+ @field_remappings = {}
2287
+ end
1361
2288
  end
1362
2289
 
1363
2290
  class Klarna < Stripe::StripeObject
@@ -1373,6 +2300,14 @@ module Stripe
1373
2300
  #
1374
2301
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1375
2302
  attr_reader :setup_future_usage
2303
+
2304
+ def self.inner_class_types
2305
+ @inner_class_types = {}
2306
+ end
2307
+
2308
+ def self.field_remappings
2309
+ @field_remappings = {}
2310
+ end
1376
2311
  end
1377
2312
 
1378
2313
  class Konbini < Stripe::StripeObject
@@ -1392,6 +2327,14 @@ module Stripe
1392
2327
  #
1393
2328
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1394
2329
  attr_reader :setup_future_usage
2330
+
2331
+ def self.inner_class_types
2332
+ @inner_class_types = {}
2333
+ end
2334
+
2335
+ def self.field_remappings
2336
+ @field_remappings = {}
2337
+ end
1395
2338
  end
1396
2339
 
1397
2340
  class KrCard < Stripe::StripeObject
@@ -1405,6 +2348,14 @@ module Stripe
1405
2348
  #
1406
2349
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1407
2350
  attr_reader :setup_future_usage
2351
+
2352
+ def self.inner_class_types
2353
+ @inner_class_types = {}
2354
+ end
2355
+
2356
+ def self.field_remappings
2357
+ @field_remappings = {}
2358
+ end
1408
2359
  end
1409
2360
 
1410
2361
  class Link < Stripe::StripeObject
@@ -1420,6 +2371,14 @@ module Stripe
1420
2371
  #
1421
2372
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1422
2373
  attr_reader :setup_future_usage
2374
+
2375
+ def self.inner_class_types
2376
+ @inner_class_types = {}
2377
+ end
2378
+
2379
+ def self.field_remappings
2380
+ @field_remappings = {}
2381
+ end
1423
2382
  end
1424
2383
 
1425
2384
  class MbWay < Stripe::StripeObject
@@ -1431,6 +2390,14 @@ module Stripe
1431
2390
  #
1432
2391
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1433
2392
  attr_reader :setup_future_usage
2393
+
2394
+ def self.inner_class_types
2395
+ @inner_class_types = {}
2396
+ end
2397
+
2398
+ def self.field_remappings
2399
+ @field_remappings = {}
2400
+ end
1434
2401
  end
1435
2402
 
1436
2403
  class Mobilepay < Stripe::StripeObject
@@ -1444,6 +2411,14 @@ module Stripe
1444
2411
  #
1445
2412
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1446
2413
  attr_reader :setup_future_usage
2414
+
2415
+ def self.inner_class_types
2416
+ @inner_class_types = {}
2417
+ end
2418
+
2419
+ def self.field_remappings
2420
+ @field_remappings = {}
2421
+ end
1447
2422
  end
1448
2423
 
1449
2424
  class Multibanco < Stripe::StripeObject
@@ -1455,6 +2430,14 @@ module Stripe
1455
2430
  #
1456
2431
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1457
2432
  attr_reader :setup_future_usage
2433
+
2434
+ def self.inner_class_types
2435
+ @inner_class_types = {}
2436
+ end
2437
+
2438
+ def self.field_remappings
2439
+ @field_remappings = {}
2440
+ end
1458
2441
  end
1459
2442
 
1460
2443
  class NaverPay < Stripe::StripeObject
@@ -1468,6 +2451,14 @@ module Stripe
1468
2451
  #
1469
2452
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1470
2453
  attr_reader :setup_future_usage
2454
+
2455
+ def self.inner_class_types
2456
+ @inner_class_types = {}
2457
+ end
2458
+
2459
+ def self.field_remappings
2460
+ @field_remappings = {}
2461
+ end
1471
2462
  end
1472
2463
 
1473
2464
  class NzBankAccount < Stripe::StripeObject
@@ -1481,6 +2472,14 @@ module Stripe
1481
2472
  attr_reader :setup_future_usage
1482
2473
  # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1483
2474
  attr_reader :target_date
2475
+
2476
+ def self.inner_class_types
2477
+ @inner_class_types = {}
2478
+ end
2479
+
2480
+ def self.field_remappings
2481
+ @field_remappings = {}
2482
+ end
1484
2483
  end
1485
2484
 
1486
2485
  class Oxxo < Stripe::StripeObject
@@ -1494,6 +2493,14 @@ module Stripe
1494
2493
  #
1495
2494
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1496
2495
  attr_reader :setup_future_usage
2496
+
2497
+ def self.inner_class_types
2498
+ @inner_class_types = {}
2499
+ end
2500
+
2501
+ def self.field_remappings
2502
+ @field_remappings = {}
2503
+ end
1497
2504
  end
1498
2505
 
1499
2506
  class P24 < Stripe::StripeObject
@@ -1505,13 +2512,37 @@ module Stripe
1505
2512
  #
1506
2513
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1507
2514
  attr_reader :setup_future_usage
2515
+
2516
+ def self.inner_class_types
2517
+ @inner_class_types = {}
2518
+ end
2519
+
2520
+ def self.field_remappings
2521
+ @field_remappings = {}
2522
+ end
1508
2523
  end
1509
2524
 
1510
- class PayByBank < Stripe::StripeObject; end
2525
+ class PayByBank < Stripe::StripeObject
2526
+ def self.inner_class_types
2527
+ @inner_class_types = {}
2528
+ end
2529
+
2530
+ def self.field_remappings
2531
+ @field_remappings = {}
2532
+ end
2533
+ end
1511
2534
 
1512
2535
  class Payco < Stripe::StripeObject
1513
2536
  # Controls when the funds will be captured from the customer's account.
1514
2537
  attr_reader :capture_method
2538
+
2539
+ def self.inner_class_types
2540
+ @inner_class_types = {}
2541
+ end
2542
+
2543
+ def self.field_remappings
2544
+ @field_remappings = {}
2545
+ end
1515
2546
  end
1516
2547
 
1517
2548
  class Paynow < Stripe::StripeObject
@@ -1523,6 +2554,14 @@ module Stripe
1523
2554
  #
1524
2555
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1525
2556
  attr_reader :setup_future_usage
2557
+
2558
+ def self.inner_class_types
2559
+ @inner_class_types = {}
2560
+ end
2561
+
2562
+ def self.field_remappings
2563
+ @field_remappings = {}
2564
+ end
1526
2565
  end
1527
2566
 
1528
2567
  class Paypal < Stripe::StripeObject
@@ -1532,6 +2571,14 @@ module Stripe
1532
2571
  attr_reader :amount
1533
2572
  # The tax behavior for the line item.
1534
2573
  attr_reader :behavior
2574
+
2575
+ def self.inner_class_types
2576
+ @inner_class_types = {}
2577
+ end
2578
+
2579
+ def self.field_remappings
2580
+ @field_remappings = {}
2581
+ end
1535
2582
  end
1536
2583
  # Type of the line item.
1537
2584
  attr_reader :category
@@ -1549,6 +2596,14 @@ module Stripe
1549
2596
  attr_reader :tax
1550
2597
  # Price for a single unit of the line item in minor units. Cannot be a negative number.
1551
2598
  attr_reader :unit_amount
2599
+
2600
+ def self.inner_class_types
2601
+ @inner_class_types = { tax: Tax }
2602
+ end
2603
+
2604
+ def self.field_remappings
2605
+ @field_remappings = {}
2606
+ end
1552
2607
  end
1553
2608
  # Controls when the funds will be captured from the customer's account.
1554
2609
  attr_reader :capture_method
@@ -1570,6 +2625,14 @@ module Stripe
1570
2625
  attr_reader :setup_future_usage
1571
2626
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1572
2627
  attr_reader :subsellers
2628
+
2629
+ def self.inner_class_types
2630
+ @inner_class_types = { line_items: LineItem }
2631
+ end
2632
+
2633
+ def self.field_remappings
2634
+ @field_remappings = {}
2635
+ end
1573
2636
  end
1574
2637
 
1575
2638
  class Payto < Stripe::StripeObject
@@ -1586,6 +2649,14 @@ module Stripe
1586
2649
  attr_reader :payments_per_period
1587
2650
  # The purpose for which payments are made. Defaults to retail.
1588
2651
  attr_reader :purpose
2652
+
2653
+ def self.inner_class_types
2654
+ @inner_class_types = {}
2655
+ end
2656
+
2657
+ def self.field_remappings
2658
+ @field_remappings = {}
2659
+ end
1589
2660
  end
1590
2661
  # Attribute for field mandate_options
1591
2662
  attr_reader :mandate_options
@@ -1597,6 +2668,14 @@ module Stripe
1597
2668
  #
1598
2669
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1599
2670
  attr_reader :setup_future_usage
2671
+
2672
+ def self.inner_class_types
2673
+ @inner_class_types = { mandate_options: MandateOptions }
2674
+ end
2675
+
2676
+ def self.field_remappings
2677
+ @field_remappings = {}
2678
+ end
1600
2679
  end
1601
2680
 
1602
2681
  class Pix < Stripe::StripeObject
@@ -1617,6 +2696,14 @@ module Stripe
1617
2696
  attr_reader :reference
1618
2697
  # Start date of the mandate, in `YYYY-MM-DD`.
1619
2698
  attr_reader :start_date
2699
+
2700
+ def self.inner_class_types
2701
+ @inner_class_types = {}
2702
+ end
2703
+
2704
+ def self.field_remappings
2705
+ @field_remappings = {}
2706
+ end
1620
2707
  end
1621
2708
  # Determines if the amount includes the IOF tax.
1622
2709
  attr_reader :amount_includes_iof
@@ -1634,6 +2721,14 @@ module Stripe
1634
2721
  #
1635
2722
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1636
2723
  attr_reader :setup_future_usage
2724
+
2725
+ def self.inner_class_types
2726
+ @inner_class_types = { mandate_options: MandateOptions }
2727
+ end
2728
+
2729
+ def self.field_remappings
2730
+ @field_remappings = {}
2731
+ end
1637
2732
  end
1638
2733
 
1639
2734
  class Promptpay < Stripe::StripeObject
@@ -1645,6 +2740,14 @@ module Stripe
1645
2740
  #
1646
2741
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1647
2742
  attr_reader :setup_future_usage
2743
+
2744
+ def self.inner_class_types
2745
+ @inner_class_types = {}
2746
+ end
2747
+
2748
+ def self.field_remappings
2749
+ @field_remappings = {}
2750
+ end
1648
2751
  end
1649
2752
 
1650
2753
  class Qris < Stripe::StripeObject
@@ -1656,9 +2759,25 @@ module Stripe
1656
2759
  #
1657
2760
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1658
2761
  attr_reader :setup_future_usage
2762
+
2763
+ def self.inner_class_types
2764
+ @inner_class_types = {}
2765
+ end
2766
+
2767
+ def self.field_remappings
2768
+ @field_remappings = {}
2769
+ end
1659
2770
  end
1660
2771
 
1661
- class Rechnung < Stripe::StripeObject; end
2772
+ class Rechnung < Stripe::StripeObject
2773
+ def self.inner_class_types
2774
+ @inner_class_types = {}
2775
+ end
2776
+
2777
+ def self.field_remappings
2778
+ @field_remappings = {}
2779
+ end
2780
+ end
1662
2781
 
1663
2782
  class RevolutPay < Stripe::StripeObject
1664
2783
  # Controls when the funds will be captured from the customer's account.
@@ -1671,22 +2790,54 @@ module Stripe
1671
2790
  #
1672
2791
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1673
2792
  attr_reader :setup_future_usage
2793
+
2794
+ def self.inner_class_types
2795
+ @inner_class_types = {}
2796
+ end
2797
+
2798
+ def self.field_remappings
2799
+ @field_remappings = {}
2800
+ end
1674
2801
  end
1675
2802
 
1676
2803
  class SamsungPay < Stripe::StripeObject
1677
2804
  # Controls when the funds will be captured from the customer's account.
1678
2805
  attr_reader :capture_method
2806
+
2807
+ def self.inner_class_types
2808
+ @inner_class_types = {}
2809
+ end
2810
+
2811
+ def self.field_remappings
2812
+ @field_remappings = {}
2813
+ end
1679
2814
  end
1680
2815
 
1681
2816
  class Satispay < Stripe::StripeObject
1682
2817
  # Controls when the funds will be captured from the customer's account.
1683
2818
  attr_reader :capture_method
2819
+
2820
+ def self.inner_class_types
2821
+ @inner_class_types = {}
2822
+ end
2823
+
2824
+ def self.field_remappings
2825
+ @field_remappings = {}
2826
+ end
1684
2827
  end
1685
2828
 
1686
2829
  class SepaDebit < Stripe::StripeObject
1687
2830
  class MandateOptions < Stripe::StripeObject
1688
2831
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
1689
2832
  attr_reader :reference_prefix
2833
+
2834
+ def self.inner_class_types
2835
+ @inner_class_types = {}
2836
+ end
2837
+
2838
+ def self.field_remappings
2839
+ @field_remappings = {}
2840
+ end
1690
2841
  end
1691
2842
  # Attribute for field mandate_options
1692
2843
  attr_reader :mandate_options
@@ -1700,6 +2851,14 @@ module Stripe
1700
2851
  attr_reader :setup_future_usage
1701
2852
  # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1702
2853
  attr_reader :target_date
2854
+
2855
+ def self.inner_class_types
2856
+ @inner_class_types = { mandate_options: MandateOptions }
2857
+ end
2858
+
2859
+ def self.field_remappings
2860
+ @field_remappings = {}
2861
+ end
1703
2862
  end
1704
2863
 
1705
2864
  class Shopeepay < Stripe::StripeObject
@@ -1711,6 +2870,14 @@ module Stripe
1711
2870
  #
1712
2871
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1713
2872
  attr_reader :setup_future_usage
2873
+
2874
+ def self.inner_class_types
2875
+ @inner_class_types = {}
2876
+ end
2877
+
2878
+ def self.field_remappings
2879
+ @field_remappings = {}
2880
+ end
1714
2881
  end
1715
2882
 
1716
2883
  class Sofort < Stripe::StripeObject
@@ -1724,6 +2891,14 @@ module Stripe
1724
2891
  #
1725
2892
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1726
2893
  attr_reader :setup_future_usage
2894
+
2895
+ def self.inner_class_types
2896
+ @inner_class_types = {}
2897
+ end
2898
+
2899
+ def self.field_remappings
2900
+ @field_remappings = {}
2901
+ end
1727
2902
  end
1728
2903
 
1729
2904
  class StripeBalance < Stripe::StripeObject
@@ -1735,6 +2910,14 @@ module Stripe
1735
2910
  #
1736
2911
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1737
2912
  attr_reader :setup_future_usage
2913
+
2914
+ def self.inner_class_types
2915
+ @inner_class_types = {}
2916
+ end
2917
+
2918
+ def self.field_remappings
2919
+ @field_remappings = {}
2920
+ end
1738
2921
  end
1739
2922
 
1740
2923
  class Swish < Stripe::StripeObject
@@ -1748,6 +2931,14 @@ module Stripe
1748
2931
  #
1749
2932
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1750
2933
  attr_reader :setup_future_usage
2934
+
2935
+ def self.inner_class_types
2936
+ @inner_class_types = {}
2937
+ end
2938
+
2939
+ def self.field_remappings
2940
+ @field_remappings = {}
2941
+ end
1751
2942
  end
1752
2943
 
1753
2944
  class Twint < Stripe::StripeObject
@@ -1759,6 +2950,14 @@ module Stripe
1759
2950
  #
1760
2951
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1761
2952
  attr_reader :setup_future_usage
2953
+
2954
+ def self.inner_class_types
2955
+ @inner_class_types = {}
2956
+ end
2957
+
2958
+ def self.field_remappings
2959
+ @field_remappings = {}
2960
+ end
1762
2961
  end
1763
2962
 
1764
2963
  class UsBankAccount < Stripe::StripeObject
@@ -1768,11 +2967,27 @@ module Stripe
1768
2967
  attr_reader :account_subcategories
1769
2968
  # The institution to use to filter for possible accounts to link.
1770
2969
  attr_reader :institution
2970
+
2971
+ def self.inner_class_types
2972
+ @inner_class_types = {}
2973
+ end
2974
+
2975
+ def self.field_remappings
2976
+ @field_remappings = {}
2977
+ end
1771
2978
  end
1772
2979
 
1773
2980
  class ManualEntry < Stripe::StripeObject
1774
2981
  # Settings for configuring manual entry of account details.
1775
2982
  attr_reader :mode
2983
+
2984
+ def self.inner_class_types
2985
+ @inner_class_types = {}
2986
+ end
2987
+
2988
+ def self.field_remappings
2989
+ @field_remappings = {}
2990
+ end
1776
2991
  end
1777
2992
  # Attribute for field filters
1778
2993
  attr_reader :filters
@@ -1784,11 +2999,27 @@ module Stripe
1784
2999
  attr_reader :prefetch
1785
3000
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
1786
3001
  attr_reader :return_url
3002
+
3003
+ def self.inner_class_types
3004
+ @inner_class_types = { filters: Filters, manual_entry: ManualEntry }
3005
+ end
3006
+
3007
+ def self.field_remappings
3008
+ @field_remappings = {}
3009
+ end
1787
3010
  end
1788
3011
 
1789
3012
  class MandateOptions < Stripe::StripeObject
1790
3013
  # Mandate collection method
1791
3014
  attr_reader :collection_method
3015
+
3016
+ def self.inner_class_types
3017
+ @inner_class_types = {}
3018
+ end
3019
+
3020
+ def self.field_remappings
3021
+ @field_remappings = {}
3022
+ end
1792
3023
  end
1793
3024
  # Attribute for field financial_connections
1794
3025
  attr_reader :financial_connections
@@ -1808,6 +3039,17 @@ module Stripe
1808
3039
  attr_reader :target_date
1809
3040
  # Bank account verification method.
1810
3041
  attr_reader :verification_method
3042
+
3043
+ def self.inner_class_types
3044
+ @inner_class_types = {
3045
+ financial_connections: FinancialConnections,
3046
+ mandate_options: MandateOptions,
3047
+ }
3048
+ end
3049
+
3050
+ def self.field_remappings
3051
+ @field_remappings = {}
3052
+ end
1811
3053
  end
1812
3054
 
1813
3055
  class WechatPay < Stripe::StripeObject
@@ -1823,6 +3065,14 @@ module Stripe
1823
3065
  #
1824
3066
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1825
3067
  attr_reader :setup_future_usage
3068
+
3069
+ def self.inner_class_types
3070
+ @inner_class_types = {}
3071
+ end
3072
+
3073
+ def self.field_remappings
3074
+ @field_remappings = {}
3075
+ end
1826
3076
  end
1827
3077
 
1828
3078
  class Zip < Stripe::StripeObject
@@ -1834,6 +3084,14 @@ module Stripe
1834
3084
  #
1835
3085
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1836
3086
  attr_reader :setup_future_usage
3087
+
3088
+ def self.inner_class_types
3089
+ @inner_class_types = {}
3090
+ end
3091
+
3092
+ def self.field_remappings
3093
+ @field_remappings = {}
3094
+ end
1837
3095
  end
1838
3096
  # Attribute for field acss_debit
1839
3097
  attr_reader :acss_debit
@@ -1951,6 +3209,73 @@ module Stripe
1951
3209
  attr_reader :wechat_pay
1952
3210
  # Attribute for field zip
1953
3211
  attr_reader :zip
3212
+
3213
+ def self.inner_class_types
3214
+ @inner_class_types = {
3215
+ acss_debit: AcssDebit,
3216
+ affirm: Affirm,
3217
+ afterpay_clearpay: AfterpayClearpay,
3218
+ alipay: Alipay,
3219
+ alma: Alma,
3220
+ amazon_pay: AmazonPay,
3221
+ au_becs_debit: AuBecsDebit,
3222
+ bacs_debit: BacsDebit,
3223
+ bancontact: Bancontact,
3224
+ billie: Billie,
3225
+ blik: Blik,
3226
+ boleto: Boleto,
3227
+ card: Card,
3228
+ card_present: CardPresent,
3229
+ cashapp: Cashapp,
3230
+ crypto: Crypto,
3231
+ customer_balance: CustomerBalance,
3232
+ eps: Eps,
3233
+ fpx: Fpx,
3234
+ giropay: Giropay,
3235
+ gopay: Gopay,
3236
+ grabpay: Grabpay,
3237
+ id_bank_transfer: IdBankTransfer,
3238
+ ideal: Ideal,
3239
+ interac_present: InteracPresent,
3240
+ kakao_pay: KakaoPay,
3241
+ klarna: Klarna,
3242
+ konbini: Konbini,
3243
+ kr_card: KrCard,
3244
+ link: Link,
3245
+ mb_way: MbWay,
3246
+ mobilepay: Mobilepay,
3247
+ multibanco: Multibanco,
3248
+ naver_pay: NaverPay,
3249
+ nz_bank_account: NzBankAccount,
3250
+ oxxo: Oxxo,
3251
+ p24: P24,
3252
+ pay_by_bank: PayByBank,
3253
+ payco: Payco,
3254
+ paynow: Paynow,
3255
+ paypal: Paypal,
3256
+ payto: Payto,
3257
+ pix: Pix,
3258
+ promptpay: Promptpay,
3259
+ qris: Qris,
3260
+ rechnung: Rechnung,
3261
+ revolut_pay: RevolutPay,
3262
+ samsung_pay: SamsungPay,
3263
+ satispay: Satispay,
3264
+ sepa_debit: SepaDebit,
3265
+ shopeepay: Shopeepay,
3266
+ sofort: Sofort,
3267
+ stripe_balance: StripeBalance,
3268
+ swish: Swish,
3269
+ twint: Twint,
3270
+ us_bank_account: UsBankAccount,
3271
+ wechat_pay: WechatPay,
3272
+ zip: Zip,
3273
+ }
3274
+ end
3275
+
3276
+ def self.field_remappings
3277
+ @field_remappings = {}
3278
+ end
1954
3279
  end
1955
3280
 
1956
3281
  class PresentmentDetails < Stripe::StripeObject
@@ -1958,6 +3283,14 @@ module Stripe
1958
3283
  attr_reader :presentment_amount
1959
3284
  # Currency presented to the customer during payment.
1960
3285
  attr_reader :presentment_currency
3286
+
3287
+ def self.inner_class_types
3288
+ @inner_class_types = {}
3289
+ end
3290
+
3291
+ def self.field_remappings
3292
+ @field_remappings = {}
3293
+ end
1961
3294
  end
1962
3295
 
1963
3296
  class Processing < Stripe::StripeObject
@@ -1967,14 +3300,38 @@ module Stripe
1967
3300
  attr_reader :approval_requested
1968
3301
  # If customer approval is required, they need to provide approval before this time.
1969
3302
  attr_reader :completes_at
3303
+
3304
+ def self.inner_class_types
3305
+ @inner_class_types = {}
3306
+ end
3307
+
3308
+ def self.field_remappings
3309
+ @field_remappings = {}
3310
+ end
1970
3311
  end
1971
3312
  # Attribute for field customer_notification
1972
3313
  attr_reader :customer_notification
3314
+
3315
+ def self.inner_class_types
3316
+ @inner_class_types = { customer_notification: CustomerNotification }
3317
+ end
3318
+
3319
+ def self.field_remappings
3320
+ @field_remappings = {}
3321
+ end
1973
3322
  end
1974
3323
  # Attribute for field card
1975
3324
  attr_reader :card
1976
3325
  # Type of the payment method for which payment is in `processing` state, one of `card`.
1977
3326
  attr_reader :type
3327
+
3328
+ def self.inner_class_types
3329
+ @inner_class_types = { card: Card }
3330
+ end
3331
+
3332
+ def self.field_remappings
3333
+ @field_remappings = {}
3334
+ end
1978
3335
  end
1979
3336
 
1980
3337
  class Shipping < Stripe::StripeObject
@@ -1991,6 +3348,14 @@ module Stripe
1991
3348
  attr_reader :postal_code
1992
3349
  # State, county, province, or region.
1993
3350
  attr_reader :state
3351
+
3352
+ def self.inner_class_types
3353
+ @inner_class_types = {}
3354
+ end
3355
+
3356
+ def self.field_remappings
3357
+ @field_remappings = {}
3358
+ end
1994
3359
  end
1995
3360
  # Attribute for field address
1996
3361
  attr_reader :address
@@ -2002,6 +3367,14 @@ module Stripe
2002
3367
  attr_reader :phone
2003
3368
  # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
2004
3369
  attr_reader :tracking_number
3370
+
3371
+ def self.inner_class_types
3372
+ @inner_class_types = { address: Address }
3373
+ end
3374
+
3375
+ def self.field_remappings
3376
+ @field_remappings = {}
3377
+ end
2005
3378
  end
2006
3379
 
2007
3380
  class TransferData < Stripe::StripeObject
@@ -2011,6 +3384,14 @@ module Stripe
2011
3384
  attr_reader :amount
2012
3385
  # The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success.
2013
3386
  attr_reader :destination
3387
+
3388
+ def self.inner_class_types
3389
+ @inner_class_types = {}
3390
+ end
3391
+
3392
+ def self.field_remappings
3393
+ @field_remappings = {}
3394
+ end
2014
3395
  end
2015
3396
 
2016
3397
  class ListParams < Stripe::RequestParams
@@ -15173,5 +16554,26 @@ module Stripe
15173
16554
  opts: opts
15174
16555
  )
15175
16556
  end
16557
+
16558
+ def self.inner_class_types
16559
+ @inner_class_types = {
16560
+ amount_details: AmountDetails,
16561
+ automatic_payment_methods: AutomaticPaymentMethods,
16562
+ hooks: Hooks,
16563
+ last_payment_error: LastPaymentError,
16564
+ next_action: NextAction,
16565
+ payment_details: PaymentDetails,
16566
+ payment_method_configuration_details: PaymentMethodConfigurationDetails,
16567
+ payment_method_options: PaymentMethodOptions,
16568
+ presentment_details: PresentmentDetails,
16569
+ processing: Processing,
16570
+ shipping: Shipping,
16571
+ transfer_data: TransferData,
16572
+ }
16573
+ end
16574
+
16575
+ def self.field_remappings
16576
+ @field_remappings = {}
16577
+ end
15176
16578
  end
15177
16579
  end