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
@@ -17,6 +17,14 @@ module Stripe
|
|
17
17
|
attr_reader :currency
|
18
18
|
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
19
19
|
attr_reader :value
|
20
|
+
|
21
|
+
def self.inner_class_types
|
22
|
+
@inner_class_types = {}
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.field_remappings
|
26
|
+
@field_remappings = {}
|
27
|
+
end
|
20
28
|
end
|
21
29
|
|
22
30
|
class AmountAuthorized < Stripe::StripeObject
|
@@ -24,6 +32,14 @@ module Stripe
|
|
24
32
|
attr_reader :currency
|
25
33
|
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
26
34
|
attr_reader :value
|
35
|
+
|
36
|
+
def self.inner_class_types
|
37
|
+
@inner_class_types = {}
|
38
|
+
end
|
39
|
+
|
40
|
+
def self.field_remappings
|
41
|
+
@field_remappings = {}
|
42
|
+
end
|
27
43
|
end
|
28
44
|
|
29
45
|
class AmountCanceled < Stripe::StripeObject
|
@@ -31,6 +47,14 @@ module Stripe
|
|
31
47
|
attr_reader :currency
|
32
48
|
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
33
49
|
attr_reader :value
|
50
|
+
|
51
|
+
def self.inner_class_types
|
52
|
+
@inner_class_types = {}
|
53
|
+
end
|
54
|
+
|
55
|
+
def self.field_remappings
|
56
|
+
@field_remappings = {}
|
57
|
+
end
|
34
58
|
end
|
35
59
|
|
36
60
|
class AmountFailed < Stripe::StripeObject
|
@@ -38,6 +62,14 @@ module Stripe
|
|
38
62
|
attr_reader :currency
|
39
63
|
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
40
64
|
attr_reader :value
|
65
|
+
|
66
|
+
def self.inner_class_types
|
67
|
+
@inner_class_types = {}
|
68
|
+
end
|
69
|
+
|
70
|
+
def self.field_remappings
|
71
|
+
@field_remappings = {}
|
72
|
+
end
|
41
73
|
end
|
42
74
|
|
43
75
|
class AmountGuaranteed < Stripe::StripeObject
|
@@ -45,6 +77,14 @@ module Stripe
|
|
45
77
|
attr_reader :currency
|
46
78
|
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
47
79
|
attr_reader :value
|
80
|
+
|
81
|
+
def self.inner_class_types
|
82
|
+
@inner_class_types = {}
|
83
|
+
end
|
84
|
+
|
85
|
+
def self.field_remappings
|
86
|
+
@field_remappings = {}
|
87
|
+
end
|
48
88
|
end
|
49
89
|
|
50
90
|
class AmountRefunded < Stripe::StripeObject
|
@@ -52,6 +92,14 @@ module Stripe
|
|
52
92
|
attr_reader :currency
|
53
93
|
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
54
94
|
attr_reader :value
|
95
|
+
|
96
|
+
def self.inner_class_types
|
97
|
+
@inner_class_types = {}
|
98
|
+
end
|
99
|
+
|
100
|
+
def self.field_remappings
|
101
|
+
@field_remappings = {}
|
102
|
+
end
|
55
103
|
end
|
56
104
|
|
57
105
|
class AmountRequested < Stripe::StripeObject
|
@@ -59,6 +107,14 @@ module Stripe
|
|
59
107
|
attr_reader :currency
|
60
108
|
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
61
109
|
attr_reader :value
|
110
|
+
|
111
|
+
def self.inner_class_types
|
112
|
+
@inner_class_types = {}
|
113
|
+
end
|
114
|
+
|
115
|
+
def self.field_remappings
|
116
|
+
@field_remappings = {}
|
117
|
+
end
|
62
118
|
end
|
63
119
|
|
64
120
|
class CustomerDetails < Stripe::StripeObject
|
@@ -70,6 +126,14 @@ module Stripe
|
|
70
126
|
attr_reader :name
|
71
127
|
# The customer's phone number.
|
72
128
|
attr_reader :phone
|
129
|
+
|
130
|
+
def self.inner_class_types
|
131
|
+
@inner_class_types = {}
|
132
|
+
end
|
133
|
+
|
134
|
+
def self.field_remappings
|
135
|
+
@field_remappings = {}
|
136
|
+
end
|
73
137
|
end
|
74
138
|
|
75
139
|
class PaymentMethodDetails < Stripe::StripeObject
|
@@ -82,6 +146,14 @@ module Stripe
|
|
82
146
|
attr_reader :routing_number
|
83
147
|
# SWIFT code of the bank associated with the routing number.
|
84
148
|
attr_reader :swift_code
|
149
|
+
|
150
|
+
def self.inner_class_types
|
151
|
+
@inner_class_types = {}
|
152
|
+
end
|
153
|
+
|
154
|
+
def self.field_remappings
|
155
|
+
@field_remappings = {}
|
156
|
+
end
|
85
157
|
end
|
86
158
|
|
87
159
|
class AchDebit < Stripe::StripeObject
|
@@ -97,6 +169,14 @@ module Stripe
|
|
97
169
|
attr_reader :last4
|
98
170
|
# Routing transit number of the bank account.
|
99
171
|
attr_reader :routing_number
|
172
|
+
|
173
|
+
def self.inner_class_types
|
174
|
+
@inner_class_types = {}
|
175
|
+
end
|
176
|
+
|
177
|
+
def self.field_remappings
|
178
|
+
@field_remappings = {}
|
179
|
+
end
|
100
180
|
end
|
101
181
|
|
102
182
|
class AcssDebit < Stripe::StripeObject
|
@@ -112,6 +192,14 @@ module Stripe
|
|
112
192
|
attr_reader :mandate
|
113
193
|
# Transit number of the bank account.
|
114
194
|
attr_reader :transit_number
|
195
|
+
|
196
|
+
def self.inner_class_types
|
197
|
+
@inner_class_types = {}
|
198
|
+
end
|
199
|
+
|
200
|
+
def self.field_remappings
|
201
|
+
@field_remappings = {}
|
202
|
+
end
|
115
203
|
end
|
116
204
|
|
117
205
|
class Affirm < Stripe::StripeObject
|
@@ -121,6 +209,14 @@ module Stripe
|
|
121
209
|
attr_reader :reader
|
122
210
|
# The Affirm transaction ID associated with this payment.
|
123
211
|
attr_reader :transaction_id
|
212
|
+
|
213
|
+
def self.inner_class_types
|
214
|
+
@inner_class_types = {}
|
215
|
+
end
|
216
|
+
|
217
|
+
def self.field_remappings
|
218
|
+
@field_remappings = {}
|
219
|
+
end
|
124
220
|
end
|
125
221
|
|
126
222
|
class AfterpayClearpay < Stripe::StripeObject
|
@@ -128,6 +224,14 @@ module Stripe
|
|
128
224
|
attr_reader :order_id
|
129
225
|
# Order identifier shown to the merchant in Afterpay’s online portal.
|
130
226
|
attr_reader :reference
|
227
|
+
|
228
|
+
def self.inner_class_types
|
229
|
+
@inner_class_types = {}
|
230
|
+
end
|
231
|
+
|
232
|
+
def self.field_remappings
|
233
|
+
@field_remappings = {}
|
234
|
+
end
|
131
235
|
end
|
132
236
|
|
133
237
|
class Alipay < Stripe::StripeObject
|
@@ -137,17 +241,41 @@ module Stripe
|
|
137
241
|
attr_reader :fingerprint
|
138
242
|
# Transaction ID of this particular Alipay transaction.
|
139
243
|
attr_reader :transaction_id
|
244
|
+
|
245
|
+
def self.inner_class_types
|
246
|
+
@inner_class_types = {}
|
247
|
+
end
|
248
|
+
|
249
|
+
def self.field_remappings
|
250
|
+
@field_remappings = {}
|
251
|
+
end
|
140
252
|
end
|
141
253
|
|
142
254
|
class Alma < Stripe::StripeObject
|
143
255
|
class Installments < Stripe::StripeObject
|
144
256
|
# The number of installments.
|
145
257
|
attr_reader :count
|
258
|
+
|
259
|
+
def self.inner_class_types
|
260
|
+
@inner_class_types = {}
|
261
|
+
end
|
262
|
+
|
263
|
+
def self.field_remappings
|
264
|
+
@field_remappings = {}
|
265
|
+
end
|
146
266
|
end
|
147
267
|
# Attribute for field installments
|
148
268
|
attr_reader :installments
|
149
269
|
# The Alma transaction ID associated with this payment.
|
150
270
|
attr_reader :transaction_id
|
271
|
+
|
272
|
+
def self.inner_class_types
|
273
|
+
@inner_class_types = { installments: Installments }
|
274
|
+
end
|
275
|
+
|
276
|
+
def self.field_remappings
|
277
|
+
@field_remappings = {}
|
278
|
+
end
|
151
279
|
end
|
152
280
|
|
153
281
|
class AmazonPay < Stripe::StripeObject
|
@@ -167,16 +295,40 @@ module Stripe
|
|
167
295
|
attr_reader :funding
|
168
296
|
# The last four digits of the card.
|
169
297
|
attr_reader :last4
|
298
|
+
|
299
|
+
def self.inner_class_types
|
300
|
+
@inner_class_types = {}
|
301
|
+
end
|
302
|
+
|
303
|
+
def self.field_remappings
|
304
|
+
@field_remappings = {}
|
305
|
+
end
|
170
306
|
end
|
171
307
|
# Attribute for field card
|
172
308
|
attr_reader :card
|
173
309
|
# funding type of the underlying payment method.
|
174
310
|
attr_reader :type
|
311
|
+
|
312
|
+
def self.inner_class_types
|
313
|
+
@inner_class_types = { card: Card }
|
314
|
+
end
|
315
|
+
|
316
|
+
def self.field_remappings
|
317
|
+
@field_remappings = {}
|
318
|
+
end
|
175
319
|
end
|
176
320
|
# Attribute for field funding
|
177
321
|
attr_reader :funding
|
178
322
|
# The Amazon Pay transaction ID associated with this payment.
|
179
323
|
attr_reader :transaction_id
|
324
|
+
|
325
|
+
def self.inner_class_types
|
326
|
+
@inner_class_types = { funding: Funding }
|
327
|
+
end
|
328
|
+
|
329
|
+
def self.field_remappings
|
330
|
+
@field_remappings = {}
|
331
|
+
end
|
180
332
|
end
|
181
333
|
|
182
334
|
class AuBecsDebit < Stripe::StripeObject
|
@@ -188,6 +340,14 @@ module Stripe
|
|
188
340
|
attr_reader :last4
|
189
341
|
# ID of the mandate used to make this payment.
|
190
342
|
attr_reader :mandate
|
343
|
+
|
344
|
+
def self.inner_class_types
|
345
|
+
@inner_class_types = {}
|
346
|
+
end
|
347
|
+
|
348
|
+
def self.field_remappings
|
349
|
+
@field_remappings = {}
|
350
|
+
end
|
191
351
|
end
|
192
352
|
|
193
353
|
class BacsDebit < Stripe::StripeObject
|
@@ -199,6 +359,14 @@ module Stripe
|
|
199
359
|
attr_reader :mandate
|
200
360
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
201
361
|
attr_reader :sort_code
|
362
|
+
|
363
|
+
def self.inner_class_types
|
364
|
+
@inner_class_types = {}
|
365
|
+
end
|
366
|
+
|
367
|
+
def self.field_remappings
|
368
|
+
@field_remappings = {}
|
369
|
+
end
|
202
370
|
end
|
203
371
|
|
204
372
|
class Bancontact < Stripe::StripeObject
|
@@ -220,11 +388,27 @@ module Stripe
|
|
220
388
|
# Owner's verified full name. Values are verified or provided by Bancontact directly
|
221
389
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
222
390
|
attr_reader :verified_name
|
391
|
+
|
392
|
+
def self.inner_class_types
|
393
|
+
@inner_class_types = {}
|
394
|
+
end
|
395
|
+
|
396
|
+
def self.field_remappings
|
397
|
+
@field_remappings = {}
|
398
|
+
end
|
223
399
|
end
|
224
400
|
|
225
401
|
class Billie < Stripe::StripeObject
|
226
402
|
# The Billie transaction ID associated with this payment.
|
227
403
|
attr_reader :transaction_id
|
404
|
+
|
405
|
+
def self.inner_class_types
|
406
|
+
@inner_class_types = {}
|
407
|
+
end
|
408
|
+
|
409
|
+
def self.field_remappings
|
410
|
+
@field_remappings = {}
|
411
|
+
end
|
228
412
|
end
|
229
413
|
|
230
414
|
class BillingDetails < Stripe::StripeObject
|
@@ -241,6 +425,14 @@ module Stripe
|
|
241
425
|
attr_reader :postal_code
|
242
426
|
# State, county, province, or region.
|
243
427
|
attr_reader :state
|
428
|
+
|
429
|
+
def self.inner_class_types
|
430
|
+
@inner_class_types = {}
|
431
|
+
end
|
432
|
+
|
433
|
+
def self.field_remappings
|
434
|
+
@field_remappings = {}
|
435
|
+
end
|
244
436
|
end
|
245
437
|
# A representation of a physical address.
|
246
438
|
attr_reader :address
|
@@ -250,16 +442,40 @@ module Stripe
|
|
250
442
|
attr_reader :name
|
251
443
|
# The billing phone number associated with the method of payment.
|
252
444
|
attr_reader :phone
|
445
|
+
|
446
|
+
def self.inner_class_types
|
447
|
+
@inner_class_types = { address: Address }
|
448
|
+
end
|
449
|
+
|
450
|
+
def self.field_remappings
|
451
|
+
@field_remappings = {}
|
452
|
+
end
|
253
453
|
end
|
254
454
|
|
255
455
|
class Blik < Stripe::StripeObject
|
256
456
|
# A unique and immutable identifier assigned by BLIK to every buyer.
|
257
457
|
attr_reader :buyer_id
|
458
|
+
|
459
|
+
def self.inner_class_types
|
460
|
+
@inner_class_types = {}
|
461
|
+
end
|
462
|
+
|
463
|
+
def self.field_remappings
|
464
|
+
@field_remappings = {}
|
465
|
+
end
|
258
466
|
end
|
259
467
|
|
260
468
|
class Boleto < Stripe::StripeObject
|
261
469
|
# The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
|
262
470
|
attr_reader :tax_id
|
471
|
+
|
472
|
+
def self.inner_class_types
|
473
|
+
@inner_class_types = {}
|
474
|
+
end
|
475
|
+
|
476
|
+
def self.field_remappings
|
477
|
+
@field_remappings = {}
|
478
|
+
end
|
263
479
|
end
|
264
480
|
|
265
481
|
class Card < Stripe::StripeObject
|
@@ -270,11 +486,27 @@ module Stripe
|
|
270
486
|
attr_reader :address_postal_code_check
|
271
487
|
# Attribute for field cvc_check
|
272
488
|
attr_reader :cvc_check
|
489
|
+
|
490
|
+
def self.inner_class_types
|
491
|
+
@inner_class_types = {}
|
492
|
+
end
|
493
|
+
|
494
|
+
def self.field_remappings
|
495
|
+
@field_remappings = {}
|
496
|
+
end
|
273
497
|
end
|
274
498
|
|
275
499
|
class NetworkToken < Stripe::StripeObject
|
276
500
|
# Attribute for field used
|
277
501
|
attr_reader :used
|
502
|
+
|
503
|
+
def self.inner_class_types
|
504
|
+
@inner_class_types = {}
|
505
|
+
end
|
506
|
+
|
507
|
+
def self.field_remappings
|
508
|
+
@field_remappings = {}
|
509
|
+
end
|
278
510
|
end
|
279
511
|
|
280
512
|
class ThreeDSecure < Stripe::StripeObject
|
@@ -286,6 +518,14 @@ module Stripe
|
|
286
518
|
attr_reader :result_reason
|
287
519
|
# Attribute for field version
|
288
520
|
attr_reader :version
|
521
|
+
|
522
|
+
def self.inner_class_types
|
523
|
+
@inner_class_types = {}
|
524
|
+
end
|
525
|
+
|
526
|
+
def self.field_remappings
|
527
|
+
@field_remappings = {}
|
528
|
+
end
|
289
529
|
end
|
290
530
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
291
531
|
attr_reader :brand
|
@@ -317,6 +557,18 @@ module Stripe
|
|
317
557
|
attr_reader :network_transaction_id
|
318
558
|
# Populated if this transaction used 3D Secure authentication.
|
319
559
|
attr_reader :three_d_secure
|
560
|
+
|
561
|
+
def self.inner_class_types
|
562
|
+
@inner_class_types = {
|
563
|
+
checks: Checks,
|
564
|
+
network_token: NetworkToken,
|
565
|
+
three_d_secure: ThreeDSecure,
|
566
|
+
}
|
567
|
+
end
|
568
|
+
|
569
|
+
def self.field_remappings
|
570
|
+
@field_remappings = {}
|
571
|
+
end
|
320
572
|
end
|
321
573
|
|
322
574
|
class CardPresent < Stripe::StripeObject
|
@@ -325,6 +577,14 @@ module Stripe
|
|
325
577
|
attr_reader :stored_at
|
326
578
|
# The method used to process this payment method offline. Only deferred is allowed.
|
327
579
|
attr_reader :type
|
580
|
+
|
581
|
+
def self.inner_class_types
|
582
|
+
@inner_class_types = {}
|
583
|
+
end
|
584
|
+
|
585
|
+
def self.field_remappings
|
586
|
+
@field_remappings = {}
|
587
|
+
end
|
328
588
|
end
|
329
589
|
|
330
590
|
class Receipt < Stripe::StripeObject
|
@@ -346,11 +606,27 @@ module Stripe
|
|
346
606
|
attr_reader :terminal_verification_results
|
347
607
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
348
608
|
attr_reader :transaction_status_information
|
609
|
+
|
610
|
+
def self.inner_class_types
|
611
|
+
@inner_class_types = {}
|
612
|
+
end
|
613
|
+
|
614
|
+
def self.field_remappings
|
615
|
+
@field_remappings = {}
|
616
|
+
end
|
349
617
|
end
|
350
618
|
|
351
619
|
class Wallet < Stripe::StripeObject
|
352
620
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
353
621
|
attr_reader :type
|
622
|
+
|
623
|
+
def self.inner_class_types
|
624
|
+
@inner_class_types = {}
|
625
|
+
end
|
626
|
+
|
627
|
+
def self.field_remappings
|
628
|
+
@field_remappings = {}
|
629
|
+
end
|
354
630
|
end
|
355
631
|
# The authorized amount
|
356
632
|
attr_reader :amount_authorized
|
@@ -404,6 +680,14 @@ module Stripe
|
|
404
680
|
attr_reader :receipt
|
405
681
|
# Attribute for field wallet
|
406
682
|
attr_reader :wallet
|
683
|
+
|
684
|
+
def self.inner_class_types
|
685
|
+
@inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
|
686
|
+
end
|
687
|
+
|
688
|
+
def self.field_remappings
|
689
|
+
@field_remappings = {}
|
690
|
+
end
|
407
691
|
end
|
408
692
|
|
409
693
|
class Cashapp < Stripe::StripeObject
|
@@ -413,6 +697,14 @@ module Stripe
|
|
413
697
|
attr_reader :cashtag
|
414
698
|
# A unique and immutable identifier of payments assigned by Cash App
|
415
699
|
attr_reader :transaction_id
|
700
|
+
|
701
|
+
def self.inner_class_types
|
702
|
+
@inner_class_types = {}
|
703
|
+
end
|
704
|
+
|
705
|
+
def self.field_remappings
|
706
|
+
@field_remappings = {}
|
707
|
+
end
|
416
708
|
end
|
417
709
|
|
418
710
|
class Crypto < Stripe::StripeObject
|
@@ -424,6 +716,14 @@ module Stripe
|
|
424
716
|
attr_reader :token_currency
|
425
717
|
# The blockchain transaction hash of the crypto payment.
|
426
718
|
attr_reader :transaction_hash
|
719
|
+
|
720
|
+
def self.inner_class_types
|
721
|
+
@inner_class_types = {}
|
722
|
+
end
|
723
|
+
|
724
|
+
def self.field_remappings
|
725
|
+
@field_remappings = {}
|
726
|
+
end
|
427
727
|
end
|
428
728
|
|
429
729
|
class Custom < Stripe::StripeObject
|
@@ -431,9 +731,25 @@ module Stripe
|
|
431
731
|
attr_reader :display_name
|
432
732
|
# The custom payment method type associated with this payment.
|
433
733
|
attr_reader :type
|
734
|
+
|
735
|
+
def self.inner_class_types
|
736
|
+
@inner_class_types = {}
|
737
|
+
end
|
738
|
+
|
739
|
+
def self.field_remappings
|
740
|
+
@field_remappings = {}
|
741
|
+
end
|
434
742
|
end
|
435
743
|
|
436
|
-
class CustomerBalance < Stripe::StripeObject
|
744
|
+
class CustomerBalance < Stripe::StripeObject
|
745
|
+
def self.inner_class_types
|
746
|
+
@inner_class_types = {}
|
747
|
+
end
|
748
|
+
|
749
|
+
def self.field_remappings
|
750
|
+
@field_remappings = {}
|
751
|
+
end
|
752
|
+
end
|
437
753
|
|
438
754
|
class Eps < Stripe::StripeObject
|
439
755
|
# 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`.
|
@@ -442,6 +758,14 @@ module Stripe
|
|
442
758
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
443
759
|
# EPS rarely provides this information so the attribute is usually empty.
|
444
760
|
attr_reader :verified_name
|
761
|
+
|
762
|
+
def self.inner_class_types
|
763
|
+
@inner_class_types = {}
|
764
|
+
end
|
765
|
+
|
766
|
+
def self.field_remappings
|
767
|
+
@field_remappings = {}
|
768
|
+
end
|
445
769
|
end
|
446
770
|
|
447
771
|
class Fpx < Stripe::StripeObject
|
@@ -451,6 +775,14 @@ module Stripe
|
|
451
775
|
attr_reader :bank
|
452
776
|
# Unique transaction id generated by FPX for every request from the merchant
|
453
777
|
attr_reader :transaction_id
|
778
|
+
|
779
|
+
def self.inner_class_types
|
780
|
+
@inner_class_types = {}
|
781
|
+
end
|
782
|
+
|
783
|
+
def self.field_remappings
|
784
|
+
@field_remappings = {}
|
785
|
+
end
|
454
786
|
end
|
455
787
|
|
456
788
|
class Giropay < Stripe::StripeObject
|
@@ -464,13 +796,37 @@ module Stripe
|
|
464
796
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
465
797
|
# Giropay rarely provides this information so the attribute is usually empty.
|
466
798
|
attr_reader :verified_name
|
799
|
+
|
800
|
+
def self.inner_class_types
|
801
|
+
@inner_class_types = {}
|
802
|
+
end
|
803
|
+
|
804
|
+
def self.field_remappings
|
805
|
+
@field_remappings = {}
|
806
|
+
end
|
467
807
|
end
|
468
808
|
|
469
|
-
class Gopay < Stripe::StripeObject
|
809
|
+
class Gopay < Stripe::StripeObject
|
810
|
+
def self.inner_class_types
|
811
|
+
@inner_class_types = {}
|
812
|
+
end
|
813
|
+
|
814
|
+
def self.field_remappings
|
815
|
+
@field_remappings = {}
|
816
|
+
end
|
817
|
+
end
|
470
818
|
|
471
819
|
class Grabpay < Stripe::StripeObject
|
472
820
|
# Unique transaction id generated by GrabPay
|
473
821
|
attr_reader :transaction_id
|
822
|
+
|
823
|
+
def self.inner_class_types
|
824
|
+
@inner_class_types = {}
|
825
|
+
end
|
826
|
+
|
827
|
+
def self.field_remappings
|
828
|
+
@field_remappings = {}
|
829
|
+
end
|
474
830
|
end
|
475
831
|
|
476
832
|
class IdBankTransfer < Stripe::StripeObject
|
@@ -484,6 +840,14 @@ module Stripe
|
|
484
840
|
attr_reader :bank_name
|
485
841
|
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
486
842
|
attr_reader :display_name
|
843
|
+
|
844
|
+
def self.inner_class_types
|
845
|
+
@inner_class_types = {}
|
846
|
+
end
|
847
|
+
|
848
|
+
def self.field_remappings
|
849
|
+
@field_remappings = {}
|
850
|
+
end
|
487
851
|
end
|
488
852
|
|
489
853
|
class Ideal < Stripe::StripeObject
|
@@ -500,6 +864,14 @@ module Stripe
|
|
500
864
|
# Owner's verified full name. Values are verified or provided by iDEAL directly
|
501
865
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
502
866
|
attr_reader :verified_name
|
867
|
+
|
868
|
+
def self.inner_class_types
|
869
|
+
@inner_class_types = {}
|
870
|
+
end
|
871
|
+
|
872
|
+
def self.field_remappings
|
873
|
+
@field_remappings = {}
|
874
|
+
end
|
503
875
|
end
|
504
876
|
|
505
877
|
class InteracPresent < Stripe::StripeObject
|
@@ -522,6 +894,14 @@ module Stripe
|
|
522
894
|
attr_reader :terminal_verification_results
|
523
895
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
524
896
|
attr_reader :transaction_status_information
|
897
|
+
|
898
|
+
def self.inner_class_types
|
899
|
+
@inner_class_types = {}
|
900
|
+
end
|
901
|
+
|
902
|
+
def self.field_remappings
|
903
|
+
@field_remappings = {}
|
904
|
+
end
|
525
905
|
end
|
526
906
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
527
907
|
attr_reader :brand
|
@@ -561,6 +941,14 @@ module Stripe
|
|
561
941
|
attr_reader :read_method
|
562
942
|
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
563
943
|
attr_reader :receipt
|
944
|
+
|
945
|
+
def self.inner_class_types
|
946
|
+
@inner_class_types = { receipt: Receipt }
|
947
|
+
end
|
948
|
+
|
949
|
+
def self.field_remappings
|
950
|
+
@field_remappings = {}
|
951
|
+
end
|
564
952
|
end
|
565
953
|
|
566
954
|
class KakaoPay < Stripe::StripeObject
|
@@ -568,6 +956,14 @@ module Stripe
|
|
568
956
|
attr_reader :buyer_id
|
569
957
|
# The Kakao Pay transaction ID associated with this payment.
|
570
958
|
attr_reader :transaction_id
|
959
|
+
|
960
|
+
def self.inner_class_types
|
961
|
+
@inner_class_types = {}
|
962
|
+
end
|
963
|
+
|
964
|
+
def self.field_remappings
|
965
|
+
@field_remappings = {}
|
966
|
+
end
|
571
967
|
end
|
572
968
|
|
573
969
|
class Klarna < Stripe::StripeObject
|
@@ -575,9 +971,25 @@ module Stripe
|
|
575
971
|
class Address < Stripe::StripeObject
|
576
972
|
# The payer address country
|
577
973
|
attr_reader :country
|
974
|
+
|
975
|
+
def self.inner_class_types
|
976
|
+
@inner_class_types = {}
|
977
|
+
end
|
978
|
+
|
979
|
+
def self.field_remappings
|
980
|
+
@field_remappings = {}
|
981
|
+
end
|
578
982
|
end
|
579
983
|
# The payer's address
|
580
984
|
attr_reader :address
|
985
|
+
|
986
|
+
def self.inner_class_types
|
987
|
+
@inner_class_types = { address: Address }
|
988
|
+
end
|
989
|
+
|
990
|
+
def self.field_remappings
|
991
|
+
@field_remappings = {}
|
992
|
+
end
|
581
993
|
end
|
582
994
|
# The payer details for this transaction.
|
583
995
|
attr_reader :payer_details
|
@@ -587,15 +999,39 @@ module Stripe
|
|
587
999
|
# Preferred language of the Klarna authorization page that the customer is redirected to.
|
588
1000
|
# 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`
|
589
1001
|
attr_reader :preferred_locale
|
1002
|
+
|
1003
|
+
def self.inner_class_types
|
1004
|
+
@inner_class_types = { payer_details: PayerDetails }
|
1005
|
+
end
|
1006
|
+
|
1007
|
+
def self.field_remappings
|
1008
|
+
@field_remappings = {}
|
1009
|
+
end
|
590
1010
|
end
|
591
1011
|
|
592
1012
|
class Konbini < Stripe::StripeObject
|
593
1013
|
class Store < Stripe::StripeObject
|
594
1014
|
# The name of the convenience store chain where the payment was completed.
|
595
1015
|
attr_reader :chain
|
1016
|
+
|
1017
|
+
def self.inner_class_types
|
1018
|
+
@inner_class_types = {}
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
def self.field_remappings
|
1022
|
+
@field_remappings = {}
|
1023
|
+
end
|
596
1024
|
end
|
597
1025
|
# If the payment succeeded, this contains the details of the convenience store where the payment was completed.
|
598
1026
|
attr_reader :store
|
1027
|
+
|
1028
|
+
def self.inner_class_types
|
1029
|
+
@inner_class_types = { store: Store }
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
def self.field_remappings
|
1033
|
+
@field_remappings = {}
|
1034
|
+
end
|
599
1035
|
end
|
600
1036
|
|
601
1037
|
class KrCard < Stripe::StripeObject
|
@@ -607,15 +1043,39 @@ module Stripe
|
|
607
1043
|
attr_reader :last4
|
608
1044
|
# The Korean Card transaction ID associated with this payment.
|
609
1045
|
attr_reader :transaction_id
|
1046
|
+
|
1047
|
+
def self.inner_class_types
|
1048
|
+
@inner_class_types = {}
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
def self.field_remappings
|
1052
|
+
@field_remappings = {}
|
1053
|
+
end
|
610
1054
|
end
|
611
1055
|
|
612
1056
|
class Link < Stripe::StripeObject
|
613
1057
|
# Two-letter ISO code representing the funding source country beneath the Link payment.
|
614
1058
|
# You could use this attribute to get a sense of international fees.
|
615
1059
|
attr_reader :country
|
1060
|
+
|
1061
|
+
def self.inner_class_types
|
1062
|
+
@inner_class_types = {}
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
def self.field_remappings
|
1066
|
+
@field_remappings = {}
|
1067
|
+
end
|
616
1068
|
end
|
617
1069
|
|
618
|
-
class MbWay < Stripe::StripeObject
|
1070
|
+
class MbWay < Stripe::StripeObject
|
1071
|
+
def self.inner_class_types
|
1072
|
+
@inner_class_types = {}
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
def self.field_remappings
|
1076
|
+
@field_remappings = {}
|
1077
|
+
end
|
1078
|
+
end
|
619
1079
|
|
620
1080
|
class Mobilepay < Stripe::StripeObject
|
621
1081
|
class Card < Stripe::StripeObject
|
@@ -629,9 +1089,25 @@ module Stripe
|
|
629
1089
|
attr_reader :exp_year
|
630
1090
|
# The last 4 digits of the card
|
631
1091
|
attr_reader :last4
|
1092
|
+
|
1093
|
+
def self.inner_class_types
|
1094
|
+
@inner_class_types = {}
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
def self.field_remappings
|
1098
|
+
@field_remappings = {}
|
1099
|
+
end
|
632
1100
|
end
|
633
1101
|
# Internal card details
|
634
1102
|
attr_reader :card
|
1103
|
+
|
1104
|
+
def self.inner_class_types
|
1105
|
+
@inner_class_types = { card: Card }
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
def self.field_remappings
|
1109
|
+
@field_remappings = {}
|
1110
|
+
end
|
635
1111
|
end
|
636
1112
|
|
637
1113
|
class Multibanco < Stripe::StripeObject
|
@@ -639,6 +1115,14 @@ module Stripe
|
|
639
1115
|
attr_reader :entity
|
640
1116
|
# Reference number associated with this Multibanco payment.
|
641
1117
|
attr_reader :reference
|
1118
|
+
|
1119
|
+
def self.inner_class_types
|
1120
|
+
@inner_class_types = {}
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
def self.field_remappings
|
1124
|
+
@field_remappings = {}
|
1125
|
+
end
|
642
1126
|
end
|
643
1127
|
|
644
1128
|
class NaverPay < Stripe::StripeObject
|
@@ -646,6 +1130,14 @@ module Stripe
|
|
646
1130
|
attr_reader :buyer_id
|
647
1131
|
# The Naver Pay transaction ID associated with this payment.
|
648
1132
|
attr_reader :transaction_id
|
1133
|
+
|
1134
|
+
def self.inner_class_types
|
1135
|
+
@inner_class_types = {}
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
def self.field_remappings
|
1139
|
+
@field_remappings = {}
|
1140
|
+
end
|
649
1141
|
end
|
650
1142
|
|
651
1143
|
class NzBankAccount < Stripe::StripeObject
|
@@ -661,11 +1153,27 @@ module Stripe
|
|
661
1153
|
attr_reader :last4
|
662
1154
|
# The suffix of the bank account number.
|
663
1155
|
attr_reader :suffix
|
1156
|
+
|
1157
|
+
def self.inner_class_types
|
1158
|
+
@inner_class_types = {}
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
def self.field_remappings
|
1162
|
+
@field_remappings = {}
|
1163
|
+
end
|
664
1164
|
end
|
665
1165
|
|
666
1166
|
class Oxxo < Stripe::StripeObject
|
667
1167
|
# OXXO reference number
|
668
1168
|
attr_reader :number
|
1169
|
+
|
1170
|
+
def self.inner_class_types
|
1171
|
+
@inner_class_types = {}
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
def self.field_remappings
|
1175
|
+
@field_remappings = {}
|
1176
|
+
end
|
669
1177
|
end
|
670
1178
|
|
671
1179
|
class P24 < Stripe::StripeObject
|
@@ -677,20 +1185,52 @@ module Stripe
|
|
677
1185
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
678
1186
|
# Przelewy24 rarely provides this information so the attribute is usually empty.
|
679
1187
|
attr_reader :verified_name
|
1188
|
+
|
1189
|
+
def self.inner_class_types
|
1190
|
+
@inner_class_types = {}
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
def self.field_remappings
|
1194
|
+
@field_remappings = {}
|
1195
|
+
end
|
680
1196
|
end
|
681
1197
|
|
682
|
-
class PayByBank < Stripe::StripeObject
|
1198
|
+
class PayByBank < Stripe::StripeObject
|
1199
|
+
def self.inner_class_types
|
1200
|
+
@inner_class_types = {}
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
def self.field_remappings
|
1204
|
+
@field_remappings = {}
|
1205
|
+
end
|
1206
|
+
end
|
683
1207
|
|
684
1208
|
class Payco < Stripe::StripeObject
|
685
1209
|
# A unique identifier for the buyer as determined by the local payment processor.
|
686
1210
|
attr_reader :buyer_id
|
687
1211
|
# The Payco transaction ID associated with this payment.
|
688
1212
|
attr_reader :transaction_id
|
1213
|
+
|
1214
|
+
def self.inner_class_types
|
1215
|
+
@inner_class_types = {}
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
def self.field_remappings
|
1219
|
+
@field_remappings = {}
|
1220
|
+
end
|
689
1221
|
end
|
690
1222
|
|
691
1223
|
class Paynow < Stripe::StripeObject
|
692
1224
|
# Reference number associated with this PayNow payment
|
693
1225
|
attr_reader :reference
|
1226
|
+
|
1227
|
+
def self.inner_class_types
|
1228
|
+
@inner_class_types = {}
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
def self.field_remappings
|
1232
|
+
@field_remappings = {}
|
1233
|
+
end
|
694
1234
|
end
|
695
1235
|
|
696
1236
|
class Paypal < Stripe::StripeObject
|
@@ -699,6 +1239,14 @@ module Stripe
|
|
699
1239
|
attr_reader :dispute_categories
|
700
1240
|
# Indicates whether the transaction is eligible for PayPal's seller protection.
|
701
1241
|
attr_reader :status
|
1242
|
+
|
1243
|
+
def self.inner_class_types
|
1244
|
+
@inner_class_types = {}
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
def self.field_remappings
|
1248
|
+
@field_remappings = {}
|
1249
|
+
end
|
702
1250
|
end
|
703
1251
|
|
704
1252
|
class Shipping < Stripe::StripeObject
|
@@ -714,6 +1262,14 @@ module Stripe
|
|
714
1262
|
attr_reader :postal_code
|
715
1263
|
# State, county, province, or region.
|
716
1264
|
attr_reader :state
|
1265
|
+
|
1266
|
+
def self.inner_class_types
|
1267
|
+
@inner_class_types = {}
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
def self.field_remappings
|
1271
|
+
@field_remappings = {}
|
1272
|
+
end
|
717
1273
|
end
|
718
1274
|
|
719
1275
|
class VerifiedAddress < Stripe::StripeObject
|
@@ -729,6 +1285,14 @@ module Stripe
|
|
729
1285
|
attr_reader :postal_code
|
730
1286
|
# State, county, province, or region.
|
731
1287
|
attr_reader :state
|
1288
|
+
|
1289
|
+
def self.inner_class_types
|
1290
|
+
@inner_class_types = {}
|
1291
|
+
end
|
1292
|
+
|
1293
|
+
def self.field_remappings
|
1294
|
+
@field_remappings = {}
|
1295
|
+
end
|
732
1296
|
end
|
733
1297
|
# 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.
|
734
1298
|
attr_reader :country
|
@@ -758,6 +1322,18 @@ module Stripe
|
|
758
1322
|
# Owner's verified full name. Values are verified or provided by PayPal directly
|
759
1323
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
760
1324
|
attr_reader :verified_name
|
1325
|
+
|
1326
|
+
def self.inner_class_types
|
1327
|
+
@inner_class_types = {
|
1328
|
+
seller_protection: SellerProtection,
|
1329
|
+
shipping: Shipping,
|
1330
|
+
verified_address: VerifiedAddress,
|
1331
|
+
}
|
1332
|
+
end
|
1333
|
+
|
1334
|
+
def self.field_remappings
|
1335
|
+
@field_remappings = {}
|
1336
|
+
end
|
761
1337
|
end
|
762
1338
|
|
763
1339
|
class Payto < Stripe::StripeObject
|
@@ -769,6 +1345,14 @@ module Stripe
|
|
769
1345
|
attr_reader :mandate
|
770
1346
|
# The PayID alias for the bank account.
|
771
1347
|
attr_reader :pay_id
|
1348
|
+
|
1349
|
+
def self.inner_class_types
|
1350
|
+
@inner_class_types = {}
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
def self.field_remappings
|
1354
|
+
@field_remappings = {}
|
1355
|
+
end
|
772
1356
|
end
|
773
1357
|
|
774
1358
|
class Pix < Stripe::StripeObject
|
@@ -776,15 +1360,48 @@ module Stripe
|
|
776
1360
|
attr_reader :bank_transaction_id
|
777
1361
|
# ID of the multi use Mandate generated by the PaymentIntent
|
778
1362
|
attr_reader :mandate
|
1363
|
+
|
1364
|
+
def self.inner_class_types
|
1365
|
+
@inner_class_types = {}
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
def self.field_remappings
|
1369
|
+
@field_remappings = {}
|
1370
|
+
end
|
779
1371
|
end
|
780
1372
|
|
781
1373
|
class Promptpay < Stripe::StripeObject
|
782
1374
|
# Bill reference generated by PromptPay
|
783
1375
|
attr_reader :reference
|
1376
|
+
|
1377
|
+
def self.inner_class_types
|
1378
|
+
@inner_class_types = {}
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
def self.field_remappings
|
1382
|
+
@field_remappings = {}
|
1383
|
+
end
|
784
1384
|
end
|
785
1385
|
|
786
|
-
class Qris < Stripe::StripeObject
|
787
|
-
|
1386
|
+
class Qris < Stripe::StripeObject
|
1387
|
+
def self.inner_class_types
|
1388
|
+
@inner_class_types = {}
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
def self.field_remappings
|
1392
|
+
@field_remappings = {}
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
class Rechnung < Stripe::StripeObject
|
1397
|
+
def self.inner_class_types
|
1398
|
+
@inner_class_types = {}
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
def self.field_remappings
|
1402
|
+
@field_remappings = {}
|
1403
|
+
end
|
1404
|
+
end
|
788
1405
|
|
789
1406
|
class RevolutPay < Stripe::StripeObject
|
790
1407
|
class Funding < Stripe::StripeObject
|
@@ -803,16 +1420,40 @@ module Stripe
|
|
803
1420
|
attr_reader :funding
|
804
1421
|
# The last four digits of the card.
|
805
1422
|
attr_reader :last4
|
1423
|
+
|
1424
|
+
def self.inner_class_types
|
1425
|
+
@inner_class_types = {}
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
def self.field_remappings
|
1429
|
+
@field_remappings = {}
|
1430
|
+
end
|
806
1431
|
end
|
807
1432
|
# Attribute for field card
|
808
1433
|
attr_reader :card
|
809
1434
|
# funding type of the underlying payment method.
|
810
1435
|
attr_reader :type
|
1436
|
+
|
1437
|
+
def self.inner_class_types
|
1438
|
+
@inner_class_types = { card: Card }
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
def self.field_remappings
|
1442
|
+
@field_remappings = {}
|
1443
|
+
end
|
811
1444
|
end
|
812
1445
|
# Attribute for field funding
|
813
1446
|
attr_reader :funding
|
814
1447
|
# The Revolut Pay transaction ID associated with this payment.
|
815
1448
|
attr_reader :transaction_id
|
1449
|
+
|
1450
|
+
def self.inner_class_types
|
1451
|
+
@inner_class_types = { funding: Funding }
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
def self.field_remappings
|
1455
|
+
@field_remappings = {}
|
1456
|
+
end
|
816
1457
|
end
|
817
1458
|
|
818
1459
|
class SamsungPay < Stripe::StripeObject
|
@@ -820,11 +1461,27 @@ module Stripe
|
|
820
1461
|
attr_reader :buyer_id
|
821
1462
|
# The Samsung Pay transaction ID associated with this payment.
|
822
1463
|
attr_reader :transaction_id
|
1464
|
+
|
1465
|
+
def self.inner_class_types
|
1466
|
+
@inner_class_types = {}
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
def self.field_remappings
|
1470
|
+
@field_remappings = {}
|
1471
|
+
end
|
823
1472
|
end
|
824
1473
|
|
825
1474
|
class Satispay < Stripe::StripeObject
|
826
1475
|
# The Satispay transaction ID associated with this payment.
|
827
1476
|
attr_reader :transaction_id
|
1477
|
+
|
1478
|
+
def self.inner_class_types
|
1479
|
+
@inner_class_types = {}
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
def self.field_remappings
|
1483
|
+
@field_remappings = {}
|
1484
|
+
end
|
828
1485
|
end
|
829
1486
|
|
830
1487
|
class SepaCreditTransfer < Stripe::StripeObject
|
@@ -834,6 +1491,14 @@ module Stripe
|
|
834
1491
|
attr_reader :bic
|
835
1492
|
# IBAN of the bank account to transfer funds to.
|
836
1493
|
attr_reader :iban
|
1494
|
+
|
1495
|
+
def self.inner_class_types
|
1496
|
+
@inner_class_types = {}
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
def self.field_remappings
|
1500
|
+
@field_remappings = {}
|
1501
|
+
end
|
837
1502
|
end
|
838
1503
|
|
839
1504
|
class SepaDebit < Stripe::StripeObject
|
@@ -849,9 +1514,25 @@ module Stripe
|
|
849
1514
|
attr_reader :last4
|
850
1515
|
# 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).
|
851
1516
|
attr_reader :mandate
|
1517
|
+
|
1518
|
+
def self.inner_class_types
|
1519
|
+
@inner_class_types = {}
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
def self.field_remappings
|
1523
|
+
@field_remappings = {}
|
1524
|
+
end
|
852
1525
|
end
|
853
1526
|
|
854
|
-
class Shopeepay < Stripe::StripeObject
|
1527
|
+
class Shopeepay < Stripe::StripeObject
|
1528
|
+
def self.inner_class_types
|
1529
|
+
@inner_class_types = {}
|
1530
|
+
end
|
1531
|
+
|
1532
|
+
def self.field_remappings
|
1533
|
+
@field_remappings = {}
|
1534
|
+
end
|
1535
|
+
end
|
855
1536
|
|
856
1537
|
class Sofort < Stripe::StripeObject
|
857
1538
|
# Bank code of bank associated with the bank account.
|
@@ -874,15 +1555,39 @@ module Stripe
|
|
874
1555
|
# Owner's verified full name. Values are verified or provided by SOFORT directly
|
875
1556
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
876
1557
|
attr_reader :verified_name
|
1558
|
+
|
1559
|
+
def self.inner_class_types
|
1560
|
+
@inner_class_types = {}
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
def self.field_remappings
|
1564
|
+
@field_remappings = {}
|
1565
|
+
end
|
877
1566
|
end
|
878
1567
|
|
879
|
-
class StripeAccount < Stripe::StripeObject
|
1568
|
+
class StripeAccount < Stripe::StripeObject
|
1569
|
+
def self.inner_class_types
|
1570
|
+
@inner_class_types = {}
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
def self.field_remappings
|
1574
|
+
@field_remappings = {}
|
1575
|
+
end
|
1576
|
+
end
|
880
1577
|
|
881
1578
|
class StripeBalance < Stripe::StripeObject
|
882
1579
|
# The connected account ID whose Stripe balance to use as the source of payment
|
883
1580
|
attr_reader :account
|
884
1581
|
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
885
1582
|
attr_reader :source_type
|
1583
|
+
|
1584
|
+
def self.inner_class_types
|
1585
|
+
@inner_class_types = {}
|
1586
|
+
end
|
1587
|
+
|
1588
|
+
def self.field_remappings
|
1589
|
+
@field_remappings = {}
|
1590
|
+
end
|
886
1591
|
end
|
887
1592
|
|
888
1593
|
class Swish < Stripe::StripeObject
|
@@ -892,9 +1597,25 @@ module Stripe
|
|
892
1597
|
attr_reader :payment_reference
|
893
1598
|
# The last four digits of the Swish account phone number
|
894
1599
|
attr_reader :verified_phone_last4
|
1600
|
+
|
1601
|
+
def self.inner_class_types
|
1602
|
+
@inner_class_types = {}
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
def self.field_remappings
|
1606
|
+
@field_remappings = {}
|
1607
|
+
end
|
895
1608
|
end
|
896
1609
|
|
897
|
-
class Twint < Stripe::StripeObject
|
1610
|
+
class Twint < Stripe::StripeObject
|
1611
|
+
def self.inner_class_types
|
1612
|
+
@inner_class_types = {}
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
def self.field_remappings
|
1616
|
+
@field_remappings = {}
|
1617
|
+
end
|
1618
|
+
end
|
898
1619
|
|
899
1620
|
class UsBankAccount < Stripe::StripeObject
|
900
1621
|
# Attribute for field account_holder_type
|
@@ -913,9 +1634,25 @@ module Stripe
|
|
913
1634
|
attr_reader :payment_reference
|
914
1635
|
# Routing number of the bank account.
|
915
1636
|
attr_reader :routing_number
|
1637
|
+
|
1638
|
+
def self.inner_class_types
|
1639
|
+
@inner_class_types = {}
|
1640
|
+
end
|
1641
|
+
|
1642
|
+
def self.field_remappings
|
1643
|
+
@field_remappings = {}
|
1644
|
+
end
|
916
1645
|
end
|
917
1646
|
|
918
|
-
class Wechat < Stripe::StripeObject
|
1647
|
+
class Wechat < Stripe::StripeObject
|
1648
|
+
def self.inner_class_types
|
1649
|
+
@inner_class_types = {}
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
def self.field_remappings
|
1653
|
+
@field_remappings = {}
|
1654
|
+
end
|
1655
|
+
end
|
919
1656
|
|
920
1657
|
class WechatPay < Stripe::StripeObject
|
921
1658
|
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
@@ -926,9 +1663,25 @@ module Stripe
|
|
926
1663
|
attr_reader :reader
|
927
1664
|
# Transaction ID of this particular WeChat Pay transaction.
|
928
1665
|
attr_reader :transaction_id
|
1666
|
+
|
1667
|
+
def self.inner_class_types
|
1668
|
+
@inner_class_types = {}
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
def self.field_remappings
|
1672
|
+
@field_remappings = {}
|
1673
|
+
end
|
929
1674
|
end
|
930
1675
|
|
931
|
-
class Zip < Stripe::StripeObject
|
1676
|
+
class Zip < Stripe::StripeObject
|
1677
|
+
def self.inner_class_types
|
1678
|
+
@inner_class_types = {}
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
def self.field_remappings
|
1682
|
+
@field_remappings = {}
|
1683
|
+
end
|
1684
|
+
end
|
932
1685
|
# Attribute for field ach_credit_transfer
|
933
1686
|
attr_reader :ach_credit_transfer
|
934
1687
|
# Attribute for field ach_debit
|
@@ -1067,12 +1820,94 @@ module Stripe
|
|
1067
1820
|
attr_reader :wechat_pay
|
1068
1821
|
# Attribute for field zip
|
1069
1822
|
attr_reader :zip
|
1823
|
+
|
1824
|
+
def self.inner_class_types
|
1825
|
+
@inner_class_types = {
|
1826
|
+
ach_credit_transfer: AchCreditTransfer,
|
1827
|
+
ach_debit: AchDebit,
|
1828
|
+
acss_debit: AcssDebit,
|
1829
|
+
affirm: Affirm,
|
1830
|
+
afterpay_clearpay: AfterpayClearpay,
|
1831
|
+
alipay: Alipay,
|
1832
|
+
alma: Alma,
|
1833
|
+
amazon_pay: AmazonPay,
|
1834
|
+
au_becs_debit: AuBecsDebit,
|
1835
|
+
bacs_debit: BacsDebit,
|
1836
|
+
bancontact: Bancontact,
|
1837
|
+
billie: Billie,
|
1838
|
+
billing_details: BillingDetails,
|
1839
|
+
blik: Blik,
|
1840
|
+
boleto: Boleto,
|
1841
|
+
card: Card,
|
1842
|
+
card_present: CardPresent,
|
1843
|
+
cashapp: Cashapp,
|
1844
|
+
crypto: Crypto,
|
1845
|
+
custom: Custom,
|
1846
|
+
customer_balance: CustomerBalance,
|
1847
|
+
eps: Eps,
|
1848
|
+
fpx: Fpx,
|
1849
|
+
giropay: Giropay,
|
1850
|
+
gopay: Gopay,
|
1851
|
+
grabpay: Grabpay,
|
1852
|
+
id_bank_transfer: IdBankTransfer,
|
1853
|
+
ideal: Ideal,
|
1854
|
+
interac_present: InteracPresent,
|
1855
|
+
kakao_pay: KakaoPay,
|
1856
|
+
klarna: Klarna,
|
1857
|
+
konbini: Konbini,
|
1858
|
+
kr_card: KrCard,
|
1859
|
+
link: Link,
|
1860
|
+
mb_way: MbWay,
|
1861
|
+
mobilepay: Mobilepay,
|
1862
|
+
multibanco: Multibanco,
|
1863
|
+
naver_pay: NaverPay,
|
1864
|
+
nz_bank_account: NzBankAccount,
|
1865
|
+
oxxo: Oxxo,
|
1866
|
+
p24: P24,
|
1867
|
+
pay_by_bank: PayByBank,
|
1868
|
+
payco: Payco,
|
1869
|
+
paynow: Paynow,
|
1870
|
+
paypal: Paypal,
|
1871
|
+
payto: Payto,
|
1872
|
+
pix: Pix,
|
1873
|
+
promptpay: Promptpay,
|
1874
|
+
qris: Qris,
|
1875
|
+
rechnung: Rechnung,
|
1876
|
+
revolut_pay: RevolutPay,
|
1877
|
+
samsung_pay: SamsungPay,
|
1878
|
+
satispay: Satispay,
|
1879
|
+
sepa_credit_transfer: SepaCreditTransfer,
|
1880
|
+
sepa_debit: SepaDebit,
|
1881
|
+
shopeepay: Shopeepay,
|
1882
|
+
sofort: Sofort,
|
1883
|
+
stripe_account: StripeAccount,
|
1884
|
+
stripe_balance: StripeBalance,
|
1885
|
+
swish: Swish,
|
1886
|
+
twint: Twint,
|
1887
|
+
us_bank_account: UsBankAccount,
|
1888
|
+
wechat: Wechat,
|
1889
|
+
wechat_pay: WechatPay,
|
1890
|
+
zip: Zip,
|
1891
|
+
}
|
1892
|
+
end
|
1893
|
+
|
1894
|
+
def self.field_remappings
|
1895
|
+
@field_remappings = {}
|
1896
|
+
end
|
1070
1897
|
end
|
1071
1898
|
|
1072
1899
|
class ProcessorDetails < Stripe::StripeObject
|
1073
1900
|
class Custom < Stripe::StripeObject
|
1074
1901
|
# An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID.
|
1075
1902
|
attr_reader :payment_reference
|
1903
|
+
|
1904
|
+
def self.inner_class_types
|
1905
|
+
@inner_class_types = {}
|
1906
|
+
end
|
1907
|
+
|
1908
|
+
def self.field_remappings
|
1909
|
+
@field_remappings = {}
|
1910
|
+
end
|
1076
1911
|
end
|
1077
1912
|
# Custom processors represent payment processors not modeled directly in
|
1078
1913
|
# the Stripe API. This resource consists of details about the custom processor
|
@@ -1080,6 +1915,14 @@ module Stripe
|
|
1080
1915
|
attr_reader :custom
|
1081
1916
|
# The processor used for this payment attempt.
|
1082
1917
|
attr_reader :type
|
1918
|
+
|
1919
|
+
def self.inner_class_types
|
1920
|
+
@inner_class_types = { custom: Custom }
|
1921
|
+
end
|
1922
|
+
|
1923
|
+
def self.field_remappings
|
1924
|
+
@field_remappings = {}
|
1925
|
+
end
|
1083
1926
|
end
|
1084
1927
|
|
1085
1928
|
class ShippingDetails < Stripe::StripeObject
|
@@ -1096,6 +1939,14 @@ module Stripe
|
|
1096
1939
|
attr_reader :postal_code
|
1097
1940
|
# State, county, province, or region.
|
1098
1941
|
attr_reader :state
|
1942
|
+
|
1943
|
+
def self.inner_class_types
|
1944
|
+
@inner_class_types = {}
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
def self.field_remappings
|
1948
|
+
@field_remappings = {}
|
1949
|
+
end
|
1099
1950
|
end
|
1100
1951
|
# A representation of a physical address.
|
1101
1952
|
attr_reader :address
|
@@ -1103,6 +1954,14 @@ module Stripe
|
|
1103
1954
|
attr_reader :name
|
1104
1955
|
# The shipping recipient's phone number.
|
1105
1956
|
attr_reader :phone
|
1957
|
+
|
1958
|
+
def self.inner_class_types
|
1959
|
+
@inner_class_types = { address: Address }
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
def self.field_remappings
|
1963
|
+
@field_remappings = {}
|
1964
|
+
end
|
1106
1965
|
end
|
1107
1966
|
|
1108
1967
|
class ReportPaymentAttemptParams < Stripe::RequestParams
|
@@ -1719,5 +2578,25 @@ module Stripe
|
|
1719
2578
|
opts: opts
|
1720
2579
|
)
|
1721
2580
|
end
|
2581
|
+
|
2582
|
+
def self.inner_class_types
|
2583
|
+
@inner_class_types = {
|
2584
|
+
amount: Amount,
|
2585
|
+
amount_authorized: AmountAuthorized,
|
2586
|
+
amount_canceled: AmountCanceled,
|
2587
|
+
amount_failed: AmountFailed,
|
2588
|
+
amount_guaranteed: AmountGuaranteed,
|
2589
|
+
amount_refunded: AmountRefunded,
|
2590
|
+
amount_requested: AmountRequested,
|
2591
|
+
customer_details: CustomerDetails,
|
2592
|
+
payment_method_details: PaymentMethodDetails,
|
2593
|
+
processor_details: ProcessorDetails,
|
2594
|
+
shipping_details: ShippingDetails,
|
2595
|
+
}
|
2596
|
+
end
|
2597
|
+
|
2598
|
+
def self.field_remappings
|
2599
|
+
@field_remappings = {}
|
2600
|
+
end
|
1722
2601
|
end
|
1723
2602
|
end
|