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
employmentStatusString
ifnil
.Declaration
Swift
public var employmentStatus: EmploymentStatus? { get }
-
Occupation profession of the Account.
Declaration
Swift
public let professionString: String?
-
Occupation profession of the Account. Check
professionString
ifnil
.Declaration
Swift
public var profession: OccupationProfession? { get }
-
Auxiliary constructor.
Declaration
Swift
public init( employmentStatusString: String, professionString: String? = nil)
Parameters
employmentStatusString
Employment status of the Account. Can be mapped from
EmploymentStatus
.professionString
Occupation profession of the Account. Can be mapped from
OccupationProfession
.