BusinessInformation
public struct BusinessInformation : Codable, Sendable
This structure contains the business information.
-
The type of company.
Declaration
Swift
public let typeString: String -
The type of company. Check
typeStringif value isnil.Declaration
Swift
public var type: BusinessType? { get } -
The name of the company.
Declaration
Swift
public let name: String -
Doing business as.
Declaration
Swift
public let doingBusinessAs: String? -
The state of incorporation. Required for US businesses.
Declaration
Swift
public let stateOfIncorporation: String? -
The country of incorporation. Three-letter country code (ISO 3166-1 alpha-3). Required for EU businesses.
Declaration
Swift
public let countryOfIncorporation: String? -
The ID number of the company. Required for EU businesses.
Declaration
Swift
public let companyId: String? -
The VAT number of the company. Required for EU businesses.
Declaration
Swift
public let vatNumber: String? -
The date the company was started. Required for EU businesses.
Declaration
Swift
public let incorporationDate: String? -
The EIN of the company.
Declaration
Swift
public let ein: String? -
The business’ phone number in E.164 international standard.
Declaration
Swift
public let phoneNumber: String? -
The company’s website.
Declaration
Swift
public let website: String? -
The company’s email address.
Declaration
Swift
public let emailAddress: String? -
The business industry classification, as specified in NAICS 2022.
Declaration
Swift
public let natureOfBusiness: Int? -
Additional details and description of the nature of business, product and/or service provided.
Declaration
Swift
public let natureOfBusinessDetails: String? -
The purpose of the account.
Declaration
Swift
public let accountPurposeString: String? -
The purpose of the account. Check
accountPurposeStringif value isnil.Declaration
Swift
public var accountPurpose: AccountPurpose? { get } -
Additional details of the account purpose.
Declaration
Swift
public let accountPurposeDetails: String? -
The yearly average trading volume of the business.
Declaration
Swift
public let tradingVolume: Int? -
The yearly average transaction volume of the business.
Declaration
Swift
public let transactionVolume: Int? -
The source of funds of the company.
Declaration
Swift
public let sourceOfFundsString: String? -
The source of funds of the company. Check
sourceOfFundsStringif value isnil.Declaration
Swift
public var sourceOfFunds: AccountsSourceOfFunds? { get } -
Number of employees in the organization.
Declaration
Swift
public let numberOfEmployees: Int? -
init(typeString:name: countryOfIncorporation: companyId: vatNumber: incorporationDate: doingBusinessAs: phoneNumber: website: emailAddress: natureOfBusiness: accountPurposeString: accountPurposeDetails: tradingVolume: transactionVolume: sourceOfFundsString: ) Auxiliary constructor. EU Business.
Declaration
Swift
public init( typeString: String, name: String, countryOfIncorporation: String, companyId: String, vatNumber: String, incorporationDate: String, doingBusinessAs: String? = nil, phoneNumber: String? = nil, website: String? = nil, emailAddress: String? = nil, natureOfBusiness: Int? = nil, accountPurposeString: String? = nil, accountPurposeDetails: String? = nil, tradingVolume: Int? = nil, transactionVolume: Int? = nil, sourceOfFundsString: String? = nil)Parameters
typeStringThe type of company. Can be mapped from
BusinessType.nameThe name of the company.
countryOfIncorporationThe country of incorporation. Three-letter country code (ISO 3166-1 alpha-3).
companyIdThe ID number of the company.
vatNumberThe VAT number of the company.
incorporationDateThe date the company was started.
doingBusinessAsDoing business as.
phoneNumberThe business’ phone number in E.164 international standard.
websiteThe company’s website.
emailAddressThe company’s email address.
natureOfBusinessThe business industry classification, as specified in NAICS 2022.
accountPurposeStringThe purpose of the account. Can be mapped from
AccountPurpose.accountPurposeDetailsAdditional details of the account purpose.
tradingVolumeThe yearly average trading volume of the business.
transactionVolumeThe yearly average transaction volume of the business.
sourceOfFundsStringThe source of funds of the company. Can be mapped from
AccountsSourceOfFunds. -
init(typeString:name: stateOfIncorporation: countryOfIncorporation: ein: doingBusinessAs: phoneNumber: website: emailAddress: natureOfBusiness: natureOfBusinessDetails: accountPurposeString: accountPurposeDetails: tradingVolume: transactionVolume: sourceOfFundsString: numberOfEmployees: ) Auxiliary constructor. US Business.
Declaration
Swift
public init( typeString: String, name: String, stateOfIncorporation: String, countryOfIncorporation: String, ein: String, doingBusinessAs: String? = nil, phoneNumber: String? = nil, website: String? = nil, emailAddress: String? = nil, natureOfBusiness: Int? = nil, natureOfBusinessDetails: String? = nil, accountPurposeString: String? = nil, accountPurposeDetails: String? = nil, tradingVolume: Int? = nil, transactionVolume: Int? = nil, sourceOfFundsString: String? = nil, numberOfEmployees: Int? = nil)Parameters
typeStringThe type of company. Can be mapped from
BusinessType.nameThe name of the company.
stateOfIncorporationThe state of incorporation.
einThe EIN of the company.
doingBusinessAsDoing business as.
phoneNumberThe business’ phone number in E.164 international standard.
websiteThe company’s website.
emailAddressThe company’s email address.
natureOfBusinessThe business industry classification, as specified in NAICS 2022.
natureOfBusinessDetailsAdditional details and description of the nature of business, product and/or service provided.
accountPurposeStringThe purpose of the account. Can be mapped from
AccountPurpose.accountPurposeDetailsAdditional details of the account purpose.
tradingVolumeThe yearly average trading volume of the business.
transactionVolumeThe yearly average transaction volume of the business.
sourceOfFundsStringThe source of funds of the company. Can be mapped from
SourceOfFunds.numberOfEmployeesNumber of employees in the organization.
View on GitHub