Table of Contents

Class SubscriberAttributesUpdatedEvent

Namespace
Compendium.Core.Domain.Events.Integration
Assembly
Compendium.Core.dll

Integration event raised when a subscriber's attributes are updated.

public sealed record SubscriberAttributesUpdatedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<SubscriberAttributesUpdatedEvent>
Inheritance
SubscriberAttributesUpdatedEvent
Implements
Inherited Members

Constructors

SubscriberAttributesUpdatedEvent(string, string, IReadOnlyDictionary<string, string?>, DateTimeOffset)

Integration event raised when a subscriber's attributes are updated.

public SubscriberAttributesUpdatedEvent(string SubscriberId, string Email, IReadOnlyDictionary<string, string?> UpdatedAttributes, DateTimeOffset UpdatedAt)

Parameters

SubscriberId string

The unique identifier of the subscriber.

Email string

The subscriber's email address.

UpdatedAttributes IReadOnlyDictionary<string, string>

The attributes that were updated.

UpdatedAt DateTimeOffset

The timestamp when the update occurred.

Properties

Email

The subscriber's email address.

public string Email { get; init; }

Property Value

string

EventType

Gets the name of the event type for serialization and routing purposes.

public override string EventType { get; }

Property Value

string

SubscriberId

The unique identifier of the subscriber.

public string SubscriberId { get; init; }

Property Value

string

UpdatedAt

The timestamp when the update occurred.

public DateTimeOffset UpdatedAt { get; init; }

Property Value

DateTimeOffset

UpdatedAttributes

The attributes that were updated.

public IReadOnlyDictionary<string, string?> UpdatedAttributes { get; init; }

Property Value

IReadOnlyDictionary<string, string>