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
@@ -15,10 +15,45 @@ module Stripe
|
|
15
15
|
end
|
16
16
|
|
17
17
|
class PaymentMethodDetails < Stripe::StripeObject
|
18
|
-
class AcssDebit < Stripe::StripeObject
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
class AcssDebit < Stripe::StripeObject
|
19
|
+
def self.inner_class_types
|
20
|
+
@inner_class_types = {}
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.field_remappings
|
24
|
+
@field_remappings = {}
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class AmazonPay < Stripe::StripeObject
|
29
|
+
def self.inner_class_types
|
30
|
+
@inner_class_types = {}
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.field_remappings
|
34
|
+
@field_remappings = {}
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
class AuBecsDebit < Stripe::StripeObject
|
39
|
+
def self.inner_class_types
|
40
|
+
@inner_class_types = {}
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.field_remappings
|
44
|
+
@field_remappings = {}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
class BacsDebit < Stripe::StripeObject
|
49
|
+
def self.inner_class_types
|
50
|
+
@inner_class_types = {}
|
51
|
+
end
|
52
|
+
|
53
|
+
def self.field_remappings
|
54
|
+
@field_remappings = {}
|
55
|
+
end
|
56
|
+
end
|
22
57
|
|
23
58
|
class Bancontact < Stripe::StripeObject
|
24
59
|
# Bank code of bank associated with the bank account.
|
@@ -39,9 +74,25 @@ module Stripe
|
|
39
74
|
# Owner's verified full name. Values are verified or provided by Bancontact directly
|
40
75
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
41
76
|
attr_reader :verified_name
|
77
|
+
|
78
|
+
def self.inner_class_types
|
79
|
+
@inner_class_types = {}
|
80
|
+
end
|
81
|
+
|
82
|
+
def self.field_remappings
|
83
|
+
@field_remappings = {}
|
84
|
+
end
|
42
85
|
end
|
43
86
|
|
44
|
-
class Boleto < Stripe::StripeObject
|
87
|
+
class Boleto < Stripe::StripeObject
|
88
|
+
def self.inner_class_types
|
89
|
+
@inner_class_types = {}
|
90
|
+
end
|
91
|
+
|
92
|
+
def self.field_remappings
|
93
|
+
@field_remappings = {}
|
94
|
+
end
|
95
|
+
end
|
45
96
|
|
46
97
|
class Card < Stripe::StripeObject
|
47
98
|
class Checks < Stripe::StripeObject
|
@@ -51,6 +102,14 @@ module Stripe
|
|
51
102
|
attr_reader :address_postal_code_check
|
52
103
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
53
104
|
attr_reader :cvc_check
|
105
|
+
|
106
|
+
def self.inner_class_types
|
107
|
+
@inner_class_types = {}
|
108
|
+
end
|
109
|
+
|
110
|
+
def self.field_remappings
|
111
|
+
@field_remappings = {}
|
112
|
+
end
|
54
113
|
end
|
55
114
|
|
56
115
|
class ThreeDSecure < Stripe::StripeObject
|
@@ -70,17 +129,50 @@ module Stripe
|
|
70
129
|
attr_reader :transaction_id
|
71
130
|
# The version of 3D Secure that was used.
|
72
131
|
attr_reader :version
|
132
|
+
|
133
|
+
def self.inner_class_types
|
134
|
+
@inner_class_types = {}
|
135
|
+
end
|
136
|
+
|
137
|
+
def self.field_remappings
|
138
|
+
@field_remappings = {}
|
139
|
+
end
|
73
140
|
end
|
74
141
|
|
75
142
|
class Wallet < Stripe::StripeObject
|
76
|
-
class ApplePay < Stripe::StripeObject
|
77
|
-
|
143
|
+
class ApplePay < Stripe::StripeObject
|
144
|
+
def self.inner_class_types
|
145
|
+
@inner_class_types = {}
|
146
|
+
end
|
147
|
+
|
148
|
+
def self.field_remappings
|
149
|
+
@field_remappings = {}
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
class GooglePay < Stripe::StripeObject
|
154
|
+
def self.inner_class_types
|
155
|
+
@inner_class_types = {}
|
156
|
+
end
|
157
|
+
|
158
|
+
def self.field_remappings
|
159
|
+
@field_remappings = {}
|
160
|
+
end
|
161
|
+
end
|
78
162
|
# Attribute for field apple_pay
|
79
163
|
attr_reader :apple_pay
|
80
164
|
# Attribute for field google_pay
|
81
165
|
attr_reader :google_pay
|
82
166
|
# The type of the card wallet, one of `apple_pay`, `google_pay`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
|
83
167
|
attr_reader :type
|
168
|
+
|
169
|
+
def self.inner_class_types
|
170
|
+
@inner_class_types = { apple_pay: ApplePay, google_pay: GooglePay }
|
171
|
+
end
|
172
|
+
|
173
|
+
def self.field_remappings
|
174
|
+
@field_remappings = {}
|
175
|
+
end
|
84
176
|
end
|
85
177
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
86
178
|
attr_reader :brand
|
@@ -112,6 +204,14 @@ module Stripe
|
|
112
204
|
attr_reader :three_d_secure
|
113
205
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
114
206
|
attr_reader :wallet
|
207
|
+
|
208
|
+
def self.inner_class_types
|
209
|
+
@inner_class_types = { checks: Checks, three_d_secure: ThreeDSecure, wallet: Wallet }
|
210
|
+
end
|
211
|
+
|
212
|
+
def self.field_remappings
|
213
|
+
@field_remappings = {}
|
214
|
+
end
|
115
215
|
end
|
116
216
|
|
117
217
|
class CardPresent < Stripe::StripeObject
|
@@ -120,14 +220,38 @@ module Stripe
|
|
120
220
|
attr_reader :stored_at
|
121
221
|
# The method used to process this payment method offline. Only deferred is allowed.
|
122
222
|
attr_reader :type
|
223
|
+
|
224
|
+
def self.inner_class_types
|
225
|
+
@inner_class_types = {}
|
226
|
+
end
|
227
|
+
|
228
|
+
def self.field_remappings
|
229
|
+
@field_remappings = {}
|
230
|
+
end
|
123
231
|
end
|
124
232
|
# The ID of the Card PaymentMethod which was generated by this SetupAttempt.
|
125
233
|
attr_reader :generated_card
|
126
234
|
# Details about payments collected offline.
|
127
235
|
attr_reader :offline
|
236
|
+
|
237
|
+
def self.inner_class_types
|
238
|
+
@inner_class_types = { offline: Offline }
|
239
|
+
end
|
240
|
+
|
241
|
+
def self.field_remappings
|
242
|
+
@field_remappings = {}
|
243
|
+
end
|
128
244
|
end
|
129
245
|
|
130
|
-
class Cashapp < Stripe::StripeObject
|
246
|
+
class Cashapp < Stripe::StripeObject
|
247
|
+
def self.inner_class_types
|
248
|
+
@inner_class_types = {}
|
249
|
+
end
|
250
|
+
|
251
|
+
def self.field_remappings
|
252
|
+
@field_remappings = {}
|
253
|
+
end
|
254
|
+
end
|
131
255
|
|
132
256
|
class IdBankTransfer < Stripe::StripeObject
|
133
257
|
# Bank where the account is located.
|
@@ -138,6 +262,14 @@ module Stripe
|
|
138
262
|
attr_reader :bank_name
|
139
263
|
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
140
264
|
attr_reader :display_name
|
265
|
+
|
266
|
+
def self.inner_class_types
|
267
|
+
@inner_class_types = {}
|
268
|
+
end
|
269
|
+
|
270
|
+
def self.field_remappings
|
271
|
+
@field_remappings = {}
|
272
|
+
end
|
141
273
|
end
|
142
274
|
|
143
275
|
class Ideal < Stripe::StripeObject
|
@@ -154,24 +286,128 @@ module Stripe
|
|
154
286
|
# Owner's verified full name. Values are verified or provided by iDEAL directly
|
155
287
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
156
288
|
attr_reader :verified_name
|
289
|
+
|
290
|
+
def self.inner_class_types
|
291
|
+
@inner_class_types = {}
|
292
|
+
end
|
293
|
+
|
294
|
+
def self.field_remappings
|
295
|
+
@field_remappings = {}
|
296
|
+
end
|
157
297
|
end
|
158
298
|
|
159
|
-
class KakaoPay < Stripe::StripeObject
|
160
|
-
|
161
|
-
|
162
|
-
|
299
|
+
class KakaoPay < Stripe::StripeObject
|
300
|
+
def self.inner_class_types
|
301
|
+
@inner_class_types = {}
|
302
|
+
end
|
303
|
+
|
304
|
+
def self.field_remappings
|
305
|
+
@field_remappings = {}
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
309
|
+
class Klarna < Stripe::StripeObject
|
310
|
+
def self.inner_class_types
|
311
|
+
@inner_class_types = {}
|
312
|
+
end
|
313
|
+
|
314
|
+
def self.field_remappings
|
315
|
+
@field_remappings = {}
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
class KrCard < Stripe::StripeObject
|
320
|
+
def self.inner_class_types
|
321
|
+
@inner_class_types = {}
|
322
|
+
end
|
323
|
+
|
324
|
+
def self.field_remappings
|
325
|
+
@field_remappings = {}
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
class Link < Stripe::StripeObject
|
330
|
+
def self.inner_class_types
|
331
|
+
@inner_class_types = {}
|
332
|
+
end
|
333
|
+
|
334
|
+
def self.field_remappings
|
335
|
+
@field_remappings = {}
|
336
|
+
end
|
337
|
+
end
|
163
338
|
|
164
339
|
class NaverPay < Stripe::StripeObject
|
165
340
|
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
166
341
|
attr_reader :buyer_id
|
342
|
+
|
343
|
+
def self.inner_class_types
|
344
|
+
@inner_class_types = {}
|
345
|
+
end
|
346
|
+
|
347
|
+
def self.field_remappings
|
348
|
+
@field_remappings = {}
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
class NzBankAccount < Stripe::StripeObject
|
353
|
+
def self.inner_class_types
|
354
|
+
@inner_class_types = {}
|
355
|
+
end
|
356
|
+
|
357
|
+
def self.field_remappings
|
358
|
+
@field_remappings = {}
|
359
|
+
end
|
167
360
|
end
|
168
361
|
|
169
|
-
class
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
362
|
+
class Paypal < Stripe::StripeObject
|
363
|
+
def self.inner_class_types
|
364
|
+
@inner_class_types = {}
|
365
|
+
end
|
366
|
+
|
367
|
+
def self.field_remappings
|
368
|
+
@field_remappings = {}
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
class Payto < Stripe::StripeObject
|
373
|
+
def self.inner_class_types
|
374
|
+
@inner_class_types = {}
|
375
|
+
end
|
376
|
+
|
377
|
+
def self.field_remappings
|
378
|
+
@field_remappings = {}
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
class Pix < Stripe::StripeObject
|
383
|
+
def self.inner_class_types
|
384
|
+
@inner_class_types = {}
|
385
|
+
end
|
386
|
+
|
387
|
+
def self.field_remappings
|
388
|
+
@field_remappings = {}
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
class RevolutPay < Stripe::StripeObject
|
393
|
+
def self.inner_class_types
|
394
|
+
@inner_class_types = {}
|
395
|
+
end
|
396
|
+
|
397
|
+
def self.field_remappings
|
398
|
+
@field_remappings = {}
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
402
|
+
class SepaDebit < Stripe::StripeObject
|
403
|
+
def self.inner_class_types
|
404
|
+
@inner_class_types = {}
|
405
|
+
end
|
406
|
+
|
407
|
+
def self.field_remappings
|
408
|
+
@field_remappings = {}
|
409
|
+
end
|
410
|
+
end
|
175
411
|
|
176
412
|
class Sofort < Stripe::StripeObject
|
177
413
|
# Bank code of bank associated with the bank account.
|
@@ -192,10 +428,35 @@ module Stripe
|
|
192
428
|
# Owner's verified full name. Values are verified or provided by Sofort directly
|
193
429
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
194
430
|
attr_reader :verified_name
|
431
|
+
|
432
|
+
def self.inner_class_types
|
433
|
+
@inner_class_types = {}
|
434
|
+
end
|
435
|
+
|
436
|
+
def self.field_remappings
|
437
|
+
@field_remappings = {}
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
class StripeBalance < Stripe::StripeObject
|
442
|
+
def self.inner_class_types
|
443
|
+
@inner_class_types = {}
|
444
|
+
end
|
445
|
+
|
446
|
+
def self.field_remappings
|
447
|
+
@field_remappings = {}
|
448
|
+
end
|
195
449
|
end
|
196
450
|
|
197
|
-
class
|
198
|
-
|
451
|
+
class UsBankAccount < Stripe::StripeObject
|
452
|
+
def self.inner_class_types
|
453
|
+
@inner_class_types = {}
|
454
|
+
end
|
455
|
+
|
456
|
+
def self.field_remappings
|
457
|
+
@field_remappings = {}
|
458
|
+
end
|
459
|
+
end
|
199
460
|
# Attribute for field acss_debit
|
200
461
|
attr_reader :acss_debit
|
201
462
|
# Attribute for field amazon_pay
|
@@ -248,6 +509,40 @@ module Stripe
|
|
248
509
|
attr_reader :type
|
249
510
|
# Attribute for field us_bank_account
|
250
511
|
attr_reader :us_bank_account
|
512
|
+
|
513
|
+
def self.inner_class_types
|
514
|
+
@inner_class_types = {
|
515
|
+
acss_debit: AcssDebit,
|
516
|
+
amazon_pay: AmazonPay,
|
517
|
+
au_becs_debit: AuBecsDebit,
|
518
|
+
bacs_debit: BacsDebit,
|
519
|
+
bancontact: Bancontact,
|
520
|
+
boleto: Boleto,
|
521
|
+
card: Card,
|
522
|
+
card_present: CardPresent,
|
523
|
+
cashapp: Cashapp,
|
524
|
+
id_bank_transfer: IdBankTransfer,
|
525
|
+
ideal: Ideal,
|
526
|
+
kakao_pay: KakaoPay,
|
527
|
+
klarna: Klarna,
|
528
|
+
kr_card: KrCard,
|
529
|
+
link: Link,
|
530
|
+
naver_pay: NaverPay,
|
531
|
+
nz_bank_account: NzBankAccount,
|
532
|
+
paypal: Paypal,
|
533
|
+
payto: Payto,
|
534
|
+
pix: Pix,
|
535
|
+
revolut_pay: RevolutPay,
|
536
|
+
sepa_debit: SepaDebit,
|
537
|
+
sofort: Sofort,
|
538
|
+
stripe_balance: StripeBalance,
|
539
|
+
us_bank_account: UsBankAccount,
|
540
|
+
}
|
541
|
+
end
|
542
|
+
|
543
|
+
def self.field_remappings
|
544
|
+
@field_remappings = {}
|
545
|
+
end
|
251
546
|
end
|
252
547
|
|
253
548
|
class SetupError < Stripe::StripeObject
|
@@ -317,6 +612,14 @@ module Stripe
|
|
317
612
|
attr_reader :source
|
318
613
|
# The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
|
319
614
|
attr_reader :type
|
615
|
+
|
616
|
+
def self.inner_class_types
|
617
|
+
@inner_class_types = {}
|
618
|
+
end
|
619
|
+
|
620
|
+
def self.field_remappings
|
621
|
+
@field_remappings = {}
|
622
|
+
end
|
320
623
|
end
|
321
624
|
|
322
625
|
class ListParams < Stripe::RequestParams
|
@@ -410,5 +713,13 @@ module Stripe
|
|
410
713
|
def self.list(params = {}, opts = {})
|
411
714
|
request_stripe_object(method: :get, path: "/v1/setup_attempts", params: params, opts: opts)
|
412
715
|
end
|
716
|
+
|
717
|
+
def self.inner_class_types
|
718
|
+
@inner_class_types = { payment_method_details: PaymentMethodDetails, setup_error: SetupError }
|
719
|
+
end
|
720
|
+
|
721
|
+
def self.field_remappings
|
722
|
+
@field_remappings = {}
|
723
|
+
end
|
413
724
|
end
|
414
725
|
end
|