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
@@ -30,13 +30,65 @@ module Stripe
|
|
30
30
|
attr_reader :last4
|
31
31
|
# Transit number of the bank account.
|
32
32
|
attr_reader :transit_number
|
33
|
+
|
34
|
+
def self.inner_class_types
|
35
|
+
@inner_class_types = {}
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.field_remappings
|
39
|
+
@field_remappings = {}
|
40
|
+
end
|
33
41
|
end
|
34
42
|
|
35
|
-
class Affirm < Stripe::StripeObject
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
43
|
+
class Affirm < Stripe::StripeObject
|
44
|
+
def self.inner_class_types
|
45
|
+
@inner_class_types = {}
|
46
|
+
end
|
47
|
+
|
48
|
+
def self.field_remappings
|
49
|
+
@field_remappings = {}
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
class AfterpayClearpay < Stripe::StripeObject
|
54
|
+
def self.inner_class_types
|
55
|
+
@inner_class_types = {}
|
56
|
+
end
|
57
|
+
|
58
|
+
def self.field_remappings
|
59
|
+
@field_remappings = {}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class Alipay < Stripe::StripeObject
|
64
|
+
def self.inner_class_types
|
65
|
+
@inner_class_types = {}
|
66
|
+
end
|
67
|
+
|
68
|
+
def self.field_remappings
|
69
|
+
@field_remappings = {}
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
class Alma < Stripe::StripeObject
|
74
|
+
def self.inner_class_types
|
75
|
+
@inner_class_types = {}
|
76
|
+
end
|
77
|
+
|
78
|
+
def self.field_remappings
|
79
|
+
@field_remappings = {}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
class AmazonPay < Stripe::StripeObject
|
84
|
+
def self.inner_class_types
|
85
|
+
@inner_class_types = {}
|
86
|
+
end
|
87
|
+
|
88
|
+
def self.field_remappings
|
89
|
+
@field_remappings = {}
|
90
|
+
end
|
91
|
+
end
|
40
92
|
|
41
93
|
class AuBecsDebit < Stripe::StripeObject
|
42
94
|
# Six-digit number identifying bank and branch associated with this bank account.
|
@@ -45,6 +97,14 @@ module Stripe
|
|
45
97
|
attr_reader :fingerprint
|
46
98
|
# Last four digits of the bank account number.
|
47
99
|
attr_reader :last4
|
100
|
+
|
101
|
+
def self.inner_class_types
|
102
|
+
@inner_class_types = {}
|
103
|
+
end
|
104
|
+
|
105
|
+
def self.field_remappings
|
106
|
+
@field_remappings = {}
|
107
|
+
end
|
48
108
|
end
|
49
109
|
|
50
110
|
class BacsDebit < Stripe::StripeObject
|
@@ -54,10 +114,35 @@ module Stripe
|
|
54
114
|
attr_reader :last4
|
55
115
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
56
116
|
attr_reader :sort_code
|
117
|
+
|
118
|
+
def self.inner_class_types
|
119
|
+
@inner_class_types = {}
|
120
|
+
end
|
121
|
+
|
122
|
+
def self.field_remappings
|
123
|
+
@field_remappings = {}
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
class Bancontact < Stripe::StripeObject
|
128
|
+
def self.inner_class_types
|
129
|
+
@inner_class_types = {}
|
130
|
+
end
|
131
|
+
|
132
|
+
def self.field_remappings
|
133
|
+
@field_remappings = {}
|
134
|
+
end
|
57
135
|
end
|
58
136
|
|
59
|
-
class
|
60
|
-
|
137
|
+
class Billie < Stripe::StripeObject
|
138
|
+
def self.inner_class_types
|
139
|
+
@inner_class_types = {}
|
140
|
+
end
|
141
|
+
|
142
|
+
def self.field_remappings
|
143
|
+
@field_remappings = {}
|
144
|
+
end
|
145
|
+
end
|
61
146
|
|
62
147
|
class BillingDetails < Stripe::StripeObject
|
63
148
|
class Address < Stripe::StripeObject
|
@@ -73,6 +158,14 @@ module Stripe
|
|
73
158
|
attr_reader :postal_code
|
74
159
|
# State, county, province, or region.
|
75
160
|
attr_reader :state
|
161
|
+
|
162
|
+
def self.inner_class_types
|
163
|
+
@inner_class_types = {}
|
164
|
+
end
|
165
|
+
|
166
|
+
def self.field_remappings
|
167
|
+
@field_remappings = {}
|
168
|
+
end
|
76
169
|
end
|
77
170
|
# Billing address.
|
78
171
|
attr_reader :address
|
@@ -84,13 +177,37 @@ module Stripe
|
|
84
177
|
attr_reader :phone
|
85
178
|
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
86
179
|
attr_reader :tax_id
|
180
|
+
|
181
|
+
def self.inner_class_types
|
182
|
+
@inner_class_types = { address: Address }
|
183
|
+
end
|
184
|
+
|
185
|
+
def self.field_remappings
|
186
|
+
@field_remappings = {}
|
187
|
+
end
|
87
188
|
end
|
88
189
|
|
89
|
-
class Blik < Stripe::StripeObject
|
190
|
+
class Blik < Stripe::StripeObject
|
191
|
+
def self.inner_class_types
|
192
|
+
@inner_class_types = {}
|
193
|
+
end
|
194
|
+
|
195
|
+
def self.field_remappings
|
196
|
+
@field_remappings = {}
|
197
|
+
end
|
198
|
+
end
|
90
199
|
|
91
200
|
class Boleto < Stripe::StripeObject
|
92
201
|
# Uniquely identifies the customer tax id (CNPJ or CPF)
|
93
202
|
attr_reader :tax_id
|
203
|
+
|
204
|
+
def self.inner_class_types
|
205
|
+
@inner_class_types = {}
|
206
|
+
end
|
207
|
+
|
208
|
+
def self.field_remappings
|
209
|
+
@field_remappings = {}
|
210
|
+
end
|
94
211
|
end
|
95
212
|
|
96
213
|
class Card < Stripe::StripeObject
|
@@ -101,6 +218,14 @@ module Stripe
|
|
101
218
|
attr_reader :address_postal_code_check
|
102
219
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
103
220
|
attr_reader :cvc_check
|
221
|
+
|
222
|
+
def self.inner_class_types
|
223
|
+
@inner_class_types = {}
|
224
|
+
end
|
225
|
+
|
226
|
+
def self.field_remappings
|
227
|
+
@field_remappings = {}
|
228
|
+
end
|
104
229
|
end
|
105
230
|
|
106
231
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -111,6 +236,14 @@ module Stripe
|
|
111
236
|
attr_reader :stored_at
|
112
237
|
# The method used to process this payment method offline. Only deferred is allowed.
|
113
238
|
attr_reader :type
|
239
|
+
|
240
|
+
def self.inner_class_types
|
241
|
+
@inner_class_types = {}
|
242
|
+
end
|
243
|
+
|
244
|
+
def self.field_remappings
|
245
|
+
@field_remappings = {}
|
246
|
+
end
|
114
247
|
end
|
115
248
|
|
116
249
|
class Receipt < Stripe::StripeObject
|
@@ -132,11 +265,27 @@ module Stripe
|
|
132
265
|
attr_reader :terminal_verification_results
|
133
266
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
134
267
|
attr_reader :transaction_status_information
|
268
|
+
|
269
|
+
def self.inner_class_types
|
270
|
+
@inner_class_types = {}
|
271
|
+
end
|
272
|
+
|
273
|
+
def self.field_remappings
|
274
|
+
@field_remappings = {}
|
275
|
+
end
|
135
276
|
end
|
136
277
|
|
137
278
|
class Wallet < Stripe::StripeObject
|
138
279
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
139
280
|
attr_reader :type
|
281
|
+
|
282
|
+
def self.inner_class_types
|
283
|
+
@inner_class_types = {}
|
284
|
+
end
|
285
|
+
|
286
|
+
def self.field_remappings
|
287
|
+
@field_remappings = {}
|
288
|
+
end
|
140
289
|
end
|
141
290
|
# The authorized amount
|
142
291
|
attr_reader :amount_authorized
|
@@ -190,11 +339,27 @@ module Stripe
|
|
190
339
|
attr_reader :receipt
|
191
340
|
# Attribute for field wallet
|
192
341
|
attr_reader :wallet
|
342
|
+
|
343
|
+
def self.inner_class_types
|
344
|
+
@inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
|
345
|
+
end
|
346
|
+
|
347
|
+
def self.field_remappings
|
348
|
+
@field_remappings = {}
|
349
|
+
end
|
193
350
|
end
|
194
351
|
# Attribute for field card_present
|
195
352
|
attr_reader :card_present
|
196
353
|
# The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.
|
197
354
|
attr_reader :type
|
355
|
+
|
356
|
+
def self.inner_class_types
|
357
|
+
@inner_class_types = { card_present: CardPresent }
|
358
|
+
end
|
359
|
+
|
360
|
+
def self.field_remappings
|
361
|
+
@field_remappings = {}
|
362
|
+
end
|
198
363
|
end
|
199
364
|
# The charge that created this object.
|
200
365
|
attr_reader :charge
|
@@ -202,6 +367,14 @@ module Stripe
|
|
202
367
|
attr_reader :payment_method_details
|
203
368
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
204
369
|
attr_reader :setup_attempt
|
370
|
+
|
371
|
+
def self.inner_class_types
|
372
|
+
@inner_class_types = { payment_method_details: PaymentMethodDetails }
|
373
|
+
end
|
374
|
+
|
375
|
+
def self.field_remappings
|
376
|
+
@field_remappings = {}
|
377
|
+
end
|
205
378
|
end
|
206
379
|
|
207
380
|
class Networks < Stripe::StripeObject
|
@@ -209,18 +382,69 @@ module Stripe
|
|
209
382
|
attr_reader :available
|
210
383
|
# The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.
|
211
384
|
attr_reader :preferred
|
385
|
+
|
386
|
+
def self.inner_class_types
|
387
|
+
@inner_class_types = {}
|
388
|
+
end
|
389
|
+
|
390
|
+
def self.field_remappings
|
391
|
+
@field_remappings = {}
|
392
|
+
end
|
212
393
|
end
|
213
394
|
|
214
395
|
class ThreeDSecureUsage < Stripe::StripeObject
|
215
396
|
# Whether 3D Secure is supported on this card.
|
216
397
|
attr_reader :supported
|
398
|
+
|
399
|
+
def self.inner_class_types
|
400
|
+
@inner_class_types = {}
|
401
|
+
end
|
402
|
+
|
403
|
+
def self.field_remappings
|
404
|
+
@field_remappings = {}
|
405
|
+
end
|
217
406
|
end
|
218
407
|
|
219
408
|
class Wallet < Stripe::StripeObject
|
220
|
-
class AmexExpressCheckout < Stripe::StripeObject
|
221
|
-
|
222
|
-
|
223
|
-
|
409
|
+
class AmexExpressCheckout < Stripe::StripeObject
|
410
|
+
def self.inner_class_types
|
411
|
+
@inner_class_types = {}
|
412
|
+
end
|
413
|
+
|
414
|
+
def self.field_remappings
|
415
|
+
@field_remappings = {}
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
class ApplePay < Stripe::StripeObject
|
420
|
+
def self.inner_class_types
|
421
|
+
@inner_class_types = {}
|
422
|
+
end
|
423
|
+
|
424
|
+
def self.field_remappings
|
425
|
+
@field_remappings = {}
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
class GooglePay < Stripe::StripeObject
|
430
|
+
def self.inner_class_types
|
431
|
+
@inner_class_types = {}
|
432
|
+
end
|
433
|
+
|
434
|
+
def self.field_remappings
|
435
|
+
@field_remappings = {}
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
class Link < Stripe::StripeObject
|
440
|
+
def self.inner_class_types
|
441
|
+
@inner_class_types = {}
|
442
|
+
end
|
443
|
+
|
444
|
+
def self.field_remappings
|
445
|
+
@field_remappings = {}
|
446
|
+
end
|
447
|
+
end
|
224
448
|
|
225
449
|
class Masterpass < Stripe::StripeObject
|
226
450
|
class BillingAddress < Stripe::StripeObject
|
@@ -236,6 +460,14 @@ module Stripe
|
|
236
460
|
attr_reader :postal_code
|
237
461
|
# State, county, province, or region.
|
238
462
|
attr_reader :state
|
463
|
+
|
464
|
+
def self.inner_class_types
|
465
|
+
@inner_class_types = {}
|
466
|
+
end
|
467
|
+
|
468
|
+
def self.field_remappings
|
469
|
+
@field_remappings = {}
|
470
|
+
end
|
239
471
|
end
|
240
472
|
|
241
473
|
class ShippingAddress < Stripe::StripeObject
|
@@ -251,6 +483,14 @@ module Stripe
|
|
251
483
|
attr_reader :postal_code
|
252
484
|
# State, county, province, or region.
|
253
485
|
attr_reader :state
|
486
|
+
|
487
|
+
def self.inner_class_types
|
488
|
+
@inner_class_types = {}
|
489
|
+
end
|
490
|
+
|
491
|
+
def self.field_remappings
|
492
|
+
@field_remappings = {}
|
493
|
+
end
|
254
494
|
end
|
255
495
|
# 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.
|
256
496
|
attr_reader :billing_address
|
@@ -260,9 +500,28 @@ module Stripe
|
|
260
500
|
attr_reader :name
|
261
501
|
# 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.
|
262
502
|
attr_reader :shipping_address
|
503
|
+
|
504
|
+
def self.inner_class_types
|
505
|
+
@inner_class_types = {
|
506
|
+
billing_address: BillingAddress,
|
507
|
+
shipping_address: ShippingAddress,
|
508
|
+
}
|
509
|
+
end
|
510
|
+
|
511
|
+
def self.field_remappings
|
512
|
+
@field_remappings = {}
|
513
|
+
end
|
263
514
|
end
|
264
515
|
|
265
|
-
class SamsungPay < Stripe::StripeObject
|
516
|
+
class SamsungPay < Stripe::StripeObject
|
517
|
+
def self.inner_class_types
|
518
|
+
@inner_class_types = {}
|
519
|
+
end
|
520
|
+
|
521
|
+
def self.field_remappings
|
522
|
+
@field_remappings = {}
|
523
|
+
end
|
524
|
+
end
|
266
525
|
|
267
526
|
class VisaCheckout < Stripe::StripeObject
|
268
527
|
class BillingAddress < Stripe::StripeObject
|
@@ -278,6 +537,14 @@ module Stripe
|
|
278
537
|
attr_reader :postal_code
|
279
538
|
# State, county, province, or region.
|
280
539
|
attr_reader :state
|
540
|
+
|
541
|
+
def self.inner_class_types
|
542
|
+
@inner_class_types = {}
|
543
|
+
end
|
544
|
+
|
545
|
+
def self.field_remappings
|
546
|
+
@field_remappings = {}
|
547
|
+
end
|
281
548
|
end
|
282
549
|
|
283
550
|
class ShippingAddress < Stripe::StripeObject
|
@@ -293,6 +560,14 @@ module Stripe
|
|
293
560
|
attr_reader :postal_code
|
294
561
|
# State, county, province, or region.
|
295
562
|
attr_reader :state
|
563
|
+
|
564
|
+
def self.inner_class_types
|
565
|
+
@inner_class_types = {}
|
566
|
+
end
|
567
|
+
|
568
|
+
def self.field_remappings
|
569
|
+
@field_remappings = {}
|
570
|
+
end
|
296
571
|
end
|
297
572
|
# 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.
|
298
573
|
attr_reader :billing_address
|
@@ -302,6 +577,17 @@ module Stripe
|
|
302
577
|
attr_reader :name
|
303
578
|
# 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.
|
304
579
|
attr_reader :shipping_address
|
580
|
+
|
581
|
+
def self.inner_class_types
|
582
|
+
@inner_class_types = {
|
583
|
+
billing_address: BillingAddress,
|
584
|
+
shipping_address: ShippingAddress,
|
585
|
+
}
|
586
|
+
end
|
587
|
+
|
588
|
+
def self.field_remappings
|
589
|
+
@field_remappings = {}
|
590
|
+
end
|
305
591
|
end
|
306
592
|
# Attribute for field amex_express_checkout
|
307
593
|
attr_reader :amex_express_checkout
|
@@ -321,6 +607,22 @@ module Stripe
|
|
321
607
|
attr_reader :type
|
322
608
|
# Attribute for field visa_checkout
|
323
609
|
attr_reader :visa_checkout
|
610
|
+
|
611
|
+
def self.inner_class_types
|
612
|
+
@inner_class_types = {
|
613
|
+
amex_express_checkout: AmexExpressCheckout,
|
614
|
+
apple_pay: ApplePay,
|
615
|
+
google_pay: GooglePay,
|
616
|
+
link: Link,
|
617
|
+
masterpass: Masterpass,
|
618
|
+
samsung_pay: SamsungPay,
|
619
|
+
visa_checkout: VisaCheckout,
|
620
|
+
}
|
621
|
+
end
|
622
|
+
|
623
|
+
def self.field_remappings
|
624
|
+
@field_remappings = {}
|
625
|
+
end
|
324
626
|
end
|
325
627
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
326
628
|
attr_reader :brand
|
@@ -358,6 +660,20 @@ module Stripe
|
|
358
660
|
attr_reader :three_d_secure_usage
|
359
661
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
360
662
|
attr_reader :wallet
|
663
|
+
|
664
|
+
def self.inner_class_types
|
665
|
+
@inner_class_types = {
|
666
|
+
checks: Checks,
|
667
|
+
generated_from: GeneratedFrom,
|
668
|
+
networks: Networks,
|
669
|
+
three_d_secure_usage: ThreeDSecureUsage,
|
670
|
+
wallet: Wallet,
|
671
|
+
}
|
672
|
+
end
|
673
|
+
|
674
|
+
def self.field_remappings
|
675
|
+
@field_remappings = {}
|
676
|
+
end
|
361
677
|
end
|
362
678
|
|
363
679
|
class CardPresent < Stripe::StripeObject
|
@@ -366,6 +682,14 @@ module Stripe
|
|
366
682
|
attr_reader :available
|
367
683
|
# The preferred network for the card.
|
368
684
|
attr_reader :preferred
|
685
|
+
|
686
|
+
def self.inner_class_types
|
687
|
+
@inner_class_types = {}
|
688
|
+
end
|
689
|
+
|
690
|
+
def self.field_remappings
|
691
|
+
@field_remappings = {}
|
692
|
+
end
|
369
693
|
end
|
370
694
|
|
371
695
|
class Offline < Stripe::StripeObject
|
@@ -373,11 +697,27 @@ module Stripe
|
|
373
697
|
attr_reader :stored_at
|
374
698
|
# The method used to process this payment method offline. Only deferred is allowed.
|
375
699
|
attr_reader :type
|
700
|
+
|
701
|
+
def self.inner_class_types
|
702
|
+
@inner_class_types = {}
|
703
|
+
end
|
704
|
+
|
705
|
+
def self.field_remappings
|
706
|
+
@field_remappings = {}
|
707
|
+
end
|
376
708
|
end
|
377
709
|
|
378
710
|
class Wallet < Stripe::StripeObject
|
379
711
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
380
712
|
attr_reader :type
|
713
|
+
|
714
|
+
def self.inner_class_types
|
715
|
+
@inner_class_types = {}
|
716
|
+
end
|
717
|
+
|
718
|
+
def self.field_remappings
|
719
|
+
@field_remappings = {}
|
720
|
+
end
|
381
721
|
end
|
382
722
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
383
723
|
attr_reader :brand
|
@@ -415,6 +755,14 @@ module Stripe
|
|
415
755
|
attr_reader :read_method
|
416
756
|
# Attribute for field wallet
|
417
757
|
attr_reader :wallet
|
758
|
+
|
759
|
+
def self.inner_class_types
|
760
|
+
@inner_class_types = { networks: Networks, offline: Offline, wallet: Wallet }
|
761
|
+
end
|
762
|
+
|
763
|
+
def self.field_remappings
|
764
|
+
@field_remappings = {}
|
765
|
+
end
|
418
766
|
end
|
419
767
|
|
420
768
|
class Cashapp < Stripe::StripeObject
|
@@ -422,14 +770,47 @@ module Stripe
|
|
422
770
|
attr_reader :buyer_id
|
423
771
|
# A public identifier for buyers using Cash App.
|
424
772
|
attr_reader :cashtag
|
773
|
+
|
774
|
+
def self.inner_class_types
|
775
|
+
@inner_class_types = {}
|
776
|
+
end
|
777
|
+
|
778
|
+
def self.field_remappings
|
779
|
+
@field_remappings = {}
|
780
|
+
end
|
781
|
+
end
|
782
|
+
|
783
|
+
class Crypto < Stripe::StripeObject
|
784
|
+
def self.inner_class_types
|
785
|
+
@inner_class_types = {}
|
786
|
+
end
|
787
|
+
|
788
|
+
def self.field_remappings
|
789
|
+
@field_remappings = {}
|
790
|
+
end
|
425
791
|
end
|
426
792
|
|
427
|
-
class
|
428
|
-
|
793
|
+
class CustomerBalance < Stripe::StripeObject
|
794
|
+
def self.inner_class_types
|
795
|
+
@inner_class_types = {}
|
796
|
+
end
|
797
|
+
|
798
|
+
def self.field_remappings
|
799
|
+
@field_remappings = {}
|
800
|
+
end
|
801
|
+
end
|
429
802
|
|
430
803
|
class Eps < Stripe::StripeObject
|
431
804
|
# 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`.
|
432
805
|
attr_reader :bank
|
806
|
+
|
807
|
+
def self.inner_class_types
|
808
|
+
@inner_class_types = {}
|
809
|
+
end
|
810
|
+
|
811
|
+
def self.field_remappings
|
812
|
+
@field_remappings = {}
|
813
|
+
end
|
433
814
|
end
|
434
815
|
|
435
816
|
class Fpx < Stripe::StripeObject
|
@@ -437,11 +818,45 @@ module Stripe
|
|
437
818
|
attr_reader :account_holder_type
|
438
819
|
# The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
|
439
820
|
attr_reader :bank
|
821
|
+
|
822
|
+
def self.inner_class_types
|
823
|
+
@inner_class_types = {}
|
824
|
+
end
|
825
|
+
|
826
|
+
def self.field_remappings
|
827
|
+
@field_remappings = {}
|
828
|
+
end
|
829
|
+
end
|
830
|
+
|
831
|
+
class Giropay < Stripe::StripeObject
|
832
|
+
def self.inner_class_types
|
833
|
+
@inner_class_types = {}
|
834
|
+
end
|
835
|
+
|
836
|
+
def self.field_remappings
|
837
|
+
@field_remappings = {}
|
838
|
+
end
|
440
839
|
end
|
441
840
|
|
442
|
-
class
|
443
|
-
|
444
|
-
|
841
|
+
class Gopay < Stripe::StripeObject
|
842
|
+
def self.inner_class_types
|
843
|
+
@inner_class_types = {}
|
844
|
+
end
|
845
|
+
|
846
|
+
def self.field_remappings
|
847
|
+
@field_remappings = {}
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
class Grabpay < Stripe::StripeObject
|
852
|
+
def self.inner_class_types
|
853
|
+
@inner_class_types = {}
|
854
|
+
end
|
855
|
+
|
856
|
+
def self.field_remappings
|
857
|
+
@field_remappings = {}
|
858
|
+
end
|
859
|
+
end
|
445
860
|
|
446
861
|
class IdBankTransfer < Stripe::StripeObject
|
447
862
|
# Attribute for field bank
|
@@ -452,6 +867,14 @@ module Stripe
|
|
452
867
|
attr_reader :bank_name
|
453
868
|
# Attribute for field display_name
|
454
869
|
attr_reader :display_name
|
870
|
+
|
871
|
+
def self.inner_class_types
|
872
|
+
@inner_class_types = {}
|
873
|
+
end
|
874
|
+
|
875
|
+
def self.field_remappings
|
876
|
+
@field_remappings = {}
|
877
|
+
end
|
455
878
|
end
|
456
879
|
|
457
880
|
class Ideal < Stripe::StripeObject
|
@@ -459,6 +882,14 @@ module Stripe
|
|
459
882
|
attr_reader :bank
|
460
883
|
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
461
884
|
attr_reader :bic
|
885
|
+
|
886
|
+
def self.inner_class_types
|
887
|
+
@inner_class_types = {}
|
888
|
+
end
|
889
|
+
|
890
|
+
def self.field_remappings
|
891
|
+
@field_remappings = {}
|
892
|
+
end
|
462
893
|
end
|
463
894
|
|
464
895
|
class InteracPresent < Stripe::StripeObject
|
@@ -467,6 +898,14 @@ module Stripe
|
|
467
898
|
attr_reader :available
|
468
899
|
# The preferred network for the card.
|
469
900
|
attr_reader :preferred
|
901
|
+
|
902
|
+
def self.inner_class_types
|
903
|
+
@inner_class_types = {}
|
904
|
+
end
|
905
|
+
|
906
|
+
def self.field_remappings
|
907
|
+
@field_remappings = {}
|
908
|
+
end
|
470
909
|
end
|
471
910
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
472
911
|
attr_reader :brand
|
@@ -498,9 +937,25 @@ module Stripe
|
|
498
937
|
attr_reader :preferred_locales
|
499
938
|
# How card details were read in this transaction.
|
500
939
|
attr_reader :read_method
|
940
|
+
|
941
|
+
def self.inner_class_types
|
942
|
+
@inner_class_types = { networks: Networks }
|
943
|
+
end
|
944
|
+
|
945
|
+
def self.field_remappings
|
946
|
+
@field_remappings = {}
|
947
|
+
end
|
501
948
|
end
|
502
949
|
|
503
|
-
class KakaoPay < Stripe::StripeObject
|
950
|
+
class KakaoPay < Stripe::StripeObject
|
951
|
+
def self.inner_class_types
|
952
|
+
@inner_class_types = {}
|
953
|
+
end
|
954
|
+
|
955
|
+
def self.field_remappings
|
956
|
+
@field_remappings = {}
|
957
|
+
end
|
958
|
+
end
|
504
959
|
|
505
960
|
class Klarna < Stripe::StripeObject
|
506
961
|
class Dob < Stripe::StripeObject
|
@@ -510,18 +965,50 @@ module Stripe
|
|
510
965
|
attr_reader :month
|
511
966
|
# The four-digit year of birth.
|
512
967
|
attr_reader :year
|
968
|
+
|
969
|
+
def self.inner_class_types
|
970
|
+
@inner_class_types = {}
|
971
|
+
end
|
972
|
+
|
973
|
+
def self.field_remappings
|
974
|
+
@field_remappings = {}
|
975
|
+
end
|
513
976
|
end
|
514
977
|
# The customer's date of birth, if provided.
|
515
978
|
attr_reader :dob
|
979
|
+
|
980
|
+
def self.inner_class_types
|
981
|
+
@inner_class_types = { dob: Dob }
|
982
|
+
end
|
983
|
+
|
984
|
+
def self.field_remappings
|
985
|
+
@field_remappings = {}
|
986
|
+
end
|
516
987
|
end
|
517
988
|
|
518
|
-
class Konbini < Stripe::StripeObject
|
989
|
+
class Konbini < Stripe::StripeObject
|
990
|
+
def self.inner_class_types
|
991
|
+
@inner_class_types = {}
|
992
|
+
end
|
993
|
+
|
994
|
+
def self.field_remappings
|
995
|
+
@field_remappings = {}
|
996
|
+
end
|
997
|
+
end
|
519
998
|
|
520
999
|
class KrCard < Stripe::StripeObject
|
521
1000
|
# The local credit or debit card brand.
|
522
1001
|
attr_reader :brand
|
523
1002
|
# The last four digits of the card. This may not be present for American Express cards.
|
524
1003
|
attr_reader :last4
|
1004
|
+
|
1005
|
+
def self.inner_class_types
|
1006
|
+
@inner_class_types = {}
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
def self.field_remappings
|
1010
|
+
@field_remappings = {}
|
1011
|
+
end
|
525
1012
|
end
|
526
1013
|
|
527
1014
|
class Link < Stripe::StripeObject
|
@@ -529,17 +1016,59 @@ module Stripe
|
|
529
1016
|
attr_reader :email
|
530
1017
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
531
1018
|
attr_reader :persistent_token
|
1019
|
+
|
1020
|
+
def self.inner_class_types
|
1021
|
+
@inner_class_types = {}
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
def self.field_remappings
|
1025
|
+
@field_remappings = {}
|
1026
|
+
end
|
532
1027
|
end
|
533
1028
|
|
534
|
-
class MbWay < Stripe::StripeObject
|
535
|
-
|
536
|
-
|
1029
|
+
class MbWay < Stripe::StripeObject
|
1030
|
+
def self.inner_class_types
|
1031
|
+
@inner_class_types = {}
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
def self.field_remappings
|
1035
|
+
@field_remappings = {}
|
1036
|
+
end
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
class Mobilepay < Stripe::StripeObject
|
1040
|
+
def self.inner_class_types
|
1041
|
+
@inner_class_types = {}
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
def self.field_remappings
|
1045
|
+
@field_remappings = {}
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
class Multibanco < Stripe::StripeObject
|
1050
|
+
def self.inner_class_types
|
1051
|
+
@inner_class_types = {}
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
def self.field_remappings
|
1055
|
+
@field_remappings = {}
|
1056
|
+
end
|
1057
|
+
end
|
537
1058
|
|
538
1059
|
class NaverPay < Stripe::StripeObject
|
539
1060
|
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
540
1061
|
attr_reader :buyer_id
|
541
1062
|
# Whether to fund this transaction with Naver Pay points or a card.
|
542
1063
|
attr_reader :funding
|
1064
|
+
|
1065
|
+
def self.inner_class_types
|
1066
|
+
@inner_class_types = {}
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
def self.field_remappings
|
1070
|
+
@field_remappings = {}
|
1071
|
+
end
|
543
1072
|
end
|
544
1073
|
|
545
1074
|
class NzBankAccount < Stripe::StripeObject
|
@@ -555,18 +1084,68 @@ module Stripe
|
|
555
1084
|
attr_reader :last4
|
556
1085
|
# The suffix of the bank account number.
|
557
1086
|
attr_reader :suffix
|
1087
|
+
|
1088
|
+
def self.inner_class_types
|
1089
|
+
@inner_class_types = {}
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
def self.field_remappings
|
1093
|
+
@field_remappings = {}
|
1094
|
+
end
|
558
1095
|
end
|
559
1096
|
|
560
|
-
class Oxxo < Stripe::StripeObject
|
1097
|
+
class Oxxo < Stripe::StripeObject
|
1098
|
+
def self.inner_class_types
|
1099
|
+
@inner_class_types = {}
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
def self.field_remappings
|
1103
|
+
@field_remappings = {}
|
1104
|
+
end
|
1105
|
+
end
|
561
1106
|
|
562
1107
|
class P24 < Stripe::StripeObject
|
563
1108
|
# The customer's bank, if provided.
|
564
1109
|
attr_reader :bank
|
1110
|
+
|
1111
|
+
def self.inner_class_types
|
1112
|
+
@inner_class_types = {}
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
def self.field_remappings
|
1116
|
+
@field_remappings = {}
|
1117
|
+
end
|
565
1118
|
end
|
566
1119
|
|
567
|
-
class PayByBank < Stripe::StripeObject
|
568
|
-
|
569
|
-
|
1120
|
+
class PayByBank < Stripe::StripeObject
|
1121
|
+
def self.inner_class_types
|
1122
|
+
@inner_class_types = {}
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
def self.field_remappings
|
1126
|
+
@field_remappings = {}
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
class Payco < Stripe::StripeObject
|
1131
|
+
def self.inner_class_types
|
1132
|
+
@inner_class_types = {}
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
def self.field_remappings
|
1136
|
+
@field_remappings = {}
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
class Paynow < Stripe::StripeObject
|
1141
|
+
def self.inner_class_types
|
1142
|
+
@inner_class_types = {}
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
def self.field_remappings
|
1146
|
+
@field_remappings = {}
|
1147
|
+
end
|
1148
|
+
end
|
570
1149
|
|
571
1150
|
class Paypal < Stripe::StripeObject
|
572
1151
|
# 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.
|
@@ -581,6 +1160,14 @@ module Stripe
|
|
581
1160
|
# Owner's verified email. Values are verified or provided by PayPal directly
|
582
1161
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
583
1162
|
attr_reader :verified_email
|
1163
|
+
|
1164
|
+
def self.inner_class_types
|
1165
|
+
@inner_class_types = {}
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
def self.field_remappings
|
1169
|
+
@field_remappings = {}
|
1170
|
+
end
|
584
1171
|
end
|
585
1172
|
|
586
1173
|
class Payto < Stripe::StripeObject
|
@@ -590,15 +1177,57 @@ module Stripe
|
|
590
1177
|
attr_reader :last4
|
591
1178
|
# The PayID alias for the bank account.
|
592
1179
|
attr_reader :pay_id
|
1180
|
+
|
1181
|
+
def self.inner_class_types
|
1182
|
+
@inner_class_types = {}
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
def self.field_remappings
|
1186
|
+
@field_remappings = {}
|
1187
|
+
end
|
593
1188
|
end
|
594
1189
|
|
595
|
-
class Pix < Stripe::StripeObject
|
596
|
-
|
597
|
-
|
1190
|
+
class Pix < Stripe::StripeObject
|
1191
|
+
def self.inner_class_types
|
1192
|
+
@inner_class_types = {}
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
def self.field_remappings
|
1196
|
+
@field_remappings = {}
|
1197
|
+
end
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
class Promptpay < Stripe::StripeObject
|
1201
|
+
def self.inner_class_types
|
1202
|
+
@inner_class_types = {}
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
def self.field_remappings
|
1206
|
+
@field_remappings = {}
|
1207
|
+
end
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
class Qris < Stripe::StripeObject
|
1211
|
+
def self.inner_class_types
|
1212
|
+
@inner_class_types = {}
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
def self.field_remappings
|
1216
|
+
@field_remappings = {}
|
1217
|
+
end
|
1218
|
+
end
|
598
1219
|
|
599
1220
|
class RadarOptions < Stripe::StripeObject
|
600
1221
|
# 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.
|
601
1222
|
attr_reader :session
|
1223
|
+
|
1224
|
+
def self.inner_class_types
|
1225
|
+
@inner_class_types = {}
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
def self.field_remappings
|
1229
|
+
@field_remappings = {}
|
1230
|
+
end
|
602
1231
|
end
|
603
1232
|
|
604
1233
|
class Rechnung < Stripe::StripeObject
|
@@ -609,14 +1238,56 @@ module Stripe
|
|
609
1238
|
attr_reader :month
|
610
1239
|
# The four-digit year of birth.
|
611
1240
|
attr_reader :year
|
1241
|
+
|
1242
|
+
def self.inner_class_types
|
1243
|
+
@inner_class_types = {}
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
def self.field_remappings
|
1247
|
+
@field_remappings = {}
|
1248
|
+
end
|
612
1249
|
end
|
613
1250
|
# Attribute for field dob
|
614
1251
|
attr_reader :dob
|
1252
|
+
|
1253
|
+
def self.inner_class_types
|
1254
|
+
@inner_class_types = { dob: Dob }
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
def self.field_remappings
|
1258
|
+
@field_remappings = {}
|
1259
|
+
end
|
615
1260
|
end
|
616
1261
|
|
617
|
-
class RevolutPay < Stripe::StripeObject
|
618
|
-
|
619
|
-
|
1262
|
+
class RevolutPay < Stripe::StripeObject
|
1263
|
+
def self.inner_class_types
|
1264
|
+
@inner_class_types = {}
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
def self.field_remappings
|
1268
|
+
@field_remappings = {}
|
1269
|
+
end
|
1270
|
+
end
|
1271
|
+
|
1272
|
+
class SamsungPay < Stripe::StripeObject
|
1273
|
+
def self.inner_class_types
|
1274
|
+
@inner_class_types = {}
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
def self.field_remappings
|
1278
|
+
@field_remappings = {}
|
1279
|
+
end
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
class Satispay < Stripe::StripeObject
|
1283
|
+
def self.inner_class_types
|
1284
|
+
@inner_class_types = {}
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
def self.field_remappings
|
1288
|
+
@field_remappings = {}
|
1289
|
+
end
|
1290
|
+
end
|
620
1291
|
|
621
1292
|
class SepaDebit < Stripe::StripeObject
|
622
1293
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -624,6 +1295,14 @@ module Stripe
|
|
624
1295
|
attr_reader :charge
|
625
1296
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
626
1297
|
attr_reader :setup_attempt
|
1298
|
+
|
1299
|
+
def self.inner_class_types
|
1300
|
+
@inner_class_types = {}
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
def self.field_remappings
|
1304
|
+
@field_remappings = {}
|
1305
|
+
end
|
627
1306
|
end
|
628
1307
|
# Bank code of bank associated with the bank account.
|
629
1308
|
attr_reader :bank_code
|
@@ -637,13 +1316,37 @@ module Stripe
|
|
637
1316
|
attr_reader :generated_from
|
638
1317
|
# Last four characters of the IBAN.
|
639
1318
|
attr_reader :last4
|
1319
|
+
|
1320
|
+
def self.inner_class_types
|
1321
|
+
@inner_class_types = { generated_from: GeneratedFrom }
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
def self.field_remappings
|
1325
|
+
@field_remappings = {}
|
1326
|
+
end
|
640
1327
|
end
|
641
1328
|
|
642
|
-
class Shopeepay < Stripe::StripeObject
|
1329
|
+
class Shopeepay < Stripe::StripeObject
|
1330
|
+
def self.inner_class_types
|
1331
|
+
@inner_class_types = {}
|
1332
|
+
end
|
1333
|
+
|
1334
|
+
def self.field_remappings
|
1335
|
+
@field_remappings = {}
|
1336
|
+
end
|
1337
|
+
end
|
643
1338
|
|
644
1339
|
class Sofort < Stripe::StripeObject
|
645
1340
|
# Two-letter ISO code representing the country the bank account is located in.
|
646
1341
|
attr_reader :country
|
1342
|
+
|
1343
|
+
def self.inner_class_types
|
1344
|
+
@inner_class_types = {}
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
def self.field_remappings
|
1348
|
+
@field_remappings = {}
|
1349
|
+
end
|
647
1350
|
end
|
648
1351
|
|
649
1352
|
class StripeBalance < Stripe::StripeObject
|
@@ -651,10 +1354,35 @@ module Stripe
|
|
651
1354
|
attr_reader :account
|
652
1355
|
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
653
1356
|
attr_reader :source_type
|
1357
|
+
|
1358
|
+
def self.inner_class_types
|
1359
|
+
@inner_class_types = {}
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
def self.field_remappings
|
1363
|
+
@field_remappings = {}
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1367
|
+
class Swish < Stripe::StripeObject
|
1368
|
+
def self.inner_class_types
|
1369
|
+
@inner_class_types = {}
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
def self.field_remappings
|
1373
|
+
@field_remappings = {}
|
1374
|
+
end
|
654
1375
|
end
|
655
1376
|
|
656
|
-
class
|
657
|
-
|
1377
|
+
class Twint < Stripe::StripeObject
|
1378
|
+
def self.inner_class_types
|
1379
|
+
@inner_class_types = {}
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
def self.field_remappings
|
1383
|
+
@field_remappings = {}
|
1384
|
+
end
|
1385
|
+
end
|
658
1386
|
|
659
1387
|
class UsBankAccount < Stripe::StripeObject
|
660
1388
|
class Networks < Stripe::StripeObject
|
@@ -662,6 +1390,14 @@ module Stripe
|
|
662
1390
|
attr_reader :preferred
|
663
1391
|
# All supported networks.
|
664
1392
|
attr_reader :supported
|
1393
|
+
|
1394
|
+
def self.inner_class_types
|
1395
|
+
@inner_class_types = {}
|
1396
|
+
end
|
1397
|
+
|
1398
|
+
def self.field_remappings
|
1399
|
+
@field_remappings = {}
|
1400
|
+
end
|
665
1401
|
end
|
666
1402
|
|
667
1403
|
class StatusDetails < Stripe::StripeObject
|
@@ -670,9 +1406,25 @@ module Stripe
|
|
670
1406
|
attr_reader :network_code
|
671
1407
|
# The reason why this PaymentMethod's fingerprint has been blocked
|
672
1408
|
attr_reader :reason
|
1409
|
+
|
1410
|
+
def self.inner_class_types
|
1411
|
+
@inner_class_types = {}
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
def self.field_remappings
|
1415
|
+
@field_remappings = {}
|
1416
|
+
end
|
673
1417
|
end
|
674
1418
|
# Attribute for field blocked
|
675
1419
|
attr_reader :blocked
|
1420
|
+
|
1421
|
+
def self.inner_class_types
|
1422
|
+
@inner_class_types = { blocked: Blocked }
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
def self.field_remappings
|
1426
|
+
@field_remappings = {}
|
1427
|
+
end
|
676
1428
|
end
|
677
1429
|
# Account holder type: individual or company.
|
678
1430
|
attr_reader :account_holder_type
|
@@ -694,10 +1446,35 @@ module Stripe
|
|
694
1446
|
attr_reader :routing_number
|
695
1447
|
# Contains information about the future reusability of this PaymentMethod.
|
696
1448
|
attr_reader :status_details
|
1449
|
+
|
1450
|
+
def self.inner_class_types
|
1451
|
+
@inner_class_types = { networks: Networks, status_details: StatusDetails }
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
def self.field_remappings
|
1455
|
+
@field_remappings = {}
|
1456
|
+
end
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
class WechatPay < Stripe::StripeObject
|
1460
|
+
def self.inner_class_types
|
1461
|
+
@inner_class_types = {}
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
def self.field_remappings
|
1465
|
+
@field_remappings = {}
|
1466
|
+
end
|
697
1467
|
end
|
698
1468
|
|
699
|
-
class
|
700
|
-
|
1469
|
+
class Zip < Stripe::StripeObject
|
1470
|
+
def self.inner_class_types
|
1471
|
+
@inner_class_types = {}
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
def self.field_remappings
|
1475
|
+
@field_remappings = {}
|
1476
|
+
end
|
1477
|
+
end
|
701
1478
|
|
702
1479
|
class ListParams < Stripe::RequestParams
|
703
1480
|
# The ID of the customer whose PaymentMethods will be retrieved.
|
@@ -1796,5 +2573,74 @@ module Stripe
|
|
1796
2573
|
opts: opts
|
1797
2574
|
)
|
1798
2575
|
end
|
2576
|
+
|
2577
|
+
def self.inner_class_types
|
2578
|
+
@inner_class_types = {
|
2579
|
+
acss_debit: AcssDebit,
|
2580
|
+
affirm: Affirm,
|
2581
|
+
afterpay_clearpay: AfterpayClearpay,
|
2582
|
+
alipay: Alipay,
|
2583
|
+
alma: Alma,
|
2584
|
+
amazon_pay: AmazonPay,
|
2585
|
+
au_becs_debit: AuBecsDebit,
|
2586
|
+
bacs_debit: BacsDebit,
|
2587
|
+
bancontact: Bancontact,
|
2588
|
+
billie: Billie,
|
2589
|
+
billing_details: BillingDetails,
|
2590
|
+
blik: Blik,
|
2591
|
+
boleto: Boleto,
|
2592
|
+
card: Card,
|
2593
|
+
card_present: CardPresent,
|
2594
|
+
cashapp: Cashapp,
|
2595
|
+
crypto: Crypto,
|
2596
|
+
customer_balance: CustomerBalance,
|
2597
|
+
eps: Eps,
|
2598
|
+
fpx: Fpx,
|
2599
|
+
giropay: Giropay,
|
2600
|
+
gopay: Gopay,
|
2601
|
+
grabpay: Grabpay,
|
2602
|
+
id_bank_transfer: IdBankTransfer,
|
2603
|
+
ideal: Ideal,
|
2604
|
+
interac_present: InteracPresent,
|
2605
|
+
kakao_pay: KakaoPay,
|
2606
|
+
klarna: Klarna,
|
2607
|
+
konbini: Konbini,
|
2608
|
+
kr_card: KrCard,
|
2609
|
+
link: Link,
|
2610
|
+
mb_way: MbWay,
|
2611
|
+
mobilepay: Mobilepay,
|
2612
|
+
multibanco: Multibanco,
|
2613
|
+
naver_pay: NaverPay,
|
2614
|
+
nz_bank_account: NzBankAccount,
|
2615
|
+
oxxo: Oxxo,
|
2616
|
+
p24: P24,
|
2617
|
+
pay_by_bank: PayByBank,
|
2618
|
+
payco: Payco,
|
2619
|
+
paynow: Paynow,
|
2620
|
+
paypal: Paypal,
|
2621
|
+
payto: Payto,
|
2622
|
+
pix: Pix,
|
2623
|
+
promptpay: Promptpay,
|
2624
|
+
qris: Qris,
|
2625
|
+
radar_options: RadarOptions,
|
2626
|
+
rechnung: Rechnung,
|
2627
|
+
revolut_pay: RevolutPay,
|
2628
|
+
samsung_pay: SamsungPay,
|
2629
|
+
satispay: Satispay,
|
2630
|
+
sepa_debit: SepaDebit,
|
2631
|
+
shopeepay: Shopeepay,
|
2632
|
+
sofort: Sofort,
|
2633
|
+
stripe_balance: StripeBalance,
|
2634
|
+
swish: Swish,
|
2635
|
+
twint: Twint,
|
2636
|
+
us_bank_account: UsBankAccount,
|
2637
|
+
wechat_pay: WechatPay,
|
2638
|
+
zip: Zip,
|
2639
|
+
}
|
2640
|
+
end
|
2641
|
+
|
2642
|
+
def self.field_remappings
|
2643
|
+
@field_remappings = {}
|
2644
|
+
end
|
1799
2645
|
end
|
1800
2646
|
end
|