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
DocumentIdGuidDocument id.
EntityIdstringOwning entity.
SourceSystemstringCaller's system.
SourceDocumentIdstringCaller's document id.
ReasonstringWhy the provider was unavailable.
NextAttemptAtDateTimeOffset?When the automatic retry is due.
OccurredAtDateTimeOffsetWhen it was deferred.
Properties
DocumentId
Document id.
public Guid DocumentId { get; init; }
Property Value
EntityId
Owning entity.
public string EntityId { get; init; }
Property Value
NextAttemptAt
When the automatic retry is due.
public DateTimeOffset? NextAttemptAt { get; init; }
Property Value
OccurredAt
When it was deferred.
public DateTimeOffset OccurredAt { get; init; }
Property Value
Reason
Why the provider was unavailable.
public string Reason { get; init; }
Property Value
SourceDocumentId
Caller's document id.
public string SourceDocumentId { get; init; }
Property Value
SourceSystem
Caller's system.
public string SourceSystem { get; init; }