Table of Contents

Class BillingCustomerCreatedEvent

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

Integration event raised when a customer is created.

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

Constructors

BillingCustomerCreatedEvent(string, string, string?, string?)

Integration event raised when a customer is created.

public BillingCustomerCreatedEvent(string CustomerId, string Email, string? Name, string? ExternalId)

Parameters

CustomerId string

The unique identifier of the customer.

Email string

The customer's email address.

Name string

The customer's name.

ExternalId string

An external identifier for the customer (e.g., from the identity system).

Properties

CustomerId

The unique identifier of the customer.

public string CustomerId { get; init; }

Property Value

string

Email

The customer's email address.

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

ExternalId

An external identifier for the customer (e.g., from the identity system).

public string? ExternalId { get; init; }

Property Value

string

Name

The customer's name.

public string? Name { get; init; }

Property Value

string