-
public final class WebhookBounceRecipientPayloadBOUNCE_RECIPIENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email caused a bounce to occur for a recipient. Save the recipient to a ban list of your server and avoid email them again.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumWebhookBounceRecipientPayload.EventNameName of the event type webhook is being triggered for. Values: eMAILRECEIVED,nEWEMAIL,nEWCONTACT,nEWATTACHMENT,eMAILOPENED,eMAILREAD,bOUNCE,bOUNCERECIPIENT,nEWSMS
-
Field Summary
Fields Modifier and Type Field Description private final StringmessageIdprivate final UUIDwebhookIdprivate final WebhookBounceRecipientPayload.EventNameeventNameprivate final Stringrecipientprivate final StringwebhookName
-
Constructor Summary
Constructors Constructor Description WebhookBounceRecipientPayload(String messageId, UUID webhookId, WebhookBounceRecipientPayload.EventName eventName, String recipient, String webhookName)
-
Method Summary
Modifier and Type Method Description final StringgetMessageId()final UUIDgetWebhookId()final WebhookBounceRecipientPayload.EventNamegetEventName()final StringgetRecipient()final StringgetWebhookName()-
-
Constructor Detail
-
WebhookBounceRecipientPayload
WebhookBounceRecipientPayload(String messageId, UUID webhookId, WebhookBounceRecipientPayload.EventName eventName, String recipient, String webhookName)
- Parameters:
messageId- Idempotent message ID.webhookId- ID of webhook entity being triggeredeventName- Name of the event type webhook is being triggered for.recipient- Email address that caused a bounce.webhookName- Name of the webhook being triggered
-
-
Method Detail
-
getMessageId
final String getMessageId()
-
getWebhookId
final UUID getWebhookId()
-
getEventName
final WebhookBounceRecipientPayload.EventName getEventName()
-
getRecipient
final String getRecipient()
-
getWebhookName
final String getWebhookName()
-
-
-
-