stripe 15.0.0 → 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 +129 -44
- data/CONTRIBUTING.md +25 -0
- data/Gemfile +1 -1
- data/OPENAPI_VERSION +1 -1
- data/README.md +28 -55
- data/VERSION +1 -1
- data/lib/stripe/api_operations/nested_resource.rb +35 -35
- data/lib/stripe/api_requestor.rb +1 -1
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/connection_manager.rb +1 -3
- data/lib/stripe/event_types.rb +1 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +21 -0
- data/lib/stripe/oauth.rb +1 -1
- data/lib/stripe/resources/account.rb +198 -28
- data/lib/stripe/resources/account_session.rb +176 -72
- data/lib/stripe/resources/apple_pay_domain.rb +1 -2
- data/lib/stripe/resources/balance.rb +42 -0
- data/lib/stripe/resources/balance_transaction.rb +2 -0
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing_portal/session.rb +3 -3
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/charge.rb +43 -20
- data/lib/stripe/resources/checkout/session.rb +120 -19
- data/lib/stripe/resources/confirmation_token.rb +119 -100
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +2 -3
- data/lib/stripe/resources/credit_note.rb +21 -18
- data/lib/stripe/resources/customer.rb +4 -6
- data/lib/stripe/resources/customer_session.rb +5 -5
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +3 -1
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/funding_instructions.rb +1 -1
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +51 -11
- data/lib/stripe/resources/invoice.rb +146 -32
- data/lib/stripe/resources/invoice_item.rb +3 -7
- data/lib/stripe/resources/invoice_line_item.rb +1 -1
- data/lib/stripe/resources/invoice_payment.rb +9 -2
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- data/lib/stripe/resources/login_link.rb +2 -1
- data/lib/stripe/resources/mandate.rb +3 -0
- data/lib/stripe/resources/payment_intent.rb +602 -325
- data/lib/stripe/resources/payment_method.rb +76 -117
- data/lib/stripe/resources/payment_method_configuration.rb +356 -2
- data/lib/stripe/resources/payment_method_domain.rb +15 -2
- data/lib/stripe/resources/payout.rb +4 -4
- data/lib/stripe/resources/person.rb +27 -3
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -1
- data/lib/stripe/resources/product.rb +1 -2
- data/lib/stripe/resources/quote.rb +28 -3
- data/lib/stripe/resources/radar/value_list.rb +1 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -2
- data/lib/stripe/resources/refund.rb +8 -1
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +414 -293
- data/lib/stripe/resources/source.rb +1 -1
- data/lib/stripe/resources/subscription.rb +149 -27
- data/lib/stripe/resources/subscription_item.rb +33 -0
- data/lib/stripe/resources/subscription_schedule.rb +141 -4
- data/lib/stripe/resources/tax/calculation.rb +6 -2
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +261 -1
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +3 -4
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +2 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +426 -6
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +63 -2
- data/lib/stripe/resources/transfer.rb +1 -1
- data/lib/stripe/resources/treasury/financial_account.rb +5 -1
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
- data/lib/stripe/resources/v2/event.rb +2 -2
- data/lib/stripe/resources/v2/event_destination.rb +2 -2
- data/lib/stripe/resources/webhook_endpoint.rb +1 -2
- data/lib/stripe/resources.rb +1 -0
- data/lib/stripe/services/account_external_account_service.rb +3 -4
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +85 -2
- data/lib/stripe/services/account_service.rb +169 -20
- data/lib/stripe/services/account_session_service.rb +115 -47
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/application_fee_service.rb +1 -1
- data/lib/stripe/services/apps_service.rb +1 -1
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/billing_portal/session_service.rb +1 -1
- data/lib/stripe/services/billing_portal_service.rb +1 -1
- data/lib/stripe/services/billing_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +4 -4
- data/lib/stripe/services/checkout/session_service.rb +94 -15
- data/lib/stripe/services/checkout_service.rb +1 -1
- data/lib/stripe/services/climate_service.rb +1 -1
- data/lib/stripe/services/coupon_service.rb +1 -2
- data/lib/stripe/services/credit_note_preview_lines_service.rb +3 -3
- data/lib/stripe/services/credit_note_service.rb +14 -15
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_method_service.rb +1 -1
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +5 -7
- data/lib/stripe/services/customer_session_service.rb +1 -1
- data/lib/stripe/services/customer_tax_id_service.rb +2 -3
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/entitlements_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +1 -1
- data/lib/stripe/services/financial_connections_service.rb +1 -1
- data/lib/stripe/services/forwarding_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +21 -5
- data/lib/stripe/services/identity_service.rb +1 -1
- data/lib/stripe/services/invoice_item_service.rb +1 -2
- data/lib/stripe/services/invoice_service.rb +122 -28
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/card_service.rb +1 -1
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/issuing_service.rb +1 -1
- data/lib/stripe/services/payment_intent_service.rb +563 -313
- data/lib/stripe/services/payment_link_service.rb +1 -1
- data/lib/stripe/services/payment_method_configuration_service.rb +254 -2
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +59 -105
- data/lib/stripe/services/payout_service.rb +2 -2
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -2
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +3 -4
- data/lib/stripe/services/promotion_code_service.rb +1 -1
- data/lib/stripe/services/quote_service.rb +21 -4
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
- data/lib/stripe/services/radar/value_list_service.rb +1 -2
- data/lib/stripe/services/radar_service.rb +1 -1
- data/lib/stripe/services/reporting_service.rb +1 -1
- data/lib/stripe/services/setup_intent_service.rb +403 -291
- data/lib/stripe/services/sigma_service.rb +1 -1
- data/lib/stripe/services/source_service.rb +2 -2
- data/lib/stripe/services/subscription_item_service.rb +26 -0
- data/lib/stripe/services/subscription_schedule_service.rb +106 -3
- data/lib/stripe/services/subscription_service.rb +121 -26
- data/lib/stripe/services/tax/calculation_service.rb +6 -2
- data/lib/stripe/services/tax/registration_service.rb +170 -1
- data/lib/stripe/services/tax/transaction_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +2 -3
- data/lib/stripe/services/tax_service.rb +1 -1
- data/lib/stripe/services/terminal/configuration_service.rb +1 -2
- data/lib/stripe/services/terminal/location_service.rb +2 -3
- data/lib/stripe/services/terminal/reader_service.rb +196 -2
- data/lib/stripe/services/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +90 -91
- data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
- data/lib/stripe/services/test_helpers_service.rb +1 -1
- data/lib/stripe/services/token_service.rb +62 -1
- data/lib/stripe/services/transfer_service.rb +2 -2
- data/lib/stripe/services/treasury/financial_account_service.rb +6 -2
- data/lib/stripe/services/treasury_service.rb +1 -1
- data/lib/stripe/services/v1_services.rb +1 -1
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/billing_service.rb +3 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +17 -23
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/v2/core_service.rb +1 -1
- data/lib/stripe/services/v2_services.rb +1 -1
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +1 -1
- data/rbi/stripe/resources/account.rbi +190 -35
- data/rbi/stripe/resources/account_session.rbi +196 -77
- data/rbi/stripe/resources/apple_pay_domain.rbi +1 -3
- data/rbi/stripe/resources/balance.rbi +55 -0
- data/rbi/stripe/resources/balance_transaction.rbi +3 -0
- data/rbi/stripe/resources/bank_account.rbi +2 -2
- data/rbi/stripe/resources/billing/alert.rbi +2 -2
- data/rbi/stripe/resources/billing_portal/session.rbi +3 -3
- data/rbi/stripe/resources/capability.rbi +1 -1
- data/rbi/stripe/resources/charge.rbi +52 -20
- data/rbi/stripe/resources/checkout/session.rbi +133 -24
- data/rbi/stripe/resources/confirmation_token.rbi +140 -115
- data/rbi/stripe/resources/country_spec.rbi +1 -1
- data/rbi/stripe/resources/coupon.rbi +2 -4
- data/rbi/stripe/resources/credit_note.rbi +23 -18
- data/rbi/stripe/resources/customer.rbi +4 -8
- data/rbi/stripe/resources/customer_session.rbi +5 -5
- data/rbi/stripe/resources/dispute.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +4 -1
- data/rbi/stripe/resources/file.rbi +1 -1
- data/rbi/stripe/resources/identity/verification_report.rbi +9 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +59 -12
- data/rbi/stripe/resources/invoice.rbi +149 -40
- data/rbi/stripe/resources/invoice_item.rbi +3 -8
- data/rbi/stripe/resources/invoice_line_item.rbi +2 -2
- data/rbi/stripe/resources/invoice_payment.rbi +9 -2
- data/rbi/stripe/resources/issuing/authorization.rbi +8 -8
- data/rbi/stripe/resources/issuing/card.rbi +1 -1
- data/rbi/stripe/resources/issuing/dispute.rbi +3 -3
- data/rbi/stripe/resources/login_link.rbi +2 -1
- data/rbi/stripe/resources/mandate.rbi +4 -0
- data/rbi/stripe/resources/payment_intent.rbi +637 -381
- data/rbi/stripe/resources/payment_method.rbi +81 -133
- data/rbi/stripe/resources/payment_method_configuration.rbi +400 -4
- data/rbi/stripe/resources/payment_method_domain.rbi +18 -2
- data/rbi/stripe/resources/payout.rbi +4 -4
- data/rbi/stripe/resources/person.rbi +33 -3
- data/rbi/stripe/resources/plan.rbi +2 -4
- data/rbi/stripe/resources/price.rbi +1 -1
- data/rbi/stripe/resources/product.rbi +1 -3
- data/rbi/stripe/resources/quote.rbi +25 -3
- data/rbi/stripe/resources/radar/value_list.rbi +1 -3
- data/rbi/stripe/resources/radar/value_list_item.rbi +1 -3
- data/rbi/stripe/resources/refund.rbi +8 -1
- data/rbi/stripe/resources/reversal.rbi +1 -1
- data/rbi/stripe/resources/review.rbi +1 -1
- data/rbi/stripe/resources/setup_attempt.rbi +1 -1
- data/rbi/stripe/resources/setup_intent.rbi +464 -346
- data/rbi/stripe/resources/source.rbi +1 -1
- data/rbi/stripe/resources/subscription.rbi +150 -34
- data/rbi/stripe/resources/subscription_item.rbi +36 -2
- data/rbi/stripe/resources/subscription_schedule.rbi +161 -11
- data/rbi/stripe/resources/tax/calculation.rbi +7 -3
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +4 -1
- data/rbi/stripe/resources/tax/registration.rbi +249 -2
- data/rbi/stripe/resources/tax/transaction.rbi +1 -1
- data/rbi/stripe/resources/tax_id.rbi +3 -5
- data/rbi/stripe/resources/tax_rate.rbi +2 -2
- data/rbi/stripe/resources/terminal/configuration.rbi +2 -3
- data/rbi/stripe/resources/terminal/location.rbi +4 -6
- data/rbi/stripe/resources/terminal/reader.rbi +415 -8
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +1 -3
- data/rbi/stripe/resources/token.rbi +70 -4
- data/rbi/stripe/resources/transfer.rbi +1 -1
- data/rbi/stripe/resources/treasury/financial_account.rbi +6 -2
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +3 -3
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +3 -3
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +3 -3
- data/rbi/stripe/resources/v2/event.rbi +3 -3
- data/rbi/stripe/resources/v2/event_destination.rbi +3 -3
- data/rbi/stripe/resources/webhook_endpoint.rbi +1 -3
- data/rbi/stripe/services/account_external_account_service.rbi +3 -5
- data/rbi/stripe/services/account_login_link_service.rbi +1 -1
- data/rbi/stripe/services/account_person_service.rbi +93 -5
- data/rbi/stripe/services/account_service.rbi +166 -28
- data/rbi/stripe/services/account_session_service.rbi +126 -52
- data/rbi/stripe/services/apple_pay_domain_service.rbi +1 -3
- data/rbi/stripe/services/balance_service.rbi +1 -1
- data/rbi/stripe/services/billing/alert_service.rbi +2 -2
- data/rbi/stripe/services/billing_portal/session_service.rbi +1 -1
- data/rbi/stripe/services/charge_service.rbi +4 -4
- data/rbi/stripe/services/checkout/session_service.rbi +104 -19
- data/rbi/stripe/services/coupon_service.rbi +1 -3
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +3 -3
- data/rbi/stripe/services/credit_note_service.rbi +13 -14
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +3 -3
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +2 -2
- data/rbi/stripe/services/customer_payment_method_service.rbi +1 -1
- data/rbi/stripe/services/customer_payment_source_service.rbi +1 -1
- data/rbi/stripe/services/customer_service.rbi +4 -8
- data/rbi/stripe/services/customer_session_service.rbi +1 -1
- data/rbi/stripe/services/customer_tax_id_service.rbi +2 -4
- data/rbi/stripe/services/dispute_service.rbi +1 -1
- data/rbi/stripe/services/file_service.rbi +1 -1
- data/rbi/stripe/services/identity/verification_session_service.rbi +22 -6
- data/rbi/stripe/services/invoice_item_service.rbi +1 -3
- data/rbi/stripe/services/invoice_service.rbi +126 -35
- data/rbi/stripe/services/issuing/authorization_service.rbi +4 -4
- data/rbi/stripe/services/issuing/card_service.rbi +1 -1
- data/rbi/stripe/services/issuing/dispute_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +599 -369
- data/rbi/stripe/services/payment_method_configuration_service.rbi +280 -4
- data/rbi/stripe/services/payment_method_domain_service.rbi +1 -1
- data/rbi/stripe/services/payment_method_service.rbi +62 -121
- data/rbi/stripe/services/payout_service.rbi +2 -2
- data/rbi/stripe/services/plan_service.rbi +2 -4
- data/rbi/stripe/services/price_service.rbi +2 -2
- data/rbi/stripe/services/product_feature_service.rbi +1 -3
- data/rbi/stripe/services/product_service.rbi +2 -4
- data/rbi/stripe/services/promotion_code_service.rbi +1 -1
- data/rbi/stripe/services/quote_service.rbi +16 -3
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +1 -1
- data/rbi/stripe/services/radar/value_list_item_service.rbi +1 -3
- data/rbi/stripe/services/radar/value_list_service.rbi +1 -3
- data/rbi/stripe/services/setup_intent_service.rbi +457 -344
- data/rbi/stripe/services/source_service.rbi +1 -1
- data/rbi/stripe/services/subscription_item_service.rbi +28 -2
- data/rbi/stripe/services/subscription_schedule_service.rbi +119 -10
- data/rbi/stripe/services/subscription_service.rbi +121 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +6 -2
- data/rbi/stripe/services/tax/registration_service.rbi +171 -2
- data/rbi/stripe/services/tax_id_service.rbi +2 -4
- data/rbi/stripe/services/terminal/configuration_service.rbi +1 -3
- data/rbi/stripe/services/terminal/location_service.rbi +4 -6
- data/rbi/stripe/services/terminal/reader_service.rbi +200 -4
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +106 -106
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +31 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +1 -3
- data/rbi/stripe/services/token_service.rbi +71 -3
- data/rbi/stripe/services/transfer_service.rbi +1 -1
- data/rbi/stripe/services/treasury/financial_account_service.rbi +6 -2
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +1 -3
- data/rbi/stripe/services/v2/billing_service.rbi +1 -1
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +14 -22
- data/rbi/stripe/services/v2/core/event_service.rbi +1 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +1 -3
- metadata +5 -2
@@ -8,10 +8,10 @@ module Stripe
|
|
8
8
|
class Components < Stripe::RequestParams
|
9
9
|
class AccountManagement < Stripe::RequestParams
|
10
10
|
class Features < Stripe::RequestParams
|
11
|
-
#
|
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
12
|
sig { returns(T.nilable(T::Boolean)) }
|
13
13
|
attr_accessor :disable_stripe_user_authentication
|
14
|
-
# Whether
|
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
15
|
sig { returns(T.nilable(T::Boolean)) }
|
16
16
|
attr_accessor :external_account_collection
|
17
17
|
sig {
|
@@ -37,10 +37,10 @@ module Stripe
|
|
37
37
|
end
|
38
38
|
class AccountOnboarding < Stripe::RequestParams
|
39
39
|
class Features < Stripe::RequestParams
|
40
|
-
#
|
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
41
|
sig { returns(T.nilable(T::Boolean)) }
|
42
42
|
attr_accessor :disable_stripe_user_authentication
|
43
|
-
# Whether
|
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
44
|
sig { returns(T.nilable(T::Boolean)) }
|
45
45
|
attr_accessor :external_account_collection
|
46
46
|
sig {
|
@@ -66,19 +66,19 @@ module Stripe
|
|
66
66
|
end
|
67
67
|
class Balances < Stripe::RequestParams
|
68
68
|
class Features < Stripe::RequestParams
|
69
|
-
#
|
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
70
|
sig { returns(T.nilable(T::Boolean)) }
|
71
71
|
attr_accessor :disable_stripe_user_authentication
|
72
|
-
# Whether to allow payout schedule to be changed.
|
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
73
|
sig { returns(T.nilable(T::Boolean)) }
|
74
74
|
attr_accessor :edit_payout_schedule
|
75
|
-
# Whether
|
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
76
|
sig { returns(T.nilable(T::Boolean)) }
|
77
77
|
attr_accessor :external_account_collection
|
78
|
-
# Whether to allow creation of instant payouts.
|
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
79
|
sig { returns(T.nilable(T::Boolean)) }
|
80
80
|
attr_accessor :instant_payouts
|
81
|
-
# Whether to allow creation of standard 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
82
|
sig { returns(T.nilable(T::Boolean)) }
|
83
83
|
attr_accessor :standard_payouts
|
84
84
|
sig {
|
@@ -105,14 +105,49 @@ module Stripe
|
|
105
105
|
}
|
106
106
|
def initialize(enabled: nil, features: nil); end
|
107
107
|
end
|
108
|
-
class
|
108
|
+
class DisputesList < Stripe::RequestParams
|
109
109
|
class Features < Stripe::RequestParams
|
110
|
-
|
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
|
111
131
|
end
|
112
132
|
# Whether the embedded component is enabled.
|
113
133
|
sig { returns(T::Boolean) }
|
114
134
|
attr_accessor :enabled
|
115
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.
|
116
151
|
sig {
|
117
152
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents::Features))
|
118
153
|
}
|
@@ -124,10 +159,10 @@ module Stripe
|
|
124
159
|
end
|
125
160
|
class FinancialAccount < Stripe::RequestParams
|
126
161
|
class Features < Stripe::RequestParams
|
127
|
-
#
|
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`.
|
128
163
|
sig { returns(T.nilable(T::Boolean)) }
|
129
164
|
attr_accessor :disable_stripe_user_authentication
|
130
|
-
# Whether
|
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`.
|
131
166
|
sig { returns(T.nilable(T::Boolean)) }
|
132
167
|
attr_accessor :external_account_collection
|
133
168
|
# Whether to allow sending money.
|
@@ -228,7 +263,7 @@ module Stripe
|
|
228
263
|
# Whether to allow cardholder management features.
|
229
264
|
sig { returns(T.nilable(T::Boolean)) }
|
230
265
|
attr_accessor :cardholder_management
|
231
|
-
#
|
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`.
|
232
267
|
sig { returns(T.nilable(T::Boolean)) }
|
233
268
|
attr_accessor :disable_stripe_user_authentication
|
234
269
|
# Whether to allow spend control management features.
|
@@ -260,10 +295,10 @@ module Stripe
|
|
260
295
|
end
|
261
296
|
class NotificationBanner < Stripe::RequestParams
|
262
297
|
class Features < Stripe::RequestParams
|
263
|
-
#
|
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`.
|
264
299
|
sig { returns(T.nilable(T::Boolean)) }
|
265
300
|
attr_accessor :disable_stripe_user_authentication
|
266
|
-
# Whether
|
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`.
|
267
302
|
sig { returns(T.nilable(T::Boolean)) }
|
268
303
|
attr_accessor :external_account_collection
|
269
304
|
sig {
|
@@ -292,13 +327,13 @@ module Stripe
|
|
292
327
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
293
328
|
sig { returns(T.nilable(T::Boolean)) }
|
294
329
|
attr_accessor :capture_payments
|
295
|
-
# Whether
|
330
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
296
331
|
sig { returns(T.nilable(T::Boolean)) }
|
297
332
|
attr_accessor :destination_on_behalf_of_charge_management
|
298
|
-
# Whether
|
333
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
299
334
|
sig { returns(T.nilable(T::Boolean)) }
|
300
335
|
attr_accessor :dispute_management
|
301
|
-
# Whether
|
336
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
302
337
|
sig { returns(T.nilable(T::Boolean)) }
|
303
338
|
attr_accessor :refund_management
|
304
339
|
sig {
|
@@ -324,18 +359,51 @@ module Stripe
|
|
324
359
|
}
|
325
360
|
def initialize(enabled: nil, features: nil); end
|
326
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
|
327
395
|
class Payments < Stripe::RequestParams
|
328
396
|
class Features < Stripe::RequestParams
|
329
397
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
330
398
|
sig { returns(T.nilable(T::Boolean)) }
|
331
399
|
attr_accessor :capture_payments
|
332
|
-
# Whether
|
400
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
333
401
|
sig { returns(T.nilable(T::Boolean)) }
|
334
402
|
attr_accessor :destination_on_behalf_of_charge_management
|
335
|
-
# Whether
|
403
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
336
404
|
sig { returns(T.nilable(T::Boolean)) }
|
337
405
|
attr_accessor :dispute_management
|
338
|
-
# Whether
|
406
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
339
407
|
sig { returns(T.nilable(T::Boolean)) }
|
340
408
|
attr_accessor :refund_management
|
341
409
|
sig {
|
@@ -363,19 +431,19 @@ module Stripe
|
|
363
431
|
end
|
364
432
|
class Payouts < Stripe::RequestParams
|
365
433
|
class Features < Stripe::RequestParams
|
366
|
-
#
|
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`.
|
367
435
|
sig { returns(T.nilable(T::Boolean)) }
|
368
436
|
attr_accessor :disable_stripe_user_authentication
|
369
|
-
# Whether to allow payout schedule to be changed.
|
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`.
|
370
438
|
sig { returns(T.nilable(T::Boolean)) }
|
371
439
|
attr_accessor :edit_payout_schedule
|
372
|
-
# Whether
|
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`.
|
373
441
|
sig { returns(T.nilable(T::Boolean)) }
|
374
442
|
attr_accessor :external_account_collection
|
375
|
-
# Whether to allow creation of instant payouts.
|
443
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
376
444
|
sig { returns(T.nilable(T::Boolean)) }
|
377
445
|
attr_accessor :instant_payouts
|
378
|
-
# Whether to allow creation of standard 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`.
|
379
447
|
sig { returns(T.nilable(T::Boolean)) }
|
380
448
|
attr_accessor :standard_payouts
|
381
449
|
sig {
|
@@ -403,9 +471,7 @@ module Stripe
|
|
403
471
|
def initialize(enabled: nil, features: nil); end
|
404
472
|
end
|
405
473
|
class PayoutsList < Stripe::RequestParams
|
406
|
-
class Features < Stripe::RequestParams
|
407
|
-
|
408
|
-
end
|
474
|
+
class Features < Stripe::RequestParams; end
|
409
475
|
# Whether the embedded component is enabled.
|
410
476
|
sig { returns(T::Boolean) }
|
411
477
|
attr_accessor :enabled
|
@@ -420,9 +486,7 @@ module Stripe
|
|
420
486
|
def initialize(enabled: nil, features: nil); end
|
421
487
|
end
|
422
488
|
class TaxRegistrations < Stripe::RequestParams
|
423
|
-
class Features < Stripe::RequestParams
|
424
|
-
|
425
|
-
end
|
489
|
+
class Features < Stripe::RequestParams; end
|
426
490
|
# Whether the embedded component is enabled.
|
427
491
|
sig { returns(T::Boolean) }
|
428
492
|
attr_accessor :enabled
|
@@ -437,9 +501,7 @@ module Stripe
|
|
437
501
|
def initialize(enabled: nil, features: nil); end
|
438
502
|
end
|
439
503
|
class TaxSettings < Stripe::RequestParams
|
440
|
-
class Features < Stripe::RequestParams
|
441
|
-
|
442
|
-
end
|
504
|
+
class Features < Stripe::RequestParams; end
|
443
505
|
# Whether the embedded component is enabled.
|
444
506
|
sig { returns(T::Boolean) }
|
445
507
|
attr_accessor :enabled
|
@@ -453,88 +515,99 @@ module Stripe
|
|
453
515
|
}
|
454
516
|
def initialize(enabled: nil, features: nil); end
|
455
517
|
end
|
456
|
-
# Configuration for the account management embedded component.
|
518
|
+
# Configuration for the [account management](/connect/supported-embedded-components/account-management/) embedded component.
|
457
519
|
sig {
|
458
520
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountManagement))
|
459
521
|
}
|
460
522
|
attr_accessor :account_management
|
461
|
-
# Configuration for the account onboarding embedded component.
|
523
|
+
# Configuration for the [account onboarding](/connect/supported-embedded-components/account-onboarding/) embedded component.
|
462
524
|
sig {
|
463
525
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountOnboarding))
|
464
526
|
}
|
465
527
|
attr_accessor :account_onboarding
|
466
|
-
# Configuration for the balances embedded component.
|
528
|
+
# Configuration for the [balances](/connect/supported-embedded-components/balances/) embedded component.
|
467
529
|
sig {
|
468
530
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Balances))
|
469
531
|
}
|
470
532
|
attr_accessor :balances
|
471
|
-
# Configuration for the
|
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.
|
472
539
|
sig {
|
473
540
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents))
|
474
541
|
}
|
475
542
|
attr_accessor :documents
|
476
|
-
# Configuration for the financial account embedded component.
|
543
|
+
# Configuration for the [financial account](/connect/supported-embedded-components/financial-account/) embedded component.
|
477
544
|
sig {
|
478
545
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccount))
|
479
546
|
}
|
480
547
|
attr_accessor :financial_account
|
481
|
-
# Configuration for the financial account transactions embedded component.
|
548
|
+
# Configuration for the [financial account transactions](/connect/supported-embedded-components/financial-account-transactions/) embedded component.
|
482
549
|
sig {
|
483
550
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccountTransactions))
|
484
551
|
}
|
485
552
|
attr_accessor :financial_account_transactions
|
486
|
-
# Configuration for the issuing card embedded component.
|
553
|
+
# Configuration for the [issuing card](/connect/supported-embedded-components/issuing-card/) embedded component.
|
487
554
|
sig {
|
488
555
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCard))
|
489
556
|
}
|
490
557
|
attr_accessor :issuing_card
|
491
|
-
# Configuration for the issuing cards list embedded component.
|
558
|
+
# Configuration for the [issuing cards list](/connect/supported-embedded-components/issuing-cards-list/) embedded component.
|
492
559
|
sig {
|
493
560
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCardsList))
|
494
561
|
}
|
495
562
|
attr_accessor :issuing_cards_list
|
496
|
-
# Configuration for the notification banner embedded component.
|
563
|
+
# Configuration for the [notification banner](/connect/supported-embedded-components/notification-banner/) embedded component.
|
497
564
|
sig {
|
498
565
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::NotificationBanner))
|
499
566
|
}
|
500
567
|
attr_accessor :notification_banner
|
501
|
-
# Configuration for the payment details embedded component.
|
568
|
+
# Configuration for the [payment details](/connect/supported-embedded-components/payment-details/) embedded component.
|
502
569
|
sig {
|
503
570
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDetails))
|
504
571
|
}
|
505
572
|
attr_accessor :payment_details
|
506
|
-
# Configuration for the
|
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.
|
507
579
|
sig {
|
508
580
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payments))
|
509
581
|
}
|
510
582
|
attr_accessor :payments
|
511
|
-
# Configuration for the payouts embedded component.
|
583
|
+
# Configuration for the [payouts](/connect/supported-embedded-components/payouts/) embedded component.
|
512
584
|
sig {
|
513
585
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payouts))
|
514
586
|
}
|
515
587
|
attr_accessor :payouts
|
516
|
-
# Configuration for the payouts list embedded component.
|
588
|
+
# Configuration for the [payouts list](/connect/supported-embedded-components/payouts-list/) embedded component.
|
517
589
|
sig {
|
518
590
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PayoutsList))
|
519
591
|
}
|
520
592
|
attr_accessor :payouts_list
|
521
|
-
# Configuration for the tax registrations embedded component.
|
593
|
+
# Configuration for the [tax registrations](/connect/supported-embedded-components/tax-registrations/) embedded component.
|
522
594
|
sig {
|
523
595
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxRegistrations))
|
524
596
|
}
|
525
597
|
attr_accessor :tax_registrations
|
526
|
-
# Configuration for the tax settings embedded component.
|
598
|
+
# Configuration for the [tax settings](/connect/supported-embedded-components/tax-settings/) embedded component.
|
527
599
|
sig {
|
528
600
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxSettings))
|
529
601
|
}
|
530
602
|
attr_accessor :tax_settings
|
531
603
|
sig {
|
532
|
-
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), 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), 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
|
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
|
533
605
|
}
|
534
606
|
def initialize(
|
535
607
|
account_management: nil,
|
536
608
|
account_onboarding: nil,
|
537
609
|
balances: nil,
|
610
|
+
disputes_list: nil,
|
538
611
|
documents: nil,
|
539
612
|
financial_account: nil,
|
540
613
|
financial_account_transactions: nil,
|
@@ -542,6 +615,7 @@ module Stripe
|
|
542
615
|
issuing_cards_list: nil,
|
543
616
|
notification_banner: nil,
|
544
617
|
payment_details: nil,
|
618
|
+
payment_disputes: nil,
|
545
619
|
payments: nil,
|
546
620
|
payouts: nil,
|
547
621
|
payouts_list: nil,
|
@@ -4,9 +4,7 @@
|
|
4
4
|
# typed: true
|
5
5
|
module Stripe
|
6
6
|
class ApplePayDomainService < StripeService
|
7
|
-
class DeleteParams < Stripe::RequestParams
|
8
|
-
|
9
|
-
end
|
7
|
+
class DeleteParams < Stripe::RequestParams; end
|
10
8
|
class RetrieveParams < Stripe::RequestParams
|
11
9
|
# Specifies which fields in the response should be expanded.
|
12
10
|
sig { returns(T.nilable(T::Array[String])) }
|
@@ -12,7 +12,7 @@ module Stripe
|
|
12
12
|
def initialize(expand: nil); end
|
13
13
|
end
|
14
14
|
# Retrieves the current account balance, based on the authentication that was used to make the request.
|
15
|
-
# For a sample request, see [Accounting for negative balances](https://stripe.com/docs/connect/account-balances#accounting-for-negative-balances).
|
15
|
+
# For a sample request, see [Accounting for negative balances](https://docs.stripe.com/docs/connect/account-balances#accounting-for-negative-balances).
|
16
16
|
sig {
|
17
17
|
params(params: T.any(::Stripe::BalanceService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Balance)
|
18
18
|
}
|
@@ -57,13 +57,13 @@ module Stripe
|
|
57
57
|
sig { returns(Integer) }
|
58
58
|
attr_accessor :gte
|
59
59
|
# The [Billing Meter](/api/billing/meter) ID whose usage is monitored.
|
60
|
-
sig { returns(
|
60
|
+
sig { returns(String) }
|
61
61
|
attr_accessor :meter
|
62
62
|
# Whether the alert should only fire only once, or once per billing cycle.
|
63
63
|
sig { returns(String) }
|
64
64
|
attr_accessor :recurrence
|
65
65
|
sig {
|
66
|
-
params(filters: T.nilable(T::Array[::Stripe::Billing::AlertService::CreateParams::UsageThreshold::Filter]), gte: Integer, meter:
|
66
|
+
params(filters: T.nilable(T::Array[::Stripe::Billing::AlertService::CreateParams::UsageThreshold::Filter]), gte: Integer, meter: String, recurrence: String).void
|
67
67
|
}
|
68
68
|
def initialize(filters: nil, gte: nil, meter: nil, recurrence: nil); end
|
69
69
|
end
|
@@ -108,7 +108,7 @@ module Stripe
|
|
108
108
|
}
|
109
109
|
def initialize(id: nil, price: nil, quantity: nil); end
|
110
110
|
end
|
111
|
-
# The coupon or promotion code to apply to this subscription update.
|
111
|
+
# The coupon or promotion code to apply to this subscription update.
|
112
112
|
sig {
|
113
113
|
returns(T.nilable(T::Array[::Stripe::BillingPortal::SessionService::CreateParams::FlowData::SubscriptionUpdateConfirm::Discount]))
|
114
114
|
}
|
@@ -402,15 +402,15 @@ module Stripe
|
|
402
402
|
end
|
403
403
|
# Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.
|
404
404
|
#
|
405
|
-
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
|
405
|
+
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://docs.stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
|
406
406
|
#
|
407
|
-
# Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://stripe.com/docs/api/payment_intents/capture).
|
407
|
+
# Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture).
|
408
408
|
sig {
|
409
409
|
params(charge: String, params: T.any(::Stripe::ChargeService::CaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge)
|
410
410
|
}
|
411
411
|
def capture(charge, params = {}, opts = {}); end
|
412
412
|
|
413
|
-
# This method is no longer recommended—use the [Payment Intents API](https://stripe.com/docs/api/payment_intents)
|
413
|
+
# This method is no longer recommended—use the [Payment Intents API](https://docs.stripe.com/docs/api/payment_intents)
|
414
414
|
# to initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge
|
415
415
|
# object used to request payment.
|
416
416
|
sig {
|
@@ -430,7 +430,7 @@ module Stripe
|
|
430
430
|
}
|
431
431
|
def retrieve(charge, params = {}, opts = {}); end
|
432
432
|
|
433
|
-
# Search for charges you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
|
433
|
+
# Search for charges you've previously created using Stripe's [Search Query Language](https://docs.stripe.com/docs/search#search-query-language).
|
434
434
|
# Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
|
435
435
|
# conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
|
436
436
|
# to an hour behind during outages. Search functionality is not available to merchants in India.
|