Interface OptOutEventNotification
public interface OptOutEventNotification
OptOutEventNotification
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builderstatic class
Status of the opt-out registration. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Getting builderGet channelThe ID of the contact which is the subject of the opt-out.Get errorDetailsThe channel identity.Get processingModeID generated when making an opt-out registration request.Status of the opt-out registration.
-
Method Details
-
getRequestId
String getRequestId()ID generated when making an opt-out registration request. Can be used to detect duplicates.- Returns:
- requestId
-
getContactId
String getContactId()The ID of the contact which is the subject of the opt-out. Will be empty if processing_mode is DISPATCH.- Returns:
- contactId
-
getChannel
ConversationChannel getChannel()Get channel- Returns:
- channel
-
getIdentity
String getIdentity()The channel identity. For example, a phone number for SMS, WhatsApp and Viber Business.- Returns:
- identity
-
getStatus
OptOutEventNotification.StatusEnum getStatus()Status of the opt-out registration.- Returns:
- status
-
getErrorDetails
OptOutEventNotificationErrorDetails getErrorDetails()Get errorDetails- Returns:
- errorDetails
-
getProcessingMode
ProcessingMode getProcessingMode()Get processingMode- Returns:
- processingMode
-
builder
Getting builder- Returns:
- New Builder instance
-