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
SubscriptionIdstringThe unique identifier of the subscription.
CustomerIdstringThe unique identifier of the customer.
ResumedAtDateTimeOffsetThe timestamp when the subscription was resumed.
Properties
CustomerId
The unique identifier of the customer.
public string CustomerId { get; init; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
ResumedAt
The timestamp when the subscription was resumed.
public DateTimeOffset ResumedAt { get; init; }
Property Value
SubscriptionId
The unique identifier of the subscription.
public string SubscriptionId { get; init; }