Interface OptInEventNotification
public interface OptInEventNotification
OptInEventNotification
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builderstatic class
Status of the opt-in registration. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Getting builderGet channelThe ID of the contact which is the subject of the opt-in.Get errorDetailsThe channel identity.Get processingModeID generated when making an opt-in registration request.Status of the opt-in registration.
-
Method Details
-
getRequestId
String getRequestId()ID generated when making an opt-in 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-in. 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
OptInEventNotification.StatusEnum getStatus()Status of the opt-in registration.- Returns:
- status
-
getErrorDetails
OptInEventNotificationErrorDetails getErrorDetails()Get errorDetails- Returns:
- errorDetails
-
getProcessingMode
ProcessingMode getProcessingMode()Get processingMode- Returns:
- processingMode
-
builder
Getting builder- Returns:
- New Builder instance
-