stripe 15.3.0.pre.beta.1 → 15.3.0
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 -0
- data/CHANGELOG.md +683 -1581
- data/OPENAPI_VERSION +1 -1
- data/README.md +14 -50
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -28
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -54
- data/lib/stripe/event_types.rb +0 -98
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +1 -1
- data/lib/stripe/object_types.rb +0 -50
- data/lib/stripe/resources/account.rb +82 -650
- data/lib/stripe/resources/account_session.rb +80 -335
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
- data/lib/stripe/resources/billing/credit_grant.rb +0 -10
- data/lib/stripe/resources/billing_portal/session.rb +2 -8
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +28 -1553
- data/lib/stripe/resources/checkout/session.rb +55 -333
- data/lib/stripe/resources/confirmation_token.rb +19 -181
- data/lib/stripe/resources/coupon.rb +1 -30
- data/lib/stripe/resources/credit_note.rb +9 -15
- data/lib/stripe/resources/credit_note_line_item.rb +0 -9
- data/lib/stripe/resources/customer.rb +0 -2
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +3 -8
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/event.rb +1 -32
- data/lib/stripe/resources/financial_connections/account.rb +1 -22
- data/lib/stripe/resources/financial_connections/session.rb +2 -62
- data/lib/stripe/resources/identity/verification_session.rb +34 -10
- data/lib/stripe/resources/invoice.rb +33 -1062
- data/lib/stripe/resources/invoice_item.rb +3 -82
- data/lib/stripe/resources/invoice_line_item.rb +1 -55
- data/lib/stripe/resources/invoice_payment.rb +53 -2
- data/lib/stripe/resources/issuing/cardholder.rb +1 -2
- data/lib/stripe/resources/issuing/transaction.rb +0 -6
- data/lib/stripe/resources/line_item.rb +0 -37
- data/lib/stripe/resources/mandate.rb +3 -24
- data/lib/stripe/resources/payment_intent.rb +875 -5512
- data/lib/stripe/resources/payment_method.rb +18 -201
- data/lib/stripe/resources/payment_method_configuration.rb +0 -295
- data/lib/stripe/resources/payout.rb +0 -6
- data/lib/stripe/resources/price.rb +0 -30
- data/lib/stripe/resources/promotion_code.rb +0 -10
- data/lib/stripe/resources/quote.rb +16 -2033
- data/lib/stripe/resources/refund.rb +0 -9
- data/lib/stripe/resources/setup_attempt.rb +1 -22
- data/lib/stripe/resources/setup_intent.rb +294 -581
- data/lib/stripe/resources/source.rb +0 -29
- data/lib/stripe/resources/subscription.rb +36 -298
- data/lib/stripe/resources/subscription_item.rb +3 -84
- data/lib/stripe/resources/subscription_schedule.rb +27 -1008
- data/lib/stripe/resources/tax/registration.rb +20 -0
- data/lib/stripe/resources/tax_id.rb +2 -12
- data/lib/stripe/resources/terminal/configuration.rb +1 -0
- data/lib/stripe/resources/terminal/reader.rb +10 -18
- data/lib/stripe/resources/token.rb +1 -1
- data/lib/stripe/resources/transfer.rb +0 -6
- data/lib/stripe/resources/treasury/financial_account.rb +8 -23
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
- data/lib/stripe/resources/treasury/received_credit.rb +1 -38
- data/lib/stripe/resources/treasury/received_debit.rb +1 -40
- data/lib/stripe/resources.rb +0 -104
- data/lib/stripe/services/account_service.rb +76 -559
- data/lib/stripe/services/account_session_service.rb +49 -274
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
- data/lib/stripe/services/billing_portal/session_service.rb +1 -5
- data/lib/stripe/services/charge_service.rb +0 -1418
- data/lib/stripe/services/checkout/session_service.rb +55 -250
- data/lib/stripe/services/coupon_service.rb +1 -17
- data/lib/stripe/services/credit_note_preview_lines_service.rb +3 -3
- data/lib/stripe/services/credit_note_service.rb +6 -10
- data/lib/stripe/services/customer_session_service.rb +2 -5
- data/lib/stripe/services/financial_connections/account_service.rb +2 -7
- data/lib/stripe/services/financial_connections/session_service.rb +2 -34
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity/verification_session_service.rb +16 -8
- data/lib/stripe/services/invoice_item_service.rb +2 -74
- data/lib/stripe/services/invoice_line_item_service.rb +1 -33
- data/lib/stripe/services/invoice_payment_service.rb +83 -0
- data/lib/stripe/services/invoice_service.rb +33 -1013
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +650 -4832
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
- data/lib/stripe/services/payment_method_service.rb +6 -120
- data/lib/stripe/services/payout_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +0 -19
- data/lib/stripe/services/promotion_code_service.rb +0 -8
- data/lib/stripe/services/quote_service.rb +13 -1719
- data/lib/stripe/services/setup_intent_service.rb +284 -540
- data/lib/stripe/services/subscription_item_service.rb +3 -75
- data/lib/stripe/services/subscription_schedule_service.rb +19 -911
- data/lib/stripe/services/subscription_service.rb +30 -253
- data/lib/stripe/services/tax/registration_service.rb +13 -0
- data/lib/stripe/services/tax_id_service.rb +2 -8
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/reader_service.rb +4 -4
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +6 -98
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +0 -4
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +7 -17
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -11
- data/lib/stripe/services/v2/billing_service.rb +2 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +16 -16
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +2 -5
- data/lib/stripe/services.rb +1 -53
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/account.rbi +4995 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_session.rbi +1013 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
- data/rbi/stripe/resources/application.rbi +20 -0
- data/rbi/stripe/resources/application_fee.rbi +118 -0
- data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
- data/rbi/stripe/resources/apps/secret.rbi +195 -0
- data/rbi/stripe/resources/balance.rbi +235 -0
- data/rbi/stripe/resources/balance_transaction.rbi +147 -0
- data/rbi/stripe/resources/bank_account.rbi +127 -0
- data/rbi/stripe/resources/billing/alert.rbi +201 -0
- data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
- data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
- data/rbi/stripe/resources/billing/meter.rbi +226 -0
- data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
- data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
- data/rbi/stripe/resources/capability.rbi +125 -0
- data/rbi/stripe/resources/card.rbi +125 -0
- data/rbi/stripe/resources/cash_balance.rbi +32 -0
- data/rbi/stripe/resources/charge.rbi +2086 -0
- data/rbi/stripe/resources/checkout/session.rbi +4060 -0
- data/rbi/stripe/resources/climate/order.rbi +245 -0
- data/rbi/stripe/resources/climate/product.rbi +75 -0
- data/rbi/stripe/resources/climate/supplier.rbi +72 -0
- data/rbi/stripe/resources/confirmation_token.rbi +1818 -0
- data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
- data/rbi/stripe/resources/country_spec.rbi +85 -0
- data/rbi/stripe/resources/coupon.rbi +250 -0
- data/rbi/stripe/resources/credit_note.rbi +752 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
- data/rbi/stripe/resources/customer.rbi +1005 -0
- data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
- data/rbi/stripe/resources/customer_session.rbi +200 -0
- data/rbi/stripe/resources/discount.rbi +53 -0
- data/rbi/stripe/resources/dispute.rbi +761 -0
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
- data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
- data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
- data/rbi/stripe/resources/event.rbi +149 -0
- data/rbi/stripe/resources/exchange_rate.rbi +66 -0
- data/rbi/stripe/resources/file.rbi +143 -0
- data/rbi/stripe/resources/file_link.rbi +141 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
- data/rbi/stripe/resources/forwarding/request.rbi +216 -0
- data/rbi/stripe/resources/funding_instructions.rbi +437 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +564 -0
- data/rbi/stripe/resources/invoice.rbi +3842 -0
- data/rbi/stripe/resources/invoice_item.rbi +470 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
- data/rbi/stripe/resources/invoice_payment.rbi +121 -0
- data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
- data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
- data/rbi/stripe/resources/issuing/card.rbi +741 -0
- data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
- data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
- data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
- data/rbi/stripe/resources/issuing/token.rbi +226 -0
- data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
- data/rbi/stripe/resources/line_item.rbi +72 -0
- data/rbi/stripe/resources/login_link.rbi +19 -0
- data/rbi/stripe/resources/mandate.rbi +191 -0
- data/rbi/stripe/resources/payment_intent.rbi +9987 -0
- data/rbi/stripe/resources/payment_link.rbi +1801 -0
- data/rbi/stripe/resources/payment_method.rbi +1770 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
- data/rbi/stripe/resources/payout.rbi +300 -0
- data/rbi/stripe/resources/person.rbi +401 -0
- data/rbi/stripe/resources/plan.rbi +371 -0
- data/rbi/stripe/resources/price.rbi +694 -0
- data/rbi/stripe/resources/product.rbi +555 -0
- data/rbi/stripe/resources/product_feature.rbi +26 -0
- data/rbi/stripe/resources/promotion_code.rbi +261 -0
- data/rbi/stripe/resources/quote.rbi +1145 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
- data/rbi/stripe/resources/radar/value_list.rbi +168 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
- data/rbi/stripe/resources/refund.rbi +523 -0
- data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
- data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
- data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
- data/rbi/stripe/resources/reversal.rbi +51 -0
- data/rbi/stripe/resources/review.rbi +154 -0
- data/rbi/stripe/resources/setup_attempt.rbi +477 -0
- data/rbi/stripe/resources/setup_intent.rbi +3978 -0
- data/rbi/stripe/resources/shipping_rate.rbi +305 -0
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
- data/rbi/stripe/resources/source.rbi +1496 -0
- data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
- data/rbi/stripe/resources/source_transaction.rbi +127 -0
- data/rbi/stripe/resources/subscription.rbi +2080 -0
- data/rbi/stripe/resources/subscription_item.rbi +404 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +1645 -0
- data/rbi/stripe/resources/tax/calculation.rbi +478 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
- data/rbi/stripe/resources/tax/registration.rbi +2732 -0
- data/rbi/stripe/resources/tax/settings.rbi +141 -0
- data/rbi/stripe/resources/tax/transaction.rbi +351 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
- data/rbi/stripe/resources/tax_code.rbi +44 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
- data/rbi/stripe/resources/tax_id.rbi +165 -0
- data/rbi/stripe/resources/tax_rate.rbi +239 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1387 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
- data/rbi/stripe/resources/terminal/location.rbi +222 -0
- data/rbi/stripe/resources/terminal/reader.rbi +994 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
- data/rbi/stripe/resources/token.rbi +1283 -0
- data/rbi/stripe/resources/topup.rbi +222 -0
- data/rbi/stripe/resources/transfer.rbi +199 -0
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
- data/rbi/stripe/resources/treasury/financial_account.rbi +869 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
- data/rbi/stripe/resources/v2/event.rbi +48 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
- data/rbi/stripe/services/account_capability_service.rbi +51 -0
- data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +122 -135
- data/rbi/stripe/services/account_link_service.rbi +58 -0
- data/rbi/stripe/services/account_login_link_service.rbi +22 -0
- data/rbi/stripe/services/account_person_service.rbi +1011 -0
- data/rbi/stripe/services/account_service.rbi +4281 -0
- data/rbi/stripe/services/account_session_service.rbi +646 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
- data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
- data/rbi/stripe/services/application_fee_service.rbi +78 -0
- data/rbi/stripe/services/apps/secret_service.rbi +151 -0
- data/rbi/stripe/services/apps_service.rbi +9 -0
- data/rbi/stripe/services/balance_service.rbi +21 -0
- data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
- data/rbi/stripe/services/billing/alert_service.rbi +152 -0
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
- data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
- data/rbi/stripe/services/billing/meter_service.rbi +163 -0
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/charge_service.rbi +448 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2670 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +142 -0
- data/rbi/stripe/services/climate/product_service.rbi +46 -0
- data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
- data/rbi/stripe/services/climate_service.rbi +11 -0
- data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
- data/rbi/stripe/services/country_spec_service.rbi +44 -0
- data/rbi/stripe/services/coupon_service.rbi +194 -0
- data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
- data/rbi/stripe/services/credit_note_service.rbi +415 -0
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
- data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
- data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
- data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
- data/rbi/stripe/services/customer_service.rbi +647 -0
- data/rbi/stripe/services/customer_session_service.rbi +116 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
- data/rbi/stripe/services/dispute_service.rbi +424 -0
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
- data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
- data/rbi/stripe/services/entitlements_service.rbi +10 -0
- data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
- data/rbi/stripe/services/event_service.rbi +83 -0
- data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
- data/rbi/stripe/services/file_link_service.rbi +124 -0
- data/rbi/stripe/services/file_service.rbi +116 -0
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
- data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
- data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
- data/rbi/stripe/services/financial_connections_service.rbi +11 -0
- data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
- data/rbi/stripe/services/forwarding_service.rbi +9 -0
- data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
- data/rbi/stripe/services/identity/verification_session_service.rbi +339 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +366 -0
- data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
- data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
- data/rbi/stripe/services/invoice_service.rbi +3011 -0
- data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
- data/rbi/stripe/services/issuing/card_service.rbi +495 -0
- data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
- data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
- data/rbi/stripe/services/issuing/token_service.rbi +99 -0
- data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
- data/rbi/stripe/services/issuing_service.rbi +16 -0
- data/rbi/stripe/services/mandate_service.rbi +20 -0
- data/rbi/stripe/services/payment_intent_service.rbi +7989 -0
- data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/payment_link_service.rbi +1352 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
- data/rbi/stripe/services/payment_method_service.rbi +781 -0
- data/rbi/stripe/services/payout_service.rbi +205 -0
- data/rbi/stripe/services/plan_service.rbi +282 -0
- data/rbi/stripe/services/price_service.rbi +546 -0
- data/rbi/stripe/services/product_feature_service.rbi +67 -0
- data/rbi/stripe/services/product_service.rbi +477 -0
- data/rbi/stripe/services/promotion_code_service.rbi +214 -0
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
- data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/quote_service.rbi +699 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
- data/rbi/stripe/services/radar_service.rbi +11 -0
- data/rbi/stripe/services/refund_service.rbi +185 -0
- data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
- data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
- data/rbi/stripe/services/reporting_service.rbi +10 -0
- data/rbi/stripe/services/review_service.rbi +84 -0
- data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
- data/rbi/stripe/services/setup_intent_service.rbi +3709 -0
- data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
- data/rbi/stripe/services/sigma_service.rbi +9 -0
- data/rbi/stripe/services/source_service.rbi +663 -0
- data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
- data/rbi/stripe/services/subscription_item_service.rbi +350 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +1301 -0
- data/rbi/stripe/services/subscription_service.rbi +1684 -0
- data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1858 -0
- data/rbi/stripe/services/tax/settings_service.rbi +93 -0
- data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
- data/rbi/stripe/services/tax_code_service.rbi +44 -0
- data/rbi/stripe/services/tax_id_service.rbi +110 -0
- data/rbi/stripe/services/tax_rate_service.rbi +185 -0
- data/rbi/stripe/services/tax_service.rbi +12 -0
- data/rbi/stripe/services/terminal/configuration_service.rbi +1118 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
- data/rbi/stripe/services/terminal/location_service.rbi +182 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +540 -0
- data/rbi/stripe/services/terminal_service.rbi +12 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +746 -0
- data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
- data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +93 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
- data/rbi/stripe/services/test_helpers_service.rbi +15 -0
- data/rbi/stripe/services/token_service.rbi +1257 -0
- data/rbi/stripe/services/topup_service.rbi +176 -0
- data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
- data/rbi/stripe/services/transfer_service.rbi +152 -0
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
- data/rbi/stripe/services/treasury/financial_account_service.rbi +566 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +77 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
- data/rbi/stripe/services/v2/billing_service.rbi +14 -0
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
- data/rbi/stripe/services/v2/core_service.rbi +12 -0
- data/rbi/stripe/services/v2_services.rbi +10 -0
- data/rbi/stripe/services/webhook_endpoint_service.rbi +129 -0
- data/stripe.gemspec +1 -4
- metadata +326 -162
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
- data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/balance_settings.rb +0 -105
- data/lib/stripe/resources/capital/financing_offer.rb +0 -179
- data/lib/stripe/resources/capital/financing_summary.rb +0 -55
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -92
- data/lib/stripe/resources/fx_quote.rb +0 -184
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
- data/lib/stripe/resources/issuing/settlement.rb +0 -53
- data/lib/stripe/resources/margin.rb +0 -115
- data/lib/stripe/resources/order.rb +0 -2806
- data/lib/stripe/resources/payment_attempt_record.rb +0 -1086
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
- data/lib/stripe/resources/payment_record.rb +0 -1615
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -364
- data/lib/stripe/resources/tax/association.rb +0 -66
- data/lib/stripe/resources/tax/form.rb +0 -211
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
- data/lib/stripe/resources/v2/core/account.rb +0 -1746
- data/lib/stripe/resources/v2/core/account_link.rb +0 -56
- data/lib/stripe/resources/v2/core/person.rb +0 -276
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -116
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -74
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/balance_settings_service.rb +0 -96
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/fx_quote_service.rb +0 -123
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_service.rb +0 -2236
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
- data/lib/stripe/services/v2/core/account_service.rb +0 -4138
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1046
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -131
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -43
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -200
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -91
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -138
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -49
- data/rbi/stripe.rbi +0 -191639
@@ -0,0 +1,646 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
module Stripe
|
6
|
+
class AccountSessionService < StripeService
|
7
|
+
class CreateParams < Stripe::RequestParams
|
8
|
+
class Components < Stripe::RequestParams
|
9
|
+
class AccountManagement < Stripe::RequestParams
|
10
|
+
class Features < Stripe::RequestParams
|
11
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
12
|
+
sig { returns(T.nilable(T::Boolean)) }
|
13
|
+
attr_accessor :disable_stripe_user_authentication
|
14
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
15
|
+
sig { returns(T.nilable(T::Boolean)) }
|
16
|
+
attr_accessor :external_account_collection
|
17
|
+
sig {
|
18
|
+
params(disable_stripe_user_authentication: T.nilable(T::Boolean), external_account_collection: T.nilable(T::Boolean)).void
|
19
|
+
}
|
20
|
+
def initialize(
|
21
|
+
disable_stripe_user_authentication: nil,
|
22
|
+
external_account_collection: nil
|
23
|
+
); end
|
24
|
+
end
|
25
|
+
# Whether the embedded component is enabled.
|
26
|
+
sig { returns(T::Boolean) }
|
27
|
+
attr_accessor :enabled
|
28
|
+
# The list of features enabled in the embedded component.
|
29
|
+
sig {
|
30
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountManagement::Features))
|
31
|
+
}
|
32
|
+
attr_accessor :features
|
33
|
+
sig {
|
34
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountManagement::Features)).void
|
35
|
+
}
|
36
|
+
def initialize(enabled: nil, features: nil); end
|
37
|
+
end
|
38
|
+
class AccountOnboarding < Stripe::RequestParams
|
39
|
+
class Features < Stripe::RequestParams
|
40
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
41
|
+
sig { returns(T.nilable(T::Boolean)) }
|
42
|
+
attr_accessor :disable_stripe_user_authentication
|
43
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
44
|
+
sig { returns(T.nilable(T::Boolean)) }
|
45
|
+
attr_accessor :external_account_collection
|
46
|
+
sig {
|
47
|
+
params(disable_stripe_user_authentication: T.nilable(T::Boolean), external_account_collection: T.nilable(T::Boolean)).void
|
48
|
+
}
|
49
|
+
def initialize(
|
50
|
+
disable_stripe_user_authentication: nil,
|
51
|
+
external_account_collection: nil
|
52
|
+
); end
|
53
|
+
end
|
54
|
+
# Whether the embedded component is enabled.
|
55
|
+
sig { returns(T::Boolean) }
|
56
|
+
attr_accessor :enabled
|
57
|
+
# The list of features enabled in the embedded component.
|
58
|
+
sig {
|
59
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountOnboarding::Features))
|
60
|
+
}
|
61
|
+
attr_accessor :features
|
62
|
+
sig {
|
63
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountOnboarding::Features)).void
|
64
|
+
}
|
65
|
+
def initialize(enabled: nil, features: nil); end
|
66
|
+
end
|
67
|
+
class Balances < Stripe::RequestParams
|
68
|
+
class Features < Stripe::RequestParams
|
69
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
70
|
+
sig { returns(T.nilable(T::Boolean)) }
|
71
|
+
attr_accessor :disable_stripe_user_authentication
|
72
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
73
|
+
sig { returns(T.nilable(T::Boolean)) }
|
74
|
+
attr_accessor :edit_payout_schedule
|
75
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
76
|
+
sig { returns(T.nilable(T::Boolean)) }
|
77
|
+
attr_accessor :external_account_collection
|
78
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
79
|
+
sig { returns(T.nilable(T::Boolean)) }
|
80
|
+
attr_accessor :instant_payouts
|
81
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
82
|
+
sig { returns(T.nilable(T::Boolean)) }
|
83
|
+
attr_accessor :standard_payouts
|
84
|
+
sig {
|
85
|
+
params(disable_stripe_user_authentication: T.nilable(T::Boolean), edit_payout_schedule: T.nilable(T::Boolean), external_account_collection: T.nilable(T::Boolean), instant_payouts: T.nilable(T::Boolean), standard_payouts: T.nilable(T::Boolean)).void
|
86
|
+
}
|
87
|
+
def initialize(
|
88
|
+
disable_stripe_user_authentication: nil,
|
89
|
+
edit_payout_schedule: nil,
|
90
|
+
external_account_collection: nil,
|
91
|
+
instant_payouts: nil,
|
92
|
+
standard_payouts: nil
|
93
|
+
); end
|
94
|
+
end
|
95
|
+
# Whether the embedded component is enabled.
|
96
|
+
sig { returns(T::Boolean) }
|
97
|
+
attr_accessor :enabled
|
98
|
+
# The list of features enabled in the embedded component.
|
99
|
+
sig {
|
100
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Balances::Features))
|
101
|
+
}
|
102
|
+
attr_accessor :features
|
103
|
+
sig {
|
104
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Balances::Features)).void
|
105
|
+
}
|
106
|
+
def initialize(enabled: nil, features: nil); end
|
107
|
+
end
|
108
|
+
class DisputesList < Stripe::RequestParams
|
109
|
+
class Features < Stripe::RequestParams
|
110
|
+
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
111
|
+
sig { returns(T.nilable(T::Boolean)) }
|
112
|
+
attr_accessor :capture_payments
|
113
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
114
|
+
sig { returns(T.nilable(T::Boolean)) }
|
115
|
+
attr_accessor :destination_on_behalf_of_charge_management
|
116
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
117
|
+
sig { returns(T.nilable(T::Boolean)) }
|
118
|
+
attr_accessor :dispute_management
|
119
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
120
|
+
sig { returns(T.nilable(T::Boolean)) }
|
121
|
+
attr_accessor :refund_management
|
122
|
+
sig {
|
123
|
+
params(capture_payments: T.nilable(T::Boolean), destination_on_behalf_of_charge_management: T.nilable(T::Boolean), dispute_management: T.nilable(T::Boolean), refund_management: T.nilable(T::Boolean)).void
|
124
|
+
}
|
125
|
+
def initialize(
|
126
|
+
capture_payments: nil,
|
127
|
+
destination_on_behalf_of_charge_management: nil,
|
128
|
+
dispute_management: nil,
|
129
|
+
refund_management: nil
|
130
|
+
); end
|
131
|
+
end
|
132
|
+
# Whether the embedded component is enabled.
|
133
|
+
sig { returns(T::Boolean) }
|
134
|
+
attr_accessor :enabled
|
135
|
+
# The list of features enabled in the embedded component.
|
136
|
+
sig {
|
137
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::DisputesList::Features))
|
138
|
+
}
|
139
|
+
attr_accessor :features
|
140
|
+
sig {
|
141
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::DisputesList::Features)).void
|
142
|
+
}
|
143
|
+
def initialize(enabled: nil, features: nil); end
|
144
|
+
end
|
145
|
+
class Documents < Stripe::RequestParams
|
146
|
+
class Features < Stripe::RequestParams; end
|
147
|
+
# Whether the embedded component is enabled.
|
148
|
+
sig { returns(T::Boolean) }
|
149
|
+
attr_accessor :enabled
|
150
|
+
# The list of features enabled in the embedded component.
|
151
|
+
sig {
|
152
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents::Features))
|
153
|
+
}
|
154
|
+
attr_accessor :features
|
155
|
+
sig {
|
156
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents::Features)).void
|
157
|
+
}
|
158
|
+
def initialize(enabled: nil, features: nil); end
|
159
|
+
end
|
160
|
+
class FinancialAccount < Stripe::RequestParams
|
161
|
+
class Features < Stripe::RequestParams
|
162
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
163
|
+
sig { returns(T.nilable(T::Boolean)) }
|
164
|
+
attr_accessor :disable_stripe_user_authentication
|
165
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
166
|
+
sig { returns(T.nilable(T::Boolean)) }
|
167
|
+
attr_accessor :external_account_collection
|
168
|
+
# Whether to allow sending money.
|
169
|
+
sig { returns(T.nilable(T::Boolean)) }
|
170
|
+
attr_accessor :send_money
|
171
|
+
# Whether to allow transferring balance.
|
172
|
+
sig { returns(T.nilable(T::Boolean)) }
|
173
|
+
attr_accessor :transfer_balance
|
174
|
+
sig {
|
175
|
+
params(disable_stripe_user_authentication: T.nilable(T::Boolean), external_account_collection: T.nilable(T::Boolean), send_money: T.nilable(T::Boolean), transfer_balance: T.nilable(T::Boolean)).void
|
176
|
+
}
|
177
|
+
def initialize(
|
178
|
+
disable_stripe_user_authentication: nil,
|
179
|
+
external_account_collection: nil,
|
180
|
+
send_money: nil,
|
181
|
+
transfer_balance: nil
|
182
|
+
); end
|
183
|
+
end
|
184
|
+
# Whether the embedded component is enabled.
|
185
|
+
sig { returns(T::Boolean) }
|
186
|
+
attr_accessor :enabled
|
187
|
+
# The list of features enabled in the embedded component.
|
188
|
+
sig {
|
189
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccount::Features))
|
190
|
+
}
|
191
|
+
attr_accessor :features
|
192
|
+
sig {
|
193
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccount::Features)).void
|
194
|
+
}
|
195
|
+
def initialize(enabled: nil, features: nil); end
|
196
|
+
end
|
197
|
+
class FinancialAccountTransactions < Stripe::RequestParams
|
198
|
+
class Features < Stripe::RequestParams
|
199
|
+
# Whether to allow card spend dispute management features.
|
200
|
+
sig { returns(T.nilable(T::Boolean)) }
|
201
|
+
attr_accessor :card_spend_dispute_management
|
202
|
+
sig { params(card_spend_dispute_management: T.nilable(T::Boolean)).void }
|
203
|
+
def initialize(card_spend_dispute_management: nil); end
|
204
|
+
end
|
205
|
+
# Whether the embedded component is enabled.
|
206
|
+
sig { returns(T::Boolean) }
|
207
|
+
attr_accessor :enabled
|
208
|
+
# The list of features enabled in the embedded component.
|
209
|
+
sig {
|
210
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccountTransactions::Features))
|
211
|
+
}
|
212
|
+
attr_accessor :features
|
213
|
+
sig {
|
214
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccountTransactions::Features)).void
|
215
|
+
}
|
216
|
+
def initialize(enabled: nil, features: nil); end
|
217
|
+
end
|
218
|
+
class IssuingCard < Stripe::RequestParams
|
219
|
+
class Features < Stripe::RequestParams
|
220
|
+
# Whether to allow card management features.
|
221
|
+
sig { returns(T.nilable(T::Boolean)) }
|
222
|
+
attr_accessor :card_management
|
223
|
+
# Whether to allow card spend dispute management features.
|
224
|
+
sig { returns(T.nilable(T::Boolean)) }
|
225
|
+
attr_accessor :card_spend_dispute_management
|
226
|
+
# Whether to allow cardholder management features.
|
227
|
+
sig { returns(T.nilable(T::Boolean)) }
|
228
|
+
attr_accessor :cardholder_management
|
229
|
+
# Whether to allow spend control management features.
|
230
|
+
sig { returns(T.nilable(T::Boolean)) }
|
231
|
+
attr_accessor :spend_control_management
|
232
|
+
sig {
|
233
|
+
params(card_management: T.nilable(T::Boolean), card_spend_dispute_management: T.nilable(T::Boolean), cardholder_management: T.nilable(T::Boolean), spend_control_management: T.nilable(T::Boolean)).void
|
234
|
+
}
|
235
|
+
def initialize(
|
236
|
+
card_management: nil,
|
237
|
+
card_spend_dispute_management: nil,
|
238
|
+
cardholder_management: nil,
|
239
|
+
spend_control_management: nil
|
240
|
+
); end
|
241
|
+
end
|
242
|
+
# Whether the embedded component is enabled.
|
243
|
+
sig { returns(T::Boolean) }
|
244
|
+
attr_accessor :enabled
|
245
|
+
# The list of features enabled in the embedded component.
|
246
|
+
sig {
|
247
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCard::Features))
|
248
|
+
}
|
249
|
+
attr_accessor :features
|
250
|
+
sig {
|
251
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCard::Features)).void
|
252
|
+
}
|
253
|
+
def initialize(enabled: nil, features: nil); end
|
254
|
+
end
|
255
|
+
class IssuingCardsList < Stripe::RequestParams
|
256
|
+
class Features < Stripe::RequestParams
|
257
|
+
# Whether to allow card management features.
|
258
|
+
sig { returns(T.nilable(T::Boolean)) }
|
259
|
+
attr_accessor :card_management
|
260
|
+
# Whether to allow card spend dispute management features.
|
261
|
+
sig { returns(T.nilable(T::Boolean)) }
|
262
|
+
attr_accessor :card_spend_dispute_management
|
263
|
+
# Whether to allow cardholder management features.
|
264
|
+
sig { returns(T.nilable(T::Boolean)) }
|
265
|
+
attr_accessor :cardholder_management
|
266
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
267
|
+
sig { returns(T.nilable(T::Boolean)) }
|
268
|
+
attr_accessor :disable_stripe_user_authentication
|
269
|
+
# Whether to allow spend control management features.
|
270
|
+
sig { returns(T.nilable(T::Boolean)) }
|
271
|
+
attr_accessor :spend_control_management
|
272
|
+
sig {
|
273
|
+
params(card_management: T.nilable(T::Boolean), card_spend_dispute_management: T.nilable(T::Boolean), cardholder_management: T.nilable(T::Boolean), disable_stripe_user_authentication: T.nilable(T::Boolean), spend_control_management: T.nilable(T::Boolean)).void
|
274
|
+
}
|
275
|
+
def initialize(
|
276
|
+
card_management: nil,
|
277
|
+
card_spend_dispute_management: nil,
|
278
|
+
cardholder_management: nil,
|
279
|
+
disable_stripe_user_authentication: nil,
|
280
|
+
spend_control_management: nil
|
281
|
+
); end
|
282
|
+
end
|
283
|
+
# Whether the embedded component is enabled.
|
284
|
+
sig { returns(T::Boolean) }
|
285
|
+
attr_accessor :enabled
|
286
|
+
# The list of features enabled in the embedded component.
|
287
|
+
sig {
|
288
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCardsList::Features))
|
289
|
+
}
|
290
|
+
attr_accessor :features
|
291
|
+
sig {
|
292
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCardsList::Features)).void
|
293
|
+
}
|
294
|
+
def initialize(enabled: nil, features: nil); end
|
295
|
+
end
|
296
|
+
class NotificationBanner < Stripe::RequestParams
|
297
|
+
class Features < Stripe::RequestParams
|
298
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
299
|
+
sig { returns(T.nilable(T::Boolean)) }
|
300
|
+
attr_accessor :disable_stripe_user_authentication
|
301
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
302
|
+
sig { returns(T.nilable(T::Boolean)) }
|
303
|
+
attr_accessor :external_account_collection
|
304
|
+
sig {
|
305
|
+
params(disable_stripe_user_authentication: T.nilable(T::Boolean), external_account_collection: T.nilable(T::Boolean)).void
|
306
|
+
}
|
307
|
+
def initialize(
|
308
|
+
disable_stripe_user_authentication: nil,
|
309
|
+
external_account_collection: nil
|
310
|
+
); end
|
311
|
+
end
|
312
|
+
# Whether the embedded component is enabled.
|
313
|
+
sig { returns(T::Boolean) }
|
314
|
+
attr_accessor :enabled
|
315
|
+
# The list of features enabled in the embedded component.
|
316
|
+
sig {
|
317
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::NotificationBanner::Features))
|
318
|
+
}
|
319
|
+
attr_accessor :features
|
320
|
+
sig {
|
321
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::NotificationBanner::Features)).void
|
322
|
+
}
|
323
|
+
def initialize(enabled: nil, features: nil); end
|
324
|
+
end
|
325
|
+
class PaymentDetails < Stripe::RequestParams
|
326
|
+
class Features < Stripe::RequestParams
|
327
|
+
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
328
|
+
sig { returns(T.nilable(T::Boolean)) }
|
329
|
+
attr_accessor :capture_payments
|
330
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
331
|
+
sig { returns(T.nilable(T::Boolean)) }
|
332
|
+
attr_accessor :destination_on_behalf_of_charge_management
|
333
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
334
|
+
sig { returns(T.nilable(T::Boolean)) }
|
335
|
+
attr_accessor :dispute_management
|
336
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
337
|
+
sig { returns(T.nilable(T::Boolean)) }
|
338
|
+
attr_accessor :refund_management
|
339
|
+
sig {
|
340
|
+
params(capture_payments: T.nilable(T::Boolean), destination_on_behalf_of_charge_management: T.nilable(T::Boolean), dispute_management: T.nilable(T::Boolean), refund_management: T.nilable(T::Boolean)).void
|
341
|
+
}
|
342
|
+
def initialize(
|
343
|
+
capture_payments: nil,
|
344
|
+
destination_on_behalf_of_charge_management: nil,
|
345
|
+
dispute_management: nil,
|
346
|
+
refund_management: nil
|
347
|
+
); end
|
348
|
+
end
|
349
|
+
# Whether the embedded component is enabled.
|
350
|
+
sig { returns(T::Boolean) }
|
351
|
+
attr_accessor :enabled
|
352
|
+
# The list of features enabled in the embedded component.
|
353
|
+
sig {
|
354
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDetails::Features))
|
355
|
+
}
|
356
|
+
attr_accessor :features
|
357
|
+
sig {
|
358
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDetails::Features)).void
|
359
|
+
}
|
360
|
+
def initialize(enabled: nil, features: nil); end
|
361
|
+
end
|
362
|
+
class PaymentDisputes < Stripe::RequestParams
|
363
|
+
class Features < Stripe::RequestParams
|
364
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
365
|
+
sig { returns(T.nilable(T::Boolean)) }
|
366
|
+
attr_accessor :destination_on_behalf_of_charge_management
|
367
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
368
|
+
sig { returns(T.nilable(T::Boolean)) }
|
369
|
+
attr_accessor :dispute_management
|
370
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
371
|
+
sig { returns(T.nilable(T::Boolean)) }
|
372
|
+
attr_accessor :refund_management
|
373
|
+
sig {
|
374
|
+
params(destination_on_behalf_of_charge_management: T.nilable(T::Boolean), dispute_management: T.nilable(T::Boolean), refund_management: T.nilable(T::Boolean)).void
|
375
|
+
}
|
376
|
+
def initialize(
|
377
|
+
destination_on_behalf_of_charge_management: nil,
|
378
|
+
dispute_management: nil,
|
379
|
+
refund_management: nil
|
380
|
+
); end
|
381
|
+
end
|
382
|
+
# Whether the embedded component is enabled.
|
383
|
+
sig { returns(T::Boolean) }
|
384
|
+
attr_accessor :enabled
|
385
|
+
# The list of features enabled in the embedded component.
|
386
|
+
sig {
|
387
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDisputes::Features))
|
388
|
+
}
|
389
|
+
attr_accessor :features
|
390
|
+
sig {
|
391
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDisputes::Features)).void
|
392
|
+
}
|
393
|
+
def initialize(enabled: nil, features: nil); end
|
394
|
+
end
|
395
|
+
class Payments < Stripe::RequestParams
|
396
|
+
class Features < Stripe::RequestParams
|
397
|
+
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
398
|
+
sig { returns(T.nilable(T::Boolean)) }
|
399
|
+
attr_accessor :capture_payments
|
400
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
401
|
+
sig { returns(T.nilable(T::Boolean)) }
|
402
|
+
attr_accessor :destination_on_behalf_of_charge_management
|
403
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
404
|
+
sig { returns(T.nilable(T::Boolean)) }
|
405
|
+
attr_accessor :dispute_management
|
406
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
407
|
+
sig { returns(T.nilable(T::Boolean)) }
|
408
|
+
attr_accessor :refund_management
|
409
|
+
sig {
|
410
|
+
params(capture_payments: T.nilable(T::Boolean), destination_on_behalf_of_charge_management: T.nilable(T::Boolean), dispute_management: T.nilable(T::Boolean), refund_management: T.nilable(T::Boolean)).void
|
411
|
+
}
|
412
|
+
def initialize(
|
413
|
+
capture_payments: nil,
|
414
|
+
destination_on_behalf_of_charge_management: nil,
|
415
|
+
dispute_management: nil,
|
416
|
+
refund_management: nil
|
417
|
+
); end
|
418
|
+
end
|
419
|
+
# Whether the embedded component is enabled.
|
420
|
+
sig { returns(T::Boolean) }
|
421
|
+
attr_accessor :enabled
|
422
|
+
# The list of features enabled in the embedded component.
|
423
|
+
sig {
|
424
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payments::Features))
|
425
|
+
}
|
426
|
+
attr_accessor :features
|
427
|
+
sig {
|
428
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payments::Features)).void
|
429
|
+
}
|
430
|
+
def initialize(enabled: nil, features: nil); end
|
431
|
+
end
|
432
|
+
class Payouts < Stripe::RequestParams
|
433
|
+
class Features < Stripe::RequestParams
|
434
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
435
|
+
sig { returns(T.nilable(T::Boolean)) }
|
436
|
+
attr_accessor :disable_stripe_user_authentication
|
437
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
438
|
+
sig { returns(T.nilable(T::Boolean)) }
|
439
|
+
attr_accessor :edit_payout_schedule
|
440
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
441
|
+
sig { returns(T.nilable(T::Boolean)) }
|
442
|
+
attr_accessor :external_account_collection
|
443
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
444
|
+
sig { returns(T.nilable(T::Boolean)) }
|
445
|
+
attr_accessor :instant_payouts
|
446
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
447
|
+
sig { returns(T.nilable(T::Boolean)) }
|
448
|
+
attr_accessor :standard_payouts
|
449
|
+
sig {
|
450
|
+
params(disable_stripe_user_authentication: T.nilable(T::Boolean), edit_payout_schedule: T.nilable(T::Boolean), external_account_collection: T.nilable(T::Boolean), instant_payouts: T.nilable(T::Boolean), standard_payouts: T.nilable(T::Boolean)).void
|
451
|
+
}
|
452
|
+
def initialize(
|
453
|
+
disable_stripe_user_authentication: nil,
|
454
|
+
edit_payout_schedule: nil,
|
455
|
+
external_account_collection: nil,
|
456
|
+
instant_payouts: nil,
|
457
|
+
standard_payouts: nil
|
458
|
+
); end
|
459
|
+
end
|
460
|
+
# Whether the embedded component is enabled.
|
461
|
+
sig { returns(T::Boolean) }
|
462
|
+
attr_accessor :enabled
|
463
|
+
# The list of features enabled in the embedded component.
|
464
|
+
sig {
|
465
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payouts::Features))
|
466
|
+
}
|
467
|
+
attr_accessor :features
|
468
|
+
sig {
|
469
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payouts::Features)).void
|
470
|
+
}
|
471
|
+
def initialize(enabled: nil, features: nil); end
|
472
|
+
end
|
473
|
+
class PayoutsList < Stripe::RequestParams
|
474
|
+
class Features < Stripe::RequestParams; end
|
475
|
+
# Whether the embedded component is enabled.
|
476
|
+
sig { returns(T::Boolean) }
|
477
|
+
attr_accessor :enabled
|
478
|
+
# The list of features enabled in the embedded component.
|
479
|
+
sig {
|
480
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PayoutsList::Features))
|
481
|
+
}
|
482
|
+
attr_accessor :features
|
483
|
+
sig {
|
484
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PayoutsList::Features)).void
|
485
|
+
}
|
486
|
+
def initialize(enabled: nil, features: nil); end
|
487
|
+
end
|
488
|
+
class TaxRegistrations < Stripe::RequestParams
|
489
|
+
class Features < Stripe::RequestParams; end
|
490
|
+
# Whether the embedded component is enabled.
|
491
|
+
sig { returns(T::Boolean) }
|
492
|
+
attr_accessor :enabled
|
493
|
+
# The list of features enabled in the embedded component.
|
494
|
+
sig {
|
495
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxRegistrations::Features))
|
496
|
+
}
|
497
|
+
attr_accessor :features
|
498
|
+
sig {
|
499
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxRegistrations::Features)).void
|
500
|
+
}
|
501
|
+
def initialize(enabled: nil, features: nil); end
|
502
|
+
end
|
503
|
+
class TaxSettings < Stripe::RequestParams
|
504
|
+
class Features < Stripe::RequestParams; end
|
505
|
+
# Whether the embedded component is enabled.
|
506
|
+
sig { returns(T::Boolean) }
|
507
|
+
attr_accessor :enabled
|
508
|
+
# The list of features enabled in the embedded component.
|
509
|
+
sig {
|
510
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxSettings::Features))
|
511
|
+
}
|
512
|
+
attr_accessor :features
|
513
|
+
sig {
|
514
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxSettings::Features)).void
|
515
|
+
}
|
516
|
+
def initialize(enabled: nil, features: nil); end
|
517
|
+
end
|
518
|
+
# Configuration for the [account management](/connect/supported-embedded-components/account-management/) embedded component.
|
519
|
+
sig {
|
520
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountManagement))
|
521
|
+
}
|
522
|
+
attr_accessor :account_management
|
523
|
+
# Configuration for the [account onboarding](/connect/supported-embedded-components/account-onboarding/) embedded component.
|
524
|
+
sig {
|
525
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountOnboarding))
|
526
|
+
}
|
527
|
+
attr_accessor :account_onboarding
|
528
|
+
# Configuration for the [balances](/connect/supported-embedded-components/balances/) embedded component.
|
529
|
+
sig {
|
530
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Balances))
|
531
|
+
}
|
532
|
+
attr_accessor :balances
|
533
|
+
# Configuration for the [disputes list](/connect/supported-embedded-components/disputes-list/) embedded component.
|
534
|
+
sig {
|
535
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::DisputesList))
|
536
|
+
}
|
537
|
+
attr_accessor :disputes_list
|
538
|
+
# Configuration for the [documents](/connect/supported-embedded-components/documents/) embedded component.
|
539
|
+
sig {
|
540
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents))
|
541
|
+
}
|
542
|
+
attr_accessor :documents
|
543
|
+
# Configuration for the [financial account](/connect/supported-embedded-components/financial-account/) embedded component.
|
544
|
+
sig {
|
545
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccount))
|
546
|
+
}
|
547
|
+
attr_accessor :financial_account
|
548
|
+
# Configuration for the [financial account transactions](/connect/supported-embedded-components/financial-account-transactions/) embedded component.
|
549
|
+
sig {
|
550
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccountTransactions))
|
551
|
+
}
|
552
|
+
attr_accessor :financial_account_transactions
|
553
|
+
# Configuration for the [issuing card](/connect/supported-embedded-components/issuing-card/) embedded component.
|
554
|
+
sig {
|
555
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCard))
|
556
|
+
}
|
557
|
+
attr_accessor :issuing_card
|
558
|
+
# Configuration for the [issuing cards list](/connect/supported-embedded-components/issuing-cards-list/) embedded component.
|
559
|
+
sig {
|
560
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCardsList))
|
561
|
+
}
|
562
|
+
attr_accessor :issuing_cards_list
|
563
|
+
# Configuration for the [notification banner](/connect/supported-embedded-components/notification-banner/) embedded component.
|
564
|
+
sig {
|
565
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::NotificationBanner))
|
566
|
+
}
|
567
|
+
attr_accessor :notification_banner
|
568
|
+
# Configuration for the [payment details](/connect/supported-embedded-components/payment-details/) embedded component.
|
569
|
+
sig {
|
570
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDetails))
|
571
|
+
}
|
572
|
+
attr_accessor :payment_details
|
573
|
+
# Configuration for the [payment disputes](/connect/supported-embedded-components/payment-disputes/) embedded component.
|
574
|
+
sig {
|
575
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDisputes))
|
576
|
+
}
|
577
|
+
attr_accessor :payment_disputes
|
578
|
+
# Configuration for the [payments](/connect/supported-embedded-components/payments/) embedded component.
|
579
|
+
sig {
|
580
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payments))
|
581
|
+
}
|
582
|
+
attr_accessor :payments
|
583
|
+
# Configuration for the [payouts](/connect/supported-embedded-components/payouts/) embedded component.
|
584
|
+
sig {
|
585
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payouts))
|
586
|
+
}
|
587
|
+
attr_accessor :payouts
|
588
|
+
# Configuration for the [payouts list](/connect/supported-embedded-components/payouts-list/) embedded component.
|
589
|
+
sig {
|
590
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PayoutsList))
|
591
|
+
}
|
592
|
+
attr_accessor :payouts_list
|
593
|
+
# Configuration for the [tax registrations](/connect/supported-embedded-components/tax-registrations/) embedded component.
|
594
|
+
sig {
|
595
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxRegistrations))
|
596
|
+
}
|
597
|
+
attr_accessor :tax_registrations
|
598
|
+
# Configuration for the [tax settings](/connect/supported-embedded-components/tax-settings/) embedded component.
|
599
|
+
sig {
|
600
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxSettings))
|
601
|
+
}
|
602
|
+
attr_accessor :tax_settings
|
603
|
+
sig {
|
604
|
+
params(account_management: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountManagement), account_onboarding: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountOnboarding), balances: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Balances), disputes_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::DisputesList), documents: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents), financial_account: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccount), financial_account_transactions: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccountTransactions), issuing_card: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCard), issuing_cards_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCardsList), notification_banner: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::NotificationBanner), payment_details: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDetails), payment_disputes: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDisputes), payments: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payments), payouts: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payouts), payouts_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PayoutsList), tax_registrations: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxRegistrations), tax_settings: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxSettings)).void
|
605
|
+
}
|
606
|
+
def initialize(
|
607
|
+
account_management: nil,
|
608
|
+
account_onboarding: nil,
|
609
|
+
balances: nil,
|
610
|
+
disputes_list: nil,
|
611
|
+
documents: nil,
|
612
|
+
financial_account: nil,
|
613
|
+
financial_account_transactions: nil,
|
614
|
+
issuing_card: nil,
|
615
|
+
issuing_cards_list: nil,
|
616
|
+
notification_banner: nil,
|
617
|
+
payment_details: nil,
|
618
|
+
payment_disputes: nil,
|
619
|
+
payments: nil,
|
620
|
+
payouts: nil,
|
621
|
+
payouts_list: nil,
|
622
|
+
tax_registrations: nil,
|
623
|
+
tax_settings: nil
|
624
|
+
); end
|
625
|
+
end
|
626
|
+
# The identifier of the account to create an Account Session for.
|
627
|
+
sig { returns(String) }
|
628
|
+
attr_accessor :account
|
629
|
+
# Each key of the dictionary represents an embedded component, and each embedded component maps to its configuration (e.g. whether it has been enabled or not).
|
630
|
+
sig { returns(::Stripe::AccountSessionService::CreateParams::Components) }
|
631
|
+
attr_accessor :components
|
632
|
+
# Specifies which fields in the response should be expanded.
|
633
|
+
sig { returns(T.nilable(T::Array[String])) }
|
634
|
+
attr_accessor :expand
|
635
|
+
sig {
|
636
|
+
params(account: String, components: ::Stripe::AccountSessionService::CreateParams::Components, expand: T.nilable(T::Array[String])).void
|
637
|
+
}
|
638
|
+
def initialize(account: nil, components: nil, expand: nil); end
|
639
|
+
end
|
640
|
+
# Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access.
|
641
|
+
sig {
|
642
|
+
params(params: T.any(::Stripe::AccountSessionService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountSession)
|
643
|
+
}
|
644
|
+
def create(params = {}, opts = {}); end
|
645
|
+
end
|
646
|
+
end
|