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
@@ -30,6 +30,14 @@ module Stripe
30
30
  class AdaptivePricing < Stripe::StripeObject
31
31
  # If enabled, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions).
32
32
  attr_reader :enabled
33
+
34
+ def self.inner_class_types
35
+ @inner_class_types = {}
36
+ end
37
+
38
+ def self.field_remappings
39
+ @field_remappings = {}
40
+ end
33
41
  end
34
42
 
35
43
  class AfterExpiration < Stripe::StripeObject
@@ -44,9 +52,25 @@ module Stripe
44
52
  attr_reader :expires_at
45
53
  # URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session
46
54
  attr_reader :url
55
+
56
+ def self.inner_class_types
57
+ @inner_class_types = {}
58
+ end
59
+
60
+ def self.field_remappings
61
+ @field_remappings = {}
62
+ end
47
63
  end
48
64
  # When set, configuration used to recover the Checkout Session on expiry.
49
65
  attr_reader :recovery
66
+
67
+ def self.inner_class_types
68
+ @inner_class_types = { recovery: Recovery }
69
+ end
70
+
71
+ def self.field_remappings
72
+ @field_remappings = {}
73
+ end
50
74
  end
51
75
 
52
76
  class AutomaticTax < Stripe::StripeObject
@@ -55,6 +79,14 @@ module Stripe
55
79
  attr_reader :account
56
80
  # Type of the account referenced.
57
81
  attr_reader :type
82
+
83
+ def self.inner_class_types
84
+ @inner_class_types = {}
85
+ end
86
+
87
+ def self.field_remappings
88
+ @field_remappings = {}
89
+ end
58
90
  end
59
91
  # Indicates whether automatic tax is enabled for the session
60
92
  attr_reader :enabled
@@ -64,6 +96,14 @@ module Stripe
64
96
  attr_reader :provider
65
97
  # The status of the most recent automated tax calculation for this session.
66
98
  attr_reader :status
99
+
100
+ def self.inner_class_types
101
+ @inner_class_types = { liability: Liability }
102
+ end
103
+
104
+ def self.field_remappings
105
+ @field_remappings = {}
106
+ end
67
107
  end
68
108
 
69
109
  class CollectedInformation < Stripe::StripeObject
@@ -81,11 +121,27 @@ module Stripe
81
121
  attr_reader :postal_code
82
122
  # State, county, province, or region.
83
123
  attr_reader :state
124
+
125
+ def self.inner_class_types
126
+ @inner_class_types = {}
127
+ end
128
+
129
+ def self.field_remappings
130
+ @field_remappings = {}
131
+ end
84
132
  end
85
133
  # Attribute for field address
86
134
  attr_reader :address
87
135
  # Customer name.
88
136
  attr_reader :name
137
+
138
+ def self.inner_class_types
139
+ @inner_class_types = { address: Address }
140
+ end
141
+
142
+ def self.field_remappings
143
+ @field_remappings = {}
144
+ end
89
145
  end
90
146
 
91
147
  class TaxId < Stripe::StripeObject
@@ -93,6 +149,14 @@ module Stripe
93
149
  attr_reader :type
94
150
  # The value of the tax ID.
95
151
  attr_reader :value
152
+
153
+ def self.inner_class_types
154
+ @inner_class_types = {}
155
+ end
156
+
157
+ def self.field_remappings
158
+ @field_remappings = {}
159
+ end
96
160
  end
97
161
  # Customer’s business name for this Checkout Session
98
162
  attr_reader :business_name
@@ -104,6 +168,14 @@ module Stripe
104
168
  attr_reader :shipping_details
105
169
  # Customer’s tax ids for this Checkout Session.
106
170
  attr_reader :tax_ids
171
+
172
+ def self.inner_class_types
173
+ @inner_class_types = { shipping_details: ShippingDetails, tax_ids: TaxId }
174
+ end
175
+
176
+ def self.field_remappings
177
+ @field_remappings = {}
178
+ end
107
179
  end
108
180
 
109
181
  class Consent < Stripe::StripeObject
@@ -112,6 +184,14 @@ module Stripe
112
184
  attr_reader :promotions
113
185
  # If `accepted`, the customer in this Checkout Session has agreed to the merchant's terms of service.
114
186
  attr_reader :terms_of_service
187
+
188
+ def self.inner_class_types
189
+ @inner_class_types = {}
190
+ end
191
+
192
+ def self.field_remappings
193
+ @field_remappings = {}
194
+ end
115
195
  end
116
196
 
117
197
  class ConsentCollection < Stripe::StripeObject
@@ -120,6 +200,14 @@ module Stripe
120
200
  #
121
201
  # When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.
122
202
  attr_reader :position
203
+
204
+ def self.inner_class_types
205
+ @inner_class_types = {}
206
+ end
207
+
208
+ def self.field_remappings
209
+ @field_remappings = {}
210
+ end
123
211
  end
124
212
  # If set to `hidden`, it will hide legal text related to the reuse of a payment method.
125
213
  attr_reader :payment_method_reuse_agreement
@@ -129,6 +217,14 @@ module Stripe
129
217
  attr_reader :promotions
130
218
  # If set to `required`, it requires customers to accept the terms of service before being able to pay.
131
219
  attr_reader :terms_of_service
220
+
221
+ def self.inner_class_types
222
+ @inner_class_types = { payment_method_reuse_agreement: PaymentMethodReuseAgreement }
223
+ end
224
+
225
+ def self.field_remappings
226
+ @field_remappings = {}
227
+ end
132
228
  end
133
229
 
134
230
  class CurrencyConversion < Stripe::StripeObject
@@ -140,6 +236,14 @@ module Stripe
140
236
  attr_reader :fx_rate
141
237
  # Creation currency of the CheckoutSession before localization
142
238
  attr_reader :source_currency
239
+
240
+ def self.inner_class_types
241
+ @inner_class_types = {}
242
+ end
243
+
244
+ def self.field_remappings
245
+ @field_remappings = {}
246
+ end
143
247
  end
144
248
 
145
249
  class CustomField < Stripe::StripeObject
@@ -149,6 +253,14 @@ module Stripe
149
253
  attr_reader :label
150
254
  # The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.
151
255
  attr_reader :value
256
+
257
+ def self.inner_class_types
258
+ @inner_class_types = {}
259
+ end
260
+
261
+ def self.field_remappings
262
+ @field_remappings = {}
263
+ end
152
264
  end
153
265
  # The value that will pre-fill on the payment page.
154
266
  attr_reader :default_value
@@ -156,6 +268,14 @@ module Stripe
156
268
  attr_reader :options
157
269
  # The option selected by the customer. This will be the `value` for the option.
158
270
  attr_reader :value
271
+
272
+ def self.inner_class_types
273
+ @inner_class_types = { options: Option }
274
+ end
275
+
276
+ def self.field_remappings
277
+ @field_remappings = {}
278
+ end
159
279
  end
160
280
 
161
281
  class Label < Stripe::StripeObject
@@ -163,6 +283,14 @@ module Stripe
163
283
  attr_reader :custom
164
284
  # The type of the label.
165
285
  attr_reader :type
286
+
287
+ def self.inner_class_types
288
+ @inner_class_types = {}
289
+ end
290
+
291
+ def self.field_remappings
292
+ @field_remappings = {}
293
+ end
166
294
  end
167
295
 
168
296
  class Numeric < Stripe::StripeObject
@@ -174,6 +302,14 @@ module Stripe
174
302
  attr_reader :minimum_length
175
303
  # The value entered by the customer, containing only digits.
176
304
  attr_reader :value
305
+
306
+ def self.inner_class_types
307
+ @inner_class_types = {}
308
+ end
309
+
310
+ def self.field_remappings
311
+ @field_remappings = {}
312
+ end
177
313
  end
178
314
 
179
315
  class Text < Stripe::StripeObject
@@ -185,6 +321,14 @@ module Stripe
185
321
  attr_reader :minimum_length
186
322
  # The value entered by the customer.
187
323
  attr_reader :value
324
+
325
+ def self.inner_class_types
326
+ @inner_class_types = {}
327
+ end
328
+
329
+ def self.field_remappings
330
+ @field_remappings = {}
331
+ end
188
332
  end
189
333
  # Attribute for field dropdown
190
334
  attr_reader :dropdown
@@ -200,27 +344,67 @@ module Stripe
200
344
  attr_reader :text
201
345
  # The type of the field.
202
346
  attr_reader :type
347
+
348
+ def self.inner_class_types
349
+ @inner_class_types = { dropdown: Dropdown, label: Label, numeric: Numeric, text: Text }
350
+ end
351
+
352
+ def self.field_remappings
353
+ @field_remappings = {}
354
+ end
203
355
  end
204
356
 
205
357
  class CustomText < Stripe::StripeObject
206
358
  class AfterSubmit < Stripe::StripeObject
207
359
  # Text may be up to 1200 characters in length.
208
360
  attr_reader :message
361
+
362
+ def self.inner_class_types
363
+ @inner_class_types = {}
364
+ end
365
+
366
+ def self.field_remappings
367
+ @field_remappings = {}
368
+ end
209
369
  end
210
370
 
211
371
  class ShippingAddress < Stripe::StripeObject
212
372
  # Text may be up to 1200 characters in length.
213
373
  attr_reader :message
374
+
375
+ def self.inner_class_types
376
+ @inner_class_types = {}
377
+ end
378
+
379
+ def self.field_remappings
380
+ @field_remappings = {}
381
+ end
214
382
  end
215
383
 
216
384
  class Submit < Stripe::StripeObject
217
385
  # Text may be up to 1200 characters in length.
218
386
  attr_reader :message
387
+
388
+ def self.inner_class_types
389
+ @inner_class_types = {}
390
+ end
391
+
392
+ def self.field_remappings
393
+ @field_remappings = {}
394
+ end
219
395
  end
220
396
 
221
397
  class TermsOfServiceAcceptance < Stripe::StripeObject
222
398
  # Text may be up to 1200 characters in length.
223
399
  attr_reader :message
400
+
401
+ def self.inner_class_types
402
+ @inner_class_types = {}
403
+ end
404
+
405
+ def self.field_remappings
406
+ @field_remappings = {}
407
+ end
224
408
  end
225
409
  # Custom text that should be displayed after the payment confirmation button.
226
410
  attr_reader :after_submit
@@ -230,6 +414,19 @@ module Stripe
230
414
  attr_reader :submit
231
415
  # Custom text that should be displayed in place of the default terms of service agreement text.
232
416
  attr_reader :terms_of_service_acceptance
417
+
418
+ def self.inner_class_types
419
+ @inner_class_types = {
420
+ after_submit: AfterSubmit,
421
+ shipping_address: ShippingAddress,
422
+ submit: Submit,
423
+ terms_of_service_acceptance: TermsOfServiceAcceptance,
424
+ }
425
+ end
426
+
427
+ def self.field_remappings
428
+ @field_remappings = {}
429
+ end
233
430
  end
234
431
 
235
432
  class CustomerDetails < Stripe::StripeObject
@@ -246,6 +443,14 @@ module Stripe
246
443
  attr_reader :postal_code
247
444
  # State, county, province, or region.
248
445
  attr_reader :state
446
+
447
+ def self.inner_class_types
448
+ @inner_class_types = {}
449
+ end
450
+
451
+ def self.field_remappings
452
+ @field_remappings = {}
453
+ end
249
454
  end
250
455
 
251
456
  class TaxId < Stripe::StripeObject
@@ -253,6 +458,14 @@ module Stripe
253
458
  attr_reader :type
254
459
  # The value of the tax ID.
255
460
  attr_reader :value
461
+
462
+ def self.inner_class_types
463
+ @inner_class_types = {}
464
+ end
465
+
466
+ def self.field_remappings
467
+ @field_remappings = {}
468
+ end
256
469
  end
257
470
  # The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022.
258
471
  attr_reader :address
@@ -267,6 +480,14 @@ module Stripe
267
480
  attr_reader :tax_exempt
268
481
  # The customer’s tax IDs after a completed Checkout Session.
269
482
  attr_reader :tax_ids
483
+
484
+ def self.inner_class_types
485
+ @inner_class_types = { address: Address, tax_ids: TaxId }
486
+ end
487
+
488
+ def self.field_remappings
489
+ @field_remappings = {}
490
+ end
270
491
  end
271
492
 
272
493
  class Discount < Stripe::StripeObject
@@ -274,6 +495,14 @@ module Stripe
274
495
  attr_reader :coupon
275
496
  # Promotion code attached to the Checkout Session.
276
497
  attr_reader :promotion_code
498
+
499
+ def self.inner_class_types
500
+ @inner_class_types = {}
501
+ end
502
+
503
+ def self.field_remappings
504
+ @field_remappings = {}
505
+ end
277
506
  end
278
507
 
279
508
  class InvoiceCreation < Stripe::StripeObject
@@ -283,6 +512,14 @@ module Stripe
283
512
  attr_reader :name
284
513
  # The value of the custom field.
285
514
  attr_reader :value
515
+
516
+ def self.inner_class_types
517
+ @inner_class_types = {}
518
+ end
519
+
520
+ def self.field_remappings
521
+ @field_remappings = {}
522
+ end
286
523
  end
287
524
 
288
525
  class Issuer < Stripe::StripeObject
@@ -290,6 +527,14 @@ module Stripe
290
527
  attr_reader :account
291
528
  # Type of the account referenced.
292
529
  attr_reader :type
530
+
531
+ def self.inner_class_types
532
+ @inner_class_types = {}
533
+ end
534
+
535
+ def self.field_remappings
536
+ @field_remappings = {}
537
+ end
293
538
  end
294
539
 
295
540
  class RenderingOptions < Stripe::StripeObject
@@ -297,6 +542,14 @@ module Stripe
297
542
  attr_reader :amount_tax_display
298
543
  # ID of the invoice rendering template to be used for the generated invoice.
299
544
  attr_reader :template
545
+
546
+ def self.inner_class_types
547
+ @inner_class_types = {}
548
+ end
549
+
550
+ def self.field_remappings
551
+ @field_remappings = {}
552
+ end
300
553
  end
301
554
  # The account tax IDs associated with the invoice.
302
555
  attr_reader :account_tax_ids
@@ -312,11 +565,31 @@ module Stripe
312
565
  attr_reader :metadata
313
566
  # Options for invoice PDF rendering.
314
567
  attr_reader :rendering_options
568
+
569
+ def self.inner_class_types
570
+ @inner_class_types = {
571
+ custom_fields: CustomField,
572
+ issuer: Issuer,
573
+ rendering_options: RenderingOptions,
574
+ }
575
+ end
576
+
577
+ def self.field_remappings
578
+ @field_remappings = {}
579
+ end
315
580
  end
316
581
  # Indicates whether invoice creation is enabled for the Checkout Session.
317
582
  attr_reader :enabled
318
583
  # Attribute for field invoice_data
319
584
  attr_reader :invoice_data
585
+
586
+ def self.inner_class_types
587
+ @inner_class_types = { invoice_data: InvoiceData }
588
+ end
589
+
590
+ def self.field_remappings
591
+ @field_remappings = {}
592
+ end
320
593
  end
321
594
 
322
595
  class OptionalItem < Stripe::StripeObject
@@ -327,6 +600,14 @@ module Stripe
327
600
  attr_reader :maximum
328
601
  # The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0.
329
602
  attr_reader :minimum
603
+
604
+ def self.inner_class_types
605
+ @inner_class_types = {}
606
+ end
607
+
608
+ def self.field_remappings
609
+ @field_remappings = {}
610
+ end
330
611
  end
331
612
  # Attribute for field adjustable_quantity
332
613
  attr_reader :adjustable_quantity
@@ -334,6 +615,14 @@ module Stripe
334
615
  attr_reader :price
335
616
  # Attribute for field quantity
336
617
  attr_reader :quantity
618
+
619
+ def self.inner_class_types
620
+ @inner_class_types = { adjustable_quantity: AdjustableQuantity }
621
+ end
622
+
623
+ def self.field_remappings
624
+ @field_remappings = {}
625
+ end
337
626
  end
338
627
 
339
628
  class PaymentMethodConfigurationDetails < Stripe::StripeObject
@@ -341,6 +630,14 @@ module Stripe
341
630
  attr_reader :id
342
631
  # ID of the parent payment method configuration used.
343
632
  attr_reader :parent
633
+
634
+ def self.inner_class_types
635
+ @inner_class_types = {}
636
+ end
637
+
638
+ def self.field_remappings
639
+ @field_remappings = {}
640
+ end
344
641
  end
345
642
 
346
643
  class PaymentMethodOptions < Stripe::StripeObject
@@ -356,6 +653,14 @@ module Stripe
356
653
  attr_reader :payment_schedule
357
654
  # Transaction type of the mandate.
358
655
  attr_reader :transaction_type
656
+
657
+ def self.inner_class_types
658
+ @inner_class_types = {}
659
+ end
660
+
661
+ def self.field_remappings
662
+ @field_remappings = {}
663
+ end
359
664
  end
360
665
  # Currency supported by the bank account. Returned when the Session is in `setup` mode.
361
666
  attr_reader :currency
@@ -373,6 +678,14 @@ module Stripe
373
678
  attr_reader :target_date
374
679
  # Bank account verification method.
375
680
  attr_reader :verification_method
681
+
682
+ def self.inner_class_types
683
+ @inner_class_types = { mandate_options: MandateOptions }
684
+ end
685
+
686
+ def self.field_remappings
687
+ @field_remappings = {}
688
+ end
376
689
  end
377
690
 
378
691
  class Affirm < Stripe::StripeObject
@@ -384,6 +697,14 @@ module Stripe
384
697
  #
385
698
  # 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).
386
699
  attr_reader :setup_future_usage
700
+
701
+ def self.inner_class_types
702
+ @inner_class_types = {}
703
+ end
704
+
705
+ def self.field_remappings
706
+ @field_remappings = {}
707
+ end
387
708
  end
388
709
 
389
710
  class AfterpayClearpay < Stripe::StripeObject
@@ -395,6 +716,14 @@ module Stripe
395
716
  #
396
717
  # 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).
397
718
  attr_reader :setup_future_usage
719
+
720
+ def self.inner_class_types
721
+ @inner_class_types = {}
722
+ end
723
+
724
+ def self.field_remappings
725
+ @field_remappings = {}
726
+ end
398
727
  end
399
728
 
400
729
  class Alipay < Stripe::StripeObject
@@ -406,6 +735,14 @@ module Stripe
406
735
  #
407
736
  # 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).
408
737
  attr_reader :setup_future_usage
738
+
739
+ def self.inner_class_types
740
+ @inner_class_types = {}
741
+ end
742
+
743
+ def self.field_remappings
744
+ @field_remappings = {}
745
+ end
409
746
  end
410
747
 
411
748
  class AmazonPay < Stripe::StripeObject
@@ -417,6 +754,14 @@ module Stripe
417
754
  #
418
755
  # 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).
419
756
  attr_reader :setup_future_usage
757
+
758
+ def self.inner_class_types
759
+ @inner_class_types = {}
760
+ end
761
+
762
+ def self.field_remappings
763
+ @field_remappings = {}
764
+ end
420
765
  end
421
766
 
422
767
  class AuBecsDebit < Stripe::StripeObject
@@ -430,12 +775,28 @@ module Stripe
430
775
  attr_reader :setup_future_usage
431
776
  # 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.
432
777
  attr_reader :target_date
778
+
779
+ def self.inner_class_types
780
+ @inner_class_types = {}
781
+ end
782
+
783
+ def self.field_remappings
784
+ @field_remappings = {}
785
+ end
433
786
  end
434
787
 
435
788
  class BacsDebit < Stripe::StripeObject
436
789
  class MandateOptions < Stripe::StripeObject
437
790
  # 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'.
438
791
  attr_reader :reference_prefix
792
+
793
+ def self.inner_class_types
794
+ @inner_class_types = {}
795
+ end
796
+
797
+ def self.field_remappings
798
+ @field_remappings = {}
799
+ end
439
800
  end
440
801
  # Attribute for field mandate_options
441
802
  attr_reader :mandate_options
@@ -449,6 +810,14 @@ module Stripe
449
810
  attr_reader :setup_future_usage
450
811
  # 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.
451
812
  attr_reader :target_date
813
+
814
+ def self.inner_class_types
815
+ @inner_class_types = { mandate_options: MandateOptions }
816
+ end
817
+
818
+ def self.field_remappings
819
+ @field_remappings = {}
820
+ end
452
821
  end
453
822
 
454
823
  class Bancontact < Stripe::StripeObject
@@ -460,6 +829,14 @@ module Stripe
460
829
  #
461
830
  # 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).
462
831
  attr_reader :setup_future_usage
832
+
833
+ def self.inner_class_types
834
+ @inner_class_types = {}
835
+ end
836
+
837
+ def self.field_remappings
838
+ @field_remappings = {}
839
+ end
463
840
  end
464
841
 
465
842
  class Boleto < Stripe::StripeObject
@@ -473,17 +850,41 @@ module Stripe
473
850
  #
474
851
  # 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).
475
852
  attr_reader :setup_future_usage
853
+
854
+ def self.inner_class_types
855
+ @inner_class_types = {}
856
+ end
857
+
858
+ def self.field_remappings
859
+ @field_remappings = {}
860
+ end
476
861
  end
477
862
 
478
863
  class Card < Stripe::StripeObject
479
864
  class Installments < Stripe::StripeObject
480
865
  # Indicates if installments are enabled
481
866
  attr_reader :enabled
867
+
868
+ def self.inner_class_types
869
+ @inner_class_types = {}
870
+ end
871
+
872
+ def self.field_remappings
873
+ @field_remappings = {}
874
+ end
482
875
  end
483
876
 
484
877
  class Restrictions < Stripe::StripeObject
485
878
  # Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session.
486
879
  attr_reader :brands_blocked
880
+
881
+ def self.inner_class_types
882
+ @inner_class_types = {}
883
+ end
884
+
885
+ def self.field_remappings
886
+ @field_remappings = {}
887
+ end
487
888
  end
488
889
  # Attribute for field installments
489
890
  attr_reader :installments
@@ -513,6 +914,14 @@ module Stripe
513
914
  attr_reader :statement_descriptor_suffix_kana
514
915
  # Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
515
916
  attr_reader :statement_descriptor_suffix_kanji
917
+
918
+ def self.inner_class_types
919
+ @inner_class_types = { installments: Installments, restrictions: Restrictions }
920
+ end
921
+
922
+ def self.field_remappings
923
+ @field_remappings = {}
924
+ end
516
925
  end
517
926
 
518
927
  class Cashapp < Stripe::StripeObject
@@ -524,6 +933,14 @@ module Stripe
524
933
  #
525
934
  # 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).
526
935
  attr_reader :setup_future_usage
936
+
937
+ def self.inner_class_types
938
+ @inner_class_types = {}
939
+ end
940
+
941
+ def self.field_remappings
942
+ @field_remappings = {}
943
+ end
527
944
  end
528
945
 
529
946
  class CustomerBalance < Stripe::StripeObject
@@ -531,6 +948,14 @@ module Stripe
531
948
  class EuBankTransfer < Stripe::StripeObject
532
949
  # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
533
950
  attr_reader :country
951
+
952
+ def self.inner_class_types
953
+ @inner_class_types = {}
954
+ end
955
+
956
+ def self.field_remappings
957
+ @field_remappings = {}
958
+ end
534
959
  end
535
960
  # Attribute for field eu_bank_transfer
536
961
  attr_reader :eu_bank_transfer
@@ -540,6 +965,14 @@ module Stripe
540
965
  attr_reader :requested_address_types
541
966
  # 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`.
542
967
  attr_reader :type
968
+
969
+ def self.inner_class_types
970
+ @inner_class_types = { eu_bank_transfer: EuBankTransfer }
971
+ end
972
+
973
+ def self.field_remappings
974
+ @field_remappings = {}
975
+ end
543
976
  end
544
977
  # Attribute for field bank_transfer
545
978
  attr_reader :bank_transfer
@@ -553,6 +986,14 @@ module Stripe
553
986
  #
554
987
  # 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).
555
988
  attr_reader :setup_future_usage
989
+
990
+ def self.inner_class_types
991
+ @inner_class_types = { bank_transfer: BankTransfer }
992
+ end
993
+
994
+ def self.field_remappings
995
+ @field_remappings = {}
996
+ end
556
997
  end
557
998
 
558
999
  class Eps < Stripe::StripeObject
@@ -564,6 +1005,14 @@ module Stripe
564
1005
  #
565
1006
  # 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).
566
1007
  attr_reader :setup_future_usage
1008
+
1009
+ def self.inner_class_types
1010
+ @inner_class_types = {}
1011
+ end
1012
+
1013
+ def self.field_remappings
1014
+ @field_remappings = {}
1015
+ end
567
1016
  end
568
1017
 
569
1018
  class Fpx < Stripe::StripeObject
@@ -575,6 +1024,14 @@ module Stripe
575
1024
  #
576
1025
  # 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).
577
1026
  attr_reader :setup_future_usage
1027
+
1028
+ def self.inner_class_types
1029
+ @inner_class_types = {}
1030
+ end
1031
+
1032
+ def self.field_remappings
1033
+ @field_remappings = {}
1034
+ end
578
1035
  end
579
1036
 
580
1037
  class Giropay < Stripe::StripeObject
@@ -586,6 +1043,14 @@ module Stripe
586
1043
  #
587
1044
  # 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).
588
1045
  attr_reader :setup_future_usage
1046
+
1047
+ def self.inner_class_types
1048
+ @inner_class_types = {}
1049
+ end
1050
+
1051
+ def self.field_remappings
1052
+ @field_remappings = {}
1053
+ end
589
1054
  end
590
1055
 
591
1056
  class Grabpay < Stripe::StripeObject
@@ -597,6 +1062,14 @@ module Stripe
597
1062
  #
598
1063
  # 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).
599
1064
  attr_reader :setup_future_usage
1065
+
1066
+ def self.inner_class_types
1067
+ @inner_class_types = {}
1068
+ end
1069
+
1070
+ def self.field_remappings
1071
+ @field_remappings = {}
1072
+ end
600
1073
  end
601
1074
 
602
1075
  class Ideal < Stripe::StripeObject
@@ -608,6 +1081,14 @@ module Stripe
608
1081
  #
609
1082
  # 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).
610
1083
  attr_reader :setup_future_usage
1084
+
1085
+ def self.inner_class_types
1086
+ @inner_class_types = {}
1087
+ end
1088
+
1089
+ def self.field_remappings
1090
+ @field_remappings = {}
1091
+ end
611
1092
  end
612
1093
 
613
1094
  class KakaoPay < Stripe::StripeObject
@@ -621,6 +1102,14 @@ module Stripe
621
1102
  #
622
1103
  # 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).
623
1104
  attr_reader :setup_future_usage
1105
+
1106
+ def self.inner_class_types
1107
+ @inner_class_types = {}
1108
+ end
1109
+
1110
+ def self.field_remappings
1111
+ @field_remappings = {}
1112
+ end
624
1113
  end
625
1114
 
626
1115
  class Klarna < Stripe::StripeObject
@@ -632,6 +1121,14 @@ module Stripe
632
1121
  #
633
1122
  # 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).
634
1123
  attr_reader :setup_future_usage
1124
+
1125
+ def self.inner_class_types
1126
+ @inner_class_types = {}
1127
+ end
1128
+
1129
+ def self.field_remappings
1130
+ @field_remappings = {}
1131
+ end
635
1132
  end
636
1133
 
637
1134
  class Konbini < Stripe::StripeObject
@@ -645,6 +1142,14 @@ module Stripe
645
1142
  #
646
1143
  # 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).
647
1144
  attr_reader :setup_future_usage
1145
+
1146
+ def self.inner_class_types
1147
+ @inner_class_types = {}
1148
+ end
1149
+
1150
+ def self.field_remappings
1151
+ @field_remappings = {}
1152
+ end
648
1153
  end
649
1154
 
650
1155
  class KrCard < Stripe::StripeObject
@@ -658,6 +1163,14 @@ module Stripe
658
1163
  #
659
1164
  # 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).
660
1165
  attr_reader :setup_future_usage
1166
+
1167
+ def self.inner_class_types
1168
+ @inner_class_types = {}
1169
+ end
1170
+
1171
+ def self.field_remappings
1172
+ @field_remappings = {}
1173
+ end
661
1174
  end
662
1175
 
663
1176
  class Link < Stripe::StripeObject
@@ -669,6 +1182,14 @@ module Stripe
669
1182
  #
670
1183
  # 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).
671
1184
  attr_reader :setup_future_usage
1185
+
1186
+ def self.inner_class_types
1187
+ @inner_class_types = {}
1188
+ end
1189
+
1190
+ def self.field_remappings
1191
+ @field_remappings = {}
1192
+ end
672
1193
  end
673
1194
 
674
1195
  class Mobilepay < Stripe::StripeObject
@@ -680,6 +1201,14 @@ module Stripe
680
1201
  #
681
1202
  # 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).
682
1203
  attr_reader :setup_future_usage
1204
+
1205
+ def self.inner_class_types
1206
+ @inner_class_types = {}
1207
+ end
1208
+
1209
+ def self.field_remappings
1210
+ @field_remappings = {}
1211
+ end
683
1212
  end
684
1213
 
685
1214
  class Multibanco < Stripe::StripeObject
@@ -691,6 +1220,14 @@ module Stripe
691
1220
  #
692
1221
  # 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).
693
1222
  attr_reader :setup_future_usage
1223
+
1224
+ def self.inner_class_types
1225
+ @inner_class_types = {}
1226
+ end
1227
+
1228
+ def self.field_remappings
1229
+ @field_remappings = {}
1230
+ end
694
1231
  end
695
1232
 
696
1233
  class NaverPay < Stripe::StripeObject
@@ -704,6 +1241,14 @@ module Stripe
704
1241
  #
705
1242
  # 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).
706
1243
  attr_reader :setup_future_usage
1244
+
1245
+ def self.inner_class_types
1246
+ @inner_class_types = {}
1247
+ end
1248
+
1249
+ def self.field_remappings
1250
+ @field_remappings = {}
1251
+ end
707
1252
  end
708
1253
 
709
1254
  class Oxxo < Stripe::StripeObject
@@ -717,6 +1262,14 @@ module Stripe
717
1262
  #
718
1263
  # 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).
719
1264
  attr_reader :setup_future_usage
1265
+
1266
+ def self.inner_class_types
1267
+ @inner_class_types = {}
1268
+ end
1269
+
1270
+ def self.field_remappings
1271
+ @field_remappings = {}
1272
+ end
720
1273
  end
721
1274
 
722
1275
  class P24 < Stripe::StripeObject
@@ -728,11 +1281,27 @@ module Stripe
728
1281
  #
729
1282
  # 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).
730
1283
  attr_reader :setup_future_usage
1284
+
1285
+ def self.inner_class_types
1286
+ @inner_class_types = {}
1287
+ end
1288
+
1289
+ def self.field_remappings
1290
+ @field_remappings = {}
1291
+ end
731
1292
  end
732
1293
 
733
1294
  class Payco < Stripe::StripeObject
734
1295
  # Controls when the funds will be captured from the customer's account.
735
1296
  attr_reader :capture_method
1297
+
1298
+ def self.inner_class_types
1299
+ @inner_class_types = {}
1300
+ end
1301
+
1302
+ def self.field_remappings
1303
+ @field_remappings = {}
1304
+ end
736
1305
  end
737
1306
 
738
1307
  class Paynow < Stripe::StripeObject
@@ -744,6 +1313,14 @@ module Stripe
744
1313
  #
745
1314
  # 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).
746
1315
  attr_reader :setup_future_usage
1316
+
1317
+ def self.inner_class_types
1318
+ @inner_class_types = {}
1319
+ end
1320
+
1321
+ def self.field_remappings
1322
+ @field_remappings = {}
1323
+ end
747
1324
  end
748
1325
 
749
1326
  class Paypal < Stripe::StripeObject
@@ -763,6 +1340,14 @@ module Stripe
763
1340
  attr_reader :setup_future_usage
764
1341
  # 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.
765
1342
  attr_reader :subsellers
1343
+
1344
+ def self.inner_class_types
1345
+ @inner_class_types = {}
1346
+ end
1347
+
1348
+ def self.field_remappings
1349
+ @field_remappings = {}
1350
+ end
766
1351
  end
767
1352
 
768
1353
  class Payto < Stripe::StripeObject
@@ -781,6 +1366,14 @@ module Stripe
781
1366
  attr_reader :purpose
782
1367
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
783
1368
  attr_reader :start_date
1369
+
1370
+ def self.inner_class_types
1371
+ @inner_class_types = {}
1372
+ end
1373
+
1374
+ def self.field_remappings
1375
+ @field_remappings = {}
1376
+ end
784
1377
  end
785
1378
  # Attribute for field mandate_options
786
1379
  attr_reader :mandate_options
@@ -792,6 +1385,14 @@ module Stripe
792
1385
  #
793
1386
  # 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).
794
1387
  attr_reader :setup_future_usage
1388
+
1389
+ def self.inner_class_types
1390
+ @inner_class_types = { mandate_options: MandateOptions }
1391
+ end
1392
+
1393
+ def self.field_remappings
1394
+ @field_remappings = {}
1395
+ end
795
1396
  end
796
1397
 
797
1398
  class Pix < Stripe::StripeObject
@@ -812,6 +1413,14 @@ module Stripe
812
1413
  attr_reader :reference
813
1414
  # Start date of the mandate, in `YYYY-MM-DD`.
814
1415
  attr_reader :start_date
1416
+
1417
+ def self.inner_class_types
1418
+ @inner_class_types = {}
1419
+ end
1420
+
1421
+ def self.field_remappings
1422
+ @field_remappings = {}
1423
+ end
815
1424
  end
816
1425
  # Determines if the amount includes the IOF tax.
817
1426
  attr_reader :amount_includes_iof
@@ -827,6 +1436,14 @@ module Stripe
827
1436
  #
828
1437
  # 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).
829
1438
  attr_reader :setup_future_usage
1439
+
1440
+ def self.inner_class_types
1441
+ @inner_class_types = { mandate_options: MandateOptions }
1442
+ end
1443
+
1444
+ def self.field_remappings
1445
+ @field_remappings = {}
1446
+ end
830
1447
  end
831
1448
 
832
1449
  class RevolutPay < Stripe::StripeObject
@@ -838,17 +1455,41 @@ module Stripe
838
1455
  #
839
1456
  # 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).
840
1457
  attr_reader :setup_future_usage
1458
+
1459
+ def self.inner_class_types
1460
+ @inner_class_types = {}
1461
+ end
1462
+
1463
+ def self.field_remappings
1464
+ @field_remappings = {}
1465
+ end
841
1466
  end
842
1467
 
843
1468
  class SamsungPay < Stripe::StripeObject
844
1469
  # Controls when the funds will be captured from the customer's account.
845
1470
  attr_reader :capture_method
1471
+
1472
+ def self.inner_class_types
1473
+ @inner_class_types = {}
1474
+ end
1475
+
1476
+ def self.field_remappings
1477
+ @field_remappings = {}
1478
+ end
846
1479
  end
847
1480
 
848
1481
  class SepaDebit < Stripe::StripeObject
849
1482
  class MandateOptions < Stripe::StripeObject
850
1483
  # 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'.
851
1484
  attr_reader :reference_prefix
1485
+
1486
+ def self.inner_class_types
1487
+ @inner_class_types = {}
1488
+ end
1489
+
1490
+ def self.field_remappings
1491
+ @field_remappings = {}
1492
+ end
852
1493
  end
853
1494
  # Attribute for field mandate_options
854
1495
  attr_reader :mandate_options
@@ -862,6 +1503,14 @@ module Stripe
862
1503
  attr_reader :setup_future_usage
863
1504
  # 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.
864
1505
  attr_reader :target_date
1506
+
1507
+ def self.inner_class_types
1508
+ @inner_class_types = { mandate_options: MandateOptions }
1509
+ end
1510
+
1511
+ def self.field_remappings
1512
+ @field_remappings = {}
1513
+ end
865
1514
  end
866
1515
 
867
1516
  class Sofort < Stripe::StripeObject
@@ -873,11 +1522,27 @@ module Stripe
873
1522
  #
874
1523
  # 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).
875
1524
  attr_reader :setup_future_usage
1525
+
1526
+ def self.inner_class_types
1527
+ @inner_class_types = {}
1528
+ end
1529
+
1530
+ def self.field_remappings
1531
+ @field_remappings = {}
1532
+ end
876
1533
  end
877
1534
 
878
1535
  class Swish < Stripe::StripeObject
879
1536
  # The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.
880
1537
  attr_reader :reference
1538
+
1539
+ def self.inner_class_types
1540
+ @inner_class_types = {}
1541
+ end
1542
+
1543
+ def self.field_remappings
1544
+ @field_remappings = {}
1545
+ end
881
1546
  end
882
1547
 
883
1548
  class UsBankAccount < Stripe::StripeObject
@@ -887,11 +1552,27 @@ module Stripe
887
1552
  attr_reader :account_subcategories
888
1553
  # The institution to use to filter for possible accounts to link.
889
1554
  attr_reader :institution
1555
+
1556
+ def self.inner_class_types
1557
+ @inner_class_types = {}
1558
+ end
1559
+
1560
+ def self.field_remappings
1561
+ @field_remappings = {}
1562
+ end
890
1563
  end
891
1564
 
892
1565
  class ManualEntry < Stripe::StripeObject
893
1566
  # Settings for configuring manual entry of account details.
894
1567
  attr_reader :mode
1568
+
1569
+ def self.inner_class_types
1570
+ @inner_class_types = {}
1571
+ end
1572
+
1573
+ def self.field_remappings
1574
+ @field_remappings = {}
1575
+ end
895
1576
  end
896
1577
  # Attribute for field filters
897
1578
  attr_reader :filters
@@ -903,6 +1584,14 @@ module Stripe
903
1584
  attr_reader :prefetch
904
1585
  # 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.
905
1586
  attr_reader :return_url
1587
+
1588
+ def self.inner_class_types
1589
+ @inner_class_types = { filters: Filters, manual_entry: ManualEntry }
1590
+ end
1591
+
1592
+ def self.field_remappings
1593
+ @field_remappings = {}
1594
+ end
906
1595
  end
907
1596
  # Attribute for field financial_connections
908
1597
  attr_reader :financial_connections
@@ -918,6 +1607,14 @@ module Stripe
918
1607
  attr_reader :target_date
919
1608
  # Bank account verification method.
920
1609
  attr_reader :verification_method
1610
+
1611
+ def self.inner_class_types
1612
+ @inner_class_types = { financial_connections: FinancialConnections }
1613
+ end
1614
+
1615
+ def self.field_remappings
1616
+ @field_remappings = {}
1617
+ end
921
1618
  end
922
1619
  # Attribute for field acss_debit
923
1620
  attr_reader :acss_debit
@@ -995,6 +1692,53 @@ module Stripe
995
1692
  attr_reader :swish
996
1693
  # Attribute for field us_bank_account
997
1694
  attr_reader :us_bank_account
1695
+
1696
+ def self.inner_class_types
1697
+ @inner_class_types = {
1698
+ acss_debit: AcssDebit,
1699
+ affirm: Affirm,
1700
+ afterpay_clearpay: AfterpayClearpay,
1701
+ alipay: Alipay,
1702
+ amazon_pay: AmazonPay,
1703
+ au_becs_debit: AuBecsDebit,
1704
+ bacs_debit: BacsDebit,
1705
+ bancontact: Bancontact,
1706
+ boleto: Boleto,
1707
+ card: Card,
1708
+ cashapp: Cashapp,
1709
+ customer_balance: CustomerBalance,
1710
+ eps: Eps,
1711
+ fpx: Fpx,
1712
+ giropay: Giropay,
1713
+ grabpay: Grabpay,
1714
+ ideal: Ideal,
1715
+ kakao_pay: KakaoPay,
1716
+ klarna: Klarna,
1717
+ konbini: Konbini,
1718
+ kr_card: KrCard,
1719
+ link: Link,
1720
+ mobilepay: Mobilepay,
1721
+ multibanco: Multibanco,
1722
+ naver_pay: NaverPay,
1723
+ oxxo: Oxxo,
1724
+ p24: P24,
1725
+ payco: Payco,
1726
+ paynow: Paynow,
1727
+ paypal: Paypal,
1728
+ payto: Payto,
1729
+ pix: Pix,
1730
+ revolut_pay: RevolutPay,
1731
+ samsung_pay: SamsungPay,
1732
+ sepa_debit: SepaDebit,
1733
+ sofort: Sofort,
1734
+ swish: Swish,
1735
+ us_bank_account: UsBankAccount,
1736
+ }
1737
+ end
1738
+
1739
+ def self.field_remappings
1740
+ @field_remappings = {}
1741
+ end
998
1742
  end
999
1743
 
1000
1744
  class Permissions < Stripe::StripeObject
@@ -1011,6 +1755,14 @@ module Stripe
1011
1755
  #
1012
1756
  # When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
1013
1757
  attr_reader :shipping_details
1758
+
1759
+ def self.inner_class_types
1760
+ @inner_class_types = {}
1761
+ end
1762
+
1763
+ def self.field_remappings
1764
+ @field_remappings = {}
1765
+ end
1014
1766
  end
1015
1767
  # Permissions for updating the Checkout Session.
1016
1768
  attr_reader :update
@@ -1026,11 +1778,27 @@ module Stripe
1026
1778
  #
1027
1779
  # When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
1028
1780
  attr_reader :update_shipping_details
1781
+
1782
+ def self.inner_class_types
1783
+ @inner_class_types = { update: Update }
1784
+ end
1785
+
1786
+ def self.field_remappings
1787
+ @field_remappings = {}
1788
+ end
1029
1789
  end
1030
1790
 
1031
1791
  class PhoneNumberCollection < Stripe::StripeObject
1032
1792
  # Indicates whether phone number collection is enabled for the session
1033
1793
  attr_reader :enabled
1794
+
1795
+ def self.inner_class_types
1796
+ @inner_class_types = {}
1797
+ end
1798
+
1799
+ def self.field_remappings
1800
+ @field_remappings = {}
1801
+ end
1034
1802
  end
1035
1803
 
1036
1804
  class PresentmentDetails < Stripe::StripeObject
@@ -1038,6 +1806,14 @@ module Stripe
1038
1806
  attr_reader :presentment_amount
1039
1807
  # Currency presented to the customer during payment.
1040
1808
  attr_reader :presentment_currency
1809
+
1810
+ def self.inner_class_types
1811
+ @inner_class_types = {}
1812
+ end
1813
+
1814
+ def self.field_remappings
1815
+ @field_remappings = {}
1816
+ end
1041
1817
  end
1042
1818
 
1043
1819
  class SavedPaymentMethodOptions < Stripe::StripeObject
@@ -1047,12 +1823,28 @@ module Stripe
1047
1823
  attr_reader :payment_method_remove
1048
1824
  # Enable customers to choose if they wish to save their payment method for future use. Disabled by default.
1049
1825
  attr_reader :payment_method_save
1826
+
1827
+ def self.inner_class_types
1828
+ @inner_class_types = {}
1829
+ end
1830
+
1831
+ def self.field_remappings
1832
+ @field_remappings = {}
1833
+ end
1050
1834
  end
1051
1835
 
1052
1836
  class ShippingAddressCollection < Stripe::StripeObject
1053
1837
  # An array of two-letter ISO country codes representing which countries Checkout should provide as options for
1054
1838
  # shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI`.
1055
1839
  attr_reader :allowed_countries
1840
+
1841
+ def self.inner_class_types
1842
+ @inner_class_types = {}
1843
+ end
1844
+
1845
+ def self.field_remappings
1846
+ @field_remappings = {}
1847
+ end
1056
1848
  end
1057
1849
 
1058
1850
  class ShippingCost < Stripe::StripeObject
@@ -1067,6 +1859,14 @@ module Stripe
1067
1859
  attr_reader :taxability_reason
1068
1860
  # The amount on which tax is calculated, in cents (or local equivalent).
1069
1861
  attr_reader :taxable_amount
1862
+
1863
+ def self.inner_class_types
1864
+ @inner_class_types = {}
1865
+ end
1866
+
1867
+ def self.field_remappings
1868
+ @field_remappings = {}
1869
+ end
1070
1870
  end
1071
1871
  # Total shipping cost before any discounts or taxes are applied.
1072
1872
  attr_reader :amount_subtotal
@@ -1078,6 +1878,14 @@ module Stripe
1078
1878
  attr_reader :shipping_rate
1079
1879
  # The taxes applied to the shipping rate.
1080
1880
  attr_reader :taxes
1881
+
1882
+ def self.inner_class_types
1883
+ @inner_class_types = { taxes: Tax }
1884
+ end
1885
+
1886
+ def self.field_remappings
1887
+ @field_remappings = {}
1888
+ end
1081
1889
  end
1082
1890
 
1083
1891
  class ShippingOption < Stripe::StripeObject
@@ -1085,6 +1893,14 @@ module Stripe
1085
1893
  attr_reader :shipping_amount
1086
1894
  # The shipping rate.
1087
1895
  attr_reader :shipping_rate
1896
+
1897
+ def self.inner_class_types
1898
+ @inner_class_types = {}
1899
+ end
1900
+
1901
+ def self.field_remappings
1902
+ @field_remappings = {}
1903
+ end
1088
1904
  end
1089
1905
 
1090
1906
  class TaxIdCollection < Stripe::StripeObject
@@ -1092,6 +1908,14 @@ module Stripe
1092
1908
  attr_reader :enabled
1093
1909
  # Indicates whether a tax ID is required on the payment page
1094
1910
  attr_reader :required
1911
+
1912
+ def self.inner_class_types
1913
+ @inner_class_types = {}
1914
+ end
1915
+
1916
+ def self.field_remappings
1917
+ @field_remappings = {}
1918
+ end
1095
1919
  end
1096
1920
 
1097
1921
  class TotalDetails < Stripe::StripeObject
@@ -1104,6 +1928,14 @@ module Stripe
1104
1928
  #
1105
1929
  # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts)
1106
1930
  attr_reader :discount
1931
+
1932
+ def self.inner_class_types
1933
+ @inner_class_types = {}
1934
+ end
1935
+
1936
+ def self.field_remappings
1937
+ @field_remappings = {}
1938
+ end
1107
1939
  end
1108
1940
 
1109
1941
  class Tax < Stripe::StripeObject
@@ -1117,11 +1949,27 @@ module Stripe
1117
1949
  attr_reader :taxability_reason
1118
1950
  # The amount on which tax is calculated, in cents (or local equivalent).
1119
1951
  attr_reader :taxable_amount
1952
+
1953
+ def self.inner_class_types
1954
+ @inner_class_types = {}
1955
+ end
1956
+
1957
+ def self.field_remappings
1958
+ @field_remappings = {}
1959
+ end
1120
1960
  end
1121
1961
  # The aggregated discounts.
1122
1962
  attr_reader :discounts
1123
1963
  # The aggregated tax amounts by rate.
1124
1964
  attr_reader :taxes
1965
+
1966
+ def self.inner_class_types
1967
+ @inner_class_types = { discounts: Discount, taxes: Tax }
1968
+ end
1969
+
1970
+ def self.field_remappings
1971
+ @field_remappings = {}
1972
+ end
1125
1973
  end
1126
1974
  # This is the sum of all the discounts.
1127
1975
  attr_reader :amount_discount
@@ -1131,15 +1979,39 @@ module Stripe
1131
1979
  attr_reader :amount_tax
1132
1980
  # Attribute for field breakdown
1133
1981
  attr_reader :breakdown
1982
+
1983
+ def self.inner_class_types
1984
+ @inner_class_types = { breakdown: Breakdown }
1985
+ end
1986
+
1987
+ def self.field_remappings
1988
+ @field_remappings = {}
1989
+ end
1134
1990
  end
1135
1991
 
1136
1992
  class WalletOptions < Stripe::StripeObject
1137
1993
  class Link < Stripe::StripeObject
1138
1994
  # Describes whether Checkout should display Link. Defaults to `auto`.
1139
1995
  attr_reader :display
1996
+
1997
+ def self.inner_class_types
1998
+ @inner_class_types = {}
1999
+ end
2000
+
2001
+ def self.field_remappings
2002
+ @field_remappings = {}
2003
+ end
1140
2004
  end
1141
2005
  # Attribute for field link
1142
2006
  attr_reader :link
2007
+
2008
+ def self.inner_class_types
2009
+ @inner_class_types = { link: Link }
2010
+ end
2011
+
2012
+ def self.field_remappings
2013
+ @field_remappings = {}
2014
+ end
1143
2015
  end
1144
2016
 
1145
2017
  class CheckoutItem < Stripe::StripeObject
@@ -1148,11 +2020,27 @@ module Stripe
1148
2020
  class LicenseFeeComponent < Stripe::StripeObject
1149
2021
  # Attribute for field quantity
1150
2022
  attr_reader :quantity
2023
+
2024
+ def self.inner_class_types
2025
+ @inner_class_types = {}
2026
+ end
2027
+
2028
+ def self.field_remappings
2029
+ @field_remappings = {}
2030
+ end
1151
2031
  end
1152
2032
  # Attribute for field type
1153
2033
  attr_reader :type
1154
2034
  # Attribute for field license_fee_component
1155
2035
  attr_reader :license_fee_component
2036
+
2037
+ def self.inner_class_types
2038
+ @inner_class_types = { license_fee_component: LicenseFeeComponent }
2039
+ end
2040
+
2041
+ def self.field_remappings
2042
+ @field_remappings = {}
2043
+ end
1156
2044
  end
1157
2045
  # Attribute for field pricing_plan
1158
2046
  attr_reader :pricing_plan
@@ -1166,6 +2054,14 @@ module Stripe
1166
2054
  attr_reader :pricing_plan_subscription
1167
2055
  # Attribute for field billing_cadence
1168
2056
  attr_reader :billing_cadence
2057
+
2058
+ def self.inner_class_types
2059
+ @inner_class_types = { component_configurations: ComponentConfigurations }
2060
+ end
2061
+
2062
+ def self.field_remappings
2063
+ @field_remappings = {}
2064
+ end
1169
2065
  end
1170
2066
 
1171
2067
  class RateCardSubscriptionItem < Stripe::StripeObject
@@ -1179,6 +2075,14 @@ module Stripe
1179
2075
  attr_reader :billing_cadence
1180
2076
  # Attribute for field rate_card_subscription
1181
2077
  attr_reader :rate_card_subscription
2078
+
2079
+ def self.inner_class_types
2080
+ @inner_class_types = {}
2081
+ end
2082
+
2083
+ def self.field_remappings
2084
+ @field_remappings = {}
2085
+ end
1182
2086
  end
1183
2087
  # Attribute for field type
1184
2088
  attr_reader :type
@@ -1186,6 +2090,17 @@ module Stripe
1186
2090
  attr_reader :rate_card_subscription_item
1187
2091
  # Attribute for field pricing_plan_subscription_item
1188
2092
  attr_reader :pricing_plan_subscription_item
2093
+
2094
+ def self.inner_class_types
2095
+ @inner_class_types = {
2096
+ rate_card_subscription_item: RateCardSubscriptionItem,
2097
+ pricing_plan_subscription_item: PricingPlanSubscriptionItem,
2098
+ }
2099
+ end
2100
+
2101
+ def self.field_remappings
2102
+ @field_remappings = {}
2103
+ end
1189
2104
  end
1190
2105
 
1191
2106
  class ListParams < Stripe::RequestParams
@@ -4380,6 +5295,41 @@ module Stripe
4380
5295
  opts: opts
4381
5296
  )
4382
5297
  end
5298
+
5299
+ def self.inner_class_types
5300
+ @inner_class_types = {
5301
+ adaptive_pricing: AdaptivePricing,
5302
+ after_expiration: AfterExpiration,
5303
+ automatic_tax: AutomaticTax,
5304
+ collected_information: CollectedInformation,
5305
+ consent: Consent,
5306
+ consent_collection: ConsentCollection,
5307
+ currency_conversion: CurrencyConversion,
5308
+ custom_fields: CustomField,
5309
+ custom_text: CustomText,
5310
+ customer_details: CustomerDetails,
5311
+ discounts: Discount,
5312
+ invoice_creation: InvoiceCreation,
5313
+ optional_items: OptionalItem,
5314
+ payment_method_configuration_details: PaymentMethodConfigurationDetails,
5315
+ payment_method_options: PaymentMethodOptions,
5316
+ permissions: Permissions,
5317
+ phone_number_collection: PhoneNumberCollection,
5318
+ presentment_details: PresentmentDetails,
5319
+ saved_payment_method_options: SavedPaymentMethodOptions,
5320
+ shipping_address_collection: ShippingAddressCollection,
5321
+ shipping_cost: ShippingCost,
5322
+ shipping_options: ShippingOption,
5323
+ tax_id_collection: TaxIdCollection,
5324
+ total_details: TotalDetails,
5325
+ wallet_options: WalletOptions,
5326
+ checkout_items: CheckoutItem,
5327
+ }
5328
+ end
5329
+
5330
+ def self.field_remappings
5331
+ @field_remappings = {}
5332
+ end
4383
5333
  end
4384
5334
  end
4385
5335
  end