User

public struct User : Codable
  • Declaration

    Swift

    public let name: String?
  • Declaration

    Swift

    public let firstName: String?
  • Declaration

    Swift

    public let lastName: String?
  • Declaration

    Swift

    public let address1: String?
  • Declaration

    Swift

    public let address2: String?
  • Declaration

    Swift

    public let postCode: String?
  • Declaration

    Swift

    public let phones: [Phone]?
  • Declaration

    Swift

    public var appData: [String : Any]?
  • Declaration

    Swift

    public init(name: String? = nil,
                firstName: String? = nil,
                lastName: String? = nil,
                address1: String? = nil,
                address2: String? = nil,
                postCode: String? = nil,
                email: String? = nil,
                phone: String? = nil,
                appData: [String: Any]? = nil)

Codable

  • Declaration

    Swift

    public var userId: String? { get }
  • Declaration

    Swift

    public var emails: [Email]? { get }