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.
- checksums.yaml +4 -4
- data/API_VERSION +1 -1
- data/CHANGELOG.md +6 -0
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/account.rb +443 -0
- data/lib/stripe/resources/account_link.rb +8 -0
- data/lib/stripe/resources/account_notice.rb +24 -0
- data/lib/stripe/resources/account_session.rb +435 -10
- data/lib/stripe/resources/apple_pay_domain.rb +8 -0
- data/lib/stripe/resources/application.rb +8 -0
- data/lib/stripe/resources/application_fee.rb +16 -0
- data/lib/stripe/resources/application_fee_refund.rb +8 -0
- data/lib/stripe/resources/apps/secret.rb +16 -0
- data/lib/stripe/resources/balance.rb +159 -0
- data/lib/stripe/resources/balance_settings.rb +40 -0
- data/lib/stripe/resources/balance_transaction.rb +16 -0
- data/lib/stripe/resources/bank_account.rb +40 -0
- data/lib/stripe/resources/billing/alert.rb +75 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +80 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +107 -0
- data/lib/stripe/resources/billing/credit_grant.rb +72 -0
- data/lib/stripe/resources/billing/meter.rb +45 -0
- data/lib/stripe/resources/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
- data/lib/stripe/resources/billing/meter_usage.rb +8 -0
- data/lib/stripe/resources/billing/meter_usage_row.rb +8 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +122 -0
- data/lib/stripe/resources/billing_portal/session.rb +101 -0
- data/lib/stripe/resources/capability.rb +56 -0
- data/lib/stripe/resources/capital/financing_offer.rb +24 -0
- data/lib/stripe/resources/capital/financing_summary.rb +24 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +24 -0
- data/lib/stripe/resources/card.rb +16 -0
- data/lib/stripe/resources/cash_balance.rb +16 -0
- data/lib/stripe/resources/charge.rb +1052 -16
- data/lib/stripe/resources/checkout/session.rb +950 -0
- data/lib/stripe/resources/climate/order.rb +32 -0
- data/lib/stripe/resources/climate/product.rb +16 -0
- data/lib/stripe/resources/climate/supplier.rb +16 -0
- data/lib/stripe/resources/confirmation_token.rb +960 -38
- data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
- data/lib/stripe/resources/country_spec.rb +32 -0
- data/lib/stripe/resources/coupon.rb +36 -0
- data/lib/stripe/resources/credit_note.rb +70 -0
- data/lib/stripe/resources/credit_note_line_item.rb +53 -0
- data/lib/stripe/resources/customer.rb +77 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +8 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -0
- data/lib/stripe/resources/customer_session.rb +52 -0
- data/lib/stripe/resources/discount.rb +8 -0
- data/lib/stripe/resources/dispute.rb +166 -0
- data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
- data/lib/stripe/resources/entitlements/feature.rb +8 -0
- data/lib/stripe/resources/ephemeral_key.rb +8 -0
- data/lib/stripe/resources/event.rb +56 -0
- data/lib/stripe/resources/exchange_rate.rb +8 -0
- data/lib/stripe/resources/file.rb +8 -0
- data/lib/stripe/resources/file_link.rb +8 -0
- data/lib/stripe/resources/financial_connections/account.rb +79 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +8 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
- data/lib/stripe/resources/financial_connections/institution.rb +53 -0
- data/lib/stripe/resources/financial_connections/session.rb +63 -1
- data/lib/stripe/resources/financial_connections/transaction.rb +16 -0
- data/lib/stripe/resources/forwarding/request.rb +52 -0
- data/lib/stripe/resources/funding_instructions.rb +193 -0
- data/lib/stripe/resources/fx_quote.rb +48 -0
- data/lib/stripe/resources/identity/verification_report.rb +166 -1
- data/lib/stripe/resources/identity/verification_session.rb +126 -1
- data/lib/stripe/resources/invoice.rb +441 -3
- data/lib/stripe/resources/invoice_item.rb +88 -0
- data/lib/stripe/resources/invoice_line_item.rb +186 -0
- data/lib/stripe/resources/invoice_payment.rb +24 -0
- data/lib/stripe/resources/invoice_rendering_template.rb +8 -0
- data/lib/stripe/resources/issuing/authorization.rb +177 -0
- data/lib/stripe/resources/issuing/card.rb +96 -0
- data/lib/stripe/resources/issuing/cardholder.rb +110 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +82 -0
- data/lib/stripe/resources/issuing/dispute.rb +97 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +16 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +8 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +36 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +16 -0
- data/lib/stripe/resources/issuing/settlement.rb +8 -0
- data/lib/stripe/resources/issuing/token.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +151 -0
- data/lib/stripe/resources/line_item.rb +54 -0
- data/lib/stripe/resources/login_link.rb +8 -0
- data/lib/stripe/resources/mandate.rb +242 -11
- data/lib/stripe/resources/margin.rb +8 -0
- data/lib/stripe/resources/order.rb +348 -0
- data/lib/stripe/resources/payment_attempt_record.rb +890 -11
- data/lib/stripe/resources/payment_intent.rb +1405 -3
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +56 -0
- data/lib/stripe/resources/payment_link.rb +337 -0
- data/lib/stripe/resources/payment_method.rb +884 -38
- data/lib/stripe/resources/payment_method_configuration.rb +961 -0
- data/lib/stripe/resources/payment_method_domain.rb +111 -0
- data/lib/stripe/resources/payment_record.rb +890 -11
- data/lib/stripe/resources/payout.rb +16 -0
- data/lib/stripe/resources/person.rb +180 -0
- data/lib/stripe/resources/plan.rb +24 -0
- data/lib/stripe/resources/price.rb +79 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +16 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +16 -0
- data/lib/stripe/resources/product.rb +27 -0
- data/lib/stripe/resources/product_feature.rb +8 -0
- data/lib/stripe/resources/promotion_code.rb +24 -0
- data/lib/stripe/resources/quote.rb +432 -0
- data/lib/stripe/resources/quote_line.rb +247 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +450 -3
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +323 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -0
- data/lib/stripe/resources/radar/value_list.rb +8 -0
- data/lib/stripe/resources/radar/value_list_item.rb +8 -0
- data/lib/stripe/resources/refund.rb +380 -19
- data/lib/stripe/resources/reporting/report_run.rb +16 -0
- data/lib/stripe/resources/reporting/report_type.rb +8 -0
- data/lib/stripe/resources/reserve_transaction.rb +8 -0
- data/lib/stripe/resources/reversal.rb +8 -0
- data/lib/stripe/resources/review.rb +24 -0
- data/lib/stripe/resources/setup_attempt.rb +331 -20
- data/lib/stripe/resources/setup_intent.rb +293 -2
- data/lib/stripe/resources/shipping_rate.rb +48 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +16 -0
- data/lib/stripe/resources/source.rb +274 -0
- data/lib/stripe/resources/source_mandate_notification.rb +32 -0
- data/lib/stripe/resources/source_transaction.rb +54 -0
- data/lib/stripe/resources/subscription.rb +318 -3
- data/lib/stripe/resources/subscription_item.rb +24 -0
- data/lib/stripe/resources/subscription_schedule.rb +314 -0
- data/lib/stripe/resources/tax/association.rb +32 -0
- data/lib/stripe/resources/tax/calculation.rb +109 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
- data/lib/stripe/resources/tax/form.rb +107 -0
- data/lib/stripe/resources/tax/registration.rb +1232 -0
- data/lib/stripe/resources/tax/settings.rb +61 -1
- data/lib/stripe/resources/tax/transaction.rb +93 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
- data/lib/stripe/resources/tax_code.rb +8 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
- data/lib/stripe/resources/tax_id.rb +24 -0
- data/lib/stripe/resources/tax_rate.rb +16 -0
- data/lib/stripe/resources/terminal/configuration.rb +299 -0
- data/lib/stripe/resources/terminal/connection_token.rb +8 -0
- data/lib/stripe/resources/terminal/location.rb +16 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +24 -0
- data/lib/stripe/resources/terminal/reader.rb +241 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +16 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +24 -0
- data/lib/stripe/resources/token.rb +8 -0
- data/lib/stripe/resources/topup.rb +8 -0
- data/lib/stripe/resources/transfer.rb +8 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +16 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +24 -0
- data/lib/stripe/resources/treasury/financial_account.rb +61 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +192 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +69 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +106 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +114 -0
- data/lib/stripe/resources/treasury/received_credit.rb +97 -0
- data/lib/stripe/resources/treasury/received_debit.rb +89 -0
- data/lib/stripe/resources/treasury/transaction.rb +36 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +24 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +40 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +40 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +141 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +150 -2
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +150 -2
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +8 -0
- data/lib/stripe/resources/v2/billing/intent.rb +27 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +195 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +24 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +8 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +24 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +16 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +27 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +8 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +36 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +27 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +8 -0
- data/lib/stripe/resources/v2/billing/profile.rb +8 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +8 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +36 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +27 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +8 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +115 -0
- data/lib/stripe/resources/v2/core/account.rb +1900 -0
- data/lib/stripe/resources/v2/core/account_link.rb +51 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +24 -0
- data/lib/stripe/resources/v2/core/person.rb +201 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +40 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +8 -0
- data/lib/stripe/resources/v2/event.rb +24 -0
- data/lib/stripe/resources/v2/event_destination.rb +44 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +8 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +8 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +16 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +61 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +32 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +90 -3
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +88 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +62 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +24 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +79 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +32 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +32 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +77 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +52 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +36 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +35 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +24 -0
- data/lib/stripe/resources/v2/reporting/report.rb +52 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +69 -0
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +8 -0
- data/lib/stripe/resources/webhook_endpoint.rb +8 -0
- data/lib/stripe/stripe_object.rb +25 -1
- data/lib/stripe/util.rb +9 -5
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +280174 -0
- metadata +3 -2
@@ -40,6 +40,14 @@ module Stripe
|
|
40
40
|
attr_reader :allow_redirects
|
41
41
|
# Automatically calculates compatible payment methods
|
42
42
|
attr_reader :enabled
|
43
|
+
|
44
|
+
def self.inner_class_types
|
45
|
+
@inner_class_types = {}
|
46
|
+
end
|
47
|
+
|
48
|
+
def self.field_remappings
|
49
|
+
@field_remappings = {}
|
50
|
+
end
|
43
51
|
end
|
44
52
|
|
45
53
|
class LastSetupError < Stripe::StripeObject
|
@@ -109,6 +117,14 @@ module Stripe
|
|
109
117
|
attr_reader :source
|
110
118
|
# The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
|
111
119
|
attr_reader :type
|
120
|
+
|
121
|
+
def self.inner_class_types
|
122
|
+
@inner_class_types = {}
|
123
|
+
end
|
124
|
+
|
125
|
+
def self.field_remappings
|
126
|
+
@field_remappings = {}
|
127
|
+
end
|
112
128
|
end
|
113
129
|
|
114
130
|
class NextAction < Stripe::StripeObject
|
@@ -120,6 +136,14 @@ module Stripe
|
|
120
136
|
attr_reader :image_url_png
|
121
137
|
# The image_url_svg string used to render QR code
|
122
138
|
attr_reader :image_url_svg
|
139
|
+
|
140
|
+
def self.inner_class_types
|
141
|
+
@inner_class_types = {}
|
142
|
+
end
|
143
|
+
|
144
|
+
def self.field_remappings
|
145
|
+
@field_remappings = {}
|
146
|
+
end
|
123
147
|
end
|
124
148
|
# 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.
|
125
149
|
attr_reader :hosted_instructions_url
|
@@ -127,6 +151,14 @@ module Stripe
|
|
127
151
|
attr_reader :mobile_auth_url
|
128
152
|
# Attribute for field qr_code
|
129
153
|
attr_reader :qr_code
|
154
|
+
|
155
|
+
def self.inner_class_types
|
156
|
+
@inner_class_types = { qr_code: QrCode }
|
157
|
+
end
|
158
|
+
|
159
|
+
def self.field_remappings
|
160
|
+
@field_remappings = {}
|
161
|
+
end
|
130
162
|
end
|
131
163
|
|
132
164
|
class PixDisplayQrCode < Stripe::StripeObject
|
@@ -140,6 +172,14 @@ module Stripe
|
|
140
172
|
attr_reader :image_url_png
|
141
173
|
# The image_url_svg string used to render svg QR code
|
142
174
|
attr_reader :image_url_svg
|
175
|
+
|
176
|
+
def self.inner_class_types
|
177
|
+
@inner_class_types = {}
|
178
|
+
end
|
179
|
+
|
180
|
+
def self.field_remappings
|
181
|
+
@field_remappings = {}
|
182
|
+
end
|
143
183
|
end
|
144
184
|
|
145
185
|
class RedirectToUrl < Stripe::StripeObject
|
@@ -147,6 +187,14 @@ module Stripe
|
|
147
187
|
attr_reader :return_url
|
148
188
|
# The URL you must redirect your customer to in order to authenticate.
|
149
189
|
attr_reader :url
|
190
|
+
|
191
|
+
def self.inner_class_types
|
192
|
+
@inner_class_types = {}
|
193
|
+
end
|
194
|
+
|
195
|
+
def self.field_remappings
|
196
|
+
@field_remappings = {}
|
197
|
+
end
|
150
198
|
end
|
151
199
|
|
152
200
|
class VerifyWithMicrodeposits < Stripe::StripeObject
|
@@ -156,6 +204,14 @@ module Stripe
|
|
156
204
|
attr_reader :hosted_verification_url
|
157
205
|
# The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
|
158
206
|
attr_reader :microdeposit_type
|
207
|
+
|
208
|
+
def self.inner_class_types
|
209
|
+
@inner_class_types = {}
|
210
|
+
end
|
211
|
+
|
212
|
+
def self.field_remappings
|
213
|
+
@field_remappings = {}
|
214
|
+
end
|
159
215
|
end
|
160
216
|
# Attribute for field cashapp_handle_redirect_or_display_qr_code
|
161
217
|
attr_reader :cashapp_handle_redirect_or_display_qr_code
|
@@ -169,6 +225,19 @@ module Stripe
|
|
169
225
|
attr_reader :use_stripe_sdk
|
170
226
|
# Attribute for field verify_with_microdeposits
|
171
227
|
attr_reader :verify_with_microdeposits
|
228
|
+
|
229
|
+
def self.inner_class_types
|
230
|
+
@inner_class_types = {
|
231
|
+
cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
|
232
|
+
pix_display_qr_code: PixDisplayQrCode,
|
233
|
+
redirect_to_url: RedirectToUrl,
|
234
|
+
verify_with_microdeposits: VerifyWithMicrodeposits,
|
235
|
+
}
|
236
|
+
end
|
237
|
+
|
238
|
+
def self.field_remappings
|
239
|
+
@field_remappings = {}
|
240
|
+
end
|
172
241
|
end
|
173
242
|
|
174
243
|
class PaymentMethodConfigurationDetails < Stripe::StripeObject
|
@@ -176,6 +245,14 @@ module Stripe
|
|
176
245
|
attr_reader :id
|
177
246
|
# ID of the parent payment method configuration used.
|
178
247
|
attr_reader :parent
|
248
|
+
|
249
|
+
def self.inner_class_types
|
250
|
+
@inner_class_types = {}
|
251
|
+
end
|
252
|
+
|
253
|
+
def self.field_remappings
|
254
|
+
@field_remappings = {}
|
255
|
+
end
|
179
256
|
end
|
180
257
|
|
181
258
|
class PaymentMethodOptions < Stripe::StripeObject
|
@@ -191,6 +268,14 @@ module Stripe
|
|
191
268
|
attr_reader :payment_schedule
|
192
269
|
# Transaction type of the mandate.
|
193
270
|
attr_reader :transaction_type
|
271
|
+
|
272
|
+
def self.inner_class_types
|
273
|
+
@inner_class_types = {}
|
274
|
+
end
|
275
|
+
|
276
|
+
def self.field_remappings
|
277
|
+
@field_remappings = {}
|
278
|
+
end
|
194
279
|
end
|
195
280
|
# Currency supported by the bank account
|
196
281
|
attr_reader :currency
|
@@ -198,17 +283,49 @@ module Stripe
|
|
198
283
|
attr_reader :mandate_options
|
199
284
|
# Bank account verification method.
|
200
285
|
attr_reader :verification_method
|
286
|
+
|
287
|
+
def self.inner_class_types
|
288
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
289
|
+
end
|
290
|
+
|
291
|
+
def self.field_remappings
|
292
|
+
@field_remappings = {}
|
293
|
+
end
|
201
294
|
end
|
202
295
|
|
203
|
-
class AmazonPay < Stripe::StripeObject
|
296
|
+
class AmazonPay < Stripe::StripeObject
|
297
|
+
def self.inner_class_types
|
298
|
+
@inner_class_types = {}
|
299
|
+
end
|
300
|
+
|
301
|
+
def self.field_remappings
|
302
|
+
@field_remappings = {}
|
303
|
+
end
|
304
|
+
end
|
204
305
|
|
205
306
|
class BacsDebit < Stripe::StripeObject
|
206
307
|
class MandateOptions < Stripe::StripeObject
|
207
308
|
# 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'.
|
208
309
|
attr_reader :reference_prefix
|
310
|
+
|
311
|
+
def self.inner_class_types
|
312
|
+
@inner_class_types = {}
|
313
|
+
end
|
314
|
+
|
315
|
+
def self.field_remappings
|
316
|
+
@field_remappings = {}
|
317
|
+
end
|
209
318
|
end
|
210
319
|
# Attribute for field mandate_options
|
211
320
|
attr_reader :mandate_options
|
321
|
+
|
322
|
+
def self.inner_class_types
|
323
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
324
|
+
end
|
325
|
+
|
326
|
+
def self.field_remappings
|
327
|
+
@field_remappings = {}
|
328
|
+
end
|
212
329
|
end
|
213
330
|
|
214
331
|
class Card < Stripe::StripeObject
|
@@ -233,6 +350,14 @@ module Stripe
|
|
233
350
|
attr_reader :start_date
|
234
351
|
# Specifies the type of mandates supported. Possible values are `india`.
|
235
352
|
attr_reader :supported_types
|
353
|
+
|
354
|
+
def self.inner_class_types
|
355
|
+
@inner_class_types = {}
|
356
|
+
end
|
357
|
+
|
358
|
+
def self.field_remappings
|
359
|
+
@field_remappings = {}
|
360
|
+
end
|
236
361
|
end
|
237
362
|
# Configuration options for setting up an eMandate for cards issued in India.
|
238
363
|
attr_reader :mandate_options
|
@@ -240,20 +365,52 @@ module Stripe
|
|
240
365
|
attr_reader :network
|
241
366
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
242
367
|
attr_reader :request_three_d_secure
|
368
|
+
|
369
|
+
def self.inner_class_types
|
370
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
371
|
+
end
|
372
|
+
|
373
|
+
def self.field_remappings
|
374
|
+
@field_remappings = {}
|
375
|
+
end
|
243
376
|
end
|
244
377
|
|
245
|
-
class CardPresent < Stripe::StripeObject
|
378
|
+
class CardPresent < Stripe::StripeObject
|
379
|
+
def self.inner_class_types
|
380
|
+
@inner_class_types = {}
|
381
|
+
end
|
382
|
+
|
383
|
+
def self.field_remappings
|
384
|
+
@field_remappings = {}
|
385
|
+
end
|
386
|
+
end
|
246
387
|
|
247
388
|
class Klarna < Stripe::StripeObject
|
248
389
|
# The currency of the setup intent. Three letter ISO currency code.
|
249
390
|
attr_reader :currency
|
250
391
|
# Preferred locale of the Klarna checkout page that the customer is redirected to.
|
251
392
|
attr_reader :preferred_locale
|
393
|
+
|
394
|
+
def self.inner_class_types
|
395
|
+
@inner_class_types = {}
|
396
|
+
end
|
397
|
+
|
398
|
+
def self.field_remappings
|
399
|
+
@field_remappings = {}
|
400
|
+
end
|
252
401
|
end
|
253
402
|
|
254
403
|
class Link < Stripe::StripeObject
|
255
404
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
256
405
|
attr_reader :persistent_token
|
406
|
+
|
407
|
+
def self.inner_class_types
|
408
|
+
@inner_class_types = {}
|
409
|
+
end
|
410
|
+
|
411
|
+
def self.field_remappings
|
412
|
+
@field_remappings = {}
|
413
|
+
end
|
257
414
|
end
|
258
415
|
|
259
416
|
class Paypal < Stripe::StripeObject
|
@@ -263,6 +420,14 @@ module Stripe
|
|
263
420
|
attr_reader :currency
|
264
421
|
# 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.
|
265
422
|
attr_reader :subsellers
|
423
|
+
|
424
|
+
def self.inner_class_types
|
425
|
+
@inner_class_types = {}
|
426
|
+
end
|
427
|
+
|
428
|
+
def self.field_remappings
|
429
|
+
@field_remappings = {}
|
430
|
+
end
|
266
431
|
end
|
267
432
|
|
268
433
|
class Payto < Stripe::StripeObject
|
@@ -281,9 +446,25 @@ module Stripe
|
|
281
446
|
attr_reader :purpose
|
282
447
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
283
448
|
attr_reader :start_date
|
449
|
+
|
450
|
+
def self.inner_class_types
|
451
|
+
@inner_class_types = {}
|
452
|
+
end
|
453
|
+
|
454
|
+
def self.field_remappings
|
455
|
+
@field_remappings = {}
|
456
|
+
end
|
284
457
|
end
|
285
458
|
# Attribute for field mandate_options
|
286
459
|
attr_reader :mandate_options
|
460
|
+
|
461
|
+
def self.inner_class_types
|
462
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
463
|
+
end
|
464
|
+
|
465
|
+
def self.field_remappings
|
466
|
+
@field_remappings = {}
|
467
|
+
end
|
287
468
|
end
|
288
469
|
|
289
470
|
class Pix < Stripe::StripeObject
|
@@ -304,18 +485,50 @@ module Stripe
|
|
304
485
|
attr_reader :reference
|
305
486
|
# Start date of the mandate, in `YYYY-MM-DD`.
|
306
487
|
attr_reader :start_date
|
488
|
+
|
489
|
+
def self.inner_class_types
|
490
|
+
@inner_class_types = {}
|
491
|
+
end
|
492
|
+
|
493
|
+
def self.field_remappings
|
494
|
+
@field_remappings = {}
|
495
|
+
end
|
307
496
|
end
|
308
497
|
# Attribute for field mandate_options
|
309
498
|
attr_reader :mandate_options
|
499
|
+
|
500
|
+
def self.inner_class_types
|
501
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
502
|
+
end
|
503
|
+
|
504
|
+
def self.field_remappings
|
505
|
+
@field_remappings = {}
|
506
|
+
end
|
310
507
|
end
|
311
508
|
|
312
509
|
class SepaDebit < Stripe::StripeObject
|
313
510
|
class MandateOptions < Stripe::StripeObject
|
314
511
|
# 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'.
|
315
512
|
attr_reader :reference_prefix
|
513
|
+
|
514
|
+
def self.inner_class_types
|
515
|
+
@inner_class_types = {}
|
516
|
+
end
|
517
|
+
|
518
|
+
def self.field_remappings
|
519
|
+
@field_remappings = {}
|
520
|
+
end
|
316
521
|
end
|
317
522
|
# Attribute for field mandate_options
|
318
523
|
attr_reader :mandate_options
|
524
|
+
|
525
|
+
def self.inner_class_types
|
526
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
527
|
+
end
|
528
|
+
|
529
|
+
def self.field_remappings
|
530
|
+
@field_remappings = {}
|
531
|
+
end
|
319
532
|
end
|
320
533
|
|
321
534
|
class UsBankAccount < Stripe::StripeObject
|
@@ -325,11 +538,27 @@ module Stripe
|
|
325
538
|
attr_reader :account_subcategories
|
326
539
|
# The institution to use to filter for possible accounts to link.
|
327
540
|
attr_reader :institution
|
541
|
+
|
542
|
+
def self.inner_class_types
|
543
|
+
@inner_class_types = {}
|
544
|
+
end
|
545
|
+
|
546
|
+
def self.field_remappings
|
547
|
+
@field_remappings = {}
|
548
|
+
end
|
328
549
|
end
|
329
550
|
|
330
551
|
class ManualEntry < Stripe::StripeObject
|
331
552
|
# Settings for configuring manual entry of account details.
|
332
553
|
attr_reader :mode
|
554
|
+
|
555
|
+
def self.inner_class_types
|
556
|
+
@inner_class_types = {}
|
557
|
+
end
|
558
|
+
|
559
|
+
def self.field_remappings
|
560
|
+
@field_remappings = {}
|
561
|
+
end
|
333
562
|
end
|
334
563
|
# Attribute for field filters
|
335
564
|
attr_reader :filters
|
@@ -341,11 +570,27 @@ module Stripe
|
|
341
570
|
attr_reader :prefetch
|
342
571
|
# 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.
|
343
572
|
attr_reader :return_url
|
573
|
+
|
574
|
+
def self.inner_class_types
|
575
|
+
@inner_class_types = { filters: Filters, manual_entry: ManualEntry }
|
576
|
+
end
|
577
|
+
|
578
|
+
def self.field_remappings
|
579
|
+
@field_remappings = {}
|
580
|
+
end
|
344
581
|
end
|
345
582
|
|
346
583
|
class MandateOptions < Stripe::StripeObject
|
347
584
|
# Mandate collection method
|
348
585
|
attr_reader :collection_method
|
586
|
+
|
587
|
+
def self.inner_class_types
|
588
|
+
@inner_class_types = {}
|
589
|
+
end
|
590
|
+
|
591
|
+
def self.field_remappings
|
592
|
+
@field_remappings = {}
|
593
|
+
end
|
349
594
|
end
|
350
595
|
# Attribute for field financial_connections
|
351
596
|
attr_reader :financial_connections
|
@@ -353,6 +598,17 @@ module Stripe
|
|
353
598
|
attr_reader :mandate_options
|
354
599
|
# Bank account verification method.
|
355
600
|
attr_reader :verification_method
|
601
|
+
|
602
|
+
def self.inner_class_types
|
603
|
+
@inner_class_types = {
|
604
|
+
financial_connections: FinancialConnections,
|
605
|
+
mandate_options: MandateOptions,
|
606
|
+
}
|
607
|
+
end
|
608
|
+
|
609
|
+
def self.field_remappings
|
610
|
+
@field_remappings = {}
|
611
|
+
end
|
356
612
|
end
|
357
613
|
# Attribute for field acss_debit
|
358
614
|
attr_reader :acss_debit
|
@@ -378,6 +634,27 @@ module Stripe
|
|
378
634
|
attr_reader :sepa_debit
|
379
635
|
# Attribute for field us_bank_account
|
380
636
|
attr_reader :us_bank_account
|
637
|
+
|
638
|
+
def self.inner_class_types
|
639
|
+
@inner_class_types = {
|
640
|
+
acss_debit: AcssDebit,
|
641
|
+
amazon_pay: AmazonPay,
|
642
|
+
bacs_debit: BacsDebit,
|
643
|
+
card: Card,
|
644
|
+
card_present: CardPresent,
|
645
|
+
klarna: Klarna,
|
646
|
+
link: Link,
|
647
|
+
paypal: Paypal,
|
648
|
+
payto: Payto,
|
649
|
+
pix: Pix,
|
650
|
+
sepa_debit: SepaDebit,
|
651
|
+
us_bank_account: UsBankAccount,
|
652
|
+
}
|
653
|
+
end
|
654
|
+
|
655
|
+
def self.field_remappings
|
656
|
+
@field_remappings = {}
|
657
|
+
end
|
381
658
|
end
|
382
659
|
|
383
660
|
class ListParams < Stripe::RequestParams
|
@@ -4501,5 +4778,19 @@ module Stripe
|
|
4501
4778
|
opts: opts
|
4502
4779
|
)
|
4503
4780
|
end
|
4781
|
+
|
4782
|
+
def self.inner_class_types
|
4783
|
+
@inner_class_types = {
|
4784
|
+
automatic_payment_methods: AutomaticPaymentMethods,
|
4785
|
+
last_setup_error: LastSetupError,
|
4786
|
+
next_action: NextAction,
|
4787
|
+
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
4788
|
+
payment_method_options: PaymentMethodOptions,
|
4789
|
+
}
|
4790
|
+
end
|
4791
|
+
|
4792
|
+
def self.field_remappings
|
4793
|
+
@field_remappings = {}
|
4794
|
+
end
|
4504
4795
|
end
|
4505
4796
|
end
|
@@ -20,6 +20,14 @@ module Stripe
|
|
20
20
|
attr_reader :unit
|
21
21
|
# Must be greater than 0.
|
22
22
|
attr_reader :value
|
23
|
+
|
24
|
+
def self.inner_class_types
|
25
|
+
@inner_class_types = {}
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.field_remappings
|
29
|
+
@field_remappings = {}
|
30
|
+
end
|
23
31
|
end
|
24
32
|
|
25
33
|
class Minimum < Stripe::StripeObject
|
@@ -27,11 +35,27 @@ module Stripe
|
|
27
35
|
attr_reader :unit
|
28
36
|
# Must be greater than 0.
|
29
37
|
attr_reader :value
|
38
|
+
|
39
|
+
def self.inner_class_types
|
40
|
+
@inner_class_types = {}
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.field_remappings
|
44
|
+
@field_remappings = {}
|
45
|
+
end
|
30
46
|
end
|
31
47
|
# The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
|
32
48
|
attr_reader :maximum
|
33
49
|
# The lower bound of the estimated range. If empty, represents no lower bound.
|
34
50
|
attr_reader :minimum
|
51
|
+
|
52
|
+
def self.inner_class_types
|
53
|
+
@inner_class_types = { maximum: Maximum, minimum: Minimum }
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.field_remappings
|
57
|
+
@field_remappings = {}
|
58
|
+
end
|
35
59
|
end
|
36
60
|
|
37
61
|
class FixedAmount < Stripe::StripeObject
|
@@ -40,6 +64,14 @@ module Stripe
|
|
40
64
|
attr_reader :amount
|
41
65
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
42
66
|
attr_reader :tax_behavior
|
67
|
+
|
68
|
+
def self.inner_class_types
|
69
|
+
@inner_class_types = {}
|
70
|
+
end
|
71
|
+
|
72
|
+
def self.field_remappings
|
73
|
+
@field_remappings = {}
|
74
|
+
end
|
43
75
|
end
|
44
76
|
# A non-negative integer in cents representing how much to charge.
|
45
77
|
attr_reader :amount
|
@@ -47,6 +79,14 @@ module Stripe
|
|
47
79
|
attr_reader :currency
|
48
80
|
# Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
|
49
81
|
attr_reader :currency_options
|
82
|
+
|
83
|
+
def self.inner_class_types
|
84
|
+
@inner_class_types = { currency_options: CurrencyOptions }
|
85
|
+
end
|
86
|
+
|
87
|
+
def self.field_remappings
|
88
|
+
@field_remappings = {}
|
89
|
+
end
|
50
90
|
end
|
51
91
|
|
52
92
|
class ListParams < Stripe::RequestParams
|
@@ -283,5 +323,13 @@ module Stripe
|
|
283
323
|
opts: opts
|
284
324
|
)
|
285
325
|
end
|
326
|
+
|
327
|
+
def self.inner_class_types
|
328
|
+
@inner_class_types = { delivery_estimate: DeliveryEstimate, fixed_amount: FixedAmount }
|
329
|
+
end
|
330
|
+
|
331
|
+
def self.field_remappings
|
332
|
+
@field_remappings = {}
|
333
|
+
end
|
286
334
|
end
|
287
335
|
end
|
@@ -18,6 +18,14 @@ module Stripe
|
|
18
18
|
class Error < Stripe::StripeObject
|
19
19
|
# Information about the run failure.
|
20
20
|
attr_reader :message
|
21
|
+
|
22
|
+
def self.inner_class_types
|
23
|
+
@inner_class_types = {}
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.field_remappings
|
27
|
+
@field_remappings = {}
|
28
|
+
end
|
21
29
|
end
|
22
30
|
|
23
31
|
class ListParams < Stripe::RequestParams
|
@@ -73,6 +81,14 @@ module Stripe
|
|
73
81
|
def self.resource_url
|
74
82
|
"/v1/sigma/scheduled_query_runs"
|
75
83
|
end
|
84
|
+
|
85
|
+
def self.inner_class_types
|
86
|
+
@inner_class_types = { error: Error }
|
87
|
+
end
|
88
|
+
|
89
|
+
def self.field_remappings
|
90
|
+
@field_remappings = {}
|
91
|
+
end
|
76
92
|
end
|
77
93
|
end
|
78
94
|
end
|