Occupation
public struct Occupation : Codable, Sendable
Account occupation model.
-
Employment status of the Account.
Declaration
Swift
public let employmentStatusString: String -
Employment status of the Account. Check
employmentStatusStringifnil.Declaration
Swift
public var employmentStatus: EmploymentStatus? { get } -
Occupation profession of the Account.
Declaration
Swift
public let professionString: String? -
Occupation profession of the Account. Check
professionStringifnil.Declaration
Swift
public var profession: OccupationProfession? { get } -
Auxiliary constructor.
Declaration
Swift
public init( employmentStatusString: String, professionString: String? = nil)Parameters
employmentStatusStringEmployment status of the Account. Can be mapped from
EmploymentStatus.professionStringOccupation profession of the Account. Can be mapped from
OccupationProfession.
View on GitHub