Table of Contents

Class TaxCalculationDeferred

Namespace
Integrations.Contracts.Events
Assembly
Integrations.Contracts.dll

The tax provider was unavailable; the document is PendingTax and will be recalculated automatically. Use the manual process meanwhile.

public sealed record TaxCalculationDeferred : IEquatable<TaxCalculationDeferred>
Inheritance
TaxCalculationDeferred
Implements
Inherited Members

Constructors

TaxCalculationDeferred(Guid, string, string, string, string, DateTimeOffset?, DateTimeOffset)

The tax provider was unavailable; the document is PendingTax and will be recalculated automatically. Use the manual process meanwhile.

public TaxCalculationDeferred(Guid DocumentId, string EntityId, string SourceSystem, string SourceDocumentId, string Reason, DateTimeOffset? NextAttemptAt, DateTimeOffset OccurredAt)

Parameters

DocumentId Guid

Document id.

EntityId string

Owning entity.

SourceSystem string

Caller's system.

SourceDocumentId string

Caller's document id.

Reason string

Why the provider was unavailable.

NextAttemptAt DateTimeOffset?

When the automatic retry is due.

OccurredAt DateTimeOffset

When it was deferred.

Properties

DocumentId

Document id.

public Guid DocumentId { get; init; }

Property Value

Guid

EntityId

Owning entity.

public string EntityId { get; init; }

Property Value

string

NextAttemptAt

When the automatic retry is due.

public DateTimeOffset? NextAttemptAt { get; init; }

Property Value

DateTimeOffset?

OccurredAt

When it was deferred.

public DateTimeOffset OccurredAt { get; init; }

Property Value

DateTimeOffset

Reason

Why the provider was unavailable.

public string Reason { get; init; }

Property Value

string

SourceDocumentId

Caller's document id.

public string SourceDocumentId { get; init; }

Property Value

string

SourceSystem

Caller's system.

public string SourceSystem { get; init; }

Property Value

string