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
LicenseIdstringThe unique identifier of the license.
LicenseKeystringThe license key.
CustomerIdstringThe unique identifier of the customer.
ProductIdstringThe product identifier.
ExpiredAtDateTimeOffsetThe timestamp when the license expired.
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
ExpiredAt
The timestamp when the license expired.
public DateTimeOffset ExpiredAt { get; init; }
Property Value
LicenseId
The unique identifier of the license.
public string LicenseId { get; init; }
Property Value
LicenseKey
The license key.
public string LicenseKey { get; init; }
Property Value
ProductId
The product identifier.
public string ProductId { get; init; }