Table of Contents

Class TaxCalculationResult

Namespace
Integrations.Application.Tax
Assembly
Integrations.Application.dll

What the provider calculated.

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

Constructors

TaxCalculationResult(long?, bool, IReadOnlyList<LineTaxResult>, string?)

What the provider calculated.

public TaxCalculationResult(long? ProviderTransactionId, bool Committed, IReadOnlyList<LineTaxResult> Lines, string? RawResponse)

Parameters

ProviderTransactionId long?

Provider transaction id, when the document was recorded.

Committed bool

Whether it is committed at the provider.

Lines IReadOnlyList<LineTaxResult>

Tax per line and jurisdiction.

RawResponse string

Provider response, kept on the document for audit look-back.

Properties

Committed

Whether it is committed at the provider.

public bool Committed { get; init; }

Property Value

bool

Lines

Tax per line and jurisdiction.

public IReadOnlyList<LineTaxResult> Lines { get; init; }

Property Value

IReadOnlyList<LineTaxResult>

ProviderTransactionId

Provider transaction id, when the document was recorded.

public long? ProviderTransactionId { get; init; }

Property Value

long?

RawResponse

Provider response, kept on the document for audit look-back.

public string? RawResponse { get; init; }

Property Value

string