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
@@ -19,6 +19,14 @@ module Stripe
|
|
19
19
|
attr_reader :country
|
20
20
|
# The identified tax state, county, province, or region of the customer.
|
21
21
|
attr_reader :state
|
22
|
+
|
23
|
+
def self.inner_class_types
|
24
|
+
@inner_class_types = {}
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.field_remappings
|
28
|
+
@field_remappings = {}
|
29
|
+
end
|
22
30
|
end
|
23
31
|
# Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.
|
24
32
|
attr_reader :exempt
|
@@ -28,6 +36,14 @@ module Stripe
|
|
28
36
|
attr_reader :location
|
29
37
|
# The data source used to identify the customer's tax location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.
|
30
38
|
attr_reader :location_source
|
39
|
+
|
40
|
+
def self.inner_class_types
|
41
|
+
@inner_class_types = { location: Location }
|
42
|
+
end
|
43
|
+
|
44
|
+
def self.field_remappings
|
45
|
+
@field_remappings = {}
|
46
|
+
end
|
31
47
|
end
|
32
48
|
|
33
49
|
class Billing < Stripe::StripeObject
|
@@ -37,6 +53,14 @@ module Stripe
|
|
37
53
|
attr_reader :name
|
38
54
|
# The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
|
39
55
|
attr_reader :value
|
56
|
+
|
57
|
+
def self.inner_class_types
|
58
|
+
@inner_class_types = {}
|
59
|
+
end
|
60
|
+
|
61
|
+
def self.field_remappings
|
62
|
+
@field_remappings = {}
|
63
|
+
end
|
40
64
|
end
|
41
65
|
|
42
66
|
class Rendering < Stripe::StripeObject
|
@@ -44,6 +68,14 @@ module Stripe
|
|
44
68
|
attr_reader :amount_tax_display
|
45
69
|
# ID of the invoice rendering template to use for future invoices.
|
46
70
|
attr_reader :template
|
71
|
+
|
72
|
+
def self.inner_class_types
|
73
|
+
@inner_class_types = {}
|
74
|
+
end
|
75
|
+
|
76
|
+
def self.field_remappings
|
77
|
+
@field_remappings = {}
|
78
|
+
end
|
47
79
|
end
|
48
80
|
# The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
|
49
81
|
attr_reader :custom_fields
|
@@ -55,11 +87,27 @@ module Stripe
|
|
55
87
|
attr_reader :prefix
|
56
88
|
# Default options for invoice PDF rendering for this customer.
|
57
89
|
attr_reader :rendering
|
90
|
+
|
91
|
+
def self.inner_class_types
|
92
|
+
@inner_class_types = { custom_fields: CustomField, rendering: Rendering }
|
93
|
+
end
|
94
|
+
|
95
|
+
def self.field_remappings
|
96
|
+
@field_remappings = {}
|
97
|
+
end
|
58
98
|
end
|
59
99
|
# ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for invoices and subscriptions.
|
60
100
|
attr_reader :default_payment_method
|
61
101
|
# Default settings used on invoices for this customer.
|
62
102
|
attr_reader :invoice
|
103
|
+
|
104
|
+
def self.inner_class_types
|
105
|
+
@inner_class_types = { invoice: Invoice }
|
106
|
+
end
|
107
|
+
|
108
|
+
def self.field_remappings
|
109
|
+
@field_remappings = {}
|
110
|
+
end
|
63
111
|
end
|
64
112
|
|
65
113
|
class Capabilities < Stripe::StripeObject
|
@@ -69,6 +117,14 @@ module Stripe
|
|
69
117
|
attr_reader :code
|
70
118
|
# Machine-readable code explaining how to make the Capability active.
|
71
119
|
attr_reader :resolution
|
120
|
+
|
121
|
+
def self.inner_class_types
|
122
|
+
@inner_class_types = {}
|
123
|
+
end
|
124
|
+
|
125
|
+
def self.field_remappings
|
126
|
+
@field_remappings = {}
|
127
|
+
end
|
72
128
|
end
|
73
129
|
# Whether the Capability has been requested.
|
74
130
|
attr_reader :requested
|
@@ -76,9 +132,25 @@ module Stripe
|
|
76
132
|
attr_reader :status
|
77
133
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
78
134
|
attr_reader :status_details
|
135
|
+
|
136
|
+
def self.inner_class_types
|
137
|
+
@inner_class_types = { status_details: StatusDetail }
|
138
|
+
end
|
139
|
+
|
140
|
+
def self.field_remappings
|
141
|
+
@field_remappings = {}
|
142
|
+
end
|
79
143
|
end
|
80
144
|
# Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions. Uses the `location_source` field.
|
81
145
|
attr_reader :automatic_indirect_tax
|
146
|
+
|
147
|
+
def self.inner_class_types
|
148
|
+
@inner_class_types = { automatic_indirect_tax: AutomaticIndirectTax }
|
149
|
+
end
|
150
|
+
|
151
|
+
def self.field_remappings
|
152
|
+
@field_remappings = {}
|
153
|
+
end
|
82
154
|
end
|
83
155
|
|
84
156
|
class Shipping < Stripe::StripeObject
|
@@ -95,6 +167,14 @@ module Stripe
|
|
95
167
|
attr_reader :postal_code
|
96
168
|
# State, county, province, or region.
|
97
169
|
attr_reader :state
|
170
|
+
|
171
|
+
def self.inner_class_types
|
172
|
+
@inner_class_types = {}
|
173
|
+
end
|
174
|
+
|
175
|
+
def self.field_remappings
|
176
|
+
@field_remappings = {}
|
177
|
+
end
|
98
178
|
end
|
99
179
|
# Customer shipping address.
|
100
180
|
attr_reader :address
|
@@ -102,6 +182,14 @@ module Stripe
|
|
102
182
|
attr_reader :name
|
103
183
|
# Customer phone (including extension).
|
104
184
|
attr_reader :phone
|
185
|
+
|
186
|
+
def self.inner_class_types
|
187
|
+
@inner_class_types = { address: Address }
|
188
|
+
end
|
189
|
+
|
190
|
+
def self.field_remappings
|
191
|
+
@field_remappings = {}
|
192
|
+
end
|
105
193
|
end
|
106
194
|
# Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
107
195
|
attr_reader :applied
|
@@ -115,6 +203,19 @@ module Stripe
|
|
115
203
|
attr_reader :shipping
|
116
204
|
# ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account.
|
117
205
|
attr_reader :test_clock
|
206
|
+
|
207
|
+
def self.inner_class_types
|
208
|
+
@inner_class_types = {
|
209
|
+
automatic_indirect_tax: AutomaticIndirectTax,
|
210
|
+
billing: Billing,
|
211
|
+
capabilities: Capabilities,
|
212
|
+
shipping: Shipping,
|
213
|
+
}
|
214
|
+
end
|
215
|
+
|
216
|
+
def self.field_remappings
|
217
|
+
@field_remappings = {}
|
218
|
+
end
|
118
219
|
end
|
119
220
|
|
120
221
|
class Merchant < Stripe::StripeObject
|
@@ -123,6 +224,14 @@ module Stripe
|
|
123
224
|
attr_reader :display_name
|
124
225
|
# Service user number for Bacs debit payments.
|
125
226
|
attr_reader :service_user_number
|
227
|
+
|
228
|
+
def self.inner_class_types
|
229
|
+
@inner_class_types = {}
|
230
|
+
end
|
231
|
+
|
232
|
+
def self.field_remappings
|
233
|
+
@field_remappings = {}
|
234
|
+
end
|
126
235
|
end
|
127
236
|
|
128
237
|
class Branding < Stripe::StripeObject
|
@@ -134,6 +243,14 @@ module Stripe
|
|
134
243
|
attr_reader :primary_color
|
135
244
|
# A CSS hex color value representing the secondary branding color for the merchant.
|
136
245
|
attr_reader :secondary_color
|
246
|
+
|
247
|
+
def self.inner_class_types
|
248
|
+
@inner_class_types = {}
|
249
|
+
end
|
250
|
+
|
251
|
+
def self.field_remappings
|
252
|
+
@field_remappings = {}
|
253
|
+
end
|
137
254
|
end
|
138
255
|
|
139
256
|
class Capabilities < Stripe::StripeObject
|
@@ -143,6 +260,14 @@ module Stripe
|
|
143
260
|
attr_reader :code
|
144
261
|
# Machine-readable code explaining how to make the Capability active.
|
145
262
|
attr_reader :resolution
|
263
|
+
|
264
|
+
def self.inner_class_types
|
265
|
+
@inner_class_types = {}
|
266
|
+
end
|
267
|
+
|
268
|
+
def self.field_remappings
|
269
|
+
@field_remappings = {}
|
270
|
+
end
|
146
271
|
end
|
147
272
|
# Whether the Capability has been requested.
|
148
273
|
attr_reader :requested
|
@@ -150,6 +275,14 @@ module Stripe
|
|
150
275
|
attr_reader :status
|
151
276
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
152
277
|
attr_reader :status_details
|
278
|
+
|
279
|
+
def self.inner_class_types
|
280
|
+
@inner_class_types = { status_details: StatusDetail }
|
281
|
+
end
|
282
|
+
|
283
|
+
def self.field_remappings
|
284
|
+
@field_remappings = {}
|
285
|
+
end
|
153
286
|
end
|
154
287
|
|
155
288
|
class AcssDebitPayments < Stripe::StripeObject
|
@@ -158,6 +291,14 @@ module Stripe
|
|
158
291
|
attr_reader :code
|
159
292
|
# Machine-readable code explaining how to make the Capability active.
|
160
293
|
attr_reader :resolution
|
294
|
+
|
295
|
+
def self.inner_class_types
|
296
|
+
@inner_class_types = {}
|
297
|
+
end
|
298
|
+
|
299
|
+
def self.field_remappings
|
300
|
+
@field_remappings = {}
|
301
|
+
end
|
161
302
|
end
|
162
303
|
# Whether the Capability has been requested.
|
163
304
|
attr_reader :requested
|
@@ -165,6 +306,14 @@ module Stripe
|
|
165
306
|
attr_reader :status
|
166
307
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
167
308
|
attr_reader :status_details
|
309
|
+
|
310
|
+
def self.inner_class_types
|
311
|
+
@inner_class_types = { status_details: StatusDetail }
|
312
|
+
end
|
313
|
+
|
314
|
+
def self.field_remappings
|
315
|
+
@field_remappings = {}
|
316
|
+
end
|
168
317
|
end
|
169
318
|
|
170
319
|
class AffirmPayments < Stripe::StripeObject
|
@@ -173,6 +322,14 @@ module Stripe
|
|
173
322
|
attr_reader :code
|
174
323
|
# Machine-readable code explaining how to make the Capability active.
|
175
324
|
attr_reader :resolution
|
325
|
+
|
326
|
+
def self.inner_class_types
|
327
|
+
@inner_class_types = {}
|
328
|
+
end
|
329
|
+
|
330
|
+
def self.field_remappings
|
331
|
+
@field_remappings = {}
|
332
|
+
end
|
176
333
|
end
|
177
334
|
# Whether the Capability has been requested.
|
178
335
|
attr_reader :requested
|
@@ -180,6 +337,14 @@ module Stripe
|
|
180
337
|
attr_reader :status
|
181
338
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
182
339
|
attr_reader :status_details
|
340
|
+
|
341
|
+
def self.inner_class_types
|
342
|
+
@inner_class_types = { status_details: StatusDetail }
|
343
|
+
end
|
344
|
+
|
345
|
+
def self.field_remappings
|
346
|
+
@field_remappings = {}
|
347
|
+
end
|
183
348
|
end
|
184
349
|
|
185
350
|
class AfterpayClearpayPayments < Stripe::StripeObject
|
@@ -188,6 +353,14 @@ module Stripe
|
|
188
353
|
attr_reader :code
|
189
354
|
# Machine-readable code explaining how to make the Capability active.
|
190
355
|
attr_reader :resolution
|
356
|
+
|
357
|
+
def self.inner_class_types
|
358
|
+
@inner_class_types = {}
|
359
|
+
end
|
360
|
+
|
361
|
+
def self.field_remappings
|
362
|
+
@field_remappings = {}
|
363
|
+
end
|
191
364
|
end
|
192
365
|
# Whether the Capability has been requested.
|
193
366
|
attr_reader :requested
|
@@ -195,6 +368,14 @@ module Stripe
|
|
195
368
|
attr_reader :status
|
196
369
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
197
370
|
attr_reader :status_details
|
371
|
+
|
372
|
+
def self.inner_class_types
|
373
|
+
@inner_class_types = { status_details: StatusDetail }
|
374
|
+
end
|
375
|
+
|
376
|
+
def self.field_remappings
|
377
|
+
@field_remappings = {}
|
378
|
+
end
|
198
379
|
end
|
199
380
|
|
200
381
|
class AlmaPayments < Stripe::StripeObject
|
@@ -203,6 +384,14 @@ module Stripe
|
|
203
384
|
attr_reader :code
|
204
385
|
# Machine-readable code explaining how to make the Capability active.
|
205
386
|
attr_reader :resolution
|
387
|
+
|
388
|
+
def self.inner_class_types
|
389
|
+
@inner_class_types = {}
|
390
|
+
end
|
391
|
+
|
392
|
+
def self.field_remappings
|
393
|
+
@field_remappings = {}
|
394
|
+
end
|
206
395
|
end
|
207
396
|
# Whether the Capability has been requested.
|
208
397
|
attr_reader :requested
|
@@ -210,6 +399,14 @@ module Stripe
|
|
210
399
|
attr_reader :status
|
211
400
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
212
401
|
attr_reader :status_details
|
402
|
+
|
403
|
+
def self.inner_class_types
|
404
|
+
@inner_class_types = { status_details: StatusDetail }
|
405
|
+
end
|
406
|
+
|
407
|
+
def self.field_remappings
|
408
|
+
@field_remappings = {}
|
409
|
+
end
|
213
410
|
end
|
214
411
|
|
215
412
|
class AmazonPayPayments < Stripe::StripeObject
|
@@ -218,6 +415,14 @@ module Stripe
|
|
218
415
|
attr_reader :code
|
219
416
|
# Machine-readable code explaining how to make the Capability active.
|
220
417
|
attr_reader :resolution
|
418
|
+
|
419
|
+
def self.inner_class_types
|
420
|
+
@inner_class_types = {}
|
421
|
+
end
|
422
|
+
|
423
|
+
def self.field_remappings
|
424
|
+
@field_remappings = {}
|
425
|
+
end
|
221
426
|
end
|
222
427
|
# Whether the Capability has been requested.
|
223
428
|
attr_reader :requested
|
@@ -225,6 +430,14 @@ module Stripe
|
|
225
430
|
attr_reader :status
|
226
431
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
227
432
|
attr_reader :status_details
|
433
|
+
|
434
|
+
def self.inner_class_types
|
435
|
+
@inner_class_types = { status_details: StatusDetail }
|
436
|
+
end
|
437
|
+
|
438
|
+
def self.field_remappings
|
439
|
+
@field_remappings = {}
|
440
|
+
end
|
228
441
|
end
|
229
442
|
|
230
443
|
class AuBecsDebitPayments < Stripe::StripeObject
|
@@ -233,6 +446,14 @@ module Stripe
|
|
233
446
|
attr_reader :code
|
234
447
|
# Machine-readable code explaining how to make the Capability active.
|
235
448
|
attr_reader :resolution
|
449
|
+
|
450
|
+
def self.inner_class_types
|
451
|
+
@inner_class_types = {}
|
452
|
+
end
|
453
|
+
|
454
|
+
def self.field_remappings
|
455
|
+
@field_remappings = {}
|
456
|
+
end
|
236
457
|
end
|
237
458
|
# Whether the Capability has been requested.
|
238
459
|
attr_reader :requested
|
@@ -240,6 +461,14 @@ module Stripe
|
|
240
461
|
attr_reader :status
|
241
462
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
242
463
|
attr_reader :status_details
|
464
|
+
|
465
|
+
def self.inner_class_types
|
466
|
+
@inner_class_types = { status_details: StatusDetail }
|
467
|
+
end
|
468
|
+
|
469
|
+
def self.field_remappings
|
470
|
+
@field_remappings = {}
|
471
|
+
end
|
243
472
|
end
|
244
473
|
|
245
474
|
class BacsDebitPayments < Stripe::StripeObject
|
@@ -248,6 +477,14 @@ module Stripe
|
|
248
477
|
attr_reader :code
|
249
478
|
# Machine-readable code explaining how to make the Capability active.
|
250
479
|
attr_reader :resolution
|
480
|
+
|
481
|
+
def self.inner_class_types
|
482
|
+
@inner_class_types = {}
|
483
|
+
end
|
484
|
+
|
485
|
+
def self.field_remappings
|
486
|
+
@field_remappings = {}
|
487
|
+
end
|
251
488
|
end
|
252
489
|
# Whether the Capability has been requested.
|
253
490
|
attr_reader :requested
|
@@ -255,6 +492,14 @@ module Stripe
|
|
255
492
|
attr_reader :status
|
256
493
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
257
494
|
attr_reader :status_details
|
495
|
+
|
496
|
+
def self.inner_class_types
|
497
|
+
@inner_class_types = { status_details: StatusDetail }
|
498
|
+
end
|
499
|
+
|
500
|
+
def self.field_remappings
|
501
|
+
@field_remappings = {}
|
502
|
+
end
|
258
503
|
end
|
259
504
|
|
260
505
|
class BancontactPayments < Stripe::StripeObject
|
@@ -263,6 +508,14 @@ module Stripe
|
|
263
508
|
attr_reader :code
|
264
509
|
# Machine-readable code explaining how to make the Capability active.
|
265
510
|
attr_reader :resolution
|
511
|
+
|
512
|
+
def self.inner_class_types
|
513
|
+
@inner_class_types = {}
|
514
|
+
end
|
515
|
+
|
516
|
+
def self.field_remappings
|
517
|
+
@field_remappings = {}
|
518
|
+
end
|
266
519
|
end
|
267
520
|
# Whether the Capability has been requested.
|
268
521
|
attr_reader :requested
|
@@ -270,6 +523,14 @@ module Stripe
|
|
270
523
|
attr_reader :status
|
271
524
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
272
525
|
attr_reader :status_details
|
526
|
+
|
527
|
+
def self.inner_class_types
|
528
|
+
@inner_class_types = { status_details: StatusDetail }
|
529
|
+
end
|
530
|
+
|
531
|
+
def self.field_remappings
|
532
|
+
@field_remappings = {}
|
533
|
+
end
|
273
534
|
end
|
274
535
|
|
275
536
|
class BlikPayments < Stripe::StripeObject
|
@@ -278,6 +539,14 @@ module Stripe
|
|
278
539
|
attr_reader :code
|
279
540
|
# Machine-readable code explaining how to make the Capability active.
|
280
541
|
attr_reader :resolution
|
542
|
+
|
543
|
+
def self.inner_class_types
|
544
|
+
@inner_class_types = {}
|
545
|
+
end
|
546
|
+
|
547
|
+
def self.field_remappings
|
548
|
+
@field_remappings = {}
|
549
|
+
end
|
281
550
|
end
|
282
551
|
# Whether the Capability has been requested.
|
283
552
|
attr_reader :requested
|
@@ -285,6 +554,14 @@ module Stripe
|
|
285
554
|
attr_reader :status
|
286
555
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
287
556
|
attr_reader :status_details
|
557
|
+
|
558
|
+
def self.inner_class_types
|
559
|
+
@inner_class_types = { status_details: StatusDetail }
|
560
|
+
end
|
561
|
+
|
562
|
+
def self.field_remappings
|
563
|
+
@field_remappings = {}
|
564
|
+
end
|
288
565
|
end
|
289
566
|
|
290
567
|
class BoletoPayments < Stripe::StripeObject
|
@@ -293,6 +570,14 @@ module Stripe
|
|
293
570
|
attr_reader :code
|
294
571
|
# Machine-readable code explaining how to make the Capability active.
|
295
572
|
attr_reader :resolution
|
573
|
+
|
574
|
+
def self.inner_class_types
|
575
|
+
@inner_class_types = {}
|
576
|
+
end
|
577
|
+
|
578
|
+
def self.field_remappings
|
579
|
+
@field_remappings = {}
|
580
|
+
end
|
296
581
|
end
|
297
582
|
# Whether the Capability has been requested.
|
298
583
|
attr_reader :requested
|
@@ -300,6 +585,14 @@ module Stripe
|
|
300
585
|
attr_reader :status
|
301
586
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
302
587
|
attr_reader :status_details
|
588
|
+
|
589
|
+
def self.inner_class_types
|
590
|
+
@inner_class_types = { status_details: StatusDetail }
|
591
|
+
end
|
592
|
+
|
593
|
+
def self.field_remappings
|
594
|
+
@field_remappings = {}
|
595
|
+
end
|
303
596
|
end
|
304
597
|
|
305
598
|
class CardPayments < Stripe::StripeObject
|
@@ -308,6 +601,14 @@ module Stripe
|
|
308
601
|
attr_reader :code
|
309
602
|
# Machine-readable code explaining how to make the Capability active.
|
310
603
|
attr_reader :resolution
|
604
|
+
|
605
|
+
def self.inner_class_types
|
606
|
+
@inner_class_types = {}
|
607
|
+
end
|
608
|
+
|
609
|
+
def self.field_remappings
|
610
|
+
@field_remappings = {}
|
611
|
+
end
|
311
612
|
end
|
312
613
|
# Whether the Capability has been requested.
|
313
614
|
attr_reader :requested
|
@@ -315,6 +616,14 @@ module Stripe
|
|
315
616
|
attr_reader :status
|
316
617
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
317
618
|
attr_reader :status_details
|
619
|
+
|
620
|
+
def self.inner_class_types
|
621
|
+
@inner_class_types = { status_details: StatusDetail }
|
622
|
+
end
|
623
|
+
|
624
|
+
def self.field_remappings
|
625
|
+
@field_remappings = {}
|
626
|
+
end
|
318
627
|
end
|
319
628
|
|
320
629
|
class CartesBancairesPayments < Stripe::StripeObject
|
@@ -323,6 +632,14 @@ module Stripe
|
|
323
632
|
attr_reader :code
|
324
633
|
# Machine-readable code explaining how to make the Capability active.
|
325
634
|
attr_reader :resolution
|
635
|
+
|
636
|
+
def self.inner_class_types
|
637
|
+
@inner_class_types = {}
|
638
|
+
end
|
639
|
+
|
640
|
+
def self.field_remappings
|
641
|
+
@field_remappings = {}
|
642
|
+
end
|
326
643
|
end
|
327
644
|
# Whether the Capability has been requested.
|
328
645
|
attr_reader :requested
|
@@ -330,6 +647,14 @@ module Stripe
|
|
330
647
|
attr_reader :status
|
331
648
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
332
649
|
attr_reader :status_details
|
650
|
+
|
651
|
+
def self.inner_class_types
|
652
|
+
@inner_class_types = { status_details: StatusDetail }
|
653
|
+
end
|
654
|
+
|
655
|
+
def self.field_remappings
|
656
|
+
@field_remappings = {}
|
657
|
+
end
|
333
658
|
end
|
334
659
|
|
335
660
|
class CashappPayments < Stripe::StripeObject
|
@@ -338,6 +663,14 @@ module Stripe
|
|
338
663
|
attr_reader :code
|
339
664
|
# Machine-readable code explaining how to make the Capability active.
|
340
665
|
attr_reader :resolution
|
666
|
+
|
667
|
+
def self.inner_class_types
|
668
|
+
@inner_class_types = {}
|
669
|
+
end
|
670
|
+
|
671
|
+
def self.field_remappings
|
672
|
+
@field_remappings = {}
|
673
|
+
end
|
341
674
|
end
|
342
675
|
# Whether the Capability has been requested.
|
343
676
|
attr_reader :requested
|
@@ -345,6 +678,14 @@ module Stripe
|
|
345
678
|
attr_reader :status
|
346
679
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
347
680
|
attr_reader :status_details
|
681
|
+
|
682
|
+
def self.inner_class_types
|
683
|
+
@inner_class_types = { status_details: StatusDetail }
|
684
|
+
end
|
685
|
+
|
686
|
+
def self.field_remappings
|
687
|
+
@field_remappings = {}
|
688
|
+
end
|
348
689
|
end
|
349
690
|
|
350
691
|
class EpsPayments < Stripe::StripeObject
|
@@ -353,6 +694,14 @@ module Stripe
|
|
353
694
|
attr_reader :code
|
354
695
|
# Machine-readable code explaining how to make the Capability active.
|
355
696
|
attr_reader :resolution
|
697
|
+
|
698
|
+
def self.inner_class_types
|
699
|
+
@inner_class_types = {}
|
700
|
+
end
|
701
|
+
|
702
|
+
def self.field_remappings
|
703
|
+
@field_remappings = {}
|
704
|
+
end
|
356
705
|
end
|
357
706
|
# Whether the Capability has been requested.
|
358
707
|
attr_reader :requested
|
@@ -360,6 +709,14 @@ module Stripe
|
|
360
709
|
attr_reader :status
|
361
710
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
362
711
|
attr_reader :status_details
|
712
|
+
|
713
|
+
def self.inner_class_types
|
714
|
+
@inner_class_types = { status_details: StatusDetail }
|
715
|
+
end
|
716
|
+
|
717
|
+
def self.field_remappings
|
718
|
+
@field_remappings = {}
|
719
|
+
end
|
363
720
|
end
|
364
721
|
|
365
722
|
class FpxPayments < Stripe::StripeObject
|
@@ -368,6 +725,14 @@ module Stripe
|
|
368
725
|
attr_reader :code
|
369
726
|
# Machine-readable code explaining how to make the Capability active.
|
370
727
|
attr_reader :resolution
|
728
|
+
|
729
|
+
def self.inner_class_types
|
730
|
+
@inner_class_types = {}
|
731
|
+
end
|
732
|
+
|
733
|
+
def self.field_remappings
|
734
|
+
@field_remappings = {}
|
735
|
+
end
|
371
736
|
end
|
372
737
|
# Whether the Capability has been requested.
|
373
738
|
attr_reader :requested
|
@@ -375,6 +740,14 @@ module Stripe
|
|
375
740
|
attr_reader :status
|
376
741
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
377
742
|
attr_reader :status_details
|
743
|
+
|
744
|
+
def self.inner_class_types
|
745
|
+
@inner_class_types = { status_details: StatusDetail }
|
746
|
+
end
|
747
|
+
|
748
|
+
def self.field_remappings
|
749
|
+
@field_remappings = {}
|
750
|
+
end
|
378
751
|
end
|
379
752
|
|
380
753
|
class GbBankTransferPayments < Stripe::StripeObject
|
@@ -383,6 +756,14 @@ module Stripe
|
|
383
756
|
attr_reader :code
|
384
757
|
# Machine-readable code explaining how to make the Capability active.
|
385
758
|
attr_reader :resolution
|
759
|
+
|
760
|
+
def self.inner_class_types
|
761
|
+
@inner_class_types = {}
|
762
|
+
end
|
763
|
+
|
764
|
+
def self.field_remappings
|
765
|
+
@field_remappings = {}
|
766
|
+
end
|
386
767
|
end
|
387
768
|
# Whether the Capability has been requested.
|
388
769
|
attr_reader :requested
|
@@ -390,6 +771,14 @@ module Stripe
|
|
390
771
|
attr_reader :status
|
391
772
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
392
773
|
attr_reader :status_details
|
774
|
+
|
775
|
+
def self.inner_class_types
|
776
|
+
@inner_class_types = { status_details: StatusDetail }
|
777
|
+
end
|
778
|
+
|
779
|
+
def self.field_remappings
|
780
|
+
@field_remappings = {}
|
781
|
+
end
|
393
782
|
end
|
394
783
|
|
395
784
|
class GrabpayPayments < Stripe::StripeObject
|
@@ -398,6 +787,14 @@ module Stripe
|
|
398
787
|
attr_reader :code
|
399
788
|
# Machine-readable code explaining how to make the Capability active.
|
400
789
|
attr_reader :resolution
|
790
|
+
|
791
|
+
def self.inner_class_types
|
792
|
+
@inner_class_types = {}
|
793
|
+
end
|
794
|
+
|
795
|
+
def self.field_remappings
|
796
|
+
@field_remappings = {}
|
797
|
+
end
|
401
798
|
end
|
402
799
|
# Whether the Capability has been requested.
|
403
800
|
attr_reader :requested
|
@@ -405,6 +802,14 @@ module Stripe
|
|
405
802
|
attr_reader :status
|
406
803
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
407
804
|
attr_reader :status_details
|
805
|
+
|
806
|
+
def self.inner_class_types
|
807
|
+
@inner_class_types = { status_details: StatusDetail }
|
808
|
+
end
|
809
|
+
|
810
|
+
def self.field_remappings
|
811
|
+
@field_remappings = {}
|
812
|
+
end
|
408
813
|
end
|
409
814
|
|
410
815
|
class IdealPayments < Stripe::StripeObject
|
@@ -413,6 +818,14 @@ module Stripe
|
|
413
818
|
attr_reader :code
|
414
819
|
# Machine-readable code explaining how to make the Capability active.
|
415
820
|
attr_reader :resolution
|
821
|
+
|
822
|
+
def self.inner_class_types
|
823
|
+
@inner_class_types = {}
|
824
|
+
end
|
825
|
+
|
826
|
+
def self.field_remappings
|
827
|
+
@field_remappings = {}
|
828
|
+
end
|
416
829
|
end
|
417
830
|
# Whether the Capability has been requested.
|
418
831
|
attr_reader :requested
|
@@ -420,6 +833,14 @@ module Stripe
|
|
420
833
|
attr_reader :status
|
421
834
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
422
835
|
attr_reader :status_details
|
836
|
+
|
837
|
+
def self.inner_class_types
|
838
|
+
@inner_class_types = { status_details: StatusDetail }
|
839
|
+
end
|
840
|
+
|
841
|
+
def self.field_remappings
|
842
|
+
@field_remappings = {}
|
843
|
+
end
|
423
844
|
end
|
424
845
|
|
425
846
|
class JcbPayments < Stripe::StripeObject
|
@@ -428,6 +849,14 @@ module Stripe
|
|
428
849
|
attr_reader :code
|
429
850
|
# Machine-readable code explaining how to make the Capability active.
|
430
851
|
attr_reader :resolution
|
852
|
+
|
853
|
+
def self.inner_class_types
|
854
|
+
@inner_class_types = {}
|
855
|
+
end
|
856
|
+
|
857
|
+
def self.field_remappings
|
858
|
+
@field_remappings = {}
|
859
|
+
end
|
431
860
|
end
|
432
861
|
# Whether the Capability has been requested.
|
433
862
|
attr_reader :requested
|
@@ -435,6 +864,14 @@ module Stripe
|
|
435
864
|
attr_reader :status
|
436
865
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
437
866
|
attr_reader :status_details
|
867
|
+
|
868
|
+
def self.inner_class_types
|
869
|
+
@inner_class_types = { status_details: StatusDetail }
|
870
|
+
end
|
871
|
+
|
872
|
+
def self.field_remappings
|
873
|
+
@field_remappings = {}
|
874
|
+
end
|
438
875
|
end
|
439
876
|
|
440
877
|
class JpBankTransferPayments < Stripe::StripeObject
|
@@ -443,6 +880,14 @@ module Stripe
|
|
443
880
|
attr_reader :code
|
444
881
|
# Machine-readable code explaining how to make the Capability active.
|
445
882
|
attr_reader :resolution
|
883
|
+
|
884
|
+
def self.inner_class_types
|
885
|
+
@inner_class_types = {}
|
886
|
+
end
|
887
|
+
|
888
|
+
def self.field_remappings
|
889
|
+
@field_remappings = {}
|
890
|
+
end
|
446
891
|
end
|
447
892
|
# Whether the Capability has been requested.
|
448
893
|
attr_reader :requested
|
@@ -450,6 +895,14 @@ module Stripe
|
|
450
895
|
attr_reader :status
|
451
896
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
452
897
|
attr_reader :status_details
|
898
|
+
|
899
|
+
def self.inner_class_types
|
900
|
+
@inner_class_types = { status_details: StatusDetail }
|
901
|
+
end
|
902
|
+
|
903
|
+
def self.field_remappings
|
904
|
+
@field_remappings = {}
|
905
|
+
end
|
453
906
|
end
|
454
907
|
|
455
908
|
class KakaoPayPayments < Stripe::StripeObject
|
@@ -458,6 +911,14 @@ module Stripe
|
|
458
911
|
attr_reader :code
|
459
912
|
# Machine-readable code explaining how to make the Capability active.
|
460
913
|
attr_reader :resolution
|
914
|
+
|
915
|
+
def self.inner_class_types
|
916
|
+
@inner_class_types = {}
|
917
|
+
end
|
918
|
+
|
919
|
+
def self.field_remappings
|
920
|
+
@field_remappings = {}
|
921
|
+
end
|
461
922
|
end
|
462
923
|
# Whether the Capability has been requested.
|
463
924
|
attr_reader :requested
|
@@ -465,6 +926,14 @@ module Stripe
|
|
465
926
|
attr_reader :status
|
466
927
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
467
928
|
attr_reader :status_details
|
929
|
+
|
930
|
+
def self.inner_class_types
|
931
|
+
@inner_class_types = { status_details: StatusDetail }
|
932
|
+
end
|
933
|
+
|
934
|
+
def self.field_remappings
|
935
|
+
@field_remappings = {}
|
936
|
+
end
|
468
937
|
end
|
469
938
|
|
470
939
|
class KlarnaPayments < Stripe::StripeObject
|
@@ -473,6 +942,14 @@ module Stripe
|
|
473
942
|
attr_reader :code
|
474
943
|
# Machine-readable code explaining how to make the Capability active.
|
475
944
|
attr_reader :resolution
|
945
|
+
|
946
|
+
def self.inner_class_types
|
947
|
+
@inner_class_types = {}
|
948
|
+
end
|
949
|
+
|
950
|
+
def self.field_remappings
|
951
|
+
@field_remappings = {}
|
952
|
+
end
|
476
953
|
end
|
477
954
|
# Whether the Capability has been requested.
|
478
955
|
attr_reader :requested
|
@@ -480,6 +957,14 @@ module Stripe
|
|
480
957
|
attr_reader :status
|
481
958
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
482
959
|
attr_reader :status_details
|
960
|
+
|
961
|
+
def self.inner_class_types
|
962
|
+
@inner_class_types = { status_details: StatusDetail }
|
963
|
+
end
|
964
|
+
|
965
|
+
def self.field_remappings
|
966
|
+
@field_remappings = {}
|
967
|
+
end
|
483
968
|
end
|
484
969
|
|
485
970
|
class KonbiniPayments < Stripe::StripeObject
|
@@ -488,6 +973,14 @@ module Stripe
|
|
488
973
|
attr_reader :code
|
489
974
|
# Machine-readable code explaining how to make the Capability active.
|
490
975
|
attr_reader :resolution
|
976
|
+
|
977
|
+
def self.inner_class_types
|
978
|
+
@inner_class_types = {}
|
979
|
+
end
|
980
|
+
|
981
|
+
def self.field_remappings
|
982
|
+
@field_remappings = {}
|
983
|
+
end
|
491
984
|
end
|
492
985
|
# Whether the Capability has been requested.
|
493
986
|
attr_reader :requested
|
@@ -495,6 +988,14 @@ module Stripe
|
|
495
988
|
attr_reader :status
|
496
989
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
497
990
|
attr_reader :status_details
|
991
|
+
|
992
|
+
def self.inner_class_types
|
993
|
+
@inner_class_types = { status_details: StatusDetail }
|
994
|
+
end
|
995
|
+
|
996
|
+
def self.field_remappings
|
997
|
+
@field_remappings = {}
|
998
|
+
end
|
498
999
|
end
|
499
1000
|
|
500
1001
|
class KrCardPayments < Stripe::StripeObject
|
@@ -503,6 +1004,14 @@ module Stripe
|
|
503
1004
|
attr_reader :code
|
504
1005
|
# Machine-readable code explaining how to make the Capability active.
|
505
1006
|
attr_reader :resolution
|
1007
|
+
|
1008
|
+
def self.inner_class_types
|
1009
|
+
@inner_class_types = {}
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
def self.field_remappings
|
1013
|
+
@field_remappings = {}
|
1014
|
+
end
|
506
1015
|
end
|
507
1016
|
# Whether the Capability has been requested.
|
508
1017
|
attr_reader :requested
|
@@ -510,6 +1019,14 @@ module Stripe
|
|
510
1019
|
attr_reader :status
|
511
1020
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
512
1021
|
attr_reader :status_details
|
1022
|
+
|
1023
|
+
def self.inner_class_types
|
1024
|
+
@inner_class_types = { status_details: StatusDetail }
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
def self.field_remappings
|
1028
|
+
@field_remappings = {}
|
1029
|
+
end
|
513
1030
|
end
|
514
1031
|
|
515
1032
|
class LinkPayments < Stripe::StripeObject
|
@@ -518,6 +1035,14 @@ module Stripe
|
|
518
1035
|
attr_reader :code
|
519
1036
|
# Machine-readable code explaining how to make the Capability active.
|
520
1037
|
attr_reader :resolution
|
1038
|
+
|
1039
|
+
def self.inner_class_types
|
1040
|
+
@inner_class_types = {}
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
def self.field_remappings
|
1044
|
+
@field_remappings = {}
|
1045
|
+
end
|
521
1046
|
end
|
522
1047
|
# Whether the Capability has been requested.
|
523
1048
|
attr_reader :requested
|
@@ -525,6 +1050,14 @@ module Stripe
|
|
525
1050
|
attr_reader :status
|
526
1051
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
527
1052
|
attr_reader :status_details
|
1053
|
+
|
1054
|
+
def self.inner_class_types
|
1055
|
+
@inner_class_types = { status_details: StatusDetail }
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
def self.field_remappings
|
1059
|
+
@field_remappings = {}
|
1060
|
+
end
|
528
1061
|
end
|
529
1062
|
|
530
1063
|
class MobilepayPayments < Stripe::StripeObject
|
@@ -533,6 +1066,14 @@ module Stripe
|
|
533
1066
|
attr_reader :code
|
534
1067
|
# Machine-readable code explaining how to make the Capability active.
|
535
1068
|
attr_reader :resolution
|
1069
|
+
|
1070
|
+
def self.inner_class_types
|
1071
|
+
@inner_class_types = {}
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
def self.field_remappings
|
1075
|
+
@field_remappings = {}
|
1076
|
+
end
|
536
1077
|
end
|
537
1078
|
# Whether the Capability has been requested.
|
538
1079
|
attr_reader :requested
|
@@ -540,6 +1081,14 @@ module Stripe
|
|
540
1081
|
attr_reader :status
|
541
1082
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
542
1083
|
attr_reader :status_details
|
1084
|
+
|
1085
|
+
def self.inner_class_types
|
1086
|
+
@inner_class_types = { status_details: StatusDetail }
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
def self.field_remappings
|
1090
|
+
@field_remappings = {}
|
1091
|
+
end
|
543
1092
|
end
|
544
1093
|
|
545
1094
|
class MultibancoPayments < Stripe::StripeObject
|
@@ -548,6 +1097,14 @@ module Stripe
|
|
548
1097
|
attr_reader :code
|
549
1098
|
# Machine-readable code explaining how to make the Capability active.
|
550
1099
|
attr_reader :resolution
|
1100
|
+
|
1101
|
+
def self.inner_class_types
|
1102
|
+
@inner_class_types = {}
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
def self.field_remappings
|
1106
|
+
@field_remappings = {}
|
1107
|
+
end
|
551
1108
|
end
|
552
1109
|
# Whether the Capability has been requested.
|
553
1110
|
attr_reader :requested
|
@@ -555,6 +1112,14 @@ module Stripe
|
|
555
1112
|
attr_reader :status
|
556
1113
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
557
1114
|
attr_reader :status_details
|
1115
|
+
|
1116
|
+
def self.inner_class_types
|
1117
|
+
@inner_class_types = { status_details: StatusDetail }
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
def self.field_remappings
|
1121
|
+
@field_remappings = {}
|
1122
|
+
end
|
558
1123
|
end
|
559
1124
|
|
560
1125
|
class MxBankTransferPayments < Stripe::StripeObject
|
@@ -563,6 +1128,14 @@ module Stripe
|
|
563
1128
|
attr_reader :code
|
564
1129
|
# Machine-readable code explaining how to make the Capability active.
|
565
1130
|
attr_reader :resolution
|
1131
|
+
|
1132
|
+
def self.inner_class_types
|
1133
|
+
@inner_class_types = {}
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
def self.field_remappings
|
1137
|
+
@field_remappings = {}
|
1138
|
+
end
|
566
1139
|
end
|
567
1140
|
# Whether the Capability has been requested.
|
568
1141
|
attr_reader :requested
|
@@ -570,6 +1143,14 @@ module Stripe
|
|
570
1143
|
attr_reader :status
|
571
1144
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
572
1145
|
attr_reader :status_details
|
1146
|
+
|
1147
|
+
def self.inner_class_types
|
1148
|
+
@inner_class_types = { status_details: StatusDetail }
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
def self.field_remappings
|
1152
|
+
@field_remappings = {}
|
1153
|
+
end
|
573
1154
|
end
|
574
1155
|
|
575
1156
|
class NaverPayPayments < Stripe::StripeObject
|
@@ -578,6 +1159,14 @@ module Stripe
|
|
578
1159
|
attr_reader :code
|
579
1160
|
# Machine-readable code explaining how to make the Capability active.
|
580
1161
|
attr_reader :resolution
|
1162
|
+
|
1163
|
+
def self.inner_class_types
|
1164
|
+
@inner_class_types = {}
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
def self.field_remappings
|
1168
|
+
@field_remappings = {}
|
1169
|
+
end
|
581
1170
|
end
|
582
1171
|
# Whether the Capability has been requested.
|
583
1172
|
attr_reader :requested
|
@@ -585,6 +1174,14 @@ module Stripe
|
|
585
1174
|
attr_reader :status
|
586
1175
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
587
1176
|
attr_reader :status_details
|
1177
|
+
|
1178
|
+
def self.inner_class_types
|
1179
|
+
@inner_class_types = { status_details: StatusDetail }
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
def self.field_remappings
|
1183
|
+
@field_remappings = {}
|
1184
|
+
end
|
588
1185
|
end
|
589
1186
|
|
590
1187
|
class OxxoPayments < Stripe::StripeObject
|
@@ -593,6 +1190,14 @@ module Stripe
|
|
593
1190
|
attr_reader :code
|
594
1191
|
# Machine-readable code explaining how to make the Capability active.
|
595
1192
|
attr_reader :resolution
|
1193
|
+
|
1194
|
+
def self.inner_class_types
|
1195
|
+
@inner_class_types = {}
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
def self.field_remappings
|
1199
|
+
@field_remappings = {}
|
1200
|
+
end
|
596
1201
|
end
|
597
1202
|
# Whether the Capability has been requested.
|
598
1203
|
attr_reader :requested
|
@@ -600,6 +1205,14 @@ module Stripe
|
|
600
1205
|
attr_reader :status
|
601
1206
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
602
1207
|
attr_reader :status_details
|
1208
|
+
|
1209
|
+
def self.inner_class_types
|
1210
|
+
@inner_class_types = { status_details: StatusDetail }
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
def self.field_remappings
|
1214
|
+
@field_remappings = {}
|
1215
|
+
end
|
603
1216
|
end
|
604
1217
|
|
605
1218
|
class P24Payments < Stripe::StripeObject
|
@@ -608,6 +1221,14 @@ module Stripe
|
|
608
1221
|
attr_reader :code
|
609
1222
|
# Machine-readable code explaining how to make the Capability active.
|
610
1223
|
attr_reader :resolution
|
1224
|
+
|
1225
|
+
def self.inner_class_types
|
1226
|
+
@inner_class_types = {}
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
def self.field_remappings
|
1230
|
+
@field_remappings = {}
|
1231
|
+
end
|
611
1232
|
end
|
612
1233
|
# Whether the Capability has been requested.
|
613
1234
|
attr_reader :requested
|
@@ -615,6 +1236,14 @@ module Stripe
|
|
615
1236
|
attr_reader :status
|
616
1237
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
617
1238
|
attr_reader :status_details
|
1239
|
+
|
1240
|
+
def self.inner_class_types
|
1241
|
+
@inner_class_types = { status_details: StatusDetail }
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
def self.field_remappings
|
1245
|
+
@field_remappings = {}
|
1246
|
+
end
|
618
1247
|
end
|
619
1248
|
|
620
1249
|
class PayByBankPayments < Stripe::StripeObject
|
@@ -623,6 +1252,14 @@ module Stripe
|
|
623
1252
|
attr_reader :code
|
624
1253
|
# Machine-readable code explaining how to make the Capability active.
|
625
1254
|
attr_reader :resolution
|
1255
|
+
|
1256
|
+
def self.inner_class_types
|
1257
|
+
@inner_class_types = {}
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
def self.field_remappings
|
1261
|
+
@field_remappings = {}
|
1262
|
+
end
|
626
1263
|
end
|
627
1264
|
# Whether the Capability has been requested.
|
628
1265
|
attr_reader :requested
|
@@ -630,6 +1267,14 @@ module Stripe
|
|
630
1267
|
attr_reader :status
|
631
1268
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
632
1269
|
attr_reader :status_details
|
1270
|
+
|
1271
|
+
def self.inner_class_types
|
1272
|
+
@inner_class_types = { status_details: StatusDetail }
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
def self.field_remappings
|
1276
|
+
@field_remappings = {}
|
1277
|
+
end
|
633
1278
|
end
|
634
1279
|
|
635
1280
|
class PaycoPayments < Stripe::StripeObject
|
@@ -638,6 +1283,14 @@ module Stripe
|
|
638
1283
|
attr_reader :code
|
639
1284
|
# Machine-readable code explaining how to make the Capability active.
|
640
1285
|
attr_reader :resolution
|
1286
|
+
|
1287
|
+
def self.inner_class_types
|
1288
|
+
@inner_class_types = {}
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
def self.field_remappings
|
1292
|
+
@field_remappings = {}
|
1293
|
+
end
|
641
1294
|
end
|
642
1295
|
# Whether the Capability has been requested.
|
643
1296
|
attr_reader :requested
|
@@ -645,6 +1298,14 @@ module Stripe
|
|
645
1298
|
attr_reader :status
|
646
1299
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
647
1300
|
attr_reader :status_details
|
1301
|
+
|
1302
|
+
def self.inner_class_types
|
1303
|
+
@inner_class_types = { status_details: StatusDetail }
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
def self.field_remappings
|
1307
|
+
@field_remappings = {}
|
1308
|
+
end
|
648
1309
|
end
|
649
1310
|
|
650
1311
|
class PaynowPayments < Stripe::StripeObject
|
@@ -653,6 +1314,14 @@ module Stripe
|
|
653
1314
|
attr_reader :code
|
654
1315
|
# Machine-readable code explaining how to make the Capability active.
|
655
1316
|
attr_reader :resolution
|
1317
|
+
|
1318
|
+
def self.inner_class_types
|
1319
|
+
@inner_class_types = {}
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
def self.field_remappings
|
1323
|
+
@field_remappings = {}
|
1324
|
+
end
|
656
1325
|
end
|
657
1326
|
# Whether the Capability has been requested.
|
658
1327
|
attr_reader :requested
|
@@ -660,6 +1329,14 @@ module Stripe
|
|
660
1329
|
attr_reader :status
|
661
1330
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
662
1331
|
attr_reader :status_details
|
1332
|
+
|
1333
|
+
def self.inner_class_types
|
1334
|
+
@inner_class_types = { status_details: StatusDetail }
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
def self.field_remappings
|
1338
|
+
@field_remappings = {}
|
1339
|
+
end
|
663
1340
|
end
|
664
1341
|
|
665
1342
|
class PromptpayPayments < Stripe::StripeObject
|
@@ -668,6 +1345,14 @@ module Stripe
|
|
668
1345
|
attr_reader :code
|
669
1346
|
# Machine-readable code explaining how to make the Capability active.
|
670
1347
|
attr_reader :resolution
|
1348
|
+
|
1349
|
+
def self.inner_class_types
|
1350
|
+
@inner_class_types = {}
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
def self.field_remappings
|
1354
|
+
@field_remappings = {}
|
1355
|
+
end
|
671
1356
|
end
|
672
1357
|
# Whether the Capability has been requested.
|
673
1358
|
attr_reader :requested
|
@@ -675,6 +1360,14 @@ module Stripe
|
|
675
1360
|
attr_reader :status
|
676
1361
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
677
1362
|
attr_reader :status_details
|
1363
|
+
|
1364
|
+
def self.inner_class_types
|
1365
|
+
@inner_class_types = { status_details: StatusDetail }
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
def self.field_remappings
|
1369
|
+
@field_remappings = {}
|
1370
|
+
end
|
678
1371
|
end
|
679
1372
|
|
680
1373
|
class RevolutPayPayments < Stripe::StripeObject
|
@@ -683,6 +1376,14 @@ module Stripe
|
|
683
1376
|
attr_reader :code
|
684
1377
|
# Machine-readable code explaining how to make the Capability active.
|
685
1378
|
attr_reader :resolution
|
1379
|
+
|
1380
|
+
def self.inner_class_types
|
1381
|
+
@inner_class_types = {}
|
1382
|
+
end
|
1383
|
+
|
1384
|
+
def self.field_remappings
|
1385
|
+
@field_remappings = {}
|
1386
|
+
end
|
686
1387
|
end
|
687
1388
|
# Whether the Capability has been requested.
|
688
1389
|
attr_reader :requested
|
@@ -690,6 +1391,14 @@ module Stripe
|
|
690
1391
|
attr_reader :status
|
691
1392
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
692
1393
|
attr_reader :status_details
|
1394
|
+
|
1395
|
+
def self.inner_class_types
|
1396
|
+
@inner_class_types = { status_details: StatusDetail }
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
def self.field_remappings
|
1400
|
+
@field_remappings = {}
|
1401
|
+
end
|
693
1402
|
end
|
694
1403
|
|
695
1404
|
class SamsungPayPayments < Stripe::StripeObject
|
@@ -698,6 +1407,14 @@ module Stripe
|
|
698
1407
|
attr_reader :code
|
699
1408
|
# Machine-readable code explaining how to make the Capability active.
|
700
1409
|
attr_reader :resolution
|
1410
|
+
|
1411
|
+
def self.inner_class_types
|
1412
|
+
@inner_class_types = {}
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
def self.field_remappings
|
1416
|
+
@field_remappings = {}
|
1417
|
+
end
|
701
1418
|
end
|
702
1419
|
# Whether the Capability has been requested.
|
703
1420
|
attr_reader :requested
|
@@ -705,6 +1422,14 @@ module Stripe
|
|
705
1422
|
attr_reader :status
|
706
1423
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
707
1424
|
attr_reader :status_details
|
1425
|
+
|
1426
|
+
def self.inner_class_types
|
1427
|
+
@inner_class_types = { status_details: StatusDetail }
|
1428
|
+
end
|
1429
|
+
|
1430
|
+
def self.field_remappings
|
1431
|
+
@field_remappings = {}
|
1432
|
+
end
|
708
1433
|
end
|
709
1434
|
|
710
1435
|
class SepaBankTransferPayments < Stripe::StripeObject
|
@@ -713,6 +1438,14 @@ module Stripe
|
|
713
1438
|
attr_reader :code
|
714
1439
|
# Machine-readable code explaining how to make the Capability active.
|
715
1440
|
attr_reader :resolution
|
1441
|
+
|
1442
|
+
def self.inner_class_types
|
1443
|
+
@inner_class_types = {}
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
def self.field_remappings
|
1447
|
+
@field_remappings = {}
|
1448
|
+
end
|
716
1449
|
end
|
717
1450
|
# Whether the Capability has been requested.
|
718
1451
|
attr_reader :requested
|
@@ -720,6 +1453,14 @@ module Stripe
|
|
720
1453
|
attr_reader :status
|
721
1454
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
722
1455
|
attr_reader :status_details
|
1456
|
+
|
1457
|
+
def self.inner_class_types
|
1458
|
+
@inner_class_types = { status_details: StatusDetail }
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
def self.field_remappings
|
1462
|
+
@field_remappings = {}
|
1463
|
+
end
|
723
1464
|
end
|
724
1465
|
|
725
1466
|
class SepaDebitPayments < Stripe::StripeObject
|
@@ -728,6 +1469,14 @@ module Stripe
|
|
728
1469
|
attr_reader :code
|
729
1470
|
# Machine-readable code explaining how to make the Capability active.
|
730
1471
|
attr_reader :resolution
|
1472
|
+
|
1473
|
+
def self.inner_class_types
|
1474
|
+
@inner_class_types = {}
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
def self.field_remappings
|
1478
|
+
@field_remappings = {}
|
1479
|
+
end
|
731
1480
|
end
|
732
1481
|
# Whether the Capability has been requested.
|
733
1482
|
attr_reader :requested
|
@@ -735,6 +1484,14 @@ module Stripe
|
|
735
1484
|
attr_reader :status
|
736
1485
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
737
1486
|
attr_reader :status_details
|
1487
|
+
|
1488
|
+
def self.inner_class_types
|
1489
|
+
@inner_class_types = { status_details: StatusDetail }
|
1490
|
+
end
|
1491
|
+
|
1492
|
+
def self.field_remappings
|
1493
|
+
@field_remappings = {}
|
1494
|
+
end
|
738
1495
|
end
|
739
1496
|
|
740
1497
|
class StripeBalance < Stripe::StripeObject
|
@@ -744,6 +1501,14 @@ module Stripe
|
|
744
1501
|
attr_reader :code
|
745
1502
|
# Machine-readable code explaining how to make the Capability active.
|
746
1503
|
attr_reader :resolution
|
1504
|
+
|
1505
|
+
def self.inner_class_types
|
1506
|
+
@inner_class_types = {}
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
def self.field_remappings
|
1510
|
+
@field_remappings = {}
|
1511
|
+
end
|
747
1512
|
end
|
748
1513
|
# Whether the Capability has been requested.
|
749
1514
|
attr_reader :requested
|
@@ -751,9 +1516,25 @@ module Stripe
|
|
751
1516
|
attr_reader :status
|
752
1517
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
753
1518
|
attr_reader :status_details
|
1519
|
+
|
1520
|
+
def self.inner_class_types
|
1521
|
+
@inner_class_types = { status_details: StatusDetail }
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
def self.field_remappings
|
1525
|
+
@field_remappings = {}
|
1526
|
+
end
|
754
1527
|
end
|
755
1528
|
# Allows the account to do payouts using their Stripe Balance (/v1/balance).
|
756
1529
|
attr_reader :payouts
|
1530
|
+
|
1531
|
+
def self.inner_class_types
|
1532
|
+
@inner_class_types = { payouts: Payouts }
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
def self.field_remappings
|
1536
|
+
@field_remappings = {}
|
1537
|
+
end
|
757
1538
|
end
|
758
1539
|
|
759
1540
|
class SwishPayments < Stripe::StripeObject
|
@@ -762,6 +1543,14 @@ module Stripe
|
|
762
1543
|
attr_reader :code
|
763
1544
|
# Machine-readable code explaining how to make the Capability active.
|
764
1545
|
attr_reader :resolution
|
1546
|
+
|
1547
|
+
def self.inner_class_types
|
1548
|
+
@inner_class_types = {}
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
def self.field_remappings
|
1552
|
+
@field_remappings = {}
|
1553
|
+
end
|
765
1554
|
end
|
766
1555
|
# Whether the Capability has been requested.
|
767
1556
|
attr_reader :requested
|
@@ -769,6 +1558,14 @@ module Stripe
|
|
769
1558
|
attr_reader :status
|
770
1559
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
771
1560
|
attr_reader :status_details
|
1561
|
+
|
1562
|
+
def self.inner_class_types
|
1563
|
+
@inner_class_types = { status_details: StatusDetail }
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
def self.field_remappings
|
1567
|
+
@field_remappings = {}
|
1568
|
+
end
|
772
1569
|
end
|
773
1570
|
|
774
1571
|
class TwintPayments < Stripe::StripeObject
|
@@ -777,6 +1574,14 @@ module Stripe
|
|
777
1574
|
attr_reader :code
|
778
1575
|
# Machine-readable code explaining how to make the Capability active.
|
779
1576
|
attr_reader :resolution
|
1577
|
+
|
1578
|
+
def self.inner_class_types
|
1579
|
+
@inner_class_types = {}
|
1580
|
+
end
|
1581
|
+
|
1582
|
+
def self.field_remappings
|
1583
|
+
@field_remappings = {}
|
1584
|
+
end
|
780
1585
|
end
|
781
1586
|
# Whether the Capability has been requested.
|
782
1587
|
attr_reader :requested
|
@@ -784,6 +1589,14 @@ module Stripe
|
|
784
1589
|
attr_reader :status
|
785
1590
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
786
1591
|
attr_reader :status_details
|
1592
|
+
|
1593
|
+
def self.inner_class_types
|
1594
|
+
@inner_class_types = { status_details: StatusDetail }
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
def self.field_remappings
|
1598
|
+
@field_remappings = {}
|
1599
|
+
end
|
787
1600
|
end
|
788
1601
|
|
789
1602
|
class UsBankTransferPayments < Stripe::StripeObject
|
@@ -792,6 +1605,14 @@ module Stripe
|
|
792
1605
|
attr_reader :code
|
793
1606
|
# Machine-readable code explaining how to make the Capability active.
|
794
1607
|
attr_reader :resolution
|
1608
|
+
|
1609
|
+
def self.inner_class_types
|
1610
|
+
@inner_class_types = {}
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
def self.field_remappings
|
1614
|
+
@field_remappings = {}
|
1615
|
+
end
|
795
1616
|
end
|
796
1617
|
# Whether the Capability has been requested.
|
797
1618
|
attr_reader :requested
|
@@ -799,6 +1620,14 @@ module Stripe
|
|
799
1620
|
attr_reader :status
|
800
1621
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
801
1622
|
attr_reader :status_details
|
1623
|
+
|
1624
|
+
def self.inner_class_types
|
1625
|
+
@inner_class_types = { status_details: StatusDetail }
|
1626
|
+
end
|
1627
|
+
|
1628
|
+
def self.field_remappings
|
1629
|
+
@field_remappings = {}
|
1630
|
+
end
|
802
1631
|
end
|
803
1632
|
|
804
1633
|
class ZipPayments < Stripe::StripeObject
|
@@ -807,6 +1636,14 @@ module Stripe
|
|
807
1636
|
attr_reader :code
|
808
1637
|
# Machine-readable code explaining how to make the Capability active.
|
809
1638
|
attr_reader :resolution
|
1639
|
+
|
1640
|
+
def self.inner_class_types
|
1641
|
+
@inner_class_types = {}
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
def self.field_remappings
|
1645
|
+
@field_remappings = {}
|
1646
|
+
end
|
810
1647
|
end
|
811
1648
|
# Whether the Capability has been requested.
|
812
1649
|
attr_reader :requested
|
@@ -814,6 +1651,14 @@ module Stripe
|
|
814
1651
|
attr_reader :status
|
815
1652
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
816
1653
|
attr_reader :status_details
|
1654
|
+
|
1655
|
+
def self.inner_class_types
|
1656
|
+
@inner_class_types = { status_details: StatusDetail }
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
def self.field_remappings
|
1660
|
+
@field_remappings = {}
|
1661
|
+
end
|
817
1662
|
end
|
818
1663
|
# Allow the merchant to process ACH debit payments.
|
819
1664
|
attr_reader :ach_debit_payments
|
@@ -905,6 +1750,60 @@ module Stripe
|
|
905
1750
|
attr_reader :us_bank_transfer_payments
|
906
1751
|
# Allow the merchant to process Zip payments.
|
907
1752
|
attr_reader :zip_payments
|
1753
|
+
|
1754
|
+
def self.inner_class_types
|
1755
|
+
@inner_class_types = {
|
1756
|
+
ach_debit_payments: AchDebitPayments,
|
1757
|
+
acss_debit_payments: AcssDebitPayments,
|
1758
|
+
affirm_payments: AffirmPayments,
|
1759
|
+
afterpay_clearpay_payments: AfterpayClearpayPayments,
|
1760
|
+
alma_payments: AlmaPayments,
|
1761
|
+
amazon_pay_payments: AmazonPayPayments,
|
1762
|
+
au_becs_debit_payments: AuBecsDebitPayments,
|
1763
|
+
bacs_debit_payments: BacsDebitPayments,
|
1764
|
+
bancontact_payments: BancontactPayments,
|
1765
|
+
blik_payments: BlikPayments,
|
1766
|
+
boleto_payments: BoletoPayments,
|
1767
|
+
card_payments: CardPayments,
|
1768
|
+
cartes_bancaires_payments: CartesBancairesPayments,
|
1769
|
+
cashapp_payments: CashappPayments,
|
1770
|
+
eps_payments: EpsPayments,
|
1771
|
+
fpx_payments: FpxPayments,
|
1772
|
+
gb_bank_transfer_payments: GbBankTransferPayments,
|
1773
|
+
grabpay_payments: GrabpayPayments,
|
1774
|
+
ideal_payments: IdealPayments,
|
1775
|
+
jcb_payments: JcbPayments,
|
1776
|
+
jp_bank_transfer_payments: JpBankTransferPayments,
|
1777
|
+
kakao_pay_payments: KakaoPayPayments,
|
1778
|
+
klarna_payments: KlarnaPayments,
|
1779
|
+
konbini_payments: KonbiniPayments,
|
1780
|
+
kr_card_payments: KrCardPayments,
|
1781
|
+
link_payments: LinkPayments,
|
1782
|
+
mobilepay_payments: MobilepayPayments,
|
1783
|
+
multibanco_payments: MultibancoPayments,
|
1784
|
+
mx_bank_transfer_payments: MxBankTransferPayments,
|
1785
|
+
naver_pay_payments: NaverPayPayments,
|
1786
|
+
oxxo_payments: OxxoPayments,
|
1787
|
+
p24_payments: P24Payments,
|
1788
|
+
pay_by_bank_payments: PayByBankPayments,
|
1789
|
+
payco_payments: PaycoPayments,
|
1790
|
+
paynow_payments: PaynowPayments,
|
1791
|
+
promptpay_payments: PromptpayPayments,
|
1792
|
+
revolut_pay_payments: RevolutPayPayments,
|
1793
|
+
samsung_pay_payments: SamsungPayPayments,
|
1794
|
+
sepa_bank_transfer_payments: SepaBankTransferPayments,
|
1795
|
+
sepa_debit_payments: SepaDebitPayments,
|
1796
|
+
stripe_balance: StripeBalance,
|
1797
|
+
swish_payments: SwishPayments,
|
1798
|
+
twint_payments: TwintPayments,
|
1799
|
+
us_bank_transfer_payments: UsBankTransferPayments,
|
1800
|
+
zip_payments: ZipPayments,
|
1801
|
+
}
|
1802
|
+
end
|
1803
|
+
|
1804
|
+
def self.field_remappings
|
1805
|
+
@field_remappings = {}
|
1806
|
+
end
|
908
1807
|
end
|
909
1808
|
|
910
1809
|
class CardPayments < Stripe::StripeObject
|
@@ -913,14 +1812,38 @@ module Stripe
|
|
913
1812
|
attr_reader :avs_failure
|
914
1813
|
# Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
915
1814
|
attr_reader :cvc_failure
|
1815
|
+
|
1816
|
+
def self.inner_class_types
|
1817
|
+
@inner_class_types = {}
|
1818
|
+
end
|
1819
|
+
|
1820
|
+
def self.field_remappings
|
1821
|
+
@field_remappings = {}
|
1822
|
+
end
|
916
1823
|
end
|
917
1824
|
# Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
|
918
1825
|
attr_reader :decline_on
|
1826
|
+
|
1827
|
+
def self.inner_class_types
|
1828
|
+
@inner_class_types = { decline_on: DeclineOn }
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
def self.field_remappings
|
1832
|
+
@field_remappings = {}
|
1833
|
+
end
|
919
1834
|
end
|
920
1835
|
|
921
1836
|
class SepaDebitPayments < Stripe::StripeObject
|
922
1837
|
# Creditor ID for SEPA debit payments.
|
923
1838
|
attr_reader :creditor_id
|
1839
|
+
|
1840
|
+
def self.inner_class_types
|
1841
|
+
@inner_class_types = {}
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
def self.field_remappings
|
1845
|
+
@field_remappings = {}
|
1846
|
+
end
|
924
1847
|
end
|
925
1848
|
|
926
1849
|
class StatementDescriptor < Stripe::StripeObject
|
@@ -928,6 +1851,14 @@ module Stripe
|
|
928
1851
|
attr_reader :descriptor
|
929
1852
|
# Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
930
1853
|
attr_reader :prefix
|
1854
|
+
|
1855
|
+
def self.inner_class_types
|
1856
|
+
@inner_class_types = {}
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
def self.field_remappings
|
1860
|
+
@field_remappings = {}
|
1861
|
+
end
|
931
1862
|
end
|
932
1863
|
|
933
1864
|
class Support < Stripe::StripeObject
|
@@ -946,6 +1877,14 @@ module Stripe
|
|
946
1877
|
attr_reader :state
|
947
1878
|
# Town or cho-me.
|
948
1879
|
attr_reader :town
|
1880
|
+
|
1881
|
+
def self.inner_class_types
|
1882
|
+
@inner_class_types = {}
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
def self.field_remappings
|
1886
|
+
@field_remappings = {}
|
1887
|
+
end
|
949
1888
|
end
|
950
1889
|
# A publicly available mailing address for sending support issues to.
|
951
1890
|
attr_reader :address
|
@@ -955,6 +1894,14 @@ module Stripe
|
|
955
1894
|
attr_reader :phone
|
956
1895
|
# A publicly available website for handling support issues.
|
957
1896
|
attr_reader :url
|
1897
|
+
|
1898
|
+
def self.inner_class_types
|
1899
|
+
@inner_class_types = { address: Address }
|
1900
|
+
end
|
1901
|
+
|
1902
|
+
def self.field_remappings
|
1903
|
+
@field_remappings = {}
|
1904
|
+
end
|
958
1905
|
end
|
959
1906
|
# Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
960
1907
|
attr_reader :applied
|
@@ -974,6 +1921,22 @@ module Stripe
|
|
974
1921
|
attr_reader :statement_descriptor
|
975
1922
|
# Publicly available contact information for sending support issues to.
|
976
1923
|
attr_reader :support
|
1924
|
+
|
1925
|
+
def self.inner_class_types
|
1926
|
+
@inner_class_types = {
|
1927
|
+
bacs_debit_payments: BacsDebitPayments,
|
1928
|
+
branding: Branding,
|
1929
|
+
capabilities: Capabilities,
|
1930
|
+
card_payments: CardPayments,
|
1931
|
+
sepa_debit_payments: SepaDebitPayments,
|
1932
|
+
statement_descriptor: StatementDescriptor,
|
1933
|
+
support: Support,
|
1934
|
+
}
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
def self.field_remappings
|
1938
|
+
@field_remappings = {}
|
1939
|
+
end
|
977
1940
|
end
|
978
1941
|
|
979
1942
|
class Recipient < Stripe::StripeObject
|
@@ -985,6 +1948,14 @@ module Stripe
|
|
985
1948
|
attr_reader :code
|
986
1949
|
# Machine-readable code explaining how to make the Capability active.
|
987
1950
|
attr_reader :resolution
|
1951
|
+
|
1952
|
+
def self.inner_class_types
|
1953
|
+
@inner_class_types = {}
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
def self.field_remappings
|
1957
|
+
@field_remappings = {}
|
1958
|
+
end
|
988
1959
|
end
|
989
1960
|
# Whether the Capability has been requested.
|
990
1961
|
attr_reader :requested
|
@@ -992,6 +1963,14 @@ module Stripe
|
|
992
1963
|
attr_reader :status
|
993
1964
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
994
1965
|
attr_reader :status_details
|
1966
|
+
|
1967
|
+
def self.inner_class_types
|
1968
|
+
@inner_class_types = { status_details: StatusDetail }
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
def self.field_remappings
|
1972
|
+
@field_remappings = {}
|
1973
|
+
end
|
995
1974
|
end
|
996
1975
|
|
997
1976
|
class Wire < Stripe::StripeObject
|
@@ -1000,6 +1979,14 @@ module Stripe
|
|
1000
1979
|
attr_reader :code
|
1001
1980
|
# Machine-readable code explaining how to make the Capability active.
|
1002
1981
|
attr_reader :resolution
|
1982
|
+
|
1983
|
+
def self.inner_class_types
|
1984
|
+
@inner_class_types = {}
|
1985
|
+
end
|
1986
|
+
|
1987
|
+
def self.field_remappings
|
1988
|
+
@field_remappings = {}
|
1989
|
+
end
|
1003
1990
|
end
|
1004
1991
|
# Whether the Capability has been requested.
|
1005
1992
|
attr_reader :requested
|
@@ -1007,11 +1994,27 @@ module Stripe
|
|
1007
1994
|
attr_reader :status
|
1008
1995
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1009
1996
|
attr_reader :status_details
|
1997
|
+
|
1998
|
+
def self.inner_class_types
|
1999
|
+
@inner_class_types = { status_details: StatusDetail }
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
def self.field_remappings
|
2003
|
+
@field_remappings = {}
|
2004
|
+
end
|
1010
2005
|
end
|
1011
2006
|
# Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
1012
2007
|
attr_reader :local
|
1013
2008
|
# Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
1014
2009
|
attr_reader :wire
|
2010
|
+
|
2011
|
+
def self.inner_class_types
|
2012
|
+
@inner_class_types = { local: Local, wire: Wire }
|
2013
|
+
end
|
2014
|
+
|
2015
|
+
def self.field_remappings
|
2016
|
+
@field_remappings = {}
|
2017
|
+
end
|
1015
2018
|
end
|
1016
2019
|
|
1017
2020
|
class Cards < Stripe::StripeObject
|
@@ -1020,6 +2023,14 @@ module Stripe
|
|
1020
2023
|
attr_reader :code
|
1021
2024
|
# Machine-readable code explaining how to make the Capability active.
|
1022
2025
|
attr_reader :resolution
|
2026
|
+
|
2027
|
+
def self.inner_class_types
|
2028
|
+
@inner_class_types = {}
|
2029
|
+
end
|
2030
|
+
|
2031
|
+
def self.field_remappings
|
2032
|
+
@field_remappings = {}
|
2033
|
+
end
|
1023
2034
|
end
|
1024
2035
|
# Whether the Capability has been requested.
|
1025
2036
|
attr_reader :requested
|
@@ -1027,6 +2038,14 @@ module Stripe
|
|
1027
2038
|
attr_reader :status
|
1028
2039
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1029
2040
|
attr_reader :status_details
|
2041
|
+
|
2042
|
+
def self.inner_class_types
|
2043
|
+
@inner_class_types = { status_details: StatusDetail }
|
2044
|
+
end
|
2045
|
+
|
2046
|
+
def self.field_remappings
|
2047
|
+
@field_remappings = {}
|
2048
|
+
end
|
1030
2049
|
end
|
1031
2050
|
|
1032
2051
|
class StripeBalance < Stripe::StripeObject
|
@@ -1036,6 +2055,14 @@ module Stripe
|
|
1036
2055
|
attr_reader :code
|
1037
2056
|
# Machine-readable code explaining how to make the Capability active.
|
1038
2057
|
attr_reader :resolution
|
2058
|
+
|
2059
|
+
def self.inner_class_types
|
2060
|
+
@inner_class_types = {}
|
2061
|
+
end
|
2062
|
+
|
2063
|
+
def self.field_remappings
|
2064
|
+
@field_remappings = {}
|
2065
|
+
end
|
1039
2066
|
end
|
1040
2067
|
# Whether the Capability has been requested.
|
1041
2068
|
attr_reader :requested
|
@@ -1043,6 +2070,14 @@ module Stripe
|
|
1043
2070
|
attr_reader :status
|
1044
2071
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1045
2072
|
attr_reader :status_details
|
2073
|
+
|
2074
|
+
def self.inner_class_types
|
2075
|
+
@inner_class_types = { status_details: StatusDetail }
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
def self.field_remappings
|
2079
|
+
@field_remappings = {}
|
2080
|
+
end
|
1046
2081
|
end
|
1047
2082
|
|
1048
2083
|
class StripeTransfers < Stripe::StripeObject
|
@@ -1051,6 +2086,14 @@ module Stripe
|
|
1051
2086
|
attr_reader :code
|
1052
2087
|
# Machine-readable code explaining how to make the Capability active.
|
1053
2088
|
attr_reader :resolution
|
2089
|
+
|
2090
|
+
def self.inner_class_types
|
2091
|
+
@inner_class_types = {}
|
2092
|
+
end
|
2093
|
+
|
2094
|
+
def self.field_remappings
|
2095
|
+
@field_remappings = {}
|
2096
|
+
end
|
1054
2097
|
end
|
1055
2098
|
# Whether the Capability has been requested.
|
1056
2099
|
attr_reader :requested
|
@@ -1058,11 +2101,27 @@ module Stripe
|
|
1058
2101
|
attr_reader :status
|
1059
2102
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1060
2103
|
attr_reader :status_details
|
2104
|
+
|
2105
|
+
def self.inner_class_types
|
2106
|
+
@inner_class_types = { status_details: StatusDetail }
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
def self.field_remappings
|
2110
|
+
@field_remappings = {}
|
2111
|
+
end
|
1061
2112
|
end
|
1062
2113
|
# Allows the account to do payouts using their Stripe Balance (/v1/balance).
|
1063
2114
|
attr_reader :payouts
|
1064
2115
|
# Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
1065
2116
|
attr_reader :stripe_transfers
|
2117
|
+
|
2118
|
+
def self.inner_class_types
|
2119
|
+
@inner_class_types = { payouts: Payouts, stripe_transfers: StripeTransfers }
|
2120
|
+
end
|
2121
|
+
|
2122
|
+
def self.field_remappings
|
2123
|
+
@field_remappings = {}
|
2124
|
+
end
|
1066
2125
|
end
|
1067
2126
|
# Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
1068
2127
|
attr_reader :bank_accounts
|
@@ -1070,6 +2129,18 @@ module Stripe
|
|
1070
2129
|
attr_reader :cards
|
1071
2130
|
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
1072
2131
|
attr_reader :stripe_balance
|
2132
|
+
|
2133
|
+
def self.inner_class_types
|
2134
|
+
@inner_class_types = {
|
2135
|
+
bank_accounts: BankAccounts,
|
2136
|
+
cards: Cards,
|
2137
|
+
stripe_balance: StripeBalance,
|
2138
|
+
}
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
def self.field_remappings
|
2142
|
+
@field_remappings = {}
|
2143
|
+
end
|
1073
2144
|
end
|
1074
2145
|
|
1075
2146
|
class DefaultOutboundDestination < Stripe::StripeObject
|
@@ -1077,6 +2148,14 @@ module Stripe
|
|
1077
2148
|
attr_reader :id
|
1078
2149
|
# Closed Enum. The payout method type of the default outbound destination.
|
1079
2150
|
attr_reader :type
|
2151
|
+
|
2152
|
+
def self.inner_class_types
|
2153
|
+
@inner_class_types = {}
|
2154
|
+
end
|
2155
|
+
|
2156
|
+
def self.field_remappings
|
2157
|
+
@field_remappings = {}
|
2158
|
+
end
|
1080
2159
|
end
|
1081
2160
|
# Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
1082
2161
|
attr_reader :applied
|
@@ -1084,6 +2163,17 @@ module Stripe
|
|
1084
2163
|
attr_reader :capabilities
|
1085
2164
|
# The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard.
|
1086
2165
|
attr_reader :default_outbound_destination
|
2166
|
+
|
2167
|
+
def self.inner_class_types
|
2168
|
+
@inner_class_types = {
|
2169
|
+
capabilities: Capabilities,
|
2170
|
+
default_outbound_destination: DefaultOutboundDestination,
|
2171
|
+
}
|
2172
|
+
end
|
2173
|
+
|
2174
|
+
def self.field_remappings
|
2175
|
+
@field_remappings = {}
|
2176
|
+
end
|
1087
2177
|
end
|
1088
2178
|
|
1089
2179
|
class Storer < Stripe::StripeObject
|
@@ -1095,6 +2185,14 @@ module Stripe
|
|
1095
2185
|
attr_reader :code
|
1096
2186
|
# Machine-readable code explaining how to make the Capability active.
|
1097
2187
|
attr_reader :resolution
|
2188
|
+
|
2189
|
+
def self.inner_class_types
|
2190
|
+
@inner_class_types = {}
|
2191
|
+
end
|
2192
|
+
|
2193
|
+
def self.field_remappings
|
2194
|
+
@field_remappings = {}
|
2195
|
+
end
|
1098
2196
|
end
|
1099
2197
|
# Whether the Capability has been requested.
|
1100
2198
|
attr_reader :requested
|
@@ -1102,9 +2200,25 @@ module Stripe
|
|
1102
2200
|
attr_reader :status
|
1103
2201
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1104
2202
|
attr_reader :status_details
|
2203
|
+
|
2204
|
+
def self.inner_class_types
|
2205
|
+
@inner_class_types = { status_details: StatusDetail }
|
2206
|
+
end
|
2207
|
+
|
2208
|
+
def self.field_remappings
|
2209
|
+
@field_remappings = {}
|
2210
|
+
end
|
1105
2211
|
end
|
1106
2212
|
# Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
|
1107
2213
|
attr_reader :bank_accounts
|
2214
|
+
|
2215
|
+
def self.inner_class_types
|
2216
|
+
@inner_class_types = { bank_accounts: BankAccounts }
|
2217
|
+
end
|
2218
|
+
|
2219
|
+
def self.field_remappings
|
2220
|
+
@field_remappings = {}
|
2221
|
+
end
|
1108
2222
|
end
|
1109
2223
|
|
1110
2224
|
class HoldsCurrencies < Stripe::StripeObject
|
@@ -1114,6 +2228,14 @@ module Stripe
|
|
1114
2228
|
attr_reader :code
|
1115
2229
|
# Machine-readable code explaining how to make the Capability active.
|
1116
2230
|
attr_reader :resolution
|
2231
|
+
|
2232
|
+
def self.inner_class_types
|
2233
|
+
@inner_class_types = {}
|
2234
|
+
end
|
2235
|
+
|
2236
|
+
def self.field_remappings
|
2237
|
+
@field_remappings = {}
|
2238
|
+
end
|
1117
2239
|
end
|
1118
2240
|
# Whether the Capability has been requested.
|
1119
2241
|
attr_reader :requested
|
@@ -1121,9 +2243,25 @@ module Stripe
|
|
1121
2243
|
attr_reader :status
|
1122
2244
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1123
2245
|
attr_reader :status_details
|
2246
|
+
|
2247
|
+
def self.inner_class_types
|
2248
|
+
@inner_class_types = { status_details: StatusDetail }
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
def self.field_remappings
|
2252
|
+
@field_remappings = {}
|
2253
|
+
end
|
1124
2254
|
end
|
1125
2255
|
# Can hold storage-type funds on Stripe in GBP.
|
1126
2256
|
attr_reader :gbp
|
2257
|
+
|
2258
|
+
def self.inner_class_types
|
2259
|
+
@inner_class_types = { gbp: Gbp }
|
2260
|
+
end
|
2261
|
+
|
2262
|
+
def self.field_remappings
|
2263
|
+
@field_remappings = {}
|
2264
|
+
end
|
1127
2265
|
end
|
1128
2266
|
|
1129
2267
|
class InboundTransfers < Stripe::StripeObject
|
@@ -1133,6 +2271,14 @@ module Stripe
|
|
1133
2271
|
attr_reader :code
|
1134
2272
|
# Machine-readable code explaining how to make the Capability active.
|
1135
2273
|
attr_reader :resolution
|
2274
|
+
|
2275
|
+
def self.inner_class_types
|
2276
|
+
@inner_class_types = {}
|
2277
|
+
end
|
2278
|
+
|
2279
|
+
def self.field_remappings
|
2280
|
+
@field_remappings = {}
|
2281
|
+
end
|
1136
2282
|
end
|
1137
2283
|
# Whether the Capability has been requested.
|
1138
2284
|
attr_reader :requested
|
@@ -1140,9 +2286,25 @@ module Stripe
|
|
1140
2286
|
attr_reader :status
|
1141
2287
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1142
2288
|
attr_reader :status_details
|
2289
|
+
|
2290
|
+
def self.inner_class_types
|
2291
|
+
@inner_class_types = { status_details: StatusDetail }
|
2292
|
+
end
|
2293
|
+
|
2294
|
+
def self.field_remappings
|
2295
|
+
@field_remappings = {}
|
2296
|
+
end
|
1143
2297
|
end
|
1144
2298
|
# Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
|
1145
2299
|
attr_reader :bank_accounts
|
2300
|
+
|
2301
|
+
def self.inner_class_types
|
2302
|
+
@inner_class_types = { bank_accounts: BankAccounts }
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
def self.field_remappings
|
2306
|
+
@field_remappings = {}
|
2307
|
+
end
|
1146
2308
|
end
|
1147
2309
|
|
1148
2310
|
class OutboundPayments < Stripe::StripeObject
|
@@ -1152,6 +2314,14 @@ module Stripe
|
|
1152
2314
|
attr_reader :code
|
1153
2315
|
# Machine-readable code explaining how to make the Capability active.
|
1154
2316
|
attr_reader :resolution
|
2317
|
+
|
2318
|
+
def self.inner_class_types
|
2319
|
+
@inner_class_types = {}
|
2320
|
+
end
|
2321
|
+
|
2322
|
+
def self.field_remappings
|
2323
|
+
@field_remappings = {}
|
2324
|
+
end
|
1155
2325
|
end
|
1156
2326
|
# Whether the Capability has been requested.
|
1157
2327
|
attr_reader :requested
|
@@ -1159,6 +2329,14 @@ module Stripe
|
|
1159
2329
|
attr_reader :status
|
1160
2330
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1161
2331
|
attr_reader :status_details
|
2332
|
+
|
2333
|
+
def self.inner_class_types
|
2334
|
+
@inner_class_types = { status_details: StatusDetail }
|
2335
|
+
end
|
2336
|
+
|
2337
|
+
def self.field_remappings
|
2338
|
+
@field_remappings = {}
|
2339
|
+
end
|
1162
2340
|
end
|
1163
2341
|
|
1164
2342
|
class Cards < Stripe::StripeObject
|
@@ -1167,6 +2345,14 @@ module Stripe
|
|
1167
2345
|
attr_reader :code
|
1168
2346
|
# Machine-readable code explaining how to make the Capability active.
|
1169
2347
|
attr_reader :resolution
|
2348
|
+
|
2349
|
+
def self.inner_class_types
|
2350
|
+
@inner_class_types = {}
|
2351
|
+
end
|
2352
|
+
|
2353
|
+
def self.field_remappings
|
2354
|
+
@field_remappings = {}
|
2355
|
+
end
|
1170
2356
|
end
|
1171
2357
|
# Whether the Capability has been requested.
|
1172
2358
|
attr_reader :requested
|
@@ -1174,6 +2360,14 @@ module Stripe
|
|
1174
2360
|
attr_reader :status
|
1175
2361
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1176
2362
|
attr_reader :status_details
|
2363
|
+
|
2364
|
+
def self.inner_class_types
|
2365
|
+
@inner_class_types = { status_details: StatusDetail }
|
2366
|
+
end
|
2367
|
+
|
2368
|
+
def self.field_remappings
|
2369
|
+
@field_remappings = {}
|
2370
|
+
end
|
1177
2371
|
end
|
1178
2372
|
|
1179
2373
|
class FinancialAccounts < Stripe::StripeObject
|
@@ -1182,6 +2376,14 @@ module Stripe
|
|
1182
2376
|
attr_reader :code
|
1183
2377
|
# Machine-readable code explaining how to make the Capability active.
|
1184
2378
|
attr_reader :resolution
|
2379
|
+
|
2380
|
+
def self.inner_class_types
|
2381
|
+
@inner_class_types = {}
|
2382
|
+
end
|
2383
|
+
|
2384
|
+
def self.field_remappings
|
2385
|
+
@field_remappings = {}
|
2386
|
+
end
|
1185
2387
|
end
|
1186
2388
|
# Whether the Capability has been requested.
|
1187
2389
|
attr_reader :requested
|
@@ -1189,6 +2391,14 @@ module Stripe
|
|
1189
2391
|
attr_reader :status
|
1190
2392
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1191
2393
|
attr_reader :status_details
|
2394
|
+
|
2395
|
+
def self.inner_class_types
|
2396
|
+
@inner_class_types = { status_details: StatusDetail }
|
2397
|
+
end
|
2398
|
+
|
2399
|
+
def self.field_remappings
|
2400
|
+
@field_remappings = {}
|
2401
|
+
end
|
1192
2402
|
end
|
1193
2403
|
# Can send funds from a FinancialAccount to a bank account, owned by someone else.
|
1194
2404
|
attr_reader :bank_accounts
|
@@ -1196,6 +2406,18 @@ module Stripe
|
|
1196
2406
|
attr_reader :cards
|
1197
2407
|
# Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
|
1198
2408
|
attr_reader :financial_accounts
|
2409
|
+
|
2410
|
+
def self.inner_class_types
|
2411
|
+
@inner_class_types = {
|
2412
|
+
bank_accounts: BankAccounts,
|
2413
|
+
cards: Cards,
|
2414
|
+
financial_accounts: FinancialAccounts,
|
2415
|
+
}
|
2416
|
+
end
|
2417
|
+
|
2418
|
+
def self.field_remappings
|
2419
|
+
@field_remappings = {}
|
2420
|
+
end
|
1199
2421
|
end
|
1200
2422
|
|
1201
2423
|
class OutboundTransfers < Stripe::StripeObject
|
@@ -1205,6 +2427,14 @@ module Stripe
|
|
1205
2427
|
attr_reader :code
|
1206
2428
|
# Machine-readable code explaining how to make the Capability active.
|
1207
2429
|
attr_reader :resolution
|
2430
|
+
|
2431
|
+
def self.inner_class_types
|
2432
|
+
@inner_class_types = {}
|
2433
|
+
end
|
2434
|
+
|
2435
|
+
def self.field_remappings
|
2436
|
+
@field_remappings = {}
|
2437
|
+
end
|
1208
2438
|
end
|
1209
2439
|
# Whether the Capability has been requested.
|
1210
2440
|
attr_reader :requested
|
@@ -1212,6 +2442,14 @@ module Stripe
|
|
1212
2442
|
attr_reader :status
|
1213
2443
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1214
2444
|
attr_reader :status_details
|
2445
|
+
|
2446
|
+
def self.inner_class_types
|
2447
|
+
@inner_class_types = { status_details: StatusDetail }
|
2448
|
+
end
|
2449
|
+
|
2450
|
+
def self.field_remappings
|
2451
|
+
@field_remappings = {}
|
2452
|
+
end
|
1215
2453
|
end
|
1216
2454
|
|
1217
2455
|
class FinancialAccounts < Stripe::StripeObject
|
@@ -1220,6 +2458,14 @@ module Stripe
|
|
1220
2458
|
attr_reader :code
|
1221
2459
|
# Machine-readable code explaining how to make the Capability active.
|
1222
2460
|
attr_reader :resolution
|
2461
|
+
|
2462
|
+
def self.inner_class_types
|
2463
|
+
@inner_class_types = {}
|
2464
|
+
end
|
2465
|
+
|
2466
|
+
def self.field_remappings
|
2467
|
+
@field_remappings = {}
|
2468
|
+
end
|
1223
2469
|
end
|
1224
2470
|
# Whether the Capability has been requested.
|
1225
2471
|
attr_reader :requested
|
@@ -1227,11 +2473,30 @@ module Stripe
|
|
1227
2473
|
attr_reader :status
|
1228
2474
|
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1229
2475
|
attr_reader :status_details
|
2476
|
+
|
2477
|
+
def self.inner_class_types
|
2478
|
+
@inner_class_types = { status_details: StatusDetail }
|
2479
|
+
end
|
2480
|
+
|
2481
|
+
def self.field_remappings
|
2482
|
+
@field_remappings = {}
|
2483
|
+
end
|
1230
2484
|
end
|
1231
2485
|
# Can send funds from a FinancialAccount, to a bank account, owned by yourself.
|
1232
2486
|
attr_reader :bank_accounts
|
1233
2487
|
# Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
|
1234
2488
|
attr_reader :financial_accounts
|
2489
|
+
|
2490
|
+
def self.inner_class_types
|
2491
|
+
@inner_class_types = {
|
2492
|
+
bank_accounts: BankAccounts,
|
2493
|
+
financial_accounts: FinancialAccounts,
|
2494
|
+
}
|
2495
|
+
end
|
2496
|
+
|
2497
|
+
def self.field_remappings
|
2498
|
+
@field_remappings = {}
|
2499
|
+
end
|
1235
2500
|
end
|
1236
2501
|
# Can provision a financial address to credit/debit a FinancialAccount.
|
1237
2502
|
attr_reader :financial_addresses
|
@@ -1243,11 +2508,33 @@ module Stripe
|
|
1243
2508
|
attr_reader :outbound_payments
|
1244
2509
|
# Can send funds from a FinancialAccount to a destination owned by yourself.
|
1245
2510
|
attr_reader :outbound_transfers
|
2511
|
+
|
2512
|
+
def self.inner_class_types
|
2513
|
+
@inner_class_types = {
|
2514
|
+
financial_addresses: FinancialAddresses,
|
2515
|
+
holds_currencies: HoldsCurrencies,
|
2516
|
+
inbound_transfers: InboundTransfers,
|
2517
|
+
outbound_payments: OutboundPayments,
|
2518
|
+
outbound_transfers: OutboundTransfers,
|
2519
|
+
}
|
2520
|
+
end
|
2521
|
+
|
2522
|
+
def self.field_remappings
|
2523
|
+
@field_remappings = {}
|
2524
|
+
end
|
1246
2525
|
end
|
1247
2526
|
# Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
1248
2527
|
attr_reader :applied
|
1249
2528
|
# Capabilities that have been requested on the Storer Configuration.
|
1250
2529
|
attr_reader :capabilities
|
2530
|
+
|
2531
|
+
def self.inner_class_types
|
2532
|
+
@inner_class_types = { capabilities: Capabilities }
|
2533
|
+
end
|
2534
|
+
|
2535
|
+
def self.field_remappings
|
2536
|
+
@field_remappings = {}
|
2537
|
+
end
|
1251
2538
|
end
|
1252
2539
|
# The Customer Configuration allows the Account to be used in inbound payment flows.
|
1253
2540
|
attr_reader :customer
|
@@ -1257,6 +2544,19 @@ module Stripe
|
|
1257
2544
|
attr_reader :recipient
|
1258
2545
|
# The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
1259
2546
|
attr_reader :storer
|
2547
|
+
|
2548
|
+
def self.inner_class_types
|
2549
|
+
@inner_class_types = {
|
2550
|
+
customer: Customer,
|
2551
|
+
merchant: Merchant,
|
2552
|
+
recipient: Recipient,
|
2553
|
+
storer: Storer,
|
2554
|
+
}
|
2555
|
+
end
|
2556
|
+
|
2557
|
+
def self.field_remappings
|
2558
|
+
@field_remappings = {}
|
2559
|
+
end
|
1260
2560
|
end
|
1261
2561
|
|
1262
2562
|
class Defaults < Stripe::StripeObject
|
@@ -1265,6 +2565,14 @@ module Stripe
|
|
1265
2565
|
attr_reader :fees_collector
|
1266
2566
|
# A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
|
1267
2567
|
attr_reader :losses_collector
|
2568
|
+
|
2569
|
+
def self.inner_class_types
|
2570
|
+
@inner_class_types = {}
|
2571
|
+
end
|
2572
|
+
|
2573
|
+
def self.field_remappings
|
2574
|
+
@field_remappings = {}
|
2575
|
+
end
|
1268
2576
|
end
|
1269
2577
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
1270
2578
|
attr_reader :currency
|
@@ -1272,6 +2580,14 @@ module Stripe
|
|
1272
2580
|
attr_reader :locales
|
1273
2581
|
# Default responsibilities held by either Stripe or the platform.
|
1274
2582
|
attr_reader :responsibilities
|
2583
|
+
|
2584
|
+
def self.inner_class_types
|
2585
|
+
@inner_class_types = { responsibilities: Responsibilities }
|
2586
|
+
end
|
2587
|
+
|
2588
|
+
def self.field_remappings
|
2589
|
+
@field_remappings = {}
|
2590
|
+
end
|
1275
2591
|
end
|
1276
2592
|
|
1277
2593
|
class Identity < Stripe::StripeObject
|
@@ -1283,6 +2599,14 @@ module Stripe
|
|
1283
2599
|
attr_reader :ip
|
1284
2600
|
# The user agent of the browser from which the director attestation was made.
|
1285
2601
|
attr_reader :user_agent
|
2602
|
+
|
2603
|
+
def self.inner_class_types
|
2604
|
+
@inner_class_types = {}
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
def self.field_remappings
|
2608
|
+
@field_remappings = {}
|
2609
|
+
end
|
1286
2610
|
end
|
1287
2611
|
|
1288
2612
|
class OwnershipDeclaration < Stripe::StripeObject
|
@@ -1292,6 +2616,14 @@ module Stripe
|
|
1292
2616
|
attr_reader :ip
|
1293
2617
|
# The user agent of the browser from which the beneficial owner attestation was made.
|
1294
2618
|
attr_reader :user_agent
|
2619
|
+
|
2620
|
+
def self.inner_class_types
|
2621
|
+
@inner_class_types = {}
|
2622
|
+
end
|
2623
|
+
|
2624
|
+
def self.field_remappings
|
2625
|
+
@field_remappings = {}
|
2626
|
+
end
|
1295
2627
|
end
|
1296
2628
|
|
1297
2629
|
class PersonsProvided < Stripe::StripeObject
|
@@ -1303,6 +2635,14 @@ module Stripe
|
|
1303
2635
|
attr_reader :owners
|
1304
2636
|
# Reason for why the company is exempt from providing ownership information.
|
1305
2637
|
attr_reader :ownership_exemption_reason
|
2638
|
+
|
2639
|
+
def self.inner_class_types
|
2640
|
+
@inner_class_types = {}
|
2641
|
+
end
|
2642
|
+
|
2643
|
+
def self.field_remappings
|
2644
|
+
@field_remappings = {}
|
2645
|
+
end
|
1306
2646
|
end
|
1307
2647
|
|
1308
2648
|
class TermsOfService < Stripe::StripeObject
|
@@ -1313,6 +2653,14 @@ module Stripe
|
|
1313
2653
|
attr_reader :ip
|
1314
2654
|
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
1315
2655
|
attr_reader :user_agent
|
2656
|
+
|
2657
|
+
def self.inner_class_types
|
2658
|
+
@inner_class_types = {}
|
2659
|
+
end
|
2660
|
+
|
2661
|
+
def self.field_remappings
|
2662
|
+
@field_remappings = {}
|
2663
|
+
end
|
1316
2664
|
end
|
1317
2665
|
|
1318
2666
|
class Storer < Stripe::StripeObject
|
@@ -1322,11 +2670,27 @@ module Stripe
|
|
1322
2670
|
attr_reader :ip
|
1323
2671
|
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
1324
2672
|
attr_reader :user_agent
|
2673
|
+
|
2674
|
+
def self.inner_class_types
|
2675
|
+
@inner_class_types = {}
|
2676
|
+
end
|
2677
|
+
|
2678
|
+
def self.field_remappings
|
2679
|
+
@field_remappings = {}
|
2680
|
+
end
|
1325
2681
|
end
|
1326
2682
|
# Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
1327
2683
|
attr_reader :account
|
1328
2684
|
# Details on the Account's acceptance of Treasury-specific terms of service.
|
1329
2685
|
attr_reader :storer
|
2686
|
+
|
2687
|
+
def self.inner_class_types
|
2688
|
+
@inner_class_types = { account: Account, storer: Storer }
|
2689
|
+
end
|
2690
|
+
|
2691
|
+
def self.field_remappings
|
2692
|
+
@field_remappings = {}
|
2693
|
+
end
|
1330
2694
|
end
|
1331
2695
|
# This hash is used to attest that the directors information provided to Stripe is both current and correct.
|
1332
2696
|
attr_reader :directorship_declaration
|
@@ -1336,6 +2700,19 @@ module Stripe
|
|
1336
2700
|
attr_reader :persons_provided
|
1337
2701
|
# Attestations of accepted terms of service agreements.
|
1338
2702
|
attr_reader :terms_of_service
|
2703
|
+
|
2704
|
+
def self.inner_class_types
|
2705
|
+
@inner_class_types = {
|
2706
|
+
directorship_declaration: DirectorshipDeclaration,
|
2707
|
+
ownership_declaration: OwnershipDeclaration,
|
2708
|
+
persons_provided: PersonsProvided,
|
2709
|
+
terms_of_service: TermsOfService,
|
2710
|
+
}
|
2711
|
+
end
|
2712
|
+
|
2713
|
+
def self.field_remappings
|
2714
|
+
@field_remappings = {}
|
2715
|
+
end
|
1339
2716
|
end
|
1340
2717
|
|
1341
2718
|
class BusinessDetails < Stripe::StripeObject
|
@@ -1354,6 +2731,14 @@ module Stripe
|
|
1354
2731
|
attr_reader :state
|
1355
2732
|
# Town or cho-me.
|
1356
2733
|
attr_reader :town
|
2734
|
+
|
2735
|
+
def self.inner_class_types
|
2736
|
+
@inner_class_types = {}
|
2737
|
+
end
|
2738
|
+
|
2739
|
+
def self.field_remappings
|
2740
|
+
@field_remappings = {}
|
2741
|
+
end
|
1357
2742
|
end
|
1358
2743
|
|
1359
2744
|
class AnnualRevenue < Stripe::StripeObject
|
@@ -1361,6 +2746,14 @@ module Stripe
|
|
1361
2746
|
attr_reader :amount
|
1362
2747
|
# The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
1363
2748
|
attr_reader :fiscal_year_end
|
2749
|
+
|
2750
|
+
def self.inner_class_types
|
2751
|
+
@inner_class_types = {}
|
2752
|
+
end
|
2753
|
+
|
2754
|
+
def self.field_remappings
|
2755
|
+
@field_remappings = {}
|
2756
|
+
end
|
1364
2757
|
end
|
1365
2758
|
|
1366
2759
|
class Documents < Stripe::StripeObject
|
@@ -1369,6 +2762,14 @@ module Stripe
|
|
1369
2762
|
attr_reader :files
|
1370
2763
|
# The format of the document. Currently supports `files` only.
|
1371
2764
|
attr_reader :type
|
2765
|
+
|
2766
|
+
def self.inner_class_types
|
2767
|
+
@inner_class_types = {}
|
2768
|
+
end
|
2769
|
+
|
2770
|
+
def self.field_remappings
|
2771
|
+
@field_remappings = {}
|
2772
|
+
end
|
1372
2773
|
end
|
1373
2774
|
|
1374
2775
|
class CompanyLicense < Stripe::StripeObject
|
@@ -1376,6 +2777,14 @@ module Stripe
|
|
1376
2777
|
attr_reader :files
|
1377
2778
|
# The format of the document. Currently supports `files` only.
|
1378
2779
|
attr_reader :type
|
2780
|
+
|
2781
|
+
def self.inner_class_types
|
2782
|
+
@inner_class_types = {}
|
2783
|
+
end
|
2784
|
+
|
2785
|
+
def self.field_remappings
|
2786
|
+
@field_remappings = {}
|
2787
|
+
end
|
1379
2788
|
end
|
1380
2789
|
|
1381
2790
|
class CompanyMemorandumOfAssociation < Stripe::StripeObject
|
@@ -1383,6 +2792,14 @@ module Stripe
|
|
1383
2792
|
attr_reader :files
|
1384
2793
|
# The format of the document. Currently supports `files` only.
|
1385
2794
|
attr_reader :type
|
2795
|
+
|
2796
|
+
def self.inner_class_types
|
2797
|
+
@inner_class_types = {}
|
2798
|
+
end
|
2799
|
+
|
2800
|
+
def self.field_remappings
|
2801
|
+
@field_remappings = {}
|
2802
|
+
end
|
1386
2803
|
end
|
1387
2804
|
|
1388
2805
|
class CompanyMinisterialDecree < Stripe::StripeObject
|
@@ -1390,6 +2807,14 @@ module Stripe
|
|
1390
2807
|
attr_reader :files
|
1391
2808
|
# The format of the document. Currently supports `files` only.
|
1392
2809
|
attr_reader :type
|
2810
|
+
|
2811
|
+
def self.inner_class_types
|
2812
|
+
@inner_class_types = {}
|
2813
|
+
end
|
2814
|
+
|
2815
|
+
def self.field_remappings
|
2816
|
+
@field_remappings = {}
|
2817
|
+
end
|
1393
2818
|
end
|
1394
2819
|
|
1395
2820
|
class CompanyRegistrationVerification < Stripe::StripeObject
|
@@ -1397,6 +2822,14 @@ module Stripe
|
|
1397
2822
|
attr_reader :files
|
1398
2823
|
# The format of the document. Currently supports `files` only.
|
1399
2824
|
attr_reader :type
|
2825
|
+
|
2826
|
+
def self.inner_class_types
|
2827
|
+
@inner_class_types = {}
|
2828
|
+
end
|
2829
|
+
|
2830
|
+
def self.field_remappings
|
2831
|
+
@field_remappings = {}
|
2832
|
+
end
|
1400
2833
|
end
|
1401
2834
|
|
1402
2835
|
class CompanyTaxIdVerification < Stripe::StripeObject
|
@@ -1404,6 +2837,14 @@ module Stripe
|
|
1404
2837
|
attr_reader :files
|
1405
2838
|
# The format of the document. Currently supports `files` only.
|
1406
2839
|
attr_reader :type
|
2840
|
+
|
2841
|
+
def self.inner_class_types
|
2842
|
+
@inner_class_types = {}
|
2843
|
+
end
|
2844
|
+
|
2845
|
+
def self.field_remappings
|
2846
|
+
@field_remappings = {}
|
2847
|
+
end
|
1407
2848
|
end
|
1408
2849
|
|
1409
2850
|
class PrimaryVerification < Stripe::StripeObject
|
@@ -1412,11 +2853,27 @@ module Stripe
|
|
1412
2853
|
attr_reader :back
|
1413
2854
|
# A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
1414
2855
|
attr_reader :front
|
2856
|
+
|
2857
|
+
def self.inner_class_types
|
2858
|
+
@inner_class_types = {}
|
2859
|
+
end
|
2860
|
+
|
2861
|
+
def self.field_remappings
|
2862
|
+
@field_remappings = {}
|
2863
|
+
end
|
1415
2864
|
end
|
1416
2865
|
# The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
|
1417
2866
|
attr_reader :front_back
|
1418
2867
|
# The format of the verification document. Currently supports `front_back` only.
|
1419
2868
|
attr_reader :type
|
2869
|
+
|
2870
|
+
def self.inner_class_types
|
2871
|
+
@inner_class_types = { front_back: FrontBack }
|
2872
|
+
end
|
2873
|
+
|
2874
|
+
def self.field_remappings
|
2875
|
+
@field_remappings = {}
|
2876
|
+
end
|
1420
2877
|
end
|
1421
2878
|
|
1422
2879
|
class ProofOfAddress < Stripe::StripeObject
|
@@ -1424,6 +2881,14 @@ module Stripe
|
|
1424
2881
|
attr_reader :files
|
1425
2882
|
# The format of the document. Currently supports `files` only.
|
1426
2883
|
attr_reader :type
|
2884
|
+
|
2885
|
+
def self.inner_class_types
|
2886
|
+
@inner_class_types = {}
|
2887
|
+
end
|
2888
|
+
|
2889
|
+
def self.field_remappings
|
2890
|
+
@field_remappings = {}
|
2891
|
+
end
|
1427
2892
|
end
|
1428
2893
|
|
1429
2894
|
class ProofOfRegistration < Stripe::StripeObject
|
@@ -1431,6 +2896,14 @@ module Stripe
|
|
1431
2896
|
attr_reader :files
|
1432
2897
|
# The format of the document. Currently supports `files` only.
|
1433
2898
|
attr_reader :type
|
2899
|
+
|
2900
|
+
def self.inner_class_types
|
2901
|
+
@inner_class_types = {}
|
2902
|
+
end
|
2903
|
+
|
2904
|
+
def self.field_remappings
|
2905
|
+
@field_remappings = {}
|
2906
|
+
end
|
1434
2907
|
end
|
1435
2908
|
|
1436
2909
|
class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject
|
@@ -1438,6 +2911,14 @@ module Stripe
|
|
1438
2911
|
attr_reader :files
|
1439
2912
|
# The format of the document. Currently supports `files` only.
|
1440
2913
|
attr_reader :type
|
2914
|
+
|
2915
|
+
def self.inner_class_types
|
2916
|
+
@inner_class_types = {}
|
2917
|
+
end
|
2918
|
+
|
2919
|
+
def self.field_remappings
|
2920
|
+
@field_remappings = {}
|
2921
|
+
end
|
1441
2922
|
end
|
1442
2923
|
# One or more documents that support the Bank account ownership verification requirement. Must be a document associated with the account’s primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
|
1443
2924
|
attr_reader :bank_account_ownership_verification
|
@@ -1459,6 +2940,25 @@ module Stripe
|
|
1459
2940
|
attr_reader :proof_of_registration
|
1460
2941
|
# One or more documents that demonstrate proof of ultimate beneficial ownership.
|
1461
2942
|
attr_reader :proof_of_ultimate_beneficial_ownership
|
2943
|
+
|
2944
|
+
def self.inner_class_types
|
2945
|
+
@inner_class_types = {
|
2946
|
+
bank_account_ownership_verification: BankAccountOwnershipVerification,
|
2947
|
+
company_license: CompanyLicense,
|
2948
|
+
company_memorandum_of_association: CompanyMemorandumOfAssociation,
|
2949
|
+
company_ministerial_decree: CompanyMinisterialDecree,
|
2950
|
+
company_registration_verification: CompanyRegistrationVerification,
|
2951
|
+
company_tax_id_verification: CompanyTaxIdVerification,
|
2952
|
+
primary_verification: PrimaryVerification,
|
2953
|
+
proof_of_address: ProofOfAddress,
|
2954
|
+
proof_of_registration: ProofOfRegistration,
|
2955
|
+
proof_of_ultimate_beneficial_ownership: ProofOfUltimateBeneficialOwnership,
|
2956
|
+
}
|
2957
|
+
end
|
2958
|
+
|
2959
|
+
def self.field_remappings
|
2960
|
+
@field_remappings = {}
|
2961
|
+
end
|
1462
2962
|
end
|
1463
2963
|
|
1464
2964
|
class IdNumber < Stripe::StripeObject
|
@@ -1466,11 +2966,27 @@ module Stripe
|
|
1466
2966
|
attr_reader :registrar
|
1467
2967
|
# Open Enum. The ID number type of a business entity.
|
1468
2968
|
attr_reader :type
|
2969
|
+
|
2970
|
+
def self.inner_class_types
|
2971
|
+
@inner_class_types = {}
|
2972
|
+
end
|
2973
|
+
|
2974
|
+
def self.field_remappings
|
2975
|
+
@field_remappings = {}
|
2976
|
+
end
|
1469
2977
|
end
|
1470
2978
|
|
1471
2979
|
class MonthlyEstimatedRevenue < Stripe::StripeObject
|
1472
2980
|
# A non-negative integer representing the amount in the smallest currency unit.
|
1473
2981
|
attr_reader :amount
|
2982
|
+
|
2983
|
+
def self.inner_class_types
|
2984
|
+
@inner_class_types = {}
|
2985
|
+
end
|
2986
|
+
|
2987
|
+
def self.field_remappings
|
2988
|
+
@field_remappings = {}
|
2989
|
+
end
|
1474
2990
|
end
|
1475
2991
|
|
1476
2992
|
class ScriptAddresses < Stripe::StripeObject
|
@@ -1489,6 +3005,14 @@ module Stripe
|
|
1489
3005
|
attr_reader :state
|
1490
3006
|
# Town or cho-me.
|
1491
3007
|
attr_reader :town
|
3008
|
+
|
3009
|
+
def self.inner_class_types
|
3010
|
+
@inner_class_types = {}
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
def self.field_remappings
|
3014
|
+
@field_remappings = {}
|
3015
|
+
end
|
1492
3016
|
end
|
1493
3017
|
|
1494
3018
|
class Kanji < Stripe::StripeObject
|
@@ -1506,27 +3030,67 @@ module Stripe
|
|
1506
3030
|
attr_reader :state
|
1507
3031
|
# Town or cho-me.
|
1508
3032
|
attr_reader :town
|
3033
|
+
|
3034
|
+
def self.inner_class_types
|
3035
|
+
@inner_class_types = {}
|
3036
|
+
end
|
3037
|
+
|
3038
|
+
def self.field_remappings
|
3039
|
+
@field_remappings = {}
|
3040
|
+
end
|
1509
3041
|
end
|
1510
3042
|
# Kana Address.
|
1511
3043
|
attr_reader :kana
|
1512
3044
|
# Kanji Address.
|
1513
3045
|
attr_reader :kanji
|
3046
|
+
|
3047
|
+
def self.inner_class_types
|
3048
|
+
@inner_class_types = { kana: Kana, kanji: Kanji }
|
3049
|
+
end
|
3050
|
+
|
3051
|
+
def self.field_remappings
|
3052
|
+
@field_remappings = {}
|
3053
|
+
end
|
1514
3054
|
end
|
1515
3055
|
|
1516
3056
|
class ScriptNames < Stripe::StripeObject
|
1517
3057
|
class Kana < Stripe::StripeObject
|
1518
3058
|
# Registered name of the business.
|
1519
3059
|
attr_reader :registered_name
|
3060
|
+
|
3061
|
+
def self.inner_class_types
|
3062
|
+
@inner_class_types = {}
|
3063
|
+
end
|
3064
|
+
|
3065
|
+
def self.field_remappings
|
3066
|
+
@field_remappings = {}
|
3067
|
+
end
|
1520
3068
|
end
|
1521
3069
|
|
1522
3070
|
class Kanji < Stripe::StripeObject
|
1523
3071
|
# Registered name of the business.
|
1524
3072
|
attr_reader :registered_name
|
3073
|
+
|
3074
|
+
def self.inner_class_types
|
3075
|
+
@inner_class_types = {}
|
3076
|
+
end
|
3077
|
+
|
3078
|
+
def self.field_remappings
|
3079
|
+
@field_remappings = {}
|
3080
|
+
end
|
1525
3081
|
end
|
1526
3082
|
# Kana name.
|
1527
3083
|
attr_reader :kana
|
1528
3084
|
# Kanji name.
|
1529
3085
|
attr_reader :kanji
|
3086
|
+
|
3087
|
+
def self.inner_class_types
|
3088
|
+
@inner_class_types = { kana: Kana, kanji: Kanji }
|
3089
|
+
end
|
3090
|
+
|
3091
|
+
def self.field_remappings
|
3092
|
+
@field_remappings = {}
|
3093
|
+
end
|
1530
3094
|
end
|
1531
3095
|
# The company’s primary address.
|
1532
3096
|
attr_reader :address
|
@@ -1556,6 +3120,22 @@ module Stripe
|
|
1556
3120
|
attr_reader :structure
|
1557
3121
|
# The business's publicly available website.
|
1558
3122
|
attr_reader :url
|
3123
|
+
|
3124
|
+
def self.inner_class_types
|
3125
|
+
@inner_class_types = {
|
3126
|
+
address: Address,
|
3127
|
+
annual_revenue: AnnualRevenue,
|
3128
|
+
documents: Documents,
|
3129
|
+
id_numbers: IdNumber,
|
3130
|
+
monthly_estimated_revenue: MonthlyEstimatedRevenue,
|
3131
|
+
script_addresses: ScriptAddresses,
|
3132
|
+
script_names: ScriptNames,
|
3133
|
+
}
|
3134
|
+
end
|
3135
|
+
|
3136
|
+
def self.field_remappings
|
3137
|
+
@field_remappings = {}
|
3138
|
+
end
|
1559
3139
|
end
|
1560
3140
|
|
1561
3141
|
class Individual < Stripe::StripeObject
|
@@ -1576,6 +3156,14 @@ module Stripe
|
|
1576
3156
|
attr_reader :state
|
1577
3157
|
# Town or cho-me.
|
1578
3158
|
attr_reader :town
|
3159
|
+
|
3160
|
+
def self.inner_class_types
|
3161
|
+
@inner_class_types = {}
|
3162
|
+
end
|
3163
|
+
|
3164
|
+
def self.field_remappings
|
3165
|
+
@field_remappings = {}
|
3166
|
+
end
|
1579
3167
|
end
|
1580
3168
|
|
1581
3169
|
class AdditionalName < Stripe::StripeObject
|
@@ -1587,6 +3175,14 @@ module Stripe
|
|
1587
3175
|
attr_reader :purpose
|
1588
3176
|
# The individual's last or family name.
|
1589
3177
|
attr_reader :surname
|
3178
|
+
|
3179
|
+
def self.inner_class_types
|
3180
|
+
@inner_class_types = {}
|
3181
|
+
end
|
3182
|
+
|
3183
|
+
def self.field_remappings
|
3184
|
+
@field_remappings = {}
|
3185
|
+
end
|
1590
3186
|
end
|
1591
3187
|
|
1592
3188
|
class AdditionalTermsOfService < Stripe::StripeObject
|
@@ -1597,9 +3193,25 @@ module Stripe
|
|
1597
3193
|
attr_reader :ip
|
1598
3194
|
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
1599
3195
|
attr_reader :user_agent
|
3196
|
+
|
3197
|
+
def self.inner_class_types
|
3198
|
+
@inner_class_types = {}
|
3199
|
+
end
|
3200
|
+
|
3201
|
+
def self.field_remappings
|
3202
|
+
@field_remappings = {}
|
3203
|
+
end
|
1600
3204
|
end
|
1601
3205
|
# Stripe terms of service agreement.
|
1602
3206
|
attr_reader :account
|
3207
|
+
|
3208
|
+
def self.inner_class_types
|
3209
|
+
@inner_class_types = { account: Account }
|
3210
|
+
end
|
3211
|
+
|
3212
|
+
def self.field_remappings
|
3213
|
+
@field_remappings = {}
|
3214
|
+
end
|
1603
3215
|
end
|
1604
3216
|
|
1605
3217
|
class Address < Stripe::StripeObject
|
@@ -1617,6 +3229,14 @@ module Stripe
|
|
1617
3229
|
attr_reader :state
|
1618
3230
|
# Town or cho-me.
|
1619
3231
|
attr_reader :town
|
3232
|
+
|
3233
|
+
def self.inner_class_types
|
3234
|
+
@inner_class_types = {}
|
3235
|
+
end
|
3236
|
+
|
3237
|
+
def self.field_remappings
|
3238
|
+
@field_remappings = {}
|
3239
|
+
end
|
1620
3240
|
end
|
1621
3241
|
|
1622
3242
|
class DateOfBirth < Stripe::StripeObject
|
@@ -1626,6 +3246,14 @@ module Stripe
|
|
1626
3246
|
attr_reader :month
|
1627
3247
|
# The four-digit year of birth.
|
1628
3248
|
attr_reader :year
|
3249
|
+
|
3250
|
+
def self.inner_class_types
|
3251
|
+
@inner_class_types = {}
|
3252
|
+
end
|
3253
|
+
|
3254
|
+
def self.field_remappings
|
3255
|
+
@field_remappings = {}
|
3256
|
+
end
|
1629
3257
|
end
|
1630
3258
|
|
1631
3259
|
class Documents < Stripe::StripeObject
|
@@ -1634,6 +3262,14 @@ module Stripe
|
|
1634
3262
|
attr_reader :files
|
1635
3263
|
# The format of the document. Currently supports `files` only.
|
1636
3264
|
attr_reader :type
|
3265
|
+
|
3266
|
+
def self.inner_class_types
|
3267
|
+
@inner_class_types = {}
|
3268
|
+
end
|
3269
|
+
|
3270
|
+
def self.field_remappings
|
3271
|
+
@field_remappings = {}
|
3272
|
+
end
|
1637
3273
|
end
|
1638
3274
|
|
1639
3275
|
class Passport < Stripe::StripeObject
|
@@ -1641,6 +3277,14 @@ module Stripe
|
|
1641
3277
|
attr_reader :files
|
1642
3278
|
# The format of the document. Currently supports `files` only.
|
1643
3279
|
attr_reader :type
|
3280
|
+
|
3281
|
+
def self.inner_class_types
|
3282
|
+
@inner_class_types = {}
|
3283
|
+
end
|
3284
|
+
|
3285
|
+
def self.field_remappings
|
3286
|
+
@field_remappings = {}
|
3287
|
+
end
|
1644
3288
|
end
|
1645
3289
|
|
1646
3290
|
class PrimaryVerification < Stripe::StripeObject
|
@@ -1649,11 +3293,27 @@ module Stripe
|
|
1649
3293
|
attr_reader :back
|
1650
3294
|
# A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
1651
3295
|
attr_reader :front
|
3296
|
+
|
3297
|
+
def self.inner_class_types
|
3298
|
+
@inner_class_types = {}
|
3299
|
+
end
|
3300
|
+
|
3301
|
+
def self.field_remappings
|
3302
|
+
@field_remappings = {}
|
3303
|
+
end
|
1652
3304
|
end
|
1653
3305
|
# The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
|
1654
3306
|
attr_reader :front_back
|
1655
3307
|
# The format of the verification document. Currently supports `front_back` only.
|
1656
3308
|
attr_reader :type
|
3309
|
+
|
3310
|
+
def self.inner_class_types
|
3311
|
+
@inner_class_types = { front_back: FrontBack }
|
3312
|
+
end
|
3313
|
+
|
3314
|
+
def self.field_remappings
|
3315
|
+
@field_remappings = {}
|
3316
|
+
end
|
1657
3317
|
end
|
1658
3318
|
|
1659
3319
|
class SecondaryVerification < Stripe::StripeObject
|
@@ -1662,11 +3322,27 @@ module Stripe
|
|
1662
3322
|
attr_reader :back
|
1663
3323
|
# A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
1664
3324
|
attr_reader :front
|
3325
|
+
|
3326
|
+
def self.inner_class_types
|
3327
|
+
@inner_class_types = {}
|
3328
|
+
end
|
3329
|
+
|
3330
|
+
def self.field_remappings
|
3331
|
+
@field_remappings = {}
|
3332
|
+
end
|
1665
3333
|
end
|
1666
3334
|
# The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
|
1667
3335
|
attr_reader :front_back
|
1668
3336
|
# The format of the verification document. Currently supports `front_back` only.
|
1669
3337
|
attr_reader :type
|
3338
|
+
|
3339
|
+
def self.inner_class_types
|
3340
|
+
@inner_class_types = { front_back: FrontBack }
|
3341
|
+
end
|
3342
|
+
|
3343
|
+
def self.field_remappings
|
3344
|
+
@field_remappings = {}
|
3345
|
+
end
|
1670
3346
|
end
|
1671
3347
|
|
1672
3348
|
class Visa < Stripe::StripeObject
|
@@ -1674,6 +3350,14 @@ module Stripe
|
|
1674
3350
|
attr_reader :files
|
1675
3351
|
# The format of the document. Currently supports `files` only.
|
1676
3352
|
attr_reader :type
|
3353
|
+
|
3354
|
+
def self.inner_class_types
|
3355
|
+
@inner_class_types = {}
|
3356
|
+
end
|
3357
|
+
|
3358
|
+
def self.field_remappings
|
3359
|
+
@field_remappings = {}
|
3360
|
+
end
|
1677
3361
|
end
|
1678
3362
|
# One or more documents that demonstrate proof that this person is authorized to represent the company.
|
1679
3363
|
attr_reader :company_authorization
|
@@ -1685,11 +3369,33 @@ module Stripe
|
|
1685
3369
|
attr_reader :secondary_verification
|
1686
3370
|
# One or more documents showing the person’s visa required for living in the country where they are residing.
|
1687
3371
|
attr_reader :visa
|
3372
|
+
|
3373
|
+
def self.inner_class_types
|
3374
|
+
@inner_class_types = {
|
3375
|
+
company_authorization: CompanyAuthorization,
|
3376
|
+
passport: Passport,
|
3377
|
+
primary_verification: PrimaryVerification,
|
3378
|
+
secondary_verification: SecondaryVerification,
|
3379
|
+
visa: Visa,
|
3380
|
+
}
|
3381
|
+
end
|
3382
|
+
|
3383
|
+
def self.field_remappings
|
3384
|
+
@field_remappings = {}
|
3385
|
+
end
|
1688
3386
|
end
|
1689
3387
|
|
1690
3388
|
class IdNumber < Stripe::StripeObject
|
1691
3389
|
# The ID number type of an individual.
|
1692
3390
|
attr_reader :type
|
3391
|
+
|
3392
|
+
def self.inner_class_types
|
3393
|
+
@inner_class_types = {}
|
3394
|
+
end
|
3395
|
+
|
3396
|
+
def self.field_remappings
|
3397
|
+
@field_remappings = {}
|
3398
|
+
end
|
1693
3399
|
end
|
1694
3400
|
|
1695
3401
|
class Relationship < Stripe::StripeObject
|
@@ -1709,6 +3415,14 @@ module Stripe
|
|
1709
3415
|
attr_reader :representative
|
1710
3416
|
# The individual's title (e.g., CEO, Support Engineer).
|
1711
3417
|
attr_reader :title
|
3418
|
+
|
3419
|
+
def self.inner_class_types
|
3420
|
+
@inner_class_types = {}
|
3421
|
+
end
|
3422
|
+
|
3423
|
+
def self.field_remappings
|
3424
|
+
@field_remappings = {}
|
3425
|
+
end
|
1712
3426
|
end
|
1713
3427
|
|
1714
3428
|
class ScriptAddresses < Stripe::StripeObject
|
@@ -1727,6 +3441,14 @@ module Stripe
|
|
1727
3441
|
attr_reader :state
|
1728
3442
|
# Town or cho-me.
|
1729
3443
|
attr_reader :town
|
3444
|
+
|
3445
|
+
def self.inner_class_types
|
3446
|
+
@inner_class_types = {}
|
3447
|
+
end
|
3448
|
+
|
3449
|
+
def self.field_remappings
|
3450
|
+
@field_remappings = {}
|
3451
|
+
end
|
1730
3452
|
end
|
1731
3453
|
|
1732
3454
|
class Kanji < Stripe::StripeObject
|
@@ -1744,11 +3466,27 @@ module Stripe
|
|
1744
3466
|
attr_reader :state
|
1745
3467
|
# Town or cho-me.
|
1746
3468
|
attr_reader :town
|
3469
|
+
|
3470
|
+
def self.inner_class_types
|
3471
|
+
@inner_class_types = {}
|
3472
|
+
end
|
3473
|
+
|
3474
|
+
def self.field_remappings
|
3475
|
+
@field_remappings = {}
|
3476
|
+
end
|
1747
3477
|
end
|
1748
3478
|
# Kana Address.
|
1749
3479
|
attr_reader :kana
|
1750
3480
|
# Kanji Address.
|
1751
3481
|
attr_reader :kanji
|
3482
|
+
|
3483
|
+
def self.inner_class_types
|
3484
|
+
@inner_class_types = { kana: Kana, kanji: Kanji }
|
3485
|
+
end
|
3486
|
+
|
3487
|
+
def self.field_remappings
|
3488
|
+
@field_remappings = {}
|
3489
|
+
end
|
1752
3490
|
end
|
1753
3491
|
|
1754
3492
|
class ScriptNames < Stripe::StripeObject
|
@@ -1757,6 +3495,14 @@ module Stripe
|
|
1757
3495
|
attr_reader :given_name
|
1758
3496
|
# The person's last or family name.
|
1759
3497
|
attr_reader :surname
|
3498
|
+
|
3499
|
+
def self.inner_class_types
|
3500
|
+
@inner_class_types = {}
|
3501
|
+
end
|
3502
|
+
|
3503
|
+
def self.field_remappings
|
3504
|
+
@field_remappings = {}
|
3505
|
+
end
|
1760
3506
|
end
|
1761
3507
|
|
1762
3508
|
class Kanji < Stripe::StripeObject
|
@@ -1764,11 +3510,27 @@ module Stripe
|
|
1764
3510
|
attr_reader :given_name
|
1765
3511
|
# The person's last or family name.
|
1766
3512
|
attr_reader :surname
|
3513
|
+
|
3514
|
+
def self.inner_class_types
|
3515
|
+
@inner_class_types = {}
|
3516
|
+
end
|
3517
|
+
|
3518
|
+
def self.field_remappings
|
3519
|
+
@field_remappings = {}
|
3520
|
+
end
|
1767
3521
|
end
|
1768
3522
|
# Persons name in kana script.
|
1769
3523
|
attr_reader :kana
|
1770
3524
|
# Persons name in kanji script.
|
1771
3525
|
attr_reader :kanji
|
3526
|
+
|
3527
|
+
def self.inner_class_types
|
3528
|
+
@inner_class_types = { kana: Kana, kanji: Kanji }
|
3529
|
+
end
|
3530
|
+
|
3531
|
+
def self.field_remappings
|
3532
|
+
@field_remappings = {}
|
3533
|
+
end
|
1772
3534
|
end
|
1773
3535
|
# The account ID which the individual belongs to.
|
1774
3536
|
attr_reader :account
|
@@ -1816,6 +3578,25 @@ module Stripe
|
|
1816
3578
|
attr_reader :surname
|
1817
3579
|
# Time at which the object was last updated.
|
1818
3580
|
attr_reader :updated
|
3581
|
+
|
3582
|
+
def self.inner_class_types
|
3583
|
+
@inner_class_types = {
|
3584
|
+
additional_addresses: AdditionalAddress,
|
3585
|
+
additional_names: AdditionalName,
|
3586
|
+
additional_terms_of_service: AdditionalTermsOfService,
|
3587
|
+
address: Address,
|
3588
|
+
date_of_birth: DateOfBirth,
|
3589
|
+
documents: Documents,
|
3590
|
+
id_numbers: IdNumber,
|
3591
|
+
relationship: Relationship,
|
3592
|
+
script_addresses: ScriptAddresses,
|
3593
|
+
script_names: ScriptNames,
|
3594
|
+
}
|
3595
|
+
end
|
3596
|
+
|
3597
|
+
def self.field_remappings
|
3598
|
+
@field_remappings = {}
|
3599
|
+
end
|
1819
3600
|
end
|
1820
3601
|
# Attestations from the identity's key people, e.g. owners, executives, directors.
|
1821
3602
|
attr_reader :attestations
|
@@ -1827,6 +3608,18 @@ module Stripe
|
|
1827
3608
|
attr_reader :entity_type
|
1828
3609
|
# Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
|
1829
3610
|
attr_reader :individual
|
3611
|
+
|
3612
|
+
def self.inner_class_types
|
3613
|
+
@inner_class_types = {
|
3614
|
+
attestations: Attestations,
|
3615
|
+
business_details: BusinessDetails,
|
3616
|
+
individual: Individual,
|
3617
|
+
}
|
3618
|
+
end
|
3619
|
+
|
3620
|
+
def self.field_remappings
|
3621
|
+
@field_remappings = {}
|
3622
|
+
end
|
1830
3623
|
end
|
1831
3624
|
|
1832
3625
|
class Requirements < Stripe::StripeObject
|
@@ -1836,6 +3629,14 @@ module Stripe
|
|
1836
3629
|
attr_reader :code
|
1837
3630
|
# Human-readable description of the error.
|
1838
3631
|
attr_reader :description
|
3632
|
+
|
3633
|
+
def self.inner_class_types
|
3634
|
+
@inner_class_types = {}
|
3635
|
+
end
|
3636
|
+
|
3637
|
+
def self.field_remappings
|
3638
|
+
@field_remappings = {}
|
3639
|
+
end
|
1839
3640
|
end
|
1840
3641
|
|
1841
3642
|
class Impact < Stripe::StripeObject
|
@@ -1843,6 +3644,14 @@ module Stripe
|
|
1843
3644
|
class Deadline < Stripe::StripeObject
|
1844
3645
|
# The current status of the requirement's impact.
|
1845
3646
|
attr_reader :status
|
3647
|
+
|
3648
|
+
def self.inner_class_types
|
3649
|
+
@inner_class_types = {}
|
3650
|
+
end
|
3651
|
+
|
3652
|
+
def self.field_remappings
|
3653
|
+
@field_remappings = {}
|
3654
|
+
end
|
1846
3655
|
end
|
1847
3656
|
# The name of the Capability which will be restricted.
|
1848
3657
|
attr_reader :capability
|
@@ -1850,14 +3659,38 @@ module Stripe
|
|
1850
3659
|
attr_reader :configuration
|
1851
3660
|
# Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
|
1852
3661
|
attr_reader :deadline
|
3662
|
+
|
3663
|
+
def self.inner_class_types
|
3664
|
+
@inner_class_types = { deadline: Deadline }
|
3665
|
+
end
|
3666
|
+
|
3667
|
+
def self.field_remappings
|
3668
|
+
@field_remappings = {}
|
3669
|
+
end
|
1853
3670
|
end
|
1854
3671
|
# The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
|
1855
3672
|
attr_reader :restricts_capabilities
|
3673
|
+
|
3674
|
+
def self.inner_class_types
|
3675
|
+
@inner_class_types = { restricts_capabilities: RestrictsCapability }
|
3676
|
+
end
|
3677
|
+
|
3678
|
+
def self.field_remappings
|
3679
|
+
@field_remappings = {}
|
3680
|
+
end
|
1856
3681
|
end
|
1857
3682
|
|
1858
3683
|
class MinimumDeadline < Stripe::StripeObject
|
1859
3684
|
# The current status of the requirement's impact.
|
1860
3685
|
attr_reader :status
|
3686
|
+
|
3687
|
+
def self.inner_class_types
|
3688
|
+
@inner_class_types = {}
|
3689
|
+
end
|
3690
|
+
|
3691
|
+
def self.field_remappings
|
3692
|
+
@field_remappings = {}
|
3693
|
+
end
|
1861
3694
|
end
|
1862
3695
|
|
1863
3696
|
class Reference < Stripe::StripeObject
|
@@ -1867,11 +3700,27 @@ module Stripe
|
|
1867
3700
|
attr_reader :resource
|
1868
3701
|
# The type of the reference. An additional hash is included with a name matching the type. It contains additional information specific to the type.
|
1869
3702
|
attr_reader :type
|
3703
|
+
|
3704
|
+
def self.inner_class_types
|
3705
|
+
@inner_class_types = {}
|
3706
|
+
end
|
3707
|
+
|
3708
|
+
def self.field_remappings
|
3709
|
+
@field_remappings = {}
|
3710
|
+
end
|
1870
3711
|
end
|
1871
3712
|
|
1872
3713
|
class RequestedReason < Stripe::StripeObject
|
1873
3714
|
# Machine-readable description of Stripe's reason for collecting the requirement.
|
1874
3715
|
attr_reader :code
|
3716
|
+
|
3717
|
+
def self.inner_class_types
|
3718
|
+
@inner_class_types = {}
|
3719
|
+
end
|
3720
|
+
|
3721
|
+
def self.field_remappings
|
3722
|
+
@field_remappings = {}
|
3723
|
+
end
|
1875
3724
|
end
|
1876
3725
|
# Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
|
1877
3726
|
attr_reader :awaiting_action_from
|
@@ -1887,6 +3736,20 @@ module Stripe
|
|
1887
3736
|
attr_reader :reference
|
1888
3737
|
# A list of reasons why Stripe is collecting the requirement.
|
1889
3738
|
attr_reader :requested_reasons
|
3739
|
+
|
3740
|
+
def self.inner_class_types
|
3741
|
+
@inner_class_types = {
|
3742
|
+
errors: Error,
|
3743
|
+
impact: Impact,
|
3744
|
+
minimum_deadline: MinimumDeadline,
|
3745
|
+
reference: Reference,
|
3746
|
+
requested_reasons: RequestedReason,
|
3747
|
+
}
|
3748
|
+
end
|
3749
|
+
|
3750
|
+
def self.field_remappings
|
3751
|
+
@field_remappings = {}
|
3752
|
+
end
|
1890
3753
|
end
|
1891
3754
|
|
1892
3755
|
class Summary < Stripe::StripeObject
|
@@ -1895,9 +3758,25 @@ module Stripe
|
|
1895
3758
|
attr_reader :status
|
1896
3759
|
# The soonest RFC3339 date & time UTC value a requirement can impact the Account.
|
1897
3760
|
attr_reader :time
|
3761
|
+
|
3762
|
+
def self.inner_class_types
|
3763
|
+
@inner_class_types = {}
|
3764
|
+
end
|
3765
|
+
|
3766
|
+
def self.field_remappings
|
3767
|
+
@field_remappings = {}
|
3768
|
+
end
|
1898
3769
|
end
|
1899
3770
|
# The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.
|
1900
3771
|
attr_reader :minimum_deadline
|
3772
|
+
|
3773
|
+
def self.inner_class_types
|
3774
|
+
@inner_class_types = { minimum_deadline: MinimumDeadline }
|
3775
|
+
end
|
3776
|
+
|
3777
|
+
def self.field_remappings
|
3778
|
+
@field_remappings = {}
|
3779
|
+
end
|
1901
3780
|
end
|
1902
3781
|
# A value indicating responsibility for collecting requirements on this account.
|
1903
3782
|
attr_reader :collector
|
@@ -1905,6 +3784,14 @@ module Stripe
|
|
1905
3784
|
attr_reader :entries
|
1906
3785
|
# An object containing an overview of requirements for the Account.
|
1907
3786
|
attr_reader :summary
|
3787
|
+
|
3788
|
+
def self.inner_class_types
|
3789
|
+
@inner_class_types = { entries: Entry, summary: Summary }
|
3790
|
+
end
|
3791
|
+
|
3792
|
+
def self.field_remappings
|
3793
|
+
@field_remappings = {}
|
3794
|
+
end
|
1908
3795
|
end
|
1909
3796
|
# Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
|
1910
3797
|
attr_reader :applied_configurations
|
@@ -1932,6 +3819,19 @@ module Stripe
|
|
1932
3819
|
attr_reader :requirements
|
1933
3820
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
1934
3821
|
attr_reader :livemode
|
3822
|
+
|
3823
|
+
def self.inner_class_types
|
3824
|
+
@inner_class_types = {
|
3825
|
+
configuration: Configuration,
|
3826
|
+
defaults: Defaults,
|
3827
|
+
identity: Identity,
|
3828
|
+
requirements: Requirements,
|
3829
|
+
}
|
3830
|
+
end
|
3831
|
+
|
3832
|
+
def self.field_remappings
|
3833
|
+
@field_remappings = {}
|
3834
|
+
end
|
1935
3835
|
end
|
1936
3836
|
end
|
1937
3837
|
end
|