CustomerIdentity
public struct CustomerIdentity
Represents information about a customer identity to be sent on events.
-
The unique id for the customer identity.
Declaration
Swift
public let id: String
-
The first name of the customer. Use when sending a message to set the name in MAX.
Declaration
Swift
public var firstName: String?
-
The last name of the customer. Use when sending a message to set the name in MAX.
Declaration
Swift
public var lastName: String?
-
The full name of the customer.
Declaration
Swift
public var fullName: String? { get }
-
Declaration
Swift
public init(id: String, firstName: String?, lastName: String?)
Parameters
id
The unique id for the customer identity.
firstName
The first name of the customer. Use when sending a message to set the name in MAX.
lastName
The last name of the customer. Use when sending a message to set the name in MAX.