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
userIdId of the User
accountIdId of the Account, Home or Subscriber
fullNameFull name of the user
genderGender of the user
ageAge of the user
ageRangeAge range of the users i.e., 8-12
categoryCategory of the user i.e., Junior
streetStreet of the user
cityCity where the user is subscribed
stateState of the city
postCodePost code
countryCountry