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
@@ -34,6 +34,14 @@ module Stripe
|
|
34
34
|
attr_reader :postal_code
|
35
35
|
# State, county, province, or region.
|
36
36
|
attr_reader :state
|
37
|
+
|
38
|
+
def self.inner_class_types
|
39
|
+
@inner_class_types = {}
|
40
|
+
end
|
41
|
+
|
42
|
+
def self.field_remappings
|
43
|
+
@field_remappings = {}
|
44
|
+
end
|
37
45
|
end
|
38
46
|
# Billing address.
|
39
47
|
attr_reader :address
|
@@ -45,6 +53,14 @@ module Stripe
|
|
45
53
|
attr_reader :phone
|
46
54
|
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
47
55
|
attr_reader :tax_id
|
56
|
+
|
57
|
+
def self.inner_class_types
|
58
|
+
@inner_class_types = { address: Address }
|
59
|
+
end
|
60
|
+
|
61
|
+
def self.field_remappings
|
62
|
+
@field_remappings = {}
|
63
|
+
end
|
48
64
|
end
|
49
65
|
|
50
66
|
class FraudDetails < Stripe::StripeObject
|
@@ -52,6 +68,14 @@ module Stripe
|
|
52
68
|
attr_reader :stripe_report
|
53
69
|
# Assessments reported by you. If set, possible values of are `safe` and `fraudulent`.
|
54
70
|
attr_reader :user_report
|
71
|
+
|
72
|
+
def self.inner_class_types
|
73
|
+
@inner_class_types = {}
|
74
|
+
end
|
75
|
+
|
76
|
+
def self.field_remappings
|
77
|
+
@field_remappings = {}
|
78
|
+
end
|
55
79
|
end
|
56
80
|
|
57
81
|
class Level3 < Stripe::StripeObject
|
@@ -68,6 +92,14 @@ module Stripe
|
|
68
92
|
attr_reader :tax_amount
|
69
93
|
# Attribute for field unit_cost
|
70
94
|
attr_reader :unit_cost
|
95
|
+
|
96
|
+
def self.inner_class_types
|
97
|
+
@inner_class_types = {}
|
98
|
+
end
|
99
|
+
|
100
|
+
def self.field_remappings
|
101
|
+
@field_remappings = {}
|
102
|
+
end
|
71
103
|
end
|
72
104
|
# Attribute for field customer_reference
|
73
105
|
attr_reader :customer_reference
|
@@ -81,6 +113,14 @@ module Stripe
|
|
81
113
|
attr_reader :shipping_amount
|
82
114
|
# Attribute for field shipping_from_zip
|
83
115
|
attr_reader :shipping_from_zip
|
116
|
+
|
117
|
+
def self.inner_class_types
|
118
|
+
@inner_class_types = { line_items: LineItem }
|
119
|
+
end
|
120
|
+
|
121
|
+
def self.field_remappings
|
122
|
+
@field_remappings = {}
|
123
|
+
end
|
84
124
|
end
|
85
125
|
|
86
126
|
class Outcome < Stripe::StripeObject
|
@@ -91,6 +131,14 @@ module Stripe
|
|
91
131
|
attr_reader :id
|
92
132
|
# The predicate to evaluate the payment against.
|
93
133
|
attr_reader :predicate
|
134
|
+
|
135
|
+
def self.inner_class_types
|
136
|
+
@inner_class_types = {}
|
137
|
+
end
|
138
|
+
|
139
|
+
def self.field_remappings
|
140
|
+
@field_remappings = {}
|
141
|
+
end
|
94
142
|
end
|
95
143
|
# An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines).
|
96
144
|
attr_reader :advice_code
|
@@ -112,6 +160,14 @@ module Stripe
|
|
112
160
|
attr_reader :seller_message
|
113
161
|
# Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/docs/declines) and [Radar reviews](https://stripe.com/docs/radar/reviews) for details.
|
114
162
|
attr_reader :type
|
163
|
+
|
164
|
+
def self.inner_class_types
|
165
|
+
@inner_class_types = { rule: Rule }
|
166
|
+
end
|
167
|
+
|
168
|
+
def self.field_remappings
|
169
|
+
@field_remappings = {}
|
170
|
+
end
|
115
171
|
end
|
116
172
|
|
117
173
|
class PaymentMethodDetails < Stripe::StripeObject
|
@@ -124,6 +180,14 @@ module Stripe
|
|
124
180
|
attr_reader :routing_number
|
125
181
|
# SWIFT code of the bank associated with the routing number.
|
126
182
|
attr_reader :swift_code
|
183
|
+
|
184
|
+
def self.inner_class_types
|
185
|
+
@inner_class_types = {}
|
186
|
+
end
|
187
|
+
|
188
|
+
def self.field_remappings
|
189
|
+
@field_remappings = {}
|
190
|
+
end
|
127
191
|
end
|
128
192
|
|
129
193
|
class AchDebit < Stripe::StripeObject
|
@@ -139,6 +203,14 @@ module Stripe
|
|
139
203
|
attr_reader :last4
|
140
204
|
# Routing transit number of the bank account.
|
141
205
|
attr_reader :routing_number
|
206
|
+
|
207
|
+
def self.inner_class_types
|
208
|
+
@inner_class_types = {}
|
209
|
+
end
|
210
|
+
|
211
|
+
def self.field_remappings
|
212
|
+
@field_remappings = {}
|
213
|
+
end
|
142
214
|
end
|
143
215
|
|
144
216
|
class AcssDebit < Stripe::StripeObject
|
@@ -154,6 +226,14 @@ module Stripe
|
|
154
226
|
attr_reader :mandate
|
155
227
|
# Transit number of the bank account.
|
156
228
|
attr_reader :transit_number
|
229
|
+
|
230
|
+
def self.inner_class_types
|
231
|
+
@inner_class_types = {}
|
232
|
+
end
|
233
|
+
|
234
|
+
def self.field_remappings
|
235
|
+
@field_remappings = {}
|
236
|
+
end
|
157
237
|
end
|
158
238
|
|
159
239
|
class Affirm < Stripe::StripeObject
|
@@ -163,6 +243,14 @@ module Stripe
|
|
163
243
|
attr_reader :reader
|
164
244
|
# The Affirm transaction ID associated with this payment.
|
165
245
|
attr_reader :transaction_id
|
246
|
+
|
247
|
+
def self.inner_class_types
|
248
|
+
@inner_class_types = {}
|
249
|
+
end
|
250
|
+
|
251
|
+
def self.field_remappings
|
252
|
+
@field_remappings = {}
|
253
|
+
end
|
166
254
|
end
|
167
255
|
|
168
256
|
class AfterpayClearpay < Stripe::StripeObject
|
@@ -170,6 +258,14 @@ module Stripe
|
|
170
258
|
attr_reader :order_id
|
171
259
|
# Order identifier shown to the merchant in Afterpay’s online portal.
|
172
260
|
attr_reader :reference
|
261
|
+
|
262
|
+
def self.inner_class_types
|
263
|
+
@inner_class_types = {}
|
264
|
+
end
|
265
|
+
|
266
|
+
def self.field_remappings
|
267
|
+
@field_remappings = {}
|
268
|
+
end
|
173
269
|
end
|
174
270
|
|
175
271
|
class Alipay < Stripe::StripeObject
|
@@ -179,17 +275,41 @@ module Stripe
|
|
179
275
|
attr_reader :fingerprint
|
180
276
|
# Transaction ID of this particular Alipay transaction.
|
181
277
|
attr_reader :transaction_id
|
278
|
+
|
279
|
+
def self.inner_class_types
|
280
|
+
@inner_class_types = {}
|
281
|
+
end
|
282
|
+
|
283
|
+
def self.field_remappings
|
284
|
+
@field_remappings = {}
|
285
|
+
end
|
182
286
|
end
|
183
287
|
|
184
288
|
class Alma < Stripe::StripeObject
|
185
289
|
class Installments < Stripe::StripeObject
|
186
290
|
# The number of installments.
|
187
291
|
attr_reader :count
|
292
|
+
|
293
|
+
def self.inner_class_types
|
294
|
+
@inner_class_types = {}
|
295
|
+
end
|
296
|
+
|
297
|
+
def self.field_remappings
|
298
|
+
@field_remappings = {}
|
299
|
+
end
|
188
300
|
end
|
189
301
|
# Attribute for field installments
|
190
302
|
attr_reader :installments
|
191
303
|
# The Alma transaction ID associated with this payment.
|
192
304
|
attr_reader :transaction_id
|
305
|
+
|
306
|
+
def self.inner_class_types
|
307
|
+
@inner_class_types = { installments: Installments }
|
308
|
+
end
|
309
|
+
|
310
|
+
def self.field_remappings
|
311
|
+
@field_remappings = {}
|
312
|
+
end
|
193
313
|
end
|
194
314
|
|
195
315
|
class AmazonPay < Stripe::StripeObject
|
@@ -209,16 +329,40 @@ module Stripe
|
|
209
329
|
attr_reader :funding
|
210
330
|
# The last four digits of the card.
|
211
331
|
attr_reader :last4
|
332
|
+
|
333
|
+
def self.inner_class_types
|
334
|
+
@inner_class_types = {}
|
335
|
+
end
|
336
|
+
|
337
|
+
def self.field_remappings
|
338
|
+
@field_remappings = {}
|
339
|
+
end
|
212
340
|
end
|
213
341
|
# Attribute for field card
|
214
342
|
attr_reader :card
|
215
343
|
# funding type of the underlying payment method.
|
216
344
|
attr_reader :type
|
345
|
+
|
346
|
+
def self.inner_class_types
|
347
|
+
@inner_class_types = { card: Card }
|
348
|
+
end
|
349
|
+
|
350
|
+
def self.field_remappings
|
351
|
+
@field_remappings = {}
|
352
|
+
end
|
217
353
|
end
|
218
354
|
# Attribute for field funding
|
219
355
|
attr_reader :funding
|
220
356
|
# The Amazon Pay transaction ID associated with this payment.
|
221
357
|
attr_reader :transaction_id
|
358
|
+
|
359
|
+
def self.inner_class_types
|
360
|
+
@inner_class_types = { funding: Funding }
|
361
|
+
end
|
362
|
+
|
363
|
+
def self.field_remappings
|
364
|
+
@field_remappings = {}
|
365
|
+
end
|
222
366
|
end
|
223
367
|
|
224
368
|
class AuBecsDebit < Stripe::StripeObject
|
@@ -230,6 +374,14 @@ module Stripe
|
|
230
374
|
attr_reader :last4
|
231
375
|
# ID of the mandate used to make this payment.
|
232
376
|
attr_reader :mandate
|
377
|
+
|
378
|
+
def self.inner_class_types
|
379
|
+
@inner_class_types = {}
|
380
|
+
end
|
381
|
+
|
382
|
+
def self.field_remappings
|
383
|
+
@field_remappings = {}
|
384
|
+
end
|
233
385
|
end
|
234
386
|
|
235
387
|
class BacsDebit < Stripe::StripeObject
|
@@ -241,6 +393,14 @@ module Stripe
|
|
241
393
|
attr_reader :mandate
|
242
394
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
243
395
|
attr_reader :sort_code
|
396
|
+
|
397
|
+
def self.inner_class_types
|
398
|
+
@inner_class_types = {}
|
399
|
+
end
|
400
|
+
|
401
|
+
def self.field_remappings
|
402
|
+
@field_remappings = {}
|
403
|
+
end
|
244
404
|
end
|
245
405
|
|
246
406
|
class Bancontact < Stripe::StripeObject
|
@@ -262,21 +422,53 @@ module Stripe
|
|
262
422
|
# Owner's verified full name. Values are verified or provided by Bancontact directly
|
263
423
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
264
424
|
attr_reader :verified_name
|
425
|
+
|
426
|
+
def self.inner_class_types
|
427
|
+
@inner_class_types = {}
|
428
|
+
end
|
429
|
+
|
430
|
+
def self.field_remappings
|
431
|
+
@field_remappings = {}
|
432
|
+
end
|
265
433
|
end
|
266
434
|
|
267
435
|
class Billie < Stripe::StripeObject
|
268
436
|
# The Billie transaction ID associated with this payment.
|
269
437
|
attr_reader :transaction_id
|
438
|
+
|
439
|
+
def self.inner_class_types
|
440
|
+
@inner_class_types = {}
|
441
|
+
end
|
442
|
+
|
443
|
+
def self.field_remappings
|
444
|
+
@field_remappings = {}
|
445
|
+
end
|
270
446
|
end
|
271
447
|
|
272
448
|
class Blik < Stripe::StripeObject
|
273
449
|
# A unique and immutable identifier assigned by BLIK to every buyer.
|
274
450
|
attr_reader :buyer_id
|
451
|
+
|
452
|
+
def self.inner_class_types
|
453
|
+
@inner_class_types = {}
|
454
|
+
end
|
455
|
+
|
456
|
+
def self.field_remappings
|
457
|
+
@field_remappings = {}
|
458
|
+
end
|
275
459
|
end
|
276
460
|
|
277
461
|
class Boleto < Stripe::StripeObject
|
278
462
|
# The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
|
279
463
|
attr_reader :tax_id
|
464
|
+
|
465
|
+
def self.inner_class_types
|
466
|
+
@inner_class_types = {}
|
467
|
+
end
|
468
|
+
|
469
|
+
def self.field_remappings
|
470
|
+
@field_remappings = {}
|
471
|
+
end
|
280
472
|
end
|
281
473
|
|
282
474
|
class Card < Stripe::StripeObject
|
@@ -287,21 +479,53 @@ module Stripe
|
|
287
479
|
attr_reader :address_postal_code_check
|
288
480
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
289
481
|
attr_reader :cvc_check
|
482
|
+
|
483
|
+
def self.inner_class_types
|
484
|
+
@inner_class_types = {}
|
485
|
+
end
|
486
|
+
|
487
|
+
def self.field_remappings
|
488
|
+
@field_remappings = {}
|
489
|
+
end
|
290
490
|
end
|
291
491
|
|
292
492
|
class DecrementalAuthorization < Stripe::StripeObject
|
293
493
|
# Indicates whether or not the decremental authorization feature is supported.
|
294
494
|
attr_reader :status
|
495
|
+
|
496
|
+
def self.inner_class_types
|
497
|
+
@inner_class_types = {}
|
498
|
+
end
|
499
|
+
|
500
|
+
def self.field_remappings
|
501
|
+
@field_remappings = {}
|
502
|
+
end
|
295
503
|
end
|
296
504
|
|
297
505
|
class ExtendedAuthorization < Stripe::StripeObject
|
298
506
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
299
507
|
attr_reader :status
|
508
|
+
|
509
|
+
def self.inner_class_types
|
510
|
+
@inner_class_types = {}
|
511
|
+
end
|
512
|
+
|
513
|
+
def self.field_remappings
|
514
|
+
@field_remappings = {}
|
515
|
+
end
|
300
516
|
end
|
301
517
|
|
302
518
|
class IncrementalAuthorization < Stripe::StripeObject
|
303
519
|
# Indicates whether or not the incremental authorization feature is supported.
|
304
520
|
attr_reader :status
|
521
|
+
|
522
|
+
def self.inner_class_types
|
523
|
+
@inner_class_types = {}
|
524
|
+
end
|
525
|
+
|
526
|
+
def self.field_remappings
|
527
|
+
@field_remappings = {}
|
528
|
+
end
|
305
529
|
end
|
306
530
|
|
307
531
|
class Installments < Stripe::StripeObject
|
@@ -313,19 +537,51 @@ module Stripe
|
|
313
537
|
attr_reader :interval
|
314
538
|
# Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
|
315
539
|
attr_reader :type
|
540
|
+
|
541
|
+
def self.inner_class_types
|
542
|
+
@inner_class_types = {}
|
543
|
+
end
|
544
|
+
|
545
|
+
def self.field_remappings
|
546
|
+
@field_remappings = {}
|
547
|
+
end
|
316
548
|
end
|
317
549
|
# Installment plan selected for the payment.
|
318
550
|
attr_reader :plan
|
551
|
+
|
552
|
+
def self.inner_class_types
|
553
|
+
@inner_class_types = { plan: Plan }
|
554
|
+
end
|
555
|
+
|
556
|
+
def self.field_remappings
|
557
|
+
@field_remappings = {}
|
558
|
+
end
|
319
559
|
end
|
320
560
|
|
321
561
|
class Multicapture < Stripe::StripeObject
|
322
562
|
# Indicates whether or not multiple captures are supported.
|
323
563
|
attr_reader :status
|
564
|
+
|
565
|
+
def self.inner_class_types
|
566
|
+
@inner_class_types = {}
|
567
|
+
end
|
568
|
+
|
569
|
+
def self.field_remappings
|
570
|
+
@field_remappings = {}
|
571
|
+
end
|
324
572
|
end
|
325
573
|
|
326
574
|
class NetworkToken < Stripe::StripeObject
|
327
575
|
# Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
|
328
576
|
attr_reader :used
|
577
|
+
|
578
|
+
def self.inner_class_types
|
579
|
+
@inner_class_types = {}
|
580
|
+
end
|
581
|
+
|
582
|
+
def self.field_remappings
|
583
|
+
@field_remappings = {}
|
584
|
+
end
|
329
585
|
end
|
330
586
|
|
331
587
|
class Overcapture < Stripe::StripeObject
|
@@ -333,11 +589,27 @@ module Stripe
|
|
333
589
|
attr_reader :maximum_amount_capturable
|
334
590
|
# Indicates whether or not the authorized amount can be over-captured.
|
335
591
|
attr_reader :status
|
592
|
+
|
593
|
+
def self.inner_class_types
|
594
|
+
@inner_class_types = {}
|
595
|
+
end
|
596
|
+
|
597
|
+
def self.field_remappings
|
598
|
+
@field_remappings = {}
|
599
|
+
end
|
336
600
|
end
|
337
601
|
|
338
602
|
class PartialAuthorization < Stripe::StripeObject
|
339
603
|
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
340
604
|
attr_reader :status
|
605
|
+
|
606
|
+
def self.inner_class_types
|
607
|
+
@inner_class_types = {}
|
608
|
+
end
|
609
|
+
|
610
|
+
def self.field_remappings
|
611
|
+
@field_remappings = {}
|
612
|
+
end
|
341
613
|
end
|
342
614
|
|
343
615
|
class ThreeDSecure < Stripe::StripeObject
|
@@ -362,13 +634,56 @@ module Stripe
|
|
362
634
|
attr_reader :transaction_id
|
363
635
|
# The version of 3D Secure that was used.
|
364
636
|
attr_reader :version
|
637
|
+
|
638
|
+
def self.inner_class_types
|
639
|
+
@inner_class_types = {}
|
640
|
+
end
|
641
|
+
|
642
|
+
def self.field_remappings
|
643
|
+
@field_remappings = {}
|
644
|
+
end
|
365
645
|
end
|
366
646
|
|
367
647
|
class Wallet < Stripe::StripeObject
|
368
|
-
class AmexExpressCheckout < Stripe::StripeObject
|
369
|
-
|
370
|
-
|
371
|
-
|
648
|
+
class AmexExpressCheckout < Stripe::StripeObject
|
649
|
+
def self.inner_class_types
|
650
|
+
@inner_class_types = {}
|
651
|
+
end
|
652
|
+
|
653
|
+
def self.field_remappings
|
654
|
+
@field_remappings = {}
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
class ApplePay < Stripe::StripeObject
|
659
|
+
def self.inner_class_types
|
660
|
+
@inner_class_types = {}
|
661
|
+
end
|
662
|
+
|
663
|
+
def self.field_remappings
|
664
|
+
@field_remappings = {}
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
668
|
+
class GooglePay < Stripe::StripeObject
|
669
|
+
def self.inner_class_types
|
670
|
+
@inner_class_types = {}
|
671
|
+
end
|
672
|
+
|
673
|
+
def self.field_remappings
|
674
|
+
@field_remappings = {}
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
678
|
+
class Link < Stripe::StripeObject
|
679
|
+
def self.inner_class_types
|
680
|
+
@inner_class_types = {}
|
681
|
+
end
|
682
|
+
|
683
|
+
def self.field_remappings
|
684
|
+
@field_remappings = {}
|
685
|
+
end
|
686
|
+
end
|
372
687
|
|
373
688
|
class Masterpass < Stripe::StripeObject
|
374
689
|
class BillingAddress < Stripe::StripeObject
|
@@ -384,6 +699,14 @@ module Stripe
|
|
384
699
|
attr_reader :postal_code
|
385
700
|
# State, county, province, or region.
|
386
701
|
attr_reader :state
|
702
|
+
|
703
|
+
def self.inner_class_types
|
704
|
+
@inner_class_types = {}
|
705
|
+
end
|
706
|
+
|
707
|
+
def self.field_remappings
|
708
|
+
@field_remappings = {}
|
709
|
+
end
|
387
710
|
end
|
388
711
|
|
389
712
|
class ShippingAddress < Stripe::StripeObject
|
@@ -399,6 +722,14 @@ module Stripe
|
|
399
722
|
attr_reader :postal_code
|
400
723
|
# State, county, province, or region.
|
401
724
|
attr_reader :state
|
725
|
+
|
726
|
+
def self.inner_class_types
|
727
|
+
@inner_class_types = {}
|
728
|
+
end
|
729
|
+
|
730
|
+
def self.field_remappings
|
731
|
+
@field_remappings = {}
|
732
|
+
end
|
402
733
|
end
|
403
734
|
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
404
735
|
attr_reader :billing_address
|
@@ -408,9 +739,28 @@ module Stripe
|
|
408
739
|
attr_reader :name
|
409
740
|
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
410
741
|
attr_reader :shipping_address
|
742
|
+
|
743
|
+
def self.inner_class_types
|
744
|
+
@inner_class_types = {
|
745
|
+
billing_address: BillingAddress,
|
746
|
+
shipping_address: ShippingAddress,
|
747
|
+
}
|
748
|
+
end
|
749
|
+
|
750
|
+
def self.field_remappings
|
751
|
+
@field_remappings = {}
|
752
|
+
end
|
411
753
|
end
|
412
754
|
|
413
|
-
class SamsungPay < Stripe::StripeObject
|
755
|
+
class SamsungPay < Stripe::StripeObject
|
756
|
+
def self.inner_class_types
|
757
|
+
@inner_class_types = {}
|
758
|
+
end
|
759
|
+
|
760
|
+
def self.field_remappings
|
761
|
+
@field_remappings = {}
|
762
|
+
end
|
763
|
+
end
|
414
764
|
|
415
765
|
class VisaCheckout < Stripe::StripeObject
|
416
766
|
class BillingAddress < Stripe::StripeObject
|
@@ -426,6 +776,14 @@ module Stripe
|
|
426
776
|
attr_reader :postal_code
|
427
777
|
# State, county, province, or region.
|
428
778
|
attr_reader :state
|
779
|
+
|
780
|
+
def self.inner_class_types
|
781
|
+
@inner_class_types = {}
|
782
|
+
end
|
783
|
+
|
784
|
+
def self.field_remappings
|
785
|
+
@field_remappings = {}
|
786
|
+
end
|
429
787
|
end
|
430
788
|
|
431
789
|
class ShippingAddress < Stripe::StripeObject
|
@@ -441,6 +799,14 @@ module Stripe
|
|
441
799
|
attr_reader :postal_code
|
442
800
|
# State, county, province, or region.
|
443
801
|
attr_reader :state
|
802
|
+
|
803
|
+
def self.inner_class_types
|
804
|
+
@inner_class_types = {}
|
805
|
+
end
|
806
|
+
|
807
|
+
def self.field_remappings
|
808
|
+
@field_remappings = {}
|
809
|
+
end
|
444
810
|
end
|
445
811
|
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
446
812
|
attr_reader :billing_address
|
@@ -450,6 +816,17 @@ module Stripe
|
|
450
816
|
attr_reader :name
|
451
817
|
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
452
818
|
attr_reader :shipping_address
|
819
|
+
|
820
|
+
def self.inner_class_types
|
821
|
+
@inner_class_types = {
|
822
|
+
billing_address: BillingAddress,
|
823
|
+
shipping_address: ShippingAddress,
|
824
|
+
}
|
825
|
+
end
|
826
|
+
|
827
|
+
def self.field_remappings
|
828
|
+
@field_remappings = {}
|
829
|
+
end
|
453
830
|
end
|
454
831
|
# Attribute for field amex_express_checkout
|
455
832
|
attr_reader :amex_express_checkout
|
@@ -469,6 +846,22 @@ module Stripe
|
|
469
846
|
attr_reader :type
|
470
847
|
# Attribute for field visa_checkout
|
471
848
|
attr_reader :visa_checkout
|
849
|
+
|
850
|
+
def self.inner_class_types
|
851
|
+
@inner_class_types = {
|
852
|
+
amex_express_checkout: AmexExpressCheckout,
|
853
|
+
apple_pay: ApplePay,
|
854
|
+
google_pay: GooglePay,
|
855
|
+
link: Link,
|
856
|
+
masterpass: Masterpass,
|
857
|
+
samsung_pay: SamsungPay,
|
858
|
+
visa_checkout: VisaCheckout,
|
859
|
+
}
|
860
|
+
end
|
861
|
+
|
862
|
+
def self.field_remappings
|
863
|
+
@field_remappings = {}
|
864
|
+
end
|
472
865
|
end
|
473
866
|
# The authorized amount.
|
474
867
|
attr_reader :amount_authorized
|
@@ -534,6 +927,26 @@ module Stripe
|
|
534
927
|
attr_reader :three_d_secure
|
535
928
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
536
929
|
attr_reader :wallet
|
930
|
+
|
931
|
+
def self.inner_class_types
|
932
|
+
@inner_class_types = {
|
933
|
+
checks: Checks,
|
934
|
+
decremental_authorization: DecrementalAuthorization,
|
935
|
+
extended_authorization: ExtendedAuthorization,
|
936
|
+
incremental_authorization: IncrementalAuthorization,
|
937
|
+
installments: Installments,
|
938
|
+
multicapture: Multicapture,
|
939
|
+
network_token: NetworkToken,
|
940
|
+
overcapture: Overcapture,
|
941
|
+
partial_authorization: PartialAuthorization,
|
942
|
+
three_d_secure: ThreeDSecure,
|
943
|
+
wallet: Wallet,
|
944
|
+
}
|
945
|
+
end
|
946
|
+
|
947
|
+
def self.field_remappings
|
948
|
+
@field_remappings = {}
|
949
|
+
end
|
537
950
|
end
|
538
951
|
|
539
952
|
class CardPresent < Stripe::StripeObject
|
@@ -542,6 +955,14 @@ module Stripe
|
|
542
955
|
attr_reader :stored_at
|
543
956
|
# The method used to process this payment method offline. Only deferred is allowed.
|
544
957
|
attr_reader :type
|
958
|
+
|
959
|
+
def self.inner_class_types
|
960
|
+
@inner_class_types = {}
|
961
|
+
end
|
962
|
+
|
963
|
+
def self.field_remappings
|
964
|
+
@field_remappings = {}
|
965
|
+
end
|
545
966
|
end
|
546
967
|
|
547
968
|
class Receipt < Stripe::StripeObject
|
@@ -563,11 +984,27 @@ module Stripe
|
|
563
984
|
attr_reader :terminal_verification_results
|
564
985
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
565
986
|
attr_reader :transaction_status_information
|
987
|
+
|
988
|
+
def self.inner_class_types
|
989
|
+
@inner_class_types = {}
|
990
|
+
end
|
991
|
+
|
992
|
+
def self.field_remappings
|
993
|
+
@field_remappings = {}
|
994
|
+
end
|
566
995
|
end
|
567
996
|
|
568
997
|
class Wallet < Stripe::StripeObject
|
569
998
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
570
999
|
attr_reader :type
|
1000
|
+
|
1001
|
+
def self.inner_class_types
|
1002
|
+
@inner_class_types = {}
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
def self.field_remappings
|
1006
|
+
@field_remappings = {}
|
1007
|
+
end
|
571
1008
|
end
|
572
1009
|
# The authorized amount
|
573
1010
|
attr_reader :amount_authorized
|
@@ -621,6 +1058,14 @@ module Stripe
|
|
621
1058
|
attr_reader :receipt
|
622
1059
|
# Attribute for field wallet
|
623
1060
|
attr_reader :wallet
|
1061
|
+
|
1062
|
+
def self.inner_class_types
|
1063
|
+
@inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
def self.field_remappings
|
1067
|
+
@field_remappings = {}
|
1068
|
+
end
|
624
1069
|
end
|
625
1070
|
|
626
1071
|
class Cashapp < Stripe::StripeObject
|
@@ -630,6 +1075,14 @@ module Stripe
|
|
630
1075
|
attr_reader :cashtag
|
631
1076
|
# A unique and immutable identifier of payments assigned by Cash App
|
632
1077
|
attr_reader :transaction_id
|
1078
|
+
|
1079
|
+
def self.inner_class_types
|
1080
|
+
@inner_class_types = {}
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
def self.field_remappings
|
1084
|
+
@field_remappings = {}
|
1085
|
+
end
|
633
1086
|
end
|
634
1087
|
|
635
1088
|
class Crypto < Stripe::StripeObject
|
@@ -641,9 +1094,25 @@ module Stripe
|
|
641
1094
|
attr_reader :token_currency
|
642
1095
|
# The blockchain transaction hash of the crypto payment.
|
643
1096
|
attr_reader :transaction_hash
|
1097
|
+
|
1098
|
+
def self.inner_class_types
|
1099
|
+
@inner_class_types = {}
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
def self.field_remappings
|
1103
|
+
@field_remappings = {}
|
1104
|
+
end
|
644
1105
|
end
|
645
1106
|
|
646
|
-
class CustomerBalance < Stripe::StripeObject
|
1107
|
+
class CustomerBalance < Stripe::StripeObject
|
1108
|
+
def self.inner_class_types
|
1109
|
+
@inner_class_types = {}
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
def self.field_remappings
|
1113
|
+
@field_remappings = {}
|
1114
|
+
end
|
1115
|
+
end
|
647
1116
|
|
648
1117
|
class Eps < Stripe::StripeObject
|
649
1118
|
# The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
|
@@ -652,6 +1121,14 @@ module Stripe
|
|
652
1121
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
653
1122
|
# EPS rarely provides this information so the attribute is usually empty.
|
654
1123
|
attr_reader :verified_name
|
1124
|
+
|
1125
|
+
def self.inner_class_types
|
1126
|
+
@inner_class_types = {}
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
def self.field_remappings
|
1130
|
+
@field_remappings = {}
|
1131
|
+
end
|
655
1132
|
end
|
656
1133
|
|
657
1134
|
class Fpx < Stripe::StripeObject
|
@@ -661,6 +1138,14 @@ module Stripe
|
|
661
1138
|
attr_reader :bank
|
662
1139
|
# Unique transaction id generated by FPX for every request from the merchant
|
663
1140
|
attr_reader :transaction_id
|
1141
|
+
|
1142
|
+
def self.inner_class_types
|
1143
|
+
@inner_class_types = {}
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
def self.field_remappings
|
1147
|
+
@field_remappings = {}
|
1148
|
+
end
|
664
1149
|
end
|
665
1150
|
|
666
1151
|
class Giropay < Stripe::StripeObject
|
@@ -674,13 +1159,37 @@ module Stripe
|
|
674
1159
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
675
1160
|
# Giropay rarely provides this information so the attribute is usually empty.
|
676
1161
|
attr_reader :verified_name
|
1162
|
+
|
1163
|
+
def self.inner_class_types
|
1164
|
+
@inner_class_types = {}
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
def self.field_remappings
|
1168
|
+
@field_remappings = {}
|
1169
|
+
end
|
677
1170
|
end
|
678
1171
|
|
679
|
-
class Gopay < Stripe::StripeObject
|
1172
|
+
class Gopay < Stripe::StripeObject
|
1173
|
+
def self.inner_class_types
|
1174
|
+
@inner_class_types = {}
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
def self.field_remappings
|
1178
|
+
@field_remappings = {}
|
1179
|
+
end
|
1180
|
+
end
|
680
1181
|
|
681
1182
|
class Grabpay < Stripe::StripeObject
|
682
1183
|
# Unique transaction id generated by GrabPay
|
683
1184
|
attr_reader :transaction_id
|
1185
|
+
|
1186
|
+
def self.inner_class_types
|
1187
|
+
@inner_class_types = {}
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
def self.field_remappings
|
1191
|
+
@field_remappings = {}
|
1192
|
+
end
|
684
1193
|
end
|
685
1194
|
|
686
1195
|
class IdBankTransfer < Stripe::StripeObject
|
@@ -694,6 +1203,14 @@ module Stripe
|
|
694
1203
|
attr_reader :bank_name
|
695
1204
|
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
696
1205
|
attr_reader :display_name
|
1206
|
+
|
1207
|
+
def self.inner_class_types
|
1208
|
+
@inner_class_types = {}
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
def self.field_remappings
|
1212
|
+
@field_remappings = {}
|
1213
|
+
end
|
697
1214
|
end
|
698
1215
|
|
699
1216
|
class Ideal < Stripe::StripeObject
|
@@ -710,6 +1227,14 @@ module Stripe
|
|
710
1227
|
# Owner's verified full name. Values are verified or provided by iDEAL directly
|
711
1228
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
712
1229
|
attr_reader :verified_name
|
1230
|
+
|
1231
|
+
def self.inner_class_types
|
1232
|
+
@inner_class_types = {}
|
1233
|
+
end
|
1234
|
+
|
1235
|
+
def self.field_remappings
|
1236
|
+
@field_remappings = {}
|
1237
|
+
end
|
713
1238
|
end
|
714
1239
|
|
715
1240
|
class InteracPresent < Stripe::StripeObject
|
@@ -732,6 +1257,14 @@ module Stripe
|
|
732
1257
|
attr_reader :terminal_verification_results
|
733
1258
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
734
1259
|
attr_reader :transaction_status_information
|
1260
|
+
|
1261
|
+
def self.inner_class_types
|
1262
|
+
@inner_class_types = {}
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
def self.field_remappings
|
1266
|
+
@field_remappings = {}
|
1267
|
+
end
|
735
1268
|
end
|
736
1269
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
737
1270
|
attr_reader :brand
|
@@ -771,6 +1304,14 @@ module Stripe
|
|
771
1304
|
attr_reader :read_method
|
772
1305
|
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
773
1306
|
attr_reader :receipt
|
1307
|
+
|
1308
|
+
def self.inner_class_types
|
1309
|
+
@inner_class_types = { receipt: Receipt }
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
def self.field_remappings
|
1313
|
+
@field_remappings = {}
|
1314
|
+
end
|
774
1315
|
end
|
775
1316
|
|
776
1317
|
class KakaoPay < Stripe::StripeObject
|
@@ -778,6 +1319,14 @@ module Stripe
|
|
778
1319
|
attr_reader :buyer_id
|
779
1320
|
# The Kakao Pay transaction ID associated with this payment.
|
780
1321
|
attr_reader :transaction_id
|
1322
|
+
|
1323
|
+
def self.inner_class_types
|
1324
|
+
@inner_class_types = {}
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
def self.field_remappings
|
1328
|
+
@field_remappings = {}
|
1329
|
+
end
|
781
1330
|
end
|
782
1331
|
|
783
1332
|
class Klarna < Stripe::StripeObject
|
@@ -785,9 +1334,25 @@ module Stripe
|
|
785
1334
|
class Address < Stripe::StripeObject
|
786
1335
|
# The payer address country
|
787
1336
|
attr_reader :country
|
1337
|
+
|
1338
|
+
def self.inner_class_types
|
1339
|
+
@inner_class_types = {}
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
def self.field_remappings
|
1343
|
+
@field_remappings = {}
|
1344
|
+
end
|
788
1345
|
end
|
789
1346
|
# The payer's address
|
790
1347
|
attr_reader :address
|
1348
|
+
|
1349
|
+
def self.inner_class_types
|
1350
|
+
@inner_class_types = { address: Address }
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
def self.field_remappings
|
1354
|
+
@field_remappings = {}
|
1355
|
+
end
|
791
1356
|
end
|
792
1357
|
# The payer details for this transaction.
|
793
1358
|
attr_reader :payer_details
|
@@ -797,15 +1362,39 @@ module Stripe
|
|
797
1362
|
# Preferred language of the Klarna authorization page that the customer is redirected to.
|
798
1363
|
# Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`
|
799
1364
|
attr_reader :preferred_locale
|
1365
|
+
|
1366
|
+
def self.inner_class_types
|
1367
|
+
@inner_class_types = { payer_details: PayerDetails }
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
def self.field_remappings
|
1371
|
+
@field_remappings = {}
|
1372
|
+
end
|
800
1373
|
end
|
801
1374
|
|
802
1375
|
class Konbini < Stripe::StripeObject
|
803
1376
|
class Store < Stripe::StripeObject
|
804
1377
|
# The name of the convenience store chain where the payment was completed.
|
805
1378
|
attr_reader :chain
|
1379
|
+
|
1380
|
+
def self.inner_class_types
|
1381
|
+
@inner_class_types = {}
|
1382
|
+
end
|
1383
|
+
|
1384
|
+
def self.field_remappings
|
1385
|
+
@field_remappings = {}
|
1386
|
+
end
|
806
1387
|
end
|
807
1388
|
# If the payment succeeded, this contains the details of the convenience store where the payment was completed.
|
808
1389
|
attr_reader :store
|
1390
|
+
|
1391
|
+
def self.inner_class_types
|
1392
|
+
@inner_class_types = { store: Store }
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
def self.field_remappings
|
1396
|
+
@field_remappings = {}
|
1397
|
+
end
|
809
1398
|
end
|
810
1399
|
|
811
1400
|
class KrCard < Stripe::StripeObject
|
@@ -817,15 +1406,39 @@ module Stripe
|
|
817
1406
|
attr_reader :last4
|
818
1407
|
# The Korean Card transaction ID associated with this payment.
|
819
1408
|
attr_reader :transaction_id
|
1409
|
+
|
1410
|
+
def self.inner_class_types
|
1411
|
+
@inner_class_types = {}
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
def self.field_remappings
|
1415
|
+
@field_remappings = {}
|
1416
|
+
end
|
820
1417
|
end
|
821
1418
|
|
822
1419
|
class Link < Stripe::StripeObject
|
823
1420
|
# Two-letter ISO code representing the funding source country beneath the Link payment.
|
824
1421
|
# You could use this attribute to get a sense of international fees.
|
825
1422
|
attr_reader :country
|
1423
|
+
|
1424
|
+
def self.inner_class_types
|
1425
|
+
@inner_class_types = {}
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
def self.field_remappings
|
1429
|
+
@field_remappings = {}
|
1430
|
+
end
|
826
1431
|
end
|
827
1432
|
|
828
|
-
class MbWay < Stripe::StripeObject
|
1433
|
+
class MbWay < Stripe::StripeObject
|
1434
|
+
def self.inner_class_types
|
1435
|
+
@inner_class_types = {}
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
def self.field_remappings
|
1439
|
+
@field_remappings = {}
|
1440
|
+
end
|
1441
|
+
end
|
829
1442
|
|
830
1443
|
class Mobilepay < Stripe::StripeObject
|
831
1444
|
class Card < Stripe::StripeObject
|
@@ -839,9 +1452,25 @@ module Stripe
|
|
839
1452
|
attr_reader :exp_year
|
840
1453
|
# The last 4 digits of the card
|
841
1454
|
attr_reader :last4
|
1455
|
+
|
1456
|
+
def self.inner_class_types
|
1457
|
+
@inner_class_types = {}
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
def self.field_remappings
|
1461
|
+
@field_remappings = {}
|
1462
|
+
end
|
842
1463
|
end
|
843
1464
|
# Internal card details
|
844
1465
|
attr_reader :card
|
1466
|
+
|
1467
|
+
def self.inner_class_types
|
1468
|
+
@inner_class_types = { card: Card }
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
def self.field_remappings
|
1472
|
+
@field_remappings = {}
|
1473
|
+
end
|
845
1474
|
end
|
846
1475
|
|
847
1476
|
class Multibanco < Stripe::StripeObject
|
@@ -849,6 +1478,14 @@ module Stripe
|
|
849
1478
|
attr_reader :entity
|
850
1479
|
# Reference number associated with this Multibanco payment.
|
851
1480
|
attr_reader :reference
|
1481
|
+
|
1482
|
+
def self.inner_class_types
|
1483
|
+
@inner_class_types = {}
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
def self.field_remappings
|
1487
|
+
@field_remappings = {}
|
1488
|
+
end
|
852
1489
|
end
|
853
1490
|
|
854
1491
|
class NaverPay < Stripe::StripeObject
|
@@ -856,6 +1493,14 @@ module Stripe
|
|
856
1493
|
attr_reader :buyer_id
|
857
1494
|
# The Naver Pay transaction ID associated with this payment.
|
858
1495
|
attr_reader :transaction_id
|
1496
|
+
|
1497
|
+
def self.inner_class_types
|
1498
|
+
@inner_class_types = {}
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
def self.field_remappings
|
1502
|
+
@field_remappings = {}
|
1503
|
+
end
|
859
1504
|
end
|
860
1505
|
|
861
1506
|
class NzBankAccount < Stripe::StripeObject
|
@@ -871,11 +1516,27 @@ module Stripe
|
|
871
1516
|
attr_reader :last4
|
872
1517
|
# The suffix of the bank account number.
|
873
1518
|
attr_reader :suffix
|
1519
|
+
|
1520
|
+
def self.inner_class_types
|
1521
|
+
@inner_class_types = {}
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
def self.field_remappings
|
1525
|
+
@field_remappings = {}
|
1526
|
+
end
|
874
1527
|
end
|
875
1528
|
|
876
1529
|
class Oxxo < Stripe::StripeObject
|
877
1530
|
# OXXO reference number
|
878
1531
|
attr_reader :number
|
1532
|
+
|
1533
|
+
def self.inner_class_types
|
1534
|
+
@inner_class_types = {}
|
1535
|
+
end
|
1536
|
+
|
1537
|
+
def self.field_remappings
|
1538
|
+
@field_remappings = {}
|
1539
|
+
end
|
879
1540
|
end
|
880
1541
|
|
881
1542
|
class P24 < Stripe::StripeObject
|
@@ -887,20 +1548,52 @@ module Stripe
|
|
887
1548
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
888
1549
|
# Przelewy24 rarely provides this information so the attribute is usually empty.
|
889
1550
|
attr_reader :verified_name
|
1551
|
+
|
1552
|
+
def self.inner_class_types
|
1553
|
+
@inner_class_types = {}
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
def self.field_remappings
|
1557
|
+
@field_remappings = {}
|
1558
|
+
end
|
890
1559
|
end
|
891
1560
|
|
892
|
-
class PayByBank < Stripe::StripeObject
|
1561
|
+
class PayByBank < Stripe::StripeObject
|
1562
|
+
def self.inner_class_types
|
1563
|
+
@inner_class_types = {}
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
def self.field_remappings
|
1567
|
+
@field_remappings = {}
|
1568
|
+
end
|
1569
|
+
end
|
893
1570
|
|
894
1571
|
class Payco < Stripe::StripeObject
|
895
1572
|
# A unique identifier for the buyer as determined by the local payment processor.
|
896
1573
|
attr_reader :buyer_id
|
897
1574
|
# The Payco transaction ID associated with this payment.
|
898
1575
|
attr_reader :transaction_id
|
1576
|
+
|
1577
|
+
def self.inner_class_types
|
1578
|
+
@inner_class_types = {}
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
def self.field_remappings
|
1582
|
+
@field_remappings = {}
|
1583
|
+
end
|
899
1584
|
end
|
900
1585
|
|
901
1586
|
class Paynow < Stripe::StripeObject
|
902
1587
|
# Reference number associated with this PayNow payment
|
903
1588
|
attr_reader :reference
|
1589
|
+
|
1590
|
+
def self.inner_class_types
|
1591
|
+
@inner_class_types = {}
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
def self.field_remappings
|
1595
|
+
@field_remappings = {}
|
1596
|
+
end
|
904
1597
|
end
|
905
1598
|
|
906
1599
|
class Paypal < Stripe::StripeObject
|
@@ -909,6 +1602,14 @@ module Stripe
|
|
909
1602
|
attr_reader :dispute_categories
|
910
1603
|
# Indicates whether the transaction is eligible for PayPal's seller protection.
|
911
1604
|
attr_reader :status
|
1605
|
+
|
1606
|
+
def self.inner_class_types
|
1607
|
+
@inner_class_types = {}
|
1608
|
+
end
|
1609
|
+
|
1610
|
+
def self.field_remappings
|
1611
|
+
@field_remappings = {}
|
1612
|
+
end
|
912
1613
|
end
|
913
1614
|
|
914
1615
|
class Shipping < Stripe::StripeObject
|
@@ -924,6 +1625,14 @@ module Stripe
|
|
924
1625
|
attr_reader :postal_code
|
925
1626
|
# State, county, province, or region.
|
926
1627
|
attr_reader :state
|
1628
|
+
|
1629
|
+
def self.inner_class_types
|
1630
|
+
@inner_class_types = {}
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
def self.field_remappings
|
1634
|
+
@field_remappings = {}
|
1635
|
+
end
|
927
1636
|
end
|
928
1637
|
|
929
1638
|
class VerifiedAddress < Stripe::StripeObject
|
@@ -939,6 +1648,14 @@ module Stripe
|
|
939
1648
|
attr_reader :postal_code
|
940
1649
|
# State, county, province, or region.
|
941
1650
|
attr_reader :state
|
1651
|
+
|
1652
|
+
def self.inner_class_types
|
1653
|
+
@inner_class_types = {}
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
def self.field_remappings
|
1657
|
+
@field_remappings = {}
|
1658
|
+
end
|
942
1659
|
end
|
943
1660
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
944
1661
|
attr_reader :country
|
@@ -968,6 +1685,18 @@ module Stripe
|
|
968
1685
|
# Owner's verified full name. Values are verified or provided by PayPal directly
|
969
1686
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
970
1687
|
attr_reader :verified_name
|
1688
|
+
|
1689
|
+
def self.inner_class_types
|
1690
|
+
@inner_class_types = {
|
1691
|
+
seller_protection: SellerProtection,
|
1692
|
+
shipping: Shipping,
|
1693
|
+
verified_address: VerifiedAddress,
|
1694
|
+
}
|
1695
|
+
end
|
1696
|
+
|
1697
|
+
def self.field_remappings
|
1698
|
+
@field_remappings = {}
|
1699
|
+
end
|
971
1700
|
end
|
972
1701
|
|
973
1702
|
class Payto < Stripe::StripeObject
|
@@ -979,6 +1708,14 @@ module Stripe
|
|
979
1708
|
attr_reader :mandate
|
980
1709
|
# The PayID alias for the bank account.
|
981
1710
|
attr_reader :pay_id
|
1711
|
+
|
1712
|
+
def self.inner_class_types
|
1713
|
+
@inner_class_types = {}
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
def self.field_remappings
|
1717
|
+
@field_remappings = {}
|
1718
|
+
end
|
982
1719
|
end
|
983
1720
|
|
984
1721
|
class Pix < Stripe::StripeObject
|
@@ -986,15 +1723,48 @@ module Stripe
|
|
986
1723
|
attr_reader :bank_transaction_id
|
987
1724
|
# ID of the multi use Mandate generated by the PaymentIntent
|
988
1725
|
attr_reader :mandate
|
1726
|
+
|
1727
|
+
def self.inner_class_types
|
1728
|
+
@inner_class_types = {}
|
1729
|
+
end
|
1730
|
+
|
1731
|
+
def self.field_remappings
|
1732
|
+
@field_remappings = {}
|
1733
|
+
end
|
989
1734
|
end
|
990
1735
|
|
991
1736
|
class Promptpay < Stripe::StripeObject
|
992
1737
|
# Bill reference generated by PromptPay
|
993
1738
|
attr_reader :reference
|
1739
|
+
|
1740
|
+
def self.inner_class_types
|
1741
|
+
@inner_class_types = {}
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
def self.field_remappings
|
1745
|
+
@field_remappings = {}
|
1746
|
+
end
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
class Qris < Stripe::StripeObject
|
1750
|
+
def self.inner_class_types
|
1751
|
+
@inner_class_types = {}
|
1752
|
+
end
|
1753
|
+
|
1754
|
+
def self.field_remappings
|
1755
|
+
@field_remappings = {}
|
1756
|
+
end
|
994
1757
|
end
|
995
1758
|
|
996
|
-
class
|
997
|
-
|
1759
|
+
class Rechnung < Stripe::StripeObject
|
1760
|
+
def self.inner_class_types
|
1761
|
+
@inner_class_types = {}
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
def self.field_remappings
|
1765
|
+
@field_remappings = {}
|
1766
|
+
end
|
1767
|
+
end
|
998
1768
|
|
999
1769
|
class RevolutPay < Stripe::StripeObject
|
1000
1770
|
class Funding < Stripe::StripeObject
|
@@ -1013,16 +1783,40 @@ module Stripe
|
|
1013
1783
|
attr_reader :funding
|
1014
1784
|
# The last four digits of the card.
|
1015
1785
|
attr_reader :last4
|
1786
|
+
|
1787
|
+
def self.inner_class_types
|
1788
|
+
@inner_class_types = {}
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
def self.field_remappings
|
1792
|
+
@field_remappings = {}
|
1793
|
+
end
|
1016
1794
|
end
|
1017
1795
|
# Attribute for field card
|
1018
1796
|
attr_reader :card
|
1019
1797
|
# funding type of the underlying payment method.
|
1020
1798
|
attr_reader :type
|
1799
|
+
|
1800
|
+
def self.inner_class_types
|
1801
|
+
@inner_class_types = { card: Card }
|
1802
|
+
end
|
1803
|
+
|
1804
|
+
def self.field_remappings
|
1805
|
+
@field_remappings = {}
|
1806
|
+
end
|
1021
1807
|
end
|
1022
1808
|
# Attribute for field funding
|
1023
1809
|
attr_reader :funding
|
1024
1810
|
# The Revolut Pay transaction ID associated with this payment.
|
1025
1811
|
attr_reader :transaction_id
|
1812
|
+
|
1813
|
+
def self.inner_class_types
|
1814
|
+
@inner_class_types = { funding: Funding }
|
1815
|
+
end
|
1816
|
+
|
1817
|
+
def self.field_remappings
|
1818
|
+
@field_remappings = {}
|
1819
|
+
end
|
1026
1820
|
end
|
1027
1821
|
|
1028
1822
|
class SamsungPay < Stripe::StripeObject
|
@@ -1030,11 +1824,27 @@ module Stripe
|
|
1030
1824
|
attr_reader :buyer_id
|
1031
1825
|
# The Samsung Pay transaction ID associated with this payment.
|
1032
1826
|
attr_reader :transaction_id
|
1827
|
+
|
1828
|
+
def self.inner_class_types
|
1829
|
+
@inner_class_types = {}
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
def self.field_remappings
|
1833
|
+
@field_remappings = {}
|
1834
|
+
end
|
1033
1835
|
end
|
1034
1836
|
|
1035
1837
|
class Satispay < Stripe::StripeObject
|
1036
1838
|
# The Satispay transaction ID associated with this payment.
|
1037
1839
|
attr_reader :transaction_id
|
1840
|
+
|
1841
|
+
def self.inner_class_types
|
1842
|
+
@inner_class_types = {}
|
1843
|
+
end
|
1844
|
+
|
1845
|
+
def self.field_remappings
|
1846
|
+
@field_remappings = {}
|
1847
|
+
end
|
1038
1848
|
end
|
1039
1849
|
|
1040
1850
|
class SepaCreditTransfer < Stripe::StripeObject
|
@@ -1044,6 +1854,14 @@ module Stripe
|
|
1044
1854
|
attr_reader :bic
|
1045
1855
|
# IBAN of the bank account to transfer funds to.
|
1046
1856
|
attr_reader :iban
|
1857
|
+
|
1858
|
+
def self.inner_class_types
|
1859
|
+
@inner_class_types = {}
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
def self.field_remappings
|
1863
|
+
@field_remappings = {}
|
1864
|
+
end
|
1047
1865
|
end
|
1048
1866
|
|
1049
1867
|
class SepaDebit < Stripe::StripeObject
|
@@ -1059,9 +1877,25 @@ module Stripe
|
|
1059
1877
|
attr_reader :last4
|
1060
1878
|
# Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://stripe.com/docs/api/mandates/retrieve).
|
1061
1879
|
attr_reader :mandate
|
1880
|
+
|
1881
|
+
def self.inner_class_types
|
1882
|
+
@inner_class_types = {}
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
def self.field_remappings
|
1886
|
+
@field_remappings = {}
|
1887
|
+
end
|
1062
1888
|
end
|
1063
1889
|
|
1064
|
-
class Shopeepay < Stripe::StripeObject
|
1890
|
+
class Shopeepay < Stripe::StripeObject
|
1891
|
+
def self.inner_class_types
|
1892
|
+
@inner_class_types = {}
|
1893
|
+
end
|
1894
|
+
|
1895
|
+
def self.field_remappings
|
1896
|
+
@field_remappings = {}
|
1897
|
+
end
|
1898
|
+
end
|
1065
1899
|
|
1066
1900
|
class Sofort < Stripe::StripeObject
|
1067
1901
|
# Bank code of bank associated with the bank account.
|
@@ -1084,15 +1918,39 @@ module Stripe
|
|
1084
1918
|
# Owner's verified full name. Values are verified or provided by SOFORT directly
|
1085
1919
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1086
1920
|
attr_reader :verified_name
|
1921
|
+
|
1922
|
+
def self.inner_class_types
|
1923
|
+
@inner_class_types = {}
|
1924
|
+
end
|
1925
|
+
|
1926
|
+
def self.field_remappings
|
1927
|
+
@field_remappings = {}
|
1928
|
+
end
|
1087
1929
|
end
|
1088
1930
|
|
1089
|
-
class StripeAccount < Stripe::StripeObject
|
1931
|
+
class StripeAccount < Stripe::StripeObject
|
1932
|
+
def self.inner_class_types
|
1933
|
+
@inner_class_types = {}
|
1934
|
+
end
|
1935
|
+
|
1936
|
+
def self.field_remappings
|
1937
|
+
@field_remappings = {}
|
1938
|
+
end
|
1939
|
+
end
|
1090
1940
|
|
1091
1941
|
class StripeBalance < Stripe::StripeObject
|
1092
1942
|
# The connected account ID whose Stripe balance to use as the source of payment
|
1093
1943
|
attr_reader :account
|
1094
1944
|
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1095
1945
|
attr_reader :source_type
|
1946
|
+
|
1947
|
+
def self.inner_class_types
|
1948
|
+
@inner_class_types = {}
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
def self.field_remappings
|
1952
|
+
@field_remappings = {}
|
1953
|
+
end
|
1096
1954
|
end
|
1097
1955
|
|
1098
1956
|
class Swish < Stripe::StripeObject
|
@@ -1102,9 +1960,25 @@ module Stripe
|
|
1102
1960
|
attr_reader :payment_reference
|
1103
1961
|
# The last four digits of the Swish account phone number
|
1104
1962
|
attr_reader :verified_phone_last4
|
1963
|
+
|
1964
|
+
def self.inner_class_types
|
1965
|
+
@inner_class_types = {}
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
def self.field_remappings
|
1969
|
+
@field_remappings = {}
|
1970
|
+
end
|
1105
1971
|
end
|
1106
1972
|
|
1107
|
-
class Twint < Stripe::StripeObject
|
1973
|
+
class Twint < Stripe::StripeObject
|
1974
|
+
def self.inner_class_types
|
1975
|
+
@inner_class_types = {}
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
def self.field_remappings
|
1979
|
+
@field_remappings = {}
|
1980
|
+
end
|
1981
|
+
end
|
1108
1982
|
|
1109
1983
|
class UsBankAccount < Stripe::StripeObject
|
1110
1984
|
# Account holder type: individual or company.
|
@@ -1123,9 +1997,25 @@ module Stripe
|
|
1123
1997
|
attr_reader :payment_reference
|
1124
1998
|
# Routing number of the bank account.
|
1125
1999
|
attr_reader :routing_number
|
2000
|
+
|
2001
|
+
def self.inner_class_types
|
2002
|
+
@inner_class_types = {}
|
2003
|
+
end
|
2004
|
+
|
2005
|
+
def self.field_remappings
|
2006
|
+
@field_remappings = {}
|
2007
|
+
end
|
1126
2008
|
end
|
1127
2009
|
|
1128
|
-
class Wechat < Stripe::StripeObject
|
2010
|
+
class Wechat < Stripe::StripeObject
|
2011
|
+
def self.inner_class_types
|
2012
|
+
@inner_class_types = {}
|
2013
|
+
end
|
2014
|
+
|
2015
|
+
def self.field_remappings
|
2016
|
+
@field_remappings = {}
|
2017
|
+
end
|
2018
|
+
end
|
1129
2019
|
|
1130
2020
|
class WechatPay < Stripe::StripeObject
|
1131
2021
|
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
@@ -1136,9 +2026,25 @@ module Stripe
|
|
1136
2026
|
attr_reader :reader
|
1137
2027
|
# Transaction ID of this particular WeChat Pay transaction.
|
1138
2028
|
attr_reader :transaction_id
|
2029
|
+
|
2030
|
+
def self.inner_class_types
|
2031
|
+
@inner_class_types = {}
|
2032
|
+
end
|
2033
|
+
|
2034
|
+
def self.field_remappings
|
2035
|
+
@field_remappings = {}
|
2036
|
+
end
|
1139
2037
|
end
|
1140
2038
|
|
1141
|
-
class Zip < Stripe::StripeObject
|
2039
|
+
class Zip < Stripe::StripeObject
|
2040
|
+
def self.inner_class_types
|
2041
|
+
@inner_class_types = {}
|
2042
|
+
end
|
2043
|
+
|
2044
|
+
def self.field_remappings
|
2045
|
+
@field_remappings = {}
|
2046
|
+
end
|
2047
|
+
end
|
1142
2048
|
# Attribute for field ach_credit_transfer
|
1143
2049
|
attr_reader :ach_credit_transfer
|
1144
2050
|
# Attribute for field ach_debit
|
@@ -1269,6 +2175,78 @@ module Stripe
|
|
1269
2175
|
attr_reader :wechat_pay
|
1270
2176
|
# Attribute for field zip
|
1271
2177
|
attr_reader :zip
|
2178
|
+
|
2179
|
+
def self.inner_class_types
|
2180
|
+
@inner_class_types = {
|
2181
|
+
ach_credit_transfer: AchCreditTransfer,
|
2182
|
+
ach_debit: AchDebit,
|
2183
|
+
acss_debit: AcssDebit,
|
2184
|
+
affirm: Affirm,
|
2185
|
+
afterpay_clearpay: AfterpayClearpay,
|
2186
|
+
alipay: Alipay,
|
2187
|
+
alma: Alma,
|
2188
|
+
amazon_pay: AmazonPay,
|
2189
|
+
au_becs_debit: AuBecsDebit,
|
2190
|
+
bacs_debit: BacsDebit,
|
2191
|
+
bancontact: Bancontact,
|
2192
|
+
billie: Billie,
|
2193
|
+
blik: Blik,
|
2194
|
+
boleto: Boleto,
|
2195
|
+
card: Card,
|
2196
|
+
card_present: CardPresent,
|
2197
|
+
cashapp: Cashapp,
|
2198
|
+
crypto: Crypto,
|
2199
|
+
customer_balance: CustomerBalance,
|
2200
|
+
eps: Eps,
|
2201
|
+
fpx: Fpx,
|
2202
|
+
giropay: Giropay,
|
2203
|
+
gopay: Gopay,
|
2204
|
+
grabpay: Grabpay,
|
2205
|
+
id_bank_transfer: IdBankTransfer,
|
2206
|
+
ideal: Ideal,
|
2207
|
+
interac_present: InteracPresent,
|
2208
|
+
kakao_pay: KakaoPay,
|
2209
|
+
klarna: Klarna,
|
2210
|
+
konbini: Konbini,
|
2211
|
+
kr_card: KrCard,
|
2212
|
+
link: Link,
|
2213
|
+
mb_way: MbWay,
|
2214
|
+
mobilepay: Mobilepay,
|
2215
|
+
multibanco: Multibanco,
|
2216
|
+
naver_pay: NaverPay,
|
2217
|
+
nz_bank_account: NzBankAccount,
|
2218
|
+
oxxo: Oxxo,
|
2219
|
+
p24: P24,
|
2220
|
+
pay_by_bank: PayByBank,
|
2221
|
+
payco: Payco,
|
2222
|
+
paynow: Paynow,
|
2223
|
+
paypal: Paypal,
|
2224
|
+
payto: Payto,
|
2225
|
+
pix: Pix,
|
2226
|
+
promptpay: Promptpay,
|
2227
|
+
qris: Qris,
|
2228
|
+
rechnung: Rechnung,
|
2229
|
+
revolut_pay: RevolutPay,
|
2230
|
+
samsung_pay: SamsungPay,
|
2231
|
+
satispay: Satispay,
|
2232
|
+
sepa_credit_transfer: SepaCreditTransfer,
|
2233
|
+
sepa_debit: SepaDebit,
|
2234
|
+
shopeepay: Shopeepay,
|
2235
|
+
sofort: Sofort,
|
2236
|
+
stripe_account: StripeAccount,
|
2237
|
+
stripe_balance: StripeBalance,
|
2238
|
+
swish: Swish,
|
2239
|
+
twint: Twint,
|
2240
|
+
us_bank_account: UsBankAccount,
|
2241
|
+
wechat: Wechat,
|
2242
|
+
wechat_pay: WechatPay,
|
2243
|
+
zip: Zip,
|
2244
|
+
}
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
def self.field_remappings
|
2248
|
+
@field_remappings = {}
|
2249
|
+
end
|
1272
2250
|
end
|
1273
2251
|
|
1274
2252
|
class PresentmentDetails < Stripe::StripeObject
|
@@ -1276,11 +2254,27 @@ module Stripe
|
|
1276
2254
|
attr_reader :presentment_amount
|
1277
2255
|
# Currency presented to the customer during payment.
|
1278
2256
|
attr_reader :presentment_currency
|
2257
|
+
|
2258
|
+
def self.inner_class_types
|
2259
|
+
@inner_class_types = {}
|
2260
|
+
end
|
2261
|
+
|
2262
|
+
def self.field_remappings
|
2263
|
+
@field_remappings = {}
|
2264
|
+
end
|
1279
2265
|
end
|
1280
2266
|
|
1281
2267
|
class RadarOptions < Stripe::StripeObject
|
1282
2268
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
1283
2269
|
attr_reader :session
|
2270
|
+
|
2271
|
+
def self.inner_class_types
|
2272
|
+
@inner_class_types = {}
|
2273
|
+
end
|
2274
|
+
|
2275
|
+
def self.field_remappings
|
2276
|
+
@field_remappings = {}
|
2277
|
+
end
|
1284
2278
|
end
|
1285
2279
|
|
1286
2280
|
class Shipping < Stripe::StripeObject
|
@@ -1297,6 +2291,14 @@ module Stripe
|
|
1297
2291
|
attr_reader :postal_code
|
1298
2292
|
# State, county, province, or region.
|
1299
2293
|
attr_reader :state
|
2294
|
+
|
2295
|
+
def self.inner_class_types
|
2296
|
+
@inner_class_types = {}
|
2297
|
+
end
|
2298
|
+
|
2299
|
+
def self.field_remappings
|
2300
|
+
@field_remappings = {}
|
2301
|
+
end
|
1300
2302
|
end
|
1301
2303
|
# Attribute for field address
|
1302
2304
|
attr_reader :address
|
@@ -1308,6 +2310,14 @@ module Stripe
|
|
1308
2310
|
attr_reader :phone
|
1309
2311
|
# The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
|
1310
2312
|
attr_reader :tracking_number
|
2313
|
+
|
2314
|
+
def self.inner_class_types
|
2315
|
+
@inner_class_types = { address: Address }
|
2316
|
+
end
|
2317
|
+
|
2318
|
+
def self.field_remappings
|
2319
|
+
@field_remappings = {}
|
2320
|
+
end
|
1311
2321
|
end
|
1312
2322
|
|
1313
2323
|
class TransferData < Stripe::StripeObject
|
@@ -1315,6 +2325,14 @@ module Stripe
|
|
1315
2325
|
attr_reader :amount
|
1316
2326
|
# ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.
|
1317
2327
|
attr_reader :destination
|
2328
|
+
|
2329
|
+
def self.inner_class_types
|
2330
|
+
@inner_class_types = {}
|
2331
|
+
end
|
2332
|
+
|
2333
|
+
def self.field_remappings
|
2334
|
+
@field_remappings = {}
|
2335
|
+
end
|
1318
2336
|
end
|
1319
2337
|
|
1320
2338
|
class ListParams < Stripe::RequestParams
|
@@ -3283,5 +4301,23 @@ module Stripe
|
|
3283
4301
|
opts: opts
|
3284
4302
|
)
|
3285
4303
|
end
|
4304
|
+
|
4305
|
+
def self.inner_class_types
|
4306
|
+
@inner_class_types = {
|
4307
|
+
billing_details: BillingDetails,
|
4308
|
+
fraud_details: FraudDetails,
|
4309
|
+
level3: Level3,
|
4310
|
+
outcome: Outcome,
|
4311
|
+
payment_method_details: PaymentMethodDetails,
|
4312
|
+
presentment_details: PresentmentDetails,
|
4313
|
+
radar_options: RadarOptions,
|
4314
|
+
shipping: Shipping,
|
4315
|
+
transfer_data: TransferData,
|
4316
|
+
}
|
4317
|
+
end
|
4318
|
+
|
4319
|
+
def self.field_remappings
|
4320
|
+
@field_remappings = {}
|
4321
|
+
end
|
3286
4322
|
end
|
3287
4323
|
end
|