Class SubscriberBouncedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when a subscriber's email bounces.
public sealed record SubscriberBouncedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<SubscriberBouncedEvent>
- Inheritance
-
SubscriberBouncedEvent
- Implements
- Inherited Members
Constructors
SubscriberBouncedEvent(string, string, string, string?, DateTimeOffset, string?)
Integration event raised when a subscriber's email bounces.
public SubscriberBouncedEvent(string SubscriberId, string Email, string BounceType, string? BounceReason, DateTimeOffset BouncedAt, string? CampaignId)
Parameters
SubscriberIdstringThe unique identifier of the subscriber.
EmailstringThe subscriber's email address.
BounceTypestringThe type of bounce (hard, soft).
BounceReasonstringThe reason for the bounce.
BouncedAtDateTimeOffsetThe timestamp when the bounce occurred.
CampaignIdstringThe campaign that triggered the bounce, if applicable.
Properties
BounceReason
The reason for the bounce.
public string? BounceReason { get; init; }
Property Value
BounceType
The type of bounce (hard, soft).
public string BounceType { get; init; }
Property Value
BouncedAt
The timestamp when the bounce occurred.
public DateTimeOffset BouncedAt { get; init; }
Property Value
CampaignId
The campaign that triggered the bounce, if applicable.
public string? CampaignId { get; init; }
Property Value
The subscriber's email address.
public string Email { get; init; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
SubscriberId
The unique identifier of the subscriber.
public string SubscriberId { get; init; }