stripe 15.6.0.pre.alpha.2 → 15.6.0.pre.beta.1
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 +1 -71
- data/OPENAPI_VERSION +1 -1
- data/README.md +4 -6
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -2
- data/lib/stripe/errors.rb +0 -3
- data/lib/stripe/event_types.rb +0 -83
- data/lib/stripe/object_types.rb +0 -27
- data/lib/stripe/resources/account.rb +0 -443
- data/lib/stripe/resources/account_link.rb +0 -8
- data/lib/stripe/resources/account_notice.rb +0 -24
- data/lib/stripe/resources/account_session.rb +10 -435
- data/lib/stripe/resources/apple_pay_domain.rb +0 -8
- data/lib/stripe/resources/application.rb +0 -8
- data/lib/stripe/resources/application_fee.rb +0 -16
- data/lib/stripe/resources/application_fee_refund.rb +0 -8
- data/lib/stripe/resources/apps/secret.rb +0 -16
- data/lib/stripe/resources/balance.rb +0 -159
- data/lib/stripe/resources/balance_settings.rb +0 -40
- data/lib/stripe/resources/balance_transaction.rb +0 -16
- data/lib/stripe/resources/bank_account.rb +0 -40
- data/lib/stripe/resources/billing/alert.rb +1 -203
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -14
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -130
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -157
- data/lib/stripe/resources/billing/credit_grant.rb +2 -133
- data/lib/stripe/resources/billing/meter.rb +0 -45
- data/lib/stripe/resources/billing/meter_event.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -16
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -8
- data/lib/stripe/resources/billing/meter_usage.rb +0 -8
- data/lib/stripe/resources/billing/meter_usage_row.rb +0 -8
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -122
- data/lib/stripe/resources/billing_portal/session.rb +0 -101
- data/lib/stripe/resources/capability.rb +0 -56
- data/lib/stripe/resources/capital/financing_offer.rb +0 -24
- data/lib/stripe/resources/capital/financing_summary.rb +0 -24
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +0 -16
- data/lib/stripe/resources/cash_balance.rb +0 -16
- data/lib/stripe/resources/charge.rb +20 -1052
- data/lib/stripe/resources/checkout/session.rb +1 -1078
- data/lib/stripe/resources/climate/order.rb +0 -32
- data/lib/stripe/resources/climate/product.rb +0 -16
- data/lib/stripe/resources/climate/supplier.rb +0 -16
- data/lib/stripe/resources/confirmation_token.rb +38 -960
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -8
- data/lib/stripe/resources/country_spec.rb +0 -32
- data/lib/stripe/resources/coupon.rb +0 -36
- data/lib/stripe/resources/credit_note.rb +0 -70
- data/lib/stripe/resources/credit_note_line_item.rb +0 -53
- data/lib/stripe/resources/customer.rb +0 -77
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -8
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -108
- data/lib/stripe/resources/customer_session.rb +0 -52
- data/lib/stripe/resources/discount.rb +0 -8
- data/lib/stripe/resources/dispute.rb +0 -166
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -8
- data/lib/stripe/resources/entitlements/feature.rb +0 -8
- data/lib/stripe/resources/ephemeral_key.rb +0 -8
- data/lib/stripe/resources/event.rb +0 -56
- data/lib/stripe/resources/exchange_rate.rb +0 -8
- data/lib/stripe/resources/file.rb +0 -8
- data/lib/stripe/resources/file_link.rb +0 -8
- data/lib/stripe/resources/financial_connections/account.rb +0 -79
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -8
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -8
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -8
- data/lib/stripe/resources/financial_connections/institution.rb +0 -53
- data/lib/stripe/resources/financial_connections/session.rb +1 -63
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -16
- data/lib/stripe/resources/forwarding/request.rb +0 -52
- data/lib/stripe/resources/funding_instructions.rb +0 -193
- data/lib/stripe/resources/fx_quote.rb +0 -48
- data/lib/stripe/resources/identity/verification_report.rb +1 -166
- data/lib/stripe/resources/identity/verification_session.rb +1 -126
- data/lib/stripe/resources/invoice.rb +3 -452
- data/lib/stripe/resources/invoice_item.rb +0 -136
- data/lib/stripe/resources/invoice_line_item.rb +0 -238
- data/lib/stripe/resources/invoice_payment.rb +0 -24
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -8
- data/lib/stripe/resources/issuing/authorization.rb +0 -177
- data/lib/stripe/resources/issuing/card.rb +8 -96
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -97
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -16
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -8
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -36
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -16
- data/lib/stripe/resources/issuing/settlement.rb +0 -8
- data/lib/stripe/resources/issuing/token.rb +0 -61
- data/lib/stripe/resources/issuing/transaction.rb +0 -151
- data/lib/stripe/resources/line_item.rb +0 -54
- data/lib/stripe/resources/login_link.rb +0 -8
- data/lib/stripe/resources/mandate.rb +11 -242
- data/lib/stripe/resources/margin.rb +0 -8
- data/lib/stripe/resources/order.rb +0 -348
- data/lib/stripe/resources/payment_attempt_record.rb +15 -890
- data/lib/stripe/resources/payment_intent.rb +3 -1405
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -56
- data/lib/stripe/resources/payment_link.rb +0 -337
- data/lib/stripe/resources/payment_method.rb +38 -884
- data/lib/stripe/resources/payment_method_configuration.rb +0 -961
- data/lib/stripe/resources/payment_method_domain.rb +0 -111
- data/lib/stripe/resources/payment_record.rb +15 -890
- data/lib/stripe/resources/payout.rb +0 -16
- data/lib/stripe/resources/person.rb +0 -180
- data/lib/stripe/resources/plan.rb +0 -24
- data/lib/stripe/resources/price.rb +0 -79
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -16
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -16
- data/lib/stripe/resources/product.rb +0 -27
- data/lib/stripe/resources/product_feature.rb +0 -8
- data/lib/stripe/resources/promotion_code.rb +0 -24
- data/lib/stripe/resources/quote.rb +0 -432
- data/lib/stripe/resources/quote_line.rb +0 -247
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -457
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -323
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -8
- data/lib/stripe/resources/radar/value_list.rb +0 -8
- data/lib/stripe/resources/radar/value_list_item.rb +0 -8
- data/lib/stripe/resources/refund.rb +19 -380
- data/lib/stripe/resources/reporting/report_run.rb +0 -16
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -8
- data/lib/stripe/resources/reversal.rb +0 -8
- data/lib/stripe/resources/review.rb +0 -24
- data/lib/stripe/resources/setup_attempt.rb +20 -331
- data/lib/stripe/resources/setup_intent.rb +2 -293
- data/lib/stripe/resources/shipping_rate.rb +0 -48
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -16
- data/lib/stripe/resources/source.rb +0 -274
- data/lib/stripe/resources/source_mandate_notification.rb +0 -32
- data/lib/stripe/resources/source_transaction.rb +0 -54
- data/lib/stripe/resources/subscription.rb +3 -356
- data/lib/stripe/resources/subscription_item.rb +0 -24
- data/lib/stripe/resources/subscription_schedule.rb +0 -314
- data/lib/stripe/resources/tax/association.rb +0 -32
- data/lib/stripe/resources/tax/calculation.rb +0 -109
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -32
- data/lib/stripe/resources/tax/form.rb +0 -107
- data/lib/stripe/resources/tax/registration.rb +0 -1232
- data/lib/stripe/resources/tax/settings.rb +1 -61
- data/lib/stripe/resources/tax/transaction.rb +0 -93
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -16
- data/lib/stripe/resources/tax_code.rb +0 -8
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -8
- data/lib/stripe/resources/tax_id.rb +0 -24
- data/lib/stripe/resources/tax_rate.rb +0 -16
- data/lib/stripe/resources/terminal/configuration.rb +0 -299
- data/lib/stripe/resources/terminal/connection_token.rb +0 -8
- data/lib/stripe/resources/terminal/location.rb +0 -16
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -24
- data/lib/stripe/resources/terminal/reader.rb +0 -241
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -16
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -24
- data/lib/stripe/resources/token.rb +0 -8
- data/lib/stripe/resources/topup.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -8
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -16
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -24
- data/lib/stripe/resources/treasury/financial_account.rb +0 -61
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -192
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -69
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -106
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -114
- data/lib/stripe/resources/treasury/received_credit.rb +0 -97
- data/lib/stripe/resources/treasury/received_debit.rb +0 -89
- data/lib/stripe/resources/treasury/transaction.rb +0 -36
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -24
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -8
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -16
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -8
- data/lib/stripe/resources/v2/core/account.rb +0 -1900
- data/lib/stripe/resources/v2/core/account_link.rb +0 -51
- data/lib/stripe/resources/v2/core/person.rb +0 -201
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -40
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -8
- data/lib/stripe/resources/v2/event.rb +0 -26
- data/lib/stripe/resources/v2/event_destination.rb +0 -44
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -8
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -8
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -16
- data/lib/stripe/resources/v2/money_management/financial_account.rb +2 -63
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -32
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +3 -90
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -88
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -62
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -24
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -79
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -32
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -32
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -77
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -52
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -36
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -35
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -24
- data/lib/stripe/resources/webhook_endpoint.rb +0 -8
- data/lib/stripe/resources.rb +0 -85
- data/lib/stripe/services/billing/alert_service.rb +1 -75
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -13
- data/lib/stripe/services/billing/credit_grant_service.rb +2 -29
- data/lib/stripe/services/checkout/session_service.rb +1 -80
- data/lib/stripe/services/invoice_service.rb +0 -4
- data/lib/stripe/services/issuing/card_service.rb +8 -0
- data/lib/stripe/services/subscription_service.rb +0 -27
- data/lib/stripe/services/v2/billing_service.rb +1 -18
- data/lib/stripe/services/v2/core_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -3
- data/lib/stripe/services.rb +0 -29
- data/lib/stripe/stripe_object.rb +1 -25
- data/lib/stripe/util.rb +5 -9
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +37685 -116505
- metadata +2 -116
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -21
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_cadence_errored_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -23
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -21
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -323
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -296
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -284
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/intent.rb +0 -86
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -103
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -90
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -107
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -90
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -232
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -81
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -158
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -214
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -428
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -518
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -108
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -465
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -45
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -250
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -23
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -149
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -176
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -142
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -76
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -162
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -144
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -151
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -144
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -161
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -259
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -50
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -88
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -25
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -99
- data/lib/stripe/services/v2/tax_service.rb +0 -15
@@ -29,53 +29,21 @@ module Stripe
|
|
29
29
|
attr_reader :submit_button
|
30
30
|
# Customize the default title for this input
|
31
31
|
attr_reader :title
|
32
|
-
|
33
|
-
def self.inner_class_types
|
34
|
-
@inner_class_types = {}
|
35
|
-
end
|
36
|
-
|
37
|
-
def self.field_remappings
|
38
|
-
@field_remappings = {}
|
39
|
-
end
|
40
32
|
end
|
41
33
|
|
42
34
|
class Email < Stripe::StripeObject
|
43
35
|
# The collected email address
|
44
36
|
attr_reader :value
|
45
|
-
|
46
|
-
def self.inner_class_types
|
47
|
-
@inner_class_types = {}
|
48
|
-
end
|
49
|
-
|
50
|
-
def self.field_remappings
|
51
|
-
@field_remappings = {}
|
52
|
-
end
|
53
37
|
end
|
54
38
|
|
55
39
|
class Numeric < Stripe::StripeObject
|
56
40
|
# The collected number
|
57
41
|
attr_reader :value
|
58
|
-
|
59
|
-
def self.inner_class_types
|
60
|
-
@inner_class_types = {}
|
61
|
-
end
|
62
|
-
|
63
|
-
def self.field_remappings
|
64
|
-
@field_remappings = {}
|
65
|
-
end
|
66
42
|
end
|
67
43
|
|
68
44
|
class Phone < Stripe::StripeObject
|
69
45
|
# The collected phone number
|
70
46
|
attr_reader :value
|
71
|
-
|
72
|
-
def self.inner_class_types
|
73
|
-
@inner_class_types = {}
|
74
|
-
end
|
75
|
-
|
76
|
-
def self.field_remappings
|
77
|
-
@field_remappings = {}
|
78
|
-
end
|
79
47
|
end
|
80
48
|
|
81
49
|
class Selection < Stripe::StripeObject
|
@@ -86,14 +54,6 @@ module Stripe
|
|
86
54
|
attr_reader :style
|
87
55
|
# The text to be selected
|
88
56
|
attr_reader :text
|
89
|
-
|
90
|
-
def self.inner_class_types
|
91
|
-
@inner_class_types = {}
|
92
|
-
end
|
93
|
-
|
94
|
-
def self.field_remappings
|
95
|
-
@field_remappings = {}
|
96
|
-
end
|
97
57
|
end
|
98
58
|
# List of possible choices to be selected
|
99
59
|
attr_reader :choices
|
@@ -101,40 +61,16 @@ module Stripe
|
|
101
61
|
attr_reader :id
|
102
62
|
# The text of the selected choice
|
103
63
|
attr_reader :text
|
104
|
-
|
105
|
-
def self.inner_class_types
|
106
|
-
@inner_class_types = { choices: Choice }
|
107
|
-
end
|
108
|
-
|
109
|
-
def self.field_remappings
|
110
|
-
@field_remappings = {}
|
111
|
-
end
|
112
64
|
end
|
113
65
|
|
114
66
|
class Signature < Stripe::StripeObject
|
115
67
|
# The File ID of a collected signature image
|
116
68
|
attr_reader :value
|
117
|
-
|
118
|
-
def self.inner_class_types
|
119
|
-
@inner_class_types = {}
|
120
|
-
end
|
121
|
-
|
122
|
-
def self.field_remappings
|
123
|
-
@field_remappings = {}
|
124
|
-
end
|
125
69
|
end
|
126
70
|
|
127
71
|
class Text < Stripe::StripeObject
|
128
72
|
# The collected text value
|
129
73
|
attr_reader :value
|
130
|
-
|
131
|
-
def self.inner_class_types
|
132
|
-
@inner_class_types = {}
|
133
|
-
end
|
134
|
-
|
135
|
-
def self.field_remappings
|
136
|
-
@field_remappings = {}
|
137
|
-
end
|
138
74
|
end
|
139
75
|
|
140
76
|
class Toggle < Stripe::StripeObject
|
@@ -146,14 +82,6 @@ module Stripe
|
|
146
82
|
attr_reader :title
|
147
83
|
# The toggle's collected value
|
148
84
|
attr_reader :value
|
149
|
-
|
150
|
-
def self.inner_class_types
|
151
|
-
@inner_class_types = {}
|
152
|
-
end
|
153
|
-
|
154
|
-
def self.field_remappings
|
155
|
-
@field_remappings = {}
|
156
|
-
end
|
157
85
|
end
|
158
86
|
# Default text of input being collected.
|
159
87
|
attr_reader :custom_text
|
@@ -177,36 +105,11 @@ module Stripe
|
|
177
105
|
attr_reader :toggles
|
178
106
|
# Type of input being collected.
|
179
107
|
attr_reader :type
|
180
|
-
|
181
|
-
def self.inner_class_types
|
182
|
-
@inner_class_types = {
|
183
|
-
custom_text: CustomText,
|
184
|
-
email: Email,
|
185
|
-
numeric: Numeric,
|
186
|
-
phone: Phone,
|
187
|
-
selection: Selection,
|
188
|
-
signature: Signature,
|
189
|
-
text: Text,
|
190
|
-
toggles: Toggle,
|
191
|
-
}
|
192
|
-
end
|
193
|
-
|
194
|
-
def self.field_remappings
|
195
|
-
@field_remappings = {}
|
196
|
-
end
|
197
108
|
end
|
198
109
|
# List of inputs to be collected.
|
199
110
|
attr_reader :inputs
|
200
111
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
201
112
|
attr_reader :metadata
|
202
|
-
|
203
|
-
def self.inner_class_types
|
204
|
-
@inner_class_types = { inputs: Input }
|
205
|
-
end
|
206
|
-
|
207
|
-
def self.field_remappings
|
208
|
-
@field_remappings = {}
|
209
|
-
end
|
210
113
|
end
|
211
114
|
|
212
115
|
class CollectPaymentMethod < Stripe::StripeObject
|
@@ -214,14 +117,6 @@ module Stripe
|
|
214
117
|
class Tipping < Stripe::StripeObject
|
215
118
|
# Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
216
119
|
attr_reader :amount_eligible
|
217
|
-
|
218
|
-
def self.inner_class_types
|
219
|
-
@inner_class_types = {}
|
220
|
-
end
|
221
|
-
|
222
|
-
def self.field_remappings
|
223
|
-
@field_remappings = {}
|
224
|
-
end
|
225
120
|
end
|
226
121
|
# Enable customer-initiated cancellation when processing this payment.
|
227
122
|
attr_reader :enable_customer_cancellation
|
@@ -229,14 +124,6 @@ module Stripe
|
|
229
124
|
attr_reader :skip_tipping
|
230
125
|
# Represents a per-transaction tipping configuration
|
231
126
|
attr_reader :tipping
|
232
|
-
|
233
|
-
def self.inner_class_types
|
234
|
-
@inner_class_types = { tipping: Tipping }
|
235
|
-
end
|
236
|
-
|
237
|
-
def self.field_remappings
|
238
|
-
@field_remappings = {}
|
239
|
-
end
|
240
127
|
end
|
241
128
|
# Account the payment intent belongs to.
|
242
129
|
attr_reader :account
|
@@ -250,28 +137,12 @@ module Stripe
|
|
250
137
|
#
|
251
138
|
# Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
|
252
139
|
attr_reader :payment_method
|
253
|
-
|
254
|
-
def self.inner_class_types
|
255
|
-
@inner_class_types = { collect_config: CollectConfig }
|
256
|
-
end
|
257
|
-
|
258
|
-
def self.field_remappings
|
259
|
-
@field_remappings = {}
|
260
|
-
end
|
261
140
|
end
|
262
141
|
|
263
142
|
class ConfirmPaymentIntent < Stripe::StripeObject
|
264
143
|
class ConfirmConfig < Stripe::StripeObject
|
265
144
|
# If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion.
|
266
145
|
attr_reader :return_url
|
267
|
-
|
268
|
-
def self.inner_class_types
|
269
|
-
@inner_class_types = {}
|
270
|
-
end
|
271
|
-
|
272
|
-
def self.field_remappings
|
273
|
-
@field_remappings = {}
|
274
|
-
end
|
275
146
|
end
|
276
147
|
# Account the payment intent belongs to.
|
277
148
|
attr_reader :account
|
@@ -279,14 +150,6 @@ module Stripe
|
|
279
150
|
attr_reader :confirm_config
|
280
151
|
# Most recent PaymentIntent processed by the reader.
|
281
152
|
attr_reader :payment_intent
|
282
|
-
|
283
|
-
def self.inner_class_types
|
284
|
-
@inner_class_types = { confirm_config: ConfirmConfig }
|
285
|
-
end
|
286
|
-
|
287
|
-
def self.field_remappings
|
288
|
-
@field_remappings = {}
|
289
|
-
end
|
290
153
|
end
|
291
154
|
|
292
155
|
class ProcessPaymentIntent < Stripe::StripeObject
|
@@ -294,14 +157,6 @@ module Stripe
|
|
294
157
|
class Tipping < Stripe::StripeObject
|
295
158
|
# Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
296
159
|
attr_reader :amount_eligible
|
297
|
-
|
298
|
-
def self.inner_class_types
|
299
|
-
@inner_class_types = {}
|
300
|
-
end
|
301
|
-
|
302
|
-
def self.field_remappings
|
303
|
-
@field_remappings = {}
|
304
|
-
end
|
305
160
|
end
|
306
161
|
# Enable customer-initiated cancellation when processing this payment.
|
307
162
|
attr_reader :enable_customer_cancellation
|
@@ -311,14 +166,6 @@ module Stripe
|
|
311
166
|
attr_reader :skip_tipping
|
312
167
|
# Represents a per-transaction tipping configuration
|
313
168
|
attr_reader :tipping
|
314
|
-
|
315
|
-
def self.inner_class_types
|
316
|
-
@inner_class_types = { tipping: Tipping }
|
317
|
-
end
|
318
|
-
|
319
|
-
def self.field_remappings
|
320
|
-
@field_remappings = {}
|
321
|
-
end
|
322
169
|
end
|
323
170
|
# Account the payment intent belongs to.
|
324
171
|
attr_reader :account
|
@@ -326,28 +173,12 @@ module Stripe
|
|
326
173
|
attr_reader :payment_intent
|
327
174
|
# Represents a per-transaction override of a reader configuration
|
328
175
|
attr_reader :process_config
|
329
|
-
|
330
|
-
def self.inner_class_types
|
331
|
-
@inner_class_types = { process_config: ProcessConfig }
|
332
|
-
end
|
333
|
-
|
334
|
-
def self.field_remappings
|
335
|
-
@field_remappings = {}
|
336
|
-
end
|
337
176
|
end
|
338
177
|
|
339
178
|
class ProcessSetupIntent < Stripe::StripeObject
|
340
179
|
class ProcessConfig < Stripe::StripeObject
|
341
180
|
# Enable customer-initiated cancellation when processing this SetupIntent.
|
342
181
|
attr_reader :enable_customer_cancellation
|
343
|
-
|
344
|
-
def self.inner_class_types
|
345
|
-
@inner_class_types = {}
|
346
|
-
end
|
347
|
-
|
348
|
-
def self.field_remappings
|
349
|
-
@field_remappings = {}
|
350
|
-
end
|
351
182
|
end
|
352
183
|
# ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
|
353
184
|
attr_reader :generated_card
|
@@ -355,28 +186,12 @@ module Stripe
|
|
355
186
|
attr_reader :process_config
|
356
187
|
# Most recent SetupIntent processed by the reader.
|
357
188
|
attr_reader :setup_intent
|
358
|
-
|
359
|
-
def self.inner_class_types
|
360
|
-
@inner_class_types = { process_config: ProcessConfig }
|
361
|
-
end
|
362
|
-
|
363
|
-
def self.field_remappings
|
364
|
-
@field_remappings = {}
|
365
|
-
end
|
366
189
|
end
|
367
190
|
|
368
191
|
class RefundPayment < Stripe::StripeObject
|
369
192
|
class RefundPaymentConfig < Stripe::StripeObject
|
370
193
|
# Enable customer-initiated cancellation when refunding this payment.
|
371
194
|
attr_reader :enable_customer_cancellation
|
372
|
-
|
373
|
-
def self.inner_class_types
|
374
|
-
@inner_class_types = {}
|
375
|
-
end
|
376
|
-
|
377
|
-
def self.field_remappings
|
378
|
-
@field_remappings = {}
|
379
|
-
end
|
380
195
|
end
|
381
196
|
# Account the payment intent belongs to.
|
382
197
|
attr_reader :account
|
@@ -398,14 +213,6 @@ module Stripe
|
|
398
213
|
attr_reader :refund_payment_config
|
399
214
|
# Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
|
400
215
|
attr_reader :reverse_transfer
|
401
|
-
|
402
|
-
def self.inner_class_types
|
403
|
-
@inner_class_types = { refund_payment_config: RefundPaymentConfig }
|
404
|
-
end
|
405
|
-
|
406
|
-
def self.field_remappings
|
407
|
-
@field_remappings = {}
|
408
|
-
end
|
409
216
|
end
|
410
217
|
|
411
218
|
class SetReaderDisplay < Stripe::StripeObject
|
@@ -417,14 +224,6 @@ module Stripe
|
|
417
224
|
attr_reader :description
|
418
225
|
# The quantity of the line item.
|
419
226
|
attr_reader :quantity
|
420
|
-
|
421
|
-
def self.inner_class_types
|
422
|
-
@inner_class_types = {}
|
423
|
-
end
|
424
|
-
|
425
|
-
def self.field_remappings
|
426
|
-
@field_remappings = {}
|
427
|
-
end
|
428
227
|
end
|
429
228
|
# 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).
|
430
229
|
attr_reader :currency
|
@@ -434,27 +233,11 @@ module Stripe
|
|
434
233
|
attr_reader :tax
|
435
234
|
# Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
436
235
|
attr_reader :total
|
437
|
-
|
438
|
-
def self.inner_class_types
|
439
|
-
@inner_class_types = { line_items: LineItem }
|
440
|
-
end
|
441
|
-
|
442
|
-
def self.field_remappings
|
443
|
-
@field_remappings = {}
|
444
|
-
end
|
445
236
|
end
|
446
237
|
# Cart object to be displayed by the reader.
|
447
238
|
attr_reader :cart
|
448
239
|
# Type of information to be displayed by the reader.
|
449
240
|
attr_reader :type
|
450
|
-
|
451
|
-
def self.inner_class_types
|
452
|
-
@inner_class_types = { cart: Cart }
|
453
|
-
end
|
454
|
-
|
455
|
-
def self.field_remappings
|
456
|
-
@field_remappings = {}
|
457
|
-
end
|
458
241
|
end
|
459
242
|
# Represents a reader action to collect customer inputs
|
460
243
|
attr_reader :collect_inputs
|
@@ -478,22 +261,6 @@ module Stripe
|
|
478
261
|
attr_reader :status
|
479
262
|
# Type of action performed by the reader.
|
480
263
|
attr_reader :type
|
481
|
-
|
482
|
-
def self.inner_class_types
|
483
|
-
@inner_class_types = {
|
484
|
-
collect_inputs: CollectInputs,
|
485
|
-
collect_payment_method: CollectPaymentMethod,
|
486
|
-
confirm_payment_intent: ConfirmPaymentIntent,
|
487
|
-
process_payment_intent: ProcessPaymentIntent,
|
488
|
-
process_setup_intent: ProcessSetupIntent,
|
489
|
-
refund_payment: RefundPayment,
|
490
|
-
set_reader_display: SetReaderDisplay,
|
491
|
-
}
|
492
|
-
end
|
493
|
-
|
494
|
-
def self.field_remappings
|
495
|
-
@field_remappings = {}
|
496
|
-
end
|
497
264
|
end
|
498
265
|
|
499
266
|
class DeleteParams < Stripe::RequestParams; end
|
@@ -1307,14 +1074,6 @@ module Stripe
|
|
1307
1074
|
)
|
1308
1075
|
end
|
1309
1076
|
end
|
1310
|
-
|
1311
|
-
def self.inner_class_types
|
1312
|
-
@inner_class_types = { action: Action }
|
1313
|
-
end
|
1314
|
-
|
1315
|
-
def self.field_remappings
|
1316
|
-
@field_remappings = {}
|
1317
|
-
end
|
1318
1077
|
end
|
1319
1078
|
end
|
1320
1079
|
end
|
@@ -13,14 +13,6 @@ module Stripe
|
|
13
13
|
class Magstripe < Stripe::StripeObject
|
14
14
|
# The raw magstripe data collected by the reader.
|
15
15
|
attr_reader :data
|
16
|
-
|
17
|
-
def self.inner_class_types
|
18
|
-
@inner_class_types = {}
|
19
|
-
end
|
20
|
-
|
21
|
-
def self.field_remappings
|
22
|
-
@field_remappings = {}
|
23
|
-
end
|
24
16
|
end
|
25
17
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
26
18
|
attr_reader :created
|
@@ -34,14 +26,6 @@ module Stripe
|
|
34
26
|
attr_reader :object
|
35
27
|
# The type of data collected by the reader.
|
36
28
|
attr_reader :type
|
37
|
-
|
38
|
-
def self.inner_class_types
|
39
|
-
@inner_class_types = { magstripe: Magstripe }
|
40
|
-
end
|
41
|
-
|
42
|
-
def self.field_remappings
|
43
|
-
@field_remappings = {}
|
44
|
-
end
|
45
29
|
end
|
46
30
|
end
|
47
31
|
end
|
@@ -20,25 +20,9 @@ module Stripe
|
|
20
20
|
class Advancing < Stripe::StripeObject
|
21
21
|
# The `frozen_time` that the Test Clock is advancing towards.
|
22
22
|
attr_reader :target_frozen_time
|
23
|
-
|
24
|
-
def self.inner_class_types
|
25
|
-
@inner_class_types = {}
|
26
|
-
end
|
27
|
-
|
28
|
-
def self.field_remappings
|
29
|
-
@field_remappings = {}
|
30
|
-
end
|
31
23
|
end
|
32
24
|
# Attribute for field advancing
|
33
25
|
attr_reader :advancing
|
34
|
-
|
35
|
-
def self.inner_class_types
|
36
|
-
@inner_class_types = { advancing: Advancing }
|
37
|
-
end
|
38
|
-
|
39
|
-
def self.field_remappings
|
40
|
-
@field_remappings = {}
|
41
|
-
end
|
42
26
|
end
|
43
27
|
|
44
28
|
class DeleteParams < Stripe::RequestParams; end
|
@@ -167,14 +151,6 @@ module Stripe
|
|
167
151
|
opts: opts
|
168
152
|
)
|
169
153
|
end
|
170
|
-
|
171
|
-
def self.inner_class_types
|
172
|
-
@inner_class_types = { status_details: StatusDetails }
|
173
|
-
end
|
174
|
-
|
175
|
-
def self.field_remappings
|
176
|
-
@field_remappings = {}
|
177
|
-
end
|
178
154
|
end
|
179
155
|
end
|
180
156
|
end
|
@@ -1255,13 +1255,5 @@ module Stripe
|
|
1255
1255
|
def self.create(params = {}, opts = {})
|
1256
1256
|
request_stripe_object(method: :post, path: "/v1/tokens", params: params, opts: opts)
|
1257
1257
|
end
|
1258
|
-
|
1259
|
-
def self.inner_class_types
|
1260
|
-
@inner_class_types = {}
|
1261
|
-
end
|
1262
|
-
|
1263
|
-
def self.field_remappings
|
1264
|
-
@field_remappings = {}
|
1265
|
-
end
|
1266
1258
|
end
|
1267
1259
|
end
|
@@ -16,14 +16,6 @@ module Stripe
|
|
16
16
|
class StatusTransitions < Stripe::StripeObject
|
17
17
|
# Timestamp describing when the CreditReversal changed status to `posted`
|
18
18
|
attr_reader :posted_at
|
19
|
-
|
20
|
-
def self.inner_class_types
|
21
|
-
@inner_class_types = {}
|
22
|
-
end
|
23
|
-
|
24
|
-
def self.field_remappings
|
25
|
-
@field_remappings = {}
|
26
|
-
end
|
27
19
|
end
|
28
20
|
|
29
21
|
class ListParams < Stripe::RequestParams
|
@@ -123,14 +115,6 @@ module Stripe
|
|
123
115
|
opts: opts
|
124
116
|
)
|
125
117
|
end
|
126
|
-
|
127
|
-
def self.inner_class_types
|
128
|
-
@inner_class_types = { status_transitions: StatusTransitions }
|
129
|
-
end
|
130
|
-
|
131
|
-
def self.field_remappings
|
132
|
-
@field_remappings = {}
|
133
|
-
end
|
134
118
|
end
|
135
119
|
end
|
136
120
|
end
|
@@ -16,27 +16,11 @@ module Stripe
|
|
16
16
|
class LinkedFlows < Stripe::StripeObject
|
17
17
|
# Set if there is an Issuing dispute associated with the DebitReversal.
|
18
18
|
attr_reader :issuing_dispute
|
19
|
-
|
20
|
-
def self.inner_class_types
|
21
|
-
@inner_class_types = {}
|
22
|
-
end
|
23
|
-
|
24
|
-
def self.field_remappings
|
25
|
-
@field_remappings = {}
|
26
|
-
end
|
27
19
|
end
|
28
20
|
|
29
21
|
class StatusTransitions < Stripe::StripeObject
|
30
22
|
# Timestamp describing when the DebitReversal changed status to `completed`.
|
31
23
|
attr_reader :completed_at
|
32
|
-
|
33
|
-
def self.inner_class_types
|
34
|
-
@inner_class_types = {}
|
35
|
-
end
|
36
|
-
|
37
|
-
def self.field_remappings
|
38
|
-
@field_remappings = {}
|
39
|
-
end
|
40
24
|
end
|
41
25
|
|
42
26
|
class ListParams < Stripe::RequestParams
|
@@ -142,14 +126,6 @@ module Stripe
|
|
142
126
|
opts: opts
|
143
127
|
)
|
144
128
|
end
|
145
|
-
|
146
|
-
def self.inner_class_types
|
147
|
-
@inner_class_types = { linked_flows: LinkedFlows, status_transitions: StatusTransitions }
|
148
|
-
end
|
149
|
-
|
150
|
-
def self.field_remappings
|
151
|
-
@field_remappings = {}
|
152
|
-
end
|
153
129
|
end
|
154
130
|
end
|
155
131
|
end
|
@@ -22,14 +22,6 @@ module Stripe
|
|
22
22
|
attr_reader :inbound_pending
|
23
23
|
# Funds in the account, but not spendable because they are being held for pending outbound flows.
|
24
24
|
attr_reader :outbound_pending
|
25
|
-
|
26
|
-
def self.inner_class_types
|
27
|
-
@inner_class_types = {}
|
28
|
-
end
|
29
|
-
|
30
|
-
def self.field_remappings
|
31
|
-
@field_remappings = {}
|
32
|
-
end
|
33
25
|
end
|
34
26
|
|
35
27
|
class FinancialAddress < Stripe::StripeObject
|
@@ -44,14 +36,6 @@ module Stripe
|
|
44
36
|
attr_reader :bank_name
|
45
37
|
# Routing number for the account.
|
46
38
|
attr_reader :routing_number
|
47
|
-
|
48
|
-
def self.inner_class_types
|
49
|
-
@inner_class_types = {}
|
50
|
-
end
|
51
|
-
|
52
|
-
def self.field_remappings
|
53
|
-
@field_remappings = {}
|
54
|
-
end
|
55
39
|
end
|
56
40
|
# ABA Records contain U.S. bank account details per the ABA format.
|
57
41
|
attr_reader :aba
|
@@ -59,14 +43,6 @@ module Stripe
|
|
59
43
|
attr_reader :supported_networks
|
60
44
|
# The type of financial address
|
61
45
|
attr_reader :type
|
62
|
-
|
63
|
-
def self.inner_class_types
|
64
|
-
@inner_class_types = { aba: Aba }
|
65
|
-
end
|
66
|
-
|
67
|
-
def self.field_remappings
|
68
|
-
@field_remappings = {}
|
69
|
-
end
|
70
46
|
end
|
71
47
|
|
72
48
|
class PlatformRestrictions < Stripe::StripeObject
|
@@ -74,39 +50,15 @@ module Stripe
|
|
74
50
|
attr_reader :inbound_flows
|
75
51
|
# Restricts all outbound money movement.
|
76
52
|
attr_reader :outbound_flows
|
77
|
-
|
78
|
-
def self.inner_class_types
|
79
|
-
@inner_class_types = {}
|
80
|
-
end
|
81
|
-
|
82
|
-
def self.field_remappings
|
83
|
-
@field_remappings = {}
|
84
|
-
end
|
85
53
|
end
|
86
54
|
|
87
55
|
class StatusDetails < Stripe::StripeObject
|
88
56
|
class Closed < Stripe::StripeObject
|
89
57
|
# The array that contains reasons for a FinancialAccount closure.
|
90
58
|
attr_reader :reasons
|
91
|
-
|
92
|
-
def self.inner_class_types
|
93
|
-
@inner_class_types = {}
|
94
|
-
end
|
95
|
-
|
96
|
-
def self.field_remappings
|
97
|
-
@field_remappings = {}
|
98
|
-
end
|
99
59
|
end
|
100
60
|
# Details related to the closure of this FinancialAccount
|
101
61
|
attr_reader :closed
|
102
|
-
|
103
|
-
def self.inner_class_types
|
104
|
-
@inner_class_types = { closed: Closed }
|
105
|
-
end
|
106
|
-
|
107
|
-
def self.field_remappings
|
108
|
-
@field_remappings = {}
|
109
|
-
end
|
110
62
|
end
|
111
63
|
|
112
64
|
class ListParams < Stripe::RequestParams
|
@@ -899,19 +851,6 @@ module Stripe
|
|
899
851
|
opts: opts
|
900
852
|
)
|
901
853
|
end
|
902
|
-
|
903
|
-
def self.inner_class_types
|
904
|
-
@inner_class_types = {
|
905
|
-
balance: Balance,
|
906
|
-
financial_addresses: FinancialAddress,
|
907
|
-
platform_restrictions: PlatformRestrictions,
|
908
|
-
status_details: StatusDetails,
|
909
|
-
}
|
910
|
-
end
|
911
|
-
|
912
|
-
def self.field_remappings
|
913
|
-
@field_remappings = {}
|
914
|
-
end
|
915
854
|
end
|
916
855
|
end
|
917
856
|
end
|