diff --git a/API_VERSION b/API_VERSION index 6e7be19c..2ecdba01 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -8b9ebc471599fa8287b507df4a0e686cae2455cd \ No newline at end of file +d6534f3d076849c4f6df1414d4c477334e431ffd \ No newline at end of file diff --git a/lib/stripe/params/v2/core/account_update_params.rb b/lib/stripe/params/v2/core/account_update_params.rb index 74485e2d..cc32a3f4 100644 --- a/lib/stripe/params/v2/core/account_update_params.rb +++ b/lib/stripe/params/v2/core/account_update_params.rb @@ -1308,6 +1308,21 @@ module Stripe end end + class CryptoStorer < ::Stripe::RequestParams + # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + attr_accessor :date + # The IP address from which the Account's representative accepted the terms of service. + attr_accessor :ip + # The user agent of the browser from which the Account's representative accepted the terms of service. + attr_accessor :user_agent + + def initialize(date: nil, ip: nil, user_agent: nil) + @date = date + @ip = ip + @user_agent = user_agent + end + end + class Storer < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date @@ -1324,11 +1339,14 @@ module Stripe end # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance). attr_accessor :account + # Details on the Account's acceptance of Crypto-storer-specific terms of service. + attr_accessor :crypto_storer # Details on the Account's acceptance of Treasury-specific terms of service. attr_accessor :storer - def initialize(account: nil, storer: nil) + def initialize(account: nil, crypto_storer: nil, storer: nil) @account = account + @crypto_storer = crypto_storer @storer = storer end end diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index f635cf57..d4e4c3ff 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -193620,6 +193620,27 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end + class CryptoStorer < ::Stripe::RequestParams + # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + sig { returns(T.nilable(String)) } + def date; end + sig { params(_date: T.nilable(String)).returns(T.nilable(String)) } + def date=(_date); end + # The IP address from which the Account's representative accepted the terms of service. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the Account's representative accepted the terms of service. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(String), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end class Storer < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } @@ -193650,6 +193671,15 @@ module Stripe params(_account: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Account)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Account)) } def account=(_account); end + # Details on the Account's acceptance of Crypto-storer-specific terms of service. + sig { + returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::CryptoStorer)) + } + def crypto_storer; end + sig { + params(_crypto_storer: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::CryptoStorer)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::CryptoStorer)) + } + def crypto_storer=(_crypto_storer); end # Details on the Account's acceptance of Treasury-specific terms of service. sig { returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Storer)) @@ -193660,9 +193690,9 @@ module Stripe } def storer=(_storer); end sig { - params(account: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Account), storer: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Storer)).void + params(account: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Account), crypto_storer: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::CryptoStorer), storer: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Storer)).void } - def initialize(account: nil, storer: nil); end + def initialize(account: nil, crypto_storer: nil, storer: nil); end end # This hash is used to attest that the directors information provided to Stripe is both current and correct. sig { diff --git a/rbi/stripe/params/v2/core/account_update_params.rbi b/rbi/stripe/params/v2/core/account_update_params.rbi index 3af09dba..1a2957b3 100644 --- a/rbi/stripe/params/v2/core/account_update_params.rbi +++ b/rbi/stripe/params/v2/core/account_update_params.rbi @@ -1987,6 +1987,27 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end + class CryptoStorer < ::Stripe::RequestParams + # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + sig { returns(T.nilable(String)) } + def date; end + sig { params(_date: T.nilable(String)).returns(T.nilable(String)) } + def date=(_date); end + # The IP address from which the Account's representative accepted the terms of service. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the Account's representative accepted the terms of service. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(String), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end class Storer < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } @@ -2017,6 +2038,15 @@ module Stripe params(_account: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Account)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Account)) } def account=(_account); end + # Details on the Account's acceptance of Crypto-storer-specific terms of service. + sig { + returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::CryptoStorer)) + } + def crypto_storer; end + sig { + params(_crypto_storer: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::CryptoStorer)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::CryptoStorer)) + } + def crypto_storer=(_crypto_storer); end # Details on the Account's acceptance of Treasury-specific terms of service. sig { returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Storer)) @@ -2027,9 +2057,9 @@ module Stripe } def storer=(_storer); end sig { - params(account: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Account), storer: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Storer)).void + params(account: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Account), crypto_storer: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::CryptoStorer), storer: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService::Storer)).void } - def initialize(account: nil, storer: nil); end + def initialize(account: nil, crypto_storer: nil, storer: nil); end end # This hash is used to attest that the directors information provided to Stripe is both current and correct. sig {