mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-19 00:01:13 -05:00
Update generated code for v2103 and
This commit is contained in:
parent
93e2745230
commit
2c24a9201c
@ -1 +1 @@
|
||||
8b9ebc471599fa8287b507df4a0e686cae2455cd
|
||||
d6534f3d076849c4f6df1414d4c477334e431ffd
|
||||
@ -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
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user