UserInfo
public struct UserInfo : Codable
User Information Definition
-
User identifier
Declaration
Swift
public var userId: String?
-
Account identifier, typically the householdID
Declaration
Swift
public var accountId: String?
-
Full name of the user including first and last name(s)
Declaration
Swift
public var fullName: String?
-
Gender of the user
Declaration
Swift
public var gender: String?
-
Age of the user
Declaration
Swift
public var age: Int?
-
Age range of the users i.e., 8-12
Declaration
Swift
public var ageRange: String?
-
Category of the user i.e., Junior
Declaration
Swift
public var category: String?
-
Street of the user
Declaration
Swift
public var street: String?
-
City where the user is subscribed
Declaration
Swift
public var city: String?
-
State of the city
Declaration
Swift
public var state: String?
-
Post code
Declaration
Swift
public var postCode: String?
-
Country
Declaration
Swift
public var country: String?
-
CORP
Declaration
Swift
public var corp: String?
-
Node
Declaration
Swift
public var node: String?
-
init(userId:
accountId: fullName: gender: age: ageRange: category: street: city: state: postCode: country: corp: node: ) Information about the user
Declaration
Swift
public init (userId: String? = nil, accountId: String? = nil, fullName: String? = nil, gender: String? = nil, age : Int? = nil, ageRange: String? = nil, category : String? = nil, street : String? = nil, city : String? = nil, state : String? = nil, postCode : String? = nil, country : String? = nil, corp : String? = nil, node : String? = nil)
Parameters
userId
Id of the User
accountId
Id of the Account, Home or Subscriber
fullName
Full name of the user
gender
Gender of the user
age
Age of the user
ageRange
Age range of the users i.e., 8-12
category
Category of the user i.e., Junior
street
Street of the user
city
City where the user is subscribed
state
State of the city
postCode
Post code
country
Country