Account

public struct Account : Codable, Sendable

User account model.

  • The unique id of the user within the Alviere platform.

    Declaration

    Swift

    public let accountUuid: String
  • The type of account.

    Declaration

    Swift

    public let typeString: String?
  • The type of account. Check typeString if nil.

    Declaration

    Swift

    public var type: AccountType? { get }
  • The user account current status.

    Declaration

    Swift

    public let statusString: String
  • The user account current status. Check statusString if nil.

    Declaration

    Swift

    public var status: AccountStatus? { get }
  • The current stage in the verification process.

    Declaration

    Swift

    public let stageString: String?
  • The current stage in the verification process. Check stageString if nil.

    Declaration

    Swift

    public var stage: AccountStage? { get }
  • The reason why an account might be held in pending user status.

    Declaration

    Swift

    public let statusReasonString: String?
  • The reason why an account might be in a particular status. Check statusReasonString if nil.

    Declaration

    Swift

    public var statusReason: AccountStatusReason? { get }
  • The current profile of the account.

    Declaration

    Swift

    public let profile: String?
  • The profile request.

    Declaration

    Swift

    public let profileRequest: ProfileRequest?
  • The external user id of your platform.

    Declaration

    Swift

    public let externalId: String
  • Structure containing account information.

    Declaration

    Swift

    public let information: AccountInformation?
  • Account metadata.

    Declaration

    Swift

    public let metadata: [String : CustomValue]?
  • The date this account was created.

    Declaration

    Swift

    public let createdAt: String
  • The date this account was last updated.

    Declaration

    Swift

    public let updatedAt: String