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
@@ -42,14 +42,6 @@ module Stripe
|
|
42
42
|
attr_reader :currency
|
43
43
|
# The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
44
44
|
attr_reader :fiscal_year_end
|
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
45
|
end
|
54
46
|
|
55
47
|
class MonthlyEstimatedRevenue < Stripe::StripeObject
|
@@ -57,14 +49,6 @@ module Stripe
|
|
57
49
|
attr_reader :amount
|
58
50
|
# 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).
|
59
51
|
attr_reader :currency
|
60
|
-
|
61
|
-
def self.inner_class_types
|
62
|
-
@inner_class_types = {}
|
63
|
-
end
|
64
|
-
|
65
|
-
def self.field_remappings
|
66
|
-
@field_remappings = {}
|
67
|
-
end
|
68
52
|
end
|
69
53
|
|
70
54
|
class SupportAddress < Stripe::StripeObject
|
@@ -80,14 +64,6 @@ module Stripe
|
|
80
64
|
attr_reader :postal_code
|
81
65
|
# State, county, province, or region.
|
82
66
|
attr_reader :state
|
83
|
-
|
84
|
-
def self.inner_class_types
|
85
|
-
@inner_class_types = {}
|
86
|
-
end
|
87
|
-
|
88
|
-
def self.field_remappings
|
89
|
-
@field_remappings = {}
|
90
|
-
end
|
91
67
|
end
|
92
68
|
# The applicant's gross annual revenue for its preceding fiscal year.
|
93
69
|
attr_reader :annual_revenue
|
@@ -113,18 +89,6 @@ module Stripe
|
|
113
89
|
attr_reader :support_url
|
114
90
|
# The business's publicly available website.
|
115
91
|
attr_reader :url
|
116
|
-
|
117
|
-
def self.inner_class_types
|
118
|
-
@inner_class_types = {
|
119
|
-
annual_revenue: AnnualRevenue,
|
120
|
-
monthly_estimated_revenue: MonthlyEstimatedRevenue,
|
121
|
-
support_address: SupportAddress,
|
122
|
-
}
|
123
|
-
end
|
124
|
-
|
125
|
-
def self.field_remappings
|
126
|
-
@field_remappings = {}
|
127
|
-
end
|
128
92
|
end
|
129
93
|
|
130
94
|
class Capabilities < Stripe::StripeObject
|
@@ -274,14 +238,6 @@ module Stripe
|
|
274
238
|
attr_reader :us_bank_transfer_payments
|
275
239
|
# The status of the Zip capability of the account, or whether the account can directly process Zip charges.
|
276
240
|
attr_reader :zip_payments
|
277
|
-
|
278
|
-
def self.inner_class_types
|
279
|
-
@inner_class_types = {}
|
280
|
-
end
|
281
|
-
|
282
|
-
def self.field_remappings
|
283
|
-
@field_remappings = {}
|
284
|
-
end
|
285
241
|
end
|
286
242
|
|
287
243
|
class Company < Stripe::StripeObject
|
@@ -298,14 +254,6 @@ module Stripe
|
|
298
254
|
attr_reader :postal_code
|
299
255
|
# State, county, province, or region.
|
300
256
|
attr_reader :state
|
301
|
-
|
302
|
-
def self.inner_class_types
|
303
|
-
@inner_class_types = {}
|
304
|
-
end
|
305
|
-
|
306
|
-
def self.field_remappings
|
307
|
-
@field_remappings = {}
|
308
|
-
end
|
309
257
|
end
|
310
258
|
|
311
259
|
class AddressKana < Stripe::StripeObject
|
@@ -323,14 +271,6 @@ module Stripe
|
|
323
271
|
attr_reader :state
|
324
272
|
# Town/cho-me.
|
325
273
|
attr_reader :town
|
326
|
-
|
327
|
-
def self.inner_class_types
|
328
|
-
@inner_class_types = {}
|
329
|
-
end
|
330
|
-
|
331
|
-
def self.field_remappings
|
332
|
-
@field_remappings = {}
|
333
|
-
end
|
334
274
|
end
|
335
275
|
|
336
276
|
class AddressKanji < Stripe::StripeObject
|
@@ -348,14 +288,6 @@ module Stripe
|
|
348
288
|
attr_reader :state
|
349
289
|
# Town/cho-me.
|
350
290
|
attr_reader :town
|
351
|
-
|
352
|
-
def self.inner_class_types
|
353
|
-
@inner_class_types = {}
|
354
|
-
end
|
355
|
-
|
356
|
-
def self.field_remappings
|
357
|
-
@field_remappings = {}
|
358
|
-
end
|
359
291
|
end
|
360
292
|
|
361
293
|
class DirectorshipDeclaration < Stripe::StripeObject
|
@@ -365,14 +297,6 @@ module Stripe
|
|
365
297
|
attr_reader :ip
|
366
298
|
# The user-agent string from the browser where the directorship declaration attestation was made.
|
367
299
|
attr_reader :user_agent
|
368
|
-
|
369
|
-
def self.inner_class_types
|
370
|
-
@inner_class_types = {}
|
371
|
-
end
|
372
|
-
|
373
|
-
def self.field_remappings
|
374
|
-
@field_remappings = {}
|
375
|
-
end
|
376
300
|
end
|
377
301
|
|
378
302
|
class OwnershipDeclaration < Stripe::StripeObject
|
@@ -382,14 +306,6 @@ module Stripe
|
|
382
306
|
attr_reader :ip
|
383
307
|
# The user-agent string from the browser where the beneficial owner attestation was made.
|
384
308
|
attr_reader :user_agent
|
385
|
-
|
386
|
-
def self.inner_class_types
|
387
|
-
@inner_class_types = {}
|
388
|
-
end
|
389
|
-
|
390
|
-
def self.field_remappings
|
391
|
-
@field_remappings = {}
|
392
|
-
end
|
393
309
|
end
|
394
310
|
|
395
311
|
class RegistrationDate < Stripe::StripeObject
|
@@ -399,14 +315,6 @@ module Stripe
|
|
399
315
|
attr_reader :month
|
400
316
|
# The four-digit year of registration.
|
401
317
|
attr_reader :year
|
402
|
-
|
403
|
-
def self.inner_class_types
|
404
|
-
@inner_class_types = {}
|
405
|
-
end
|
406
|
-
|
407
|
-
def self.field_remappings
|
408
|
-
@field_remappings = {}
|
409
|
-
end
|
410
318
|
end
|
411
319
|
|
412
320
|
class Verification < Stripe::StripeObject
|
@@ -419,25 +327,9 @@ module Stripe
|
|
419
327
|
attr_reader :details_code
|
420
328
|
# The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](/file-upload#uploading-a-file).
|
421
329
|
attr_reader :front
|
422
|
-
|
423
|
-
def self.inner_class_types
|
424
|
-
@inner_class_types = {}
|
425
|
-
end
|
426
|
-
|
427
|
-
def self.field_remappings
|
428
|
-
@field_remappings = {}
|
429
|
-
end
|
430
330
|
end
|
431
331
|
# Attribute for field document
|
432
332
|
attr_reader :document
|
433
|
-
|
434
|
-
def self.inner_class_types
|
435
|
-
@inner_class_types = { document: Document }
|
436
|
-
end
|
437
|
-
|
438
|
-
def self.field_remappings
|
439
|
-
@field_remappings = {}
|
440
|
-
end
|
441
333
|
end
|
442
334
|
# Attribute for field address
|
443
335
|
attr_reader :address
|
@@ -481,22 +373,6 @@ module Stripe
|
|
481
373
|
attr_reader :vat_id_provided
|
482
374
|
# Information on the verification state of the company.
|
483
375
|
attr_reader :verification
|
484
|
-
|
485
|
-
def self.inner_class_types
|
486
|
-
@inner_class_types = {
|
487
|
-
address: Address,
|
488
|
-
address_kana: AddressKana,
|
489
|
-
address_kanji: AddressKanji,
|
490
|
-
directorship_declaration: DirectorshipDeclaration,
|
491
|
-
ownership_declaration: OwnershipDeclaration,
|
492
|
-
registration_date: RegistrationDate,
|
493
|
-
verification: Verification,
|
494
|
-
}
|
495
|
-
end
|
496
|
-
|
497
|
-
def self.field_remappings
|
498
|
-
@field_remappings = {}
|
499
|
-
end
|
500
376
|
end
|
501
377
|
|
502
378
|
class Controller < Stripe::StripeObject
|
@@ -507,66 +383,26 @@ module Stripe
|
|
507
383
|
attr_reader :onboarding_owner
|
508
384
|
# `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
509
385
|
attr_reader :pricing_controls
|
510
|
-
|
511
|
-
def self.inner_class_types
|
512
|
-
@inner_class_types = {}
|
513
|
-
end
|
514
|
-
|
515
|
-
def self.field_remappings
|
516
|
-
@field_remappings = {}
|
517
|
-
end
|
518
386
|
end
|
519
387
|
|
520
388
|
class Dashboard < Stripe::StripeObject
|
521
389
|
# Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
522
390
|
attr_reader :type
|
523
|
-
|
524
|
-
def self.inner_class_types
|
525
|
-
@inner_class_types = {}
|
526
|
-
end
|
527
|
-
|
528
|
-
def self.field_remappings
|
529
|
-
@field_remappings = {}
|
530
|
-
end
|
531
391
|
end
|
532
392
|
|
533
393
|
class Fees < Stripe::StripeObject
|
534
394
|
# A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
535
395
|
attr_reader :payer
|
536
|
-
|
537
|
-
def self.inner_class_types
|
538
|
-
@inner_class_types = {}
|
539
|
-
end
|
540
|
-
|
541
|
-
def self.field_remappings
|
542
|
-
@field_remappings = {}
|
543
|
-
end
|
544
396
|
end
|
545
397
|
|
546
398
|
class Losses < Stripe::StripeObject
|
547
399
|
# A value indicating who is liable when this account can't pay back negative balances from payments.
|
548
400
|
attr_reader :payments
|
549
|
-
|
550
|
-
def self.inner_class_types
|
551
|
-
@inner_class_types = {}
|
552
|
-
end
|
553
|
-
|
554
|
-
def self.field_remappings
|
555
|
-
@field_remappings = {}
|
556
|
-
end
|
557
401
|
end
|
558
402
|
|
559
403
|
class StripeDashboard < Stripe::StripeObject
|
560
404
|
# A value indicating the Stripe dashboard this account has access to independent of the Connect application.
|
561
405
|
attr_reader :type
|
562
|
-
|
563
|
-
def self.inner_class_types
|
564
|
-
@inner_class_types = {}
|
565
|
-
end
|
566
|
-
|
567
|
-
def self.field_remappings
|
568
|
-
@field_remappings = {}
|
569
|
-
end
|
570
406
|
end
|
571
407
|
# Attribute for field application
|
572
408
|
attr_reader :application
|
@@ -584,20 +420,6 @@ module Stripe
|
|
584
420
|
attr_reader :stripe_dashboard
|
585
421
|
# The controller type. Can be `application`, if a Connect application controls the account, or `account`, if the account controls itself.
|
586
422
|
attr_reader :type
|
587
|
-
|
588
|
-
def self.inner_class_types
|
589
|
-
@inner_class_types = {
|
590
|
-
application: Application,
|
591
|
-
dashboard: Dashboard,
|
592
|
-
fees: Fees,
|
593
|
-
losses: Losses,
|
594
|
-
stripe_dashboard: StripeDashboard,
|
595
|
-
}
|
596
|
-
end
|
597
|
-
|
598
|
-
def self.field_remappings
|
599
|
-
@field_remappings = {}
|
600
|
-
end
|
601
423
|
end
|
602
424
|
|
603
425
|
class FutureRequirements < Stripe::StripeObject
|
@@ -606,14 +428,6 @@ module Stripe
|
|
606
428
|
attr_reader :alternative_fields_due
|
607
429
|
# Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`.
|
608
430
|
attr_reader :original_fields_due
|
609
|
-
|
610
|
-
def self.inner_class_types
|
611
|
-
@inner_class_types = {}
|
612
|
-
end
|
613
|
-
|
614
|
-
def self.field_remappings
|
615
|
-
@field_remappings = {}
|
616
|
-
end
|
617
431
|
end
|
618
432
|
|
619
433
|
class Error < Stripe::StripeObject
|
@@ -623,14 +437,6 @@ module Stripe
|
|
623
437
|
attr_reader :reason
|
624
438
|
# The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.
|
625
439
|
attr_reader :requirement
|
626
|
-
|
627
|
-
def self.inner_class_types
|
628
|
-
@inner_class_types = {}
|
629
|
-
end
|
630
|
-
|
631
|
-
def self.field_remappings
|
632
|
-
@field_remappings = {}
|
633
|
-
end
|
634
440
|
end
|
635
441
|
# Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
|
636
442
|
attr_reader :alternatives
|
@@ -648,27 +454,11 @@ module Stripe
|
|
648
454
|
attr_reader :past_due
|
649
455
|
# Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. Fields might appear in `eventually_due` or `currently_due` and in `pending_verification` if verification fails but another verification is still pending.
|
650
456
|
attr_reader :pending_verification
|
651
|
-
|
652
|
-
def self.inner_class_types
|
653
|
-
@inner_class_types = { alternatives: Alternative, errors: Error }
|
654
|
-
end
|
655
|
-
|
656
|
-
def self.field_remappings
|
657
|
-
@field_remappings = {}
|
658
|
-
end
|
659
457
|
end
|
660
458
|
|
661
459
|
class Groups < Stripe::StripeObject
|
662
460
|
# The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
|
663
461
|
attr_reader :payments_pricing
|
664
|
-
|
665
|
-
def self.inner_class_types
|
666
|
-
@inner_class_types = {}
|
667
|
-
end
|
668
|
-
|
669
|
-
def self.field_remappings
|
670
|
-
@field_remappings = {}
|
671
|
-
end
|
672
462
|
end
|
673
463
|
|
674
464
|
class Requirements < Stripe::StripeObject
|
@@ -677,14 +467,6 @@ module Stripe
|
|
677
467
|
attr_reader :alternative_fields_due
|
678
468
|
# Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`.
|
679
469
|
attr_reader :original_fields_due
|
680
|
-
|
681
|
-
def self.inner_class_types
|
682
|
-
@inner_class_types = {}
|
683
|
-
end
|
684
|
-
|
685
|
-
def self.field_remappings
|
686
|
-
@field_remappings = {}
|
687
|
-
end
|
688
470
|
end
|
689
471
|
|
690
472
|
class Error < Stripe::StripeObject
|
@@ -694,14 +476,6 @@ module Stripe
|
|
694
476
|
attr_reader :reason
|
695
477
|
# The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.
|
696
478
|
attr_reader :requirement
|
697
|
-
|
698
|
-
def self.inner_class_types
|
699
|
-
@inner_class_types = {}
|
700
|
-
end
|
701
|
-
|
702
|
-
def self.field_remappings
|
703
|
-
@field_remappings = {}
|
704
|
-
end
|
705
479
|
end
|
706
480
|
# Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
|
707
481
|
attr_reader :alternatives
|
@@ -719,41 +493,17 @@ module Stripe
|
|
719
493
|
attr_reader :past_due
|
720
494
|
# Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.
|
721
495
|
attr_reader :pending_verification
|
722
|
-
|
723
|
-
def self.inner_class_types
|
724
|
-
@inner_class_types = { alternatives: Alternative, errors: Error }
|
725
|
-
end
|
726
|
-
|
727
|
-
def self.field_remappings
|
728
|
-
@field_remappings = {}
|
729
|
-
end
|
730
496
|
end
|
731
497
|
|
732
498
|
class RiskControls < Stripe::StripeObject
|
733
499
|
class Charges < Stripe::StripeObject
|
734
500
|
# Whether a pause of the risk control has been requested.
|
735
501
|
attr_reader :pause_requested
|
736
|
-
|
737
|
-
def self.inner_class_types
|
738
|
-
@inner_class_types = {}
|
739
|
-
end
|
740
|
-
|
741
|
-
def self.field_remappings
|
742
|
-
@field_remappings = {}
|
743
|
-
end
|
744
502
|
end
|
745
503
|
|
746
504
|
class Payouts < Stripe::StripeObject
|
747
505
|
# Whether a pause of the risk control has been requested.
|
748
506
|
attr_reader :pause_requested
|
749
|
-
|
750
|
-
def self.inner_class_types
|
751
|
-
@inner_class_types = {}
|
752
|
-
end
|
753
|
-
|
754
|
-
def self.field_remappings
|
755
|
-
@field_remappings = {}
|
756
|
-
end
|
757
507
|
end
|
758
508
|
# Attribute for field charges
|
759
509
|
attr_reader :charges
|
@@ -761,14 +511,6 @@ module Stripe
|
|
761
511
|
attr_reader :payouts
|
762
512
|
# Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
|
763
513
|
attr_reader :rejected_reason
|
764
|
-
|
765
|
-
def self.inner_class_types
|
766
|
-
@inner_class_types = { charges: Charges, payouts: Payouts }
|
767
|
-
end
|
768
|
-
|
769
|
-
def self.field_remappings
|
770
|
-
@field_remappings = {}
|
771
|
-
end
|
772
514
|
end
|
773
515
|
|
774
516
|
class Settings < Stripe::StripeObject
|
@@ -777,14 +519,6 @@ module Stripe
|
|
777
519
|
attr_reader :display_name
|
778
520
|
# The Bacs Direct Debit Service user number for this account. For payments made with Bacs Direct Debit, this number is a unique identifier of the account with our banking partners.
|
779
521
|
attr_reader :service_user_number
|
780
|
-
|
781
|
-
def self.inner_class_types
|
782
|
-
@inner_class_types = {}
|
783
|
-
end
|
784
|
-
|
785
|
-
def self.field_remappings
|
786
|
-
@field_remappings = {}
|
787
|
-
end
|
788
522
|
end
|
789
523
|
|
790
524
|
class BankBcaOnboarding < Stripe::StripeObject
|
@@ -792,14 +526,6 @@ module Stripe
|
|
792
526
|
attr_reader :account_holder_name
|
793
527
|
# Bank BCA business account number.
|
794
528
|
attr_reader :business_account_number
|
795
|
-
|
796
|
-
def self.inner_class_types
|
797
|
-
@inner_class_types = {}
|
798
|
-
end
|
799
|
-
|
800
|
-
def self.field_remappings
|
801
|
-
@field_remappings = {}
|
802
|
-
end
|
803
529
|
end
|
804
530
|
|
805
531
|
class Branding < Stripe::StripeObject
|
@@ -811,14 +537,6 @@ module Stripe
|
|
811
537
|
attr_reader :primary_color
|
812
538
|
# A CSS hex color value representing the secondary branding color for this account
|
813
539
|
attr_reader :secondary_color
|
814
|
-
|
815
|
-
def self.inner_class_types
|
816
|
-
@inner_class_types = {}
|
817
|
-
end
|
818
|
-
|
819
|
-
def self.field_remappings
|
820
|
-
@field_remappings = {}
|
821
|
-
end
|
822
540
|
end
|
823
541
|
|
824
542
|
class Capital < Stripe::StripeObject
|
@@ -826,14 +544,6 @@ module Stripe
|
|
826
544
|
attr_reader :payout_destination
|
827
545
|
# Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
828
546
|
attr_reader :payout_destination_selector
|
829
|
-
|
830
|
-
def self.inner_class_types
|
831
|
-
@inner_class_types = {}
|
832
|
-
end
|
833
|
-
|
834
|
-
def self.field_remappings
|
835
|
-
@field_remappings = {}
|
836
|
-
end
|
837
547
|
end
|
838
548
|
|
839
549
|
class CardIssuing < Stripe::StripeObject
|
@@ -844,25 +554,9 @@ module Stripe
|
|
844
554
|
attr_reader :ip
|
845
555
|
# The user agent of the browser from which the account representative accepted the service agreement.
|
846
556
|
attr_reader :user_agent
|
847
|
-
|
848
|
-
def self.inner_class_types
|
849
|
-
@inner_class_types = {}
|
850
|
-
end
|
851
|
-
|
852
|
-
def self.field_remappings
|
853
|
-
@field_remappings = {}
|
854
|
-
end
|
855
557
|
end
|
856
558
|
# Attribute for field tos_acceptance
|
857
559
|
attr_reader :tos_acceptance
|
858
|
-
|
859
|
-
def self.inner_class_types
|
860
|
-
@inner_class_types = { tos_acceptance: TosAcceptance }
|
861
|
-
end
|
862
|
-
|
863
|
-
def self.field_remappings
|
864
|
-
@field_remappings = {}
|
865
|
-
end
|
866
560
|
end
|
867
561
|
|
868
562
|
class CardPayments < Stripe::StripeObject
|
@@ -871,14 +565,6 @@ module Stripe
|
|
871
565
|
attr_reader :avs_failure
|
872
566
|
# Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
873
567
|
attr_reader :cvc_failure
|
874
|
-
|
875
|
-
def self.inner_class_types
|
876
|
-
@inner_class_types = {}
|
877
|
-
end
|
878
|
-
|
879
|
-
def self.field_remappings
|
880
|
-
@field_remappings = {}
|
881
|
-
end
|
882
568
|
end
|
883
569
|
# Attribute for field decline_on
|
884
570
|
attr_reader :decline_on
|
@@ -888,14 +574,6 @@ module Stripe
|
|
888
574
|
attr_reader :statement_descriptor_prefix_kana
|
889
575
|
# The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion.
|
890
576
|
attr_reader :statement_descriptor_prefix_kanji
|
891
|
-
|
892
|
-
def self.inner_class_types
|
893
|
-
@inner_class_types = { decline_on: DeclineOn }
|
894
|
-
end
|
895
|
-
|
896
|
-
def self.field_remappings
|
897
|
-
@field_remappings = {}
|
898
|
-
end
|
899
577
|
end
|
900
578
|
|
901
579
|
class Dashboard < Stripe::StripeObject
|
@@ -903,14 +581,6 @@ module Stripe
|
|
903
581
|
attr_reader :display_name
|
904
582
|
# The timezone used in the Stripe Dashboard for this account. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones).
|
905
583
|
attr_reader :timezone
|
906
|
-
|
907
|
-
def self.inner_class_types
|
908
|
-
@inner_class_types = {}
|
909
|
-
end
|
910
|
-
|
911
|
-
def self.field_remappings
|
912
|
-
@field_remappings = {}
|
913
|
-
end
|
914
584
|
end
|
915
585
|
|
916
586
|
class Invoices < Stripe::StripeObject
|
@@ -918,14 +588,6 @@ module Stripe
|
|
918
588
|
attr_reader :default_account_tax_ids
|
919
589
|
# Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
|
920
590
|
attr_reader :hosted_payment_method_save
|
921
|
-
|
922
|
-
def self.inner_class_types
|
923
|
-
@inner_class_types = {}
|
924
|
-
end
|
925
|
-
|
926
|
-
def self.field_remappings
|
927
|
-
@field_remappings = {}
|
928
|
-
end
|
929
591
|
end
|
930
592
|
|
931
593
|
class Payments < Stripe::StripeObject
|
@@ -939,14 +601,6 @@ module Stripe
|
|
939
601
|
attr_reader :statement_descriptor_prefix_kana
|
940
602
|
# The Kanji variation of `statement_descriptor_prefix` used for card charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
941
603
|
attr_reader :statement_descriptor_prefix_kanji
|
942
|
-
|
943
|
-
def self.inner_class_types
|
944
|
-
@inner_class_types = {}
|
945
|
-
end
|
946
|
-
|
947
|
-
def self.field_remappings
|
948
|
-
@field_remappings = {}
|
949
|
-
end
|
950
604
|
end
|
951
605
|
|
952
606
|
class Payouts < Stripe::StripeObject
|
@@ -963,14 +617,6 @@ module Stripe
|
|
963
617
|
attr_reader :weekly_anchor
|
964
618
|
# The days of the week when available funds are paid out, specified as an array, for example, [`monday`, `tuesday`]. Only shown if `interval` is weekly.
|
965
619
|
attr_reader :weekly_payout_days
|
966
|
-
|
967
|
-
def self.inner_class_types
|
968
|
-
@inner_class_types = {}
|
969
|
-
end
|
970
|
-
|
971
|
-
def self.field_remappings
|
972
|
-
@field_remappings = {}
|
973
|
-
end
|
974
620
|
end
|
975
621
|
# A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.
|
976
622
|
attr_reader :debit_negative_balances
|
@@ -978,40 +624,16 @@ module Stripe
|
|
978
624
|
attr_reader :schedule
|
979
625
|
# The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.
|
980
626
|
attr_reader :statement_descriptor
|
981
|
-
|
982
|
-
def self.inner_class_types
|
983
|
-
@inner_class_types = { schedule: Schedule }
|
984
|
-
end
|
985
|
-
|
986
|
-
def self.field_remappings
|
987
|
-
@field_remappings = {}
|
988
|
-
end
|
989
627
|
end
|
990
628
|
|
991
629
|
class SepaDebitPayments < Stripe::StripeObject
|
992
630
|
# SEPA creditor identifier that identifies the company making the payment.
|
993
631
|
attr_reader :creditor_id
|
994
|
-
|
995
|
-
def self.inner_class_types
|
996
|
-
@inner_class_types = {}
|
997
|
-
end
|
998
|
-
|
999
|
-
def self.field_remappings
|
1000
|
-
@field_remappings = {}
|
1001
|
-
end
|
1002
632
|
end
|
1003
633
|
|
1004
634
|
class TaxForms < Stripe::StripeObject
|
1005
635
|
# Whether the account opted out of receiving their tax forms by postal delivery.
|
1006
636
|
attr_reader :consented_to_paperless_delivery
|
1007
|
-
|
1008
|
-
def self.inner_class_types
|
1009
|
-
@inner_class_types = {}
|
1010
|
-
end
|
1011
|
-
|
1012
|
-
def self.field_remappings
|
1013
|
-
@field_remappings = {}
|
1014
|
-
end
|
1015
637
|
end
|
1016
638
|
|
1017
639
|
class Treasury < Stripe::StripeObject
|
@@ -1022,25 +644,9 @@ module Stripe
|
|
1022
644
|
attr_reader :ip
|
1023
645
|
# The user agent of the browser from which the account representative accepted the service agreement.
|
1024
646
|
attr_reader :user_agent
|
1025
|
-
|
1026
|
-
def self.inner_class_types
|
1027
|
-
@inner_class_types = {}
|
1028
|
-
end
|
1029
|
-
|
1030
|
-
def self.field_remappings
|
1031
|
-
@field_remappings = {}
|
1032
|
-
end
|
1033
647
|
end
|
1034
648
|
# Attribute for field tos_acceptance
|
1035
649
|
attr_reader :tos_acceptance
|
1036
|
-
|
1037
|
-
def self.inner_class_types
|
1038
|
-
@inner_class_types = { tos_acceptance: TosAcceptance }
|
1039
|
-
end
|
1040
|
-
|
1041
|
-
def self.field_remappings
|
1042
|
-
@field_remappings = {}
|
1043
|
-
end
|
1044
650
|
end
|
1045
651
|
# Attribute for field bacs_debit_payments
|
1046
652
|
attr_reader :bacs_debit_payments
|
@@ -1068,28 +674,6 @@ module Stripe
|
|
1068
674
|
attr_reader :tax_forms
|
1069
675
|
# Attribute for field treasury
|
1070
676
|
attr_reader :treasury
|
1071
|
-
|
1072
|
-
def self.inner_class_types
|
1073
|
-
@inner_class_types = {
|
1074
|
-
bacs_debit_payments: BacsDebitPayments,
|
1075
|
-
bank_bca_onboarding: BankBcaOnboarding,
|
1076
|
-
branding: Branding,
|
1077
|
-
capital: Capital,
|
1078
|
-
card_issuing: CardIssuing,
|
1079
|
-
card_payments: CardPayments,
|
1080
|
-
dashboard: Dashboard,
|
1081
|
-
invoices: Invoices,
|
1082
|
-
payments: Payments,
|
1083
|
-
payouts: Payouts,
|
1084
|
-
sepa_debit_payments: SepaDebitPayments,
|
1085
|
-
tax_forms: TaxForms,
|
1086
|
-
treasury: Treasury,
|
1087
|
-
}
|
1088
|
-
end
|
1089
|
-
|
1090
|
-
def self.field_remappings
|
1091
|
-
@field_remappings = {}
|
1092
|
-
end
|
1093
677
|
end
|
1094
678
|
|
1095
679
|
class TosAcceptance < Stripe::StripeObject
|
@@ -1101,14 +685,6 @@ module Stripe
|
|
1101
685
|
attr_reader :service_agreement
|
1102
686
|
# The user agent of the browser from which the account representative accepted their service agreement
|
1103
687
|
attr_reader :user_agent
|
1104
|
-
|
1105
|
-
def self.inner_class_types
|
1106
|
-
@inner_class_types = {}
|
1107
|
-
end
|
1108
|
-
|
1109
|
-
def self.field_remappings
|
1110
|
-
@field_remappings = {}
|
1111
|
-
end
|
1112
688
|
end
|
1113
689
|
|
1114
690
|
class DeleteParams < Stripe::RequestParams; end
|
@@ -6150,24 +5726,5 @@ module Stripe
|
|
6150
5726
|
end
|
6151
5727
|
update_hash
|
6152
5728
|
end
|
6153
|
-
|
6154
|
-
def self.inner_class_types
|
6155
|
-
@inner_class_types = {
|
6156
|
-
business_profile: BusinessProfile,
|
6157
|
-
capabilities: Capabilities,
|
6158
|
-
company: Company,
|
6159
|
-
controller: Controller,
|
6160
|
-
future_requirements: FutureRequirements,
|
6161
|
-
groups: Groups,
|
6162
|
-
requirements: Requirements,
|
6163
|
-
risk_controls: RiskControls,
|
6164
|
-
settings: Settings,
|
6165
|
-
tos_acceptance: TosAcceptance,
|
6166
|
-
}
|
6167
|
-
end
|
6168
|
-
|
6169
|
-
def self.field_remappings
|
6170
|
-
@field_remappings = {}
|
6171
|
-
end
|
6172
5729
|
end
|
6173
5730
|
end
|