Table of Contents

Class LicenseExpiredEvent

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

Integration event raised when a license expires.

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

Constructors

LicenseExpiredEvent(string, string, string, string, DateTimeOffset)

Integration event raised when a license expires.

public LicenseExpiredEvent(string LicenseId, string LicenseKey, string CustomerId, string ProductId, DateTimeOffset ExpiredAt)

Parameters

LicenseId string

The unique identifier of the license.

LicenseKey string

The license key.

CustomerId string

The unique identifier of the customer.

ProductId string

The product identifier.

ExpiredAt DateTimeOffset

The timestamp when the license expired.

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

ExpiredAt

The timestamp when the license expired.

public DateTimeOffset ExpiredAt { get; init; }

Property Value

DateTimeOffset

LicenseId

The unique identifier of the license.

public string LicenseId { get; init; }

Property Value

string

LicenseKey

The license key.

public string LicenseKey { get; init; }

Property Value

string

ProductId

The product identifier.

public string ProductId { get; init; }

Property Value

string