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
ProviderTransactionIdlong?Provider transaction id, when the document was recorded.
CommittedboolWhether it is committed at the provider.
LinesIReadOnlyList<LineTaxResult>Tax per line and jurisdiction.
RawResponsestringProvider 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
Lines
Tax per line and jurisdiction.
public IReadOnlyList<LineTaxResult> Lines { get; init; }
Property Value
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; }