ContactManagementItem
class ContactManagementItem : Decodable, Equatable, PreferenceCenterConfigItem, @unchecked Sendable
extension PreferenceCenterConfig.ContactManagementItem: Encodable
Contact management item - base container object for contact management in the preference center
-
The contact management item’s type.
Declaration
Swift
public let type: PreferenceCenterConfigItemType
-
The contact management item’s identifier.
Declaration
Swift
public let identifier: String
-
The contact management item’s channel platform - for example: email or sms.
Declaration
Swift
public let platform: Platform
-
The remove prompt
Declaration
Swift
public let removeChannel: RemoveChannel?
-
The empty message label that’s visible when no channels of this type have been added
Declaration
Swift
public let emptyMessage: String?
-
The section’s display conditions.
Declaration
Swift
public let conditions: [Condition]?
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public static func == ( lhs: ContactManagementItem, rhs: ContactManagementItem ) -> Bool
-
Platform
Declaration
Swift
public enum Platform : Decodable, Equatable
extension PreferenceCenterConfig.ContactManagementItem.Platform: Encodable
-
Pending label that appears after channel list item is added. Resend button appears after interval.
See moreDeclaration
Swift
public struct PendingLabel : Decodable, Equatable
extension PreferenceCenterConfig.ContactManagementItem.PendingLabel: Encodable
-
Email registration options
See moreDeclaration
Swift
public struct Email : Decodable, Equatable
extension PreferenceCenterConfig.ContactManagementItem.Email: Encodable
-
SMS registration options
See moreDeclaration
Swift
public struct SMS : Decodable, Equatable
extension PreferenceCenterConfig.ContactManagementItem.SMS: Encodable
-
Reusable container for holding a title and optional description.
See moreDeclaration
Swift
public struct CommonDisplay : Decodable, Equatable
extension PreferenceCenterConfig.ContactManagementItem.CommonDisplay: Encodable
-
The label message that appears when a channel listing is empty.
See moreDeclaration
Swift
public struct EmptyMessage : Decodable, Equatable
-
The container for the add prompt button and resulting add prompt.
See moreDeclaration
Swift
public struct AddChannel : Decodable, Equatable
extension PreferenceCenterConfig.ContactManagementItem.AddChannel: Encodable
-
The container for the remove channel button and resulting remove prompt for adding a channel to a channel list.
See moreDeclaration
Swift
public struct RemoveChannel : Decodable, Equatable
extension PreferenceCenterConfig.ContactManagementItem.RemoveChannel: Encodable
-
A more dynamic version of common display that includes a footer and error message.
See moreDeclaration
Swift
public struct PromptDisplay : Decodable, Equatable
extension PreferenceCenterConfig.ContactManagementItem.PromptDisplay: Encodable
-
Alert button info.
See moreDeclaration
Swift
public struct LabeledButton : Decodable, Equatable
extension PreferenceCenterConfig.ContactManagementItem.LabeledButton: Encodable
-
Alert display info
See moreDeclaration
Swift
public struct ActionableMessage : Decodable, Equatable
extension PreferenceCenterConfig.ContactManagementItem.ActionableMessage: Encodable
-
Error message container for showing error messages on the add channel prompt
Declaration
Swift
public struct ErrorMessages : Codable, Equatable
-
The info used to populate the add channel prompt sender input for SMS.
See moreDeclaration
Swift
public struct SMSSenderInfo : Decodable, Identifiable, Equatable, Hashable
extension PreferenceCenterConfig.ContactManagementItem.SMSSenderInfo: Encodable
-
Declaration
Swift
public func encode(to encoder: Encoder) throws