Table of Contents

Class SubscriptionResumedEvent

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

Integration event raised when a subscription is resumed.

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

Constructors

SubscriptionResumedEvent(string, string, DateTimeOffset)

Integration event raised when a subscription is resumed.

public SubscriptionResumedEvent(string SubscriptionId, string CustomerId, DateTimeOffset ResumedAt)

Parameters

SubscriptionId string

The unique identifier of the subscription.

CustomerId string

The unique identifier of the customer.

ResumedAt DateTimeOffset

The timestamp when the subscription was resumed.

Properties

CustomerId

The unique identifier of the customer.

public string CustomerId { 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

ResumedAt

The timestamp when the subscription was resumed.

public DateTimeOffset ResumedAt { get; init; }

Property Value

DateTimeOffset

SubscriptionId

The unique identifier of the subscription.

public string SubscriptionId { get; init; }

Property Value

string