Class BillingCustomerUpdatedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when a customer is updated.
public sealed record BillingCustomerUpdatedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<BillingCustomerUpdatedEvent>
- Inheritance
-
BillingCustomerUpdatedEvent
- Implements
- Inherited Members
Constructors
BillingCustomerUpdatedEvent(string, string, string?)
Integration event raised when a customer is updated.
public BillingCustomerUpdatedEvent(string CustomerId, string Email, string? Name)
Parameters
CustomerIdstringThe unique identifier of the customer.
EmailstringThe customer's email address.
NamestringThe customer's name.
Properties
CustomerId
The unique identifier of the customer.
public string CustomerId { get; init; }
Property Value
The customer's email address.
public string Email { get; init; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
Name
The customer's name.
public string? Name { get; init; }