Update generated code for v1450

This commit is contained in:
Stripe OpenAPI 2025-01-15 22:27:10 +00:00
parent 7ec394e5ce
commit 1402ac7e17
5 changed files with 117 additions and 13 deletions

View File

@ -1 +1 @@
v1449
v1450

View File

@ -2073,6 +2073,15 @@ module Stripe
@files = files
end
end
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
attr_accessor :files
def initialize(files: nil)
@files = files
end
end
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the accounts primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
attr_accessor :bank_account_ownership_verification
# One or more documents that demonstrate proof of a company's license to operate.
@ -2087,6 +2096,8 @@ module Stripe
attr_accessor :company_tax_id_verification
# One or more documents showing the companys proof of registration with the national business registry.
attr_accessor :proof_of_registration
# One or more documents that demonstrate proof of ultimate beneficial ownership.
attr_accessor :proof_of_ultimate_beneficial_ownership
def initialize(
bank_account_ownership_verification: nil,
@ -2095,7 +2106,8 @@ module Stripe
company_ministerial_decree: nil,
company_registration_verification: nil,
company_tax_id_verification: nil,
proof_of_registration: nil
proof_of_registration: nil,
proof_of_ultimate_beneficial_ownership: nil
)
@bank_account_ownership_verification = bank_account_ownership_verification
@company_license = company_license
@ -2104,6 +2116,7 @@ module Stripe
@company_registration_verification = company_registration_verification
@company_tax_id_verification = company_tax_id_verification
@proof_of_registration = proof_of_registration
@proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
end
end
@ -4324,6 +4337,15 @@ module Stripe
@files = files
end
end
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
attr_accessor :files
def initialize(files: nil)
@files = files
end
end
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the accounts primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
attr_accessor :bank_account_ownership_verification
# One or more documents that demonstrate proof of a company's license to operate.
@ -4338,6 +4360,8 @@ module Stripe
attr_accessor :company_tax_id_verification
# One or more documents showing the companys proof of registration with the national business registry.
attr_accessor :proof_of_registration
# One or more documents that demonstrate proof of ultimate beneficial ownership.
attr_accessor :proof_of_ultimate_beneficial_ownership
def initialize(
bank_account_ownership_verification: nil,
@ -4346,7 +4370,8 @@ module Stripe
company_ministerial_decree: nil,
company_registration_verification: nil,
company_tax_id_verification: nil,
proof_of_registration: nil
proof_of_registration: nil,
proof_of_ultimate_beneficial_ownership: nil
)
@bank_account_ownership_verification = bank_account_ownership_verification
@company_license = company_license
@ -4355,6 +4380,7 @@ module Stripe
@company_registration_verification = company_registration_verification
@company_tax_id_verification = company_tax_id_verification
@proof_of_registration = proof_of_registration
@proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
end
end

View File

@ -1432,6 +1432,15 @@ module Stripe
@files = files
end
end
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
attr_accessor :files
def initialize(files: nil)
@files = files
end
end
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the accounts primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
attr_accessor :bank_account_ownership_verification
# One or more documents that demonstrate proof of a company's license to operate.
@ -1446,6 +1455,8 @@ module Stripe
attr_accessor :company_tax_id_verification
# One or more documents showing the companys proof of registration with the national business registry.
attr_accessor :proof_of_registration
# One or more documents that demonstrate proof of ultimate beneficial ownership.
attr_accessor :proof_of_ultimate_beneficial_ownership
def initialize(
bank_account_ownership_verification: nil,
@ -1454,7 +1465,8 @@ module Stripe
company_ministerial_decree: nil,
company_registration_verification: nil,
company_tax_id_verification: nil,
proof_of_registration: nil
proof_of_registration: nil,
proof_of_ultimate_beneficial_ownership: nil
)
@bank_account_ownership_verification = bank_account_ownership_verification
@company_license = company_license
@ -1463,6 +1475,7 @@ module Stripe
@company_registration_verification = company_registration_verification
@company_tax_id_verification = company_tax_id_verification
@proof_of_registration = proof_of_registration
@proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
end
end
@ -3692,6 +3705,15 @@ module Stripe
@files = files
end
end
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
attr_accessor :files
def initialize(files: nil)
@files = files
end
end
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the accounts primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
attr_accessor :bank_account_ownership_verification
# One or more documents that demonstrate proof of a company's license to operate.
@ -3706,6 +3728,8 @@ module Stripe
attr_accessor :company_tax_id_verification
# One or more documents showing the companys proof of registration with the national business registry.
attr_accessor :proof_of_registration
# One or more documents that demonstrate proof of ultimate beneficial ownership.
attr_accessor :proof_of_ultimate_beneficial_ownership
def initialize(
bank_account_ownership_verification: nil,
@ -3714,7 +3738,8 @@ module Stripe
company_ministerial_decree: nil,
company_registration_verification: nil,
company_tax_id_verification: nil,
proof_of_registration: nil
proof_of_registration: nil,
proof_of_ultimate_beneficial_ownership: nil
)
@bank_account_ownership_verification = bank_account_ownership_verification
@company_license = company_license
@ -3723,6 +3748,7 @@ module Stripe
@company_registration_verification = company_registration_verification
@company_tax_id_verification = company_tax_id_verification
@proof_of_registration = proof_of_registration
@proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
end
end

View File

@ -2185,6 +2185,13 @@ module Stripe
sig { params(files: T::Array[String]).void }
def initialize(files: nil); end
end
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
sig { returns(T::Array[String]) }
attr_accessor :files
sig { params(files: T::Array[String]).void }
def initialize(files: nil); end
end
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the accounts primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
sig {
returns(::Stripe::Account::UpdateParams::Documents::BankAccountOwnershipVerification)
@ -2208,8 +2215,13 @@ module Stripe
# One or more documents showing the companys proof of registration with the national business registry.
sig { returns(::Stripe::Account::UpdateParams::Documents::ProofOfRegistration) }
attr_accessor :proof_of_registration
# One or more documents that demonstrate proof of ultimate beneficial ownership.
sig {
params(bank_account_ownership_verification: ::Stripe::Account::UpdateParams::Documents::BankAccountOwnershipVerification, company_license: ::Stripe::Account::UpdateParams::Documents::CompanyLicense, company_memorandum_of_association: ::Stripe::Account::UpdateParams::Documents::CompanyMemorandumOfAssociation, company_ministerial_decree: ::Stripe::Account::UpdateParams::Documents::CompanyMinisterialDecree, company_registration_verification: ::Stripe::Account::UpdateParams::Documents::CompanyRegistrationVerification, company_tax_id_verification: ::Stripe::Account::UpdateParams::Documents::CompanyTaxIdVerification, proof_of_registration: ::Stripe::Account::UpdateParams::Documents::ProofOfRegistration).void
returns(::Stripe::Account::UpdateParams::Documents::ProofOfUltimateBeneficialOwnership)
}
attr_accessor :proof_of_ultimate_beneficial_ownership
sig {
params(bank_account_ownership_verification: ::Stripe::Account::UpdateParams::Documents::BankAccountOwnershipVerification, company_license: ::Stripe::Account::UpdateParams::Documents::CompanyLicense, company_memorandum_of_association: ::Stripe::Account::UpdateParams::Documents::CompanyMemorandumOfAssociation, company_ministerial_decree: ::Stripe::Account::UpdateParams::Documents::CompanyMinisterialDecree, company_registration_verification: ::Stripe::Account::UpdateParams::Documents::CompanyRegistrationVerification, company_tax_id_verification: ::Stripe::Account::UpdateParams::Documents::CompanyTaxIdVerification, proof_of_registration: ::Stripe::Account::UpdateParams::Documents::ProofOfRegistration, proof_of_ultimate_beneficial_ownership: ::Stripe::Account::UpdateParams::Documents::ProofOfUltimateBeneficialOwnership).void
}
def initialize(
bank_account_ownership_verification: nil,
@ -2218,7 +2230,8 @@ module Stripe
company_ministerial_decree: nil,
company_registration_verification: nil,
company_tax_id_verification: nil,
proof_of_registration: nil
proof_of_registration: nil,
proof_of_ultimate_beneficial_ownership: nil
); end
end
class Groups < Stripe::RequestParams
@ -4277,6 +4290,13 @@ module Stripe
sig { params(files: T::Array[String]).void }
def initialize(files: nil); end
end
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
sig { returns(T::Array[String]) }
attr_accessor :files
sig { params(files: T::Array[String]).void }
def initialize(files: nil); end
end
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the accounts primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
sig {
returns(::Stripe::Account::CreateParams::Documents::BankAccountOwnershipVerification)
@ -4300,8 +4320,13 @@ module Stripe
# One or more documents showing the companys proof of registration with the national business registry.
sig { returns(::Stripe::Account::CreateParams::Documents::ProofOfRegistration) }
attr_accessor :proof_of_registration
# One or more documents that demonstrate proof of ultimate beneficial ownership.
sig {
params(bank_account_ownership_verification: ::Stripe::Account::CreateParams::Documents::BankAccountOwnershipVerification, company_license: ::Stripe::Account::CreateParams::Documents::CompanyLicense, company_memorandum_of_association: ::Stripe::Account::CreateParams::Documents::CompanyMemorandumOfAssociation, company_ministerial_decree: ::Stripe::Account::CreateParams::Documents::CompanyMinisterialDecree, company_registration_verification: ::Stripe::Account::CreateParams::Documents::CompanyRegistrationVerification, company_tax_id_verification: ::Stripe::Account::CreateParams::Documents::CompanyTaxIdVerification, proof_of_registration: ::Stripe::Account::CreateParams::Documents::ProofOfRegistration).void
returns(::Stripe::Account::CreateParams::Documents::ProofOfUltimateBeneficialOwnership)
}
attr_accessor :proof_of_ultimate_beneficial_ownership
sig {
params(bank_account_ownership_verification: ::Stripe::Account::CreateParams::Documents::BankAccountOwnershipVerification, company_license: ::Stripe::Account::CreateParams::Documents::CompanyLicense, company_memorandum_of_association: ::Stripe::Account::CreateParams::Documents::CompanyMemorandumOfAssociation, company_ministerial_decree: ::Stripe::Account::CreateParams::Documents::CompanyMinisterialDecree, company_registration_verification: ::Stripe::Account::CreateParams::Documents::CompanyRegistrationVerification, company_tax_id_verification: ::Stripe::Account::CreateParams::Documents::CompanyTaxIdVerification, proof_of_registration: ::Stripe::Account::CreateParams::Documents::ProofOfRegistration, proof_of_ultimate_beneficial_ownership: ::Stripe::Account::CreateParams::Documents::ProofOfUltimateBeneficialOwnership).void
}
def initialize(
bank_account_ownership_verification: nil,
@ -4310,7 +4335,8 @@ module Stripe
company_ministerial_decree: nil,
company_registration_verification: nil,
company_tax_id_verification: nil,
proof_of_registration: nil
proof_of_registration: nil,
proof_of_ultimate_beneficial_ownership: nil
); end
end
class Groups < Stripe::RequestParams

View File

@ -1296,6 +1296,13 @@ module Stripe
sig { params(files: T::Array[String]).void }
def initialize(files: nil); end
end
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
sig { returns(T::Array[String]) }
attr_accessor :files
sig { params(files: T::Array[String]).void }
def initialize(files: nil); end
end
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the accounts primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
sig {
returns(::Stripe::AccountService::UpdateParams::Documents::BankAccountOwnershipVerification)
@ -1323,8 +1330,13 @@ module Stripe
# One or more documents showing the companys proof of registration with the national business registry.
sig { returns(::Stripe::AccountService::UpdateParams::Documents::ProofOfRegistration) }
attr_accessor :proof_of_registration
# One or more documents that demonstrate proof of ultimate beneficial ownership.
sig {
params(bank_account_ownership_verification: ::Stripe::AccountService::UpdateParams::Documents::BankAccountOwnershipVerification, company_license: ::Stripe::AccountService::UpdateParams::Documents::CompanyLicense, company_memorandum_of_association: ::Stripe::AccountService::UpdateParams::Documents::CompanyMemorandumOfAssociation, company_ministerial_decree: ::Stripe::AccountService::UpdateParams::Documents::CompanyMinisterialDecree, company_registration_verification: ::Stripe::AccountService::UpdateParams::Documents::CompanyRegistrationVerification, company_tax_id_verification: ::Stripe::AccountService::UpdateParams::Documents::CompanyTaxIdVerification, proof_of_registration: ::Stripe::AccountService::UpdateParams::Documents::ProofOfRegistration).void
returns(::Stripe::AccountService::UpdateParams::Documents::ProofOfUltimateBeneficialOwnership)
}
attr_accessor :proof_of_ultimate_beneficial_ownership
sig {
params(bank_account_ownership_verification: ::Stripe::AccountService::UpdateParams::Documents::BankAccountOwnershipVerification, company_license: ::Stripe::AccountService::UpdateParams::Documents::CompanyLicense, company_memorandum_of_association: ::Stripe::AccountService::UpdateParams::Documents::CompanyMemorandumOfAssociation, company_ministerial_decree: ::Stripe::AccountService::UpdateParams::Documents::CompanyMinisterialDecree, company_registration_verification: ::Stripe::AccountService::UpdateParams::Documents::CompanyRegistrationVerification, company_tax_id_verification: ::Stripe::AccountService::UpdateParams::Documents::CompanyTaxIdVerification, proof_of_registration: ::Stripe::AccountService::UpdateParams::Documents::ProofOfRegistration, proof_of_ultimate_beneficial_ownership: ::Stripe::AccountService::UpdateParams::Documents::ProofOfUltimateBeneficialOwnership).void
}
def initialize(
bank_account_ownership_verification: nil,
@ -1333,7 +1345,8 @@ module Stripe
company_ministerial_decree: nil,
company_registration_verification: nil,
company_tax_id_verification: nil,
proof_of_registration: nil
proof_of_registration: nil,
proof_of_ultimate_beneficial_ownership: nil
); end
end
class Groups < Stripe::RequestParams
@ -3429,6 +3442,13 @@ module Stripe
sig { params(files: T::Array[String]).void }
def initialize(files: nil); end
end
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
sig { returns(T::Array[String]) }
attr_accessor :files
sig { params(files: T::Array[String]).void }
def initialize(files: nil); end
end
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the accounts primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
sig {
returns(::Stripe::AccountService::CreateParams::Documents::BankAccountOwnershipVerification)
@ -3456,8 +3476,13 @@ module Stripe
# One or more documents showing the companys proof of registration with the national business registry.
sig { returns(::Stripe::AccountService::CreateParams::Documents::ProofOfRegistration) }
attr_accessor :proof_of_registration
# One or more documents that demonstrate proof of ultimate beneficial ownership.
sig {
params(bank_account_ownership_verification: ::Stripe::AccountService::CreateParams::Documents::BankAccountOwnershipVerification, company_license: ::Stripe::AccountService::CreateParams::Documents::CompanyLicense, company_memorandum_of_association: ::Stripe::AccountService::CreateParams::Documents::CompanyMemorandumOfAssociation, company_ministerial_decree: ::Stripe::AccountService::CreateParams::Documents::CompanyMinisterialDecree, company_registration_verification: ::Stripe::AccountService::CreateParams::Documents::CompanyRegistrationVerification, company_tax_id_verification: ::Stripe::AccountService::CreateParams::Documents::CompanyTaxIdVerification, proof_of_registration: ::Stripe::AccountService::CreateParams::Documents::ProofOfRegistration).void
returns(::Stripe::AccountService::CreateParams::Documents::ProofOfUltimateBeneficialOwnership)
}
attr_accessor :proof_of_ultimate_beneficial_ownership
sig {
params(bank_account_ownership_verification: ::Stripe::AccountService::CreateParams::Documents::BankAccountOwnershipVerification, company_license: ::Stripe::AccountService::CreateParams::Documents::CompanyLicense, company_memorandum_of_association: ::Stripe::AccountService::CreateParams::Documents::CompanyMemorandumOfAssociation, company_ministerial_decree: ::Stripe::AccountService::CreateParams::Documents::CompanyMinisterialDecree, company_registration_verification: ::Stripe::AccountService::CreateParams::Documents::CompanyRegistrationVerification, company_tax_id_verification: ::Stripe::AccountService::CreateParams::Documents::CompanyTaxIdVerification, proof_of_registration: ::Stripe::AccountService::CreateParams::Documents::ProofOfRegistration, proof_of_ultimate_beneficial_ownership: ::Stripe::AccountService::CreateParams::Documents::ProofOfUltimateBeneficialOwnership).void
}
def initialize(
bank_account_ownership_verification: nil,
@ -3466,7 +3491,8 @@ module Stripe
company_ministerial_decree: nil,
company_registration_verification: nil,
company_tax_id_verification: nil,
proof_of_registration: nil
proof_of_registration: nil,
proof_of_ultimate_beneficial_ownership: nil
); end
end
class Groups < Stripe::RequestParams